From 63713220a31c4bc9b531f8aedcbf483b550c9627 Mon Sep 17 00:00:00 2001 From: remarkablemark <10594555+remarkablemark@users.noreply.github.com> Date: Sat, 4 Oct 2025 00:57:25 +0000 Subject: [PATCH] feat(lib): generate library from Bitly OpenAPI --- lib/Client.php | 9763 ++--------------- lib/Endpoint/AddEmailToUser.php | 86 - lib/Endpoint/AddUserWithRole.php | 89 - lib/Endpoint/AiDomainSearch.php | 95 - lib/Endpoint/AnnualRenewalReminder.php | 82 - lib/Endpoint/ApplyDiscount.php | 94 - lib/Endpoint/ApplyStripeDiscount.php | 94 - lib/Endpoint/ApplyTemplate.php | 90 - lib/Endpoint/BulkAdd.php | 93 - lib/Endpoint/CampaignAddBitlink.php | 98 - lib/Endpoint/CancelPendingDowngrade.php | 77 - lib/Endpoint/CancelPendingDowngradeStripe.php | 77 - lib/Endpoint/CaptureEvent.php | 74 - lib/Endpoint/ChangeUserPassword.php | 86 - lib/Endpoint/CheckDomainDNS.php | 69 - lib/Endpoint/CheckShareableReport.php | 98 - lib/Endpoint/CloneSite.php | 88 - lib/Endpoint/CreateAnalyticsModule.php | 90 - lib/Endpoint/CreateAnalyticsReport.php | 90 - lib/Endpoint/CreateCampaignChannel.php | 83 - lib/Endpoint/CreateChannelBitlink.php | 86 - lib/Endpoint/CreateContainer.php | 94 - lib/Endpoint/CreateCustomer.php | 82 - lib/Endpoint/CreateDeeplinkApp.php | 90 - lib/Endpoint/CreateDeeplinkRule.php | 82 - .../CreateDefaultAnalyticsReportForGroup.php | 106 - lib/Endpoint/CreateFocus.php | 78 - lib/Endpoint/CreateGenericAccessToken.php | 86 - lib/Endpoint/CreateGroup.php | 86 - lib/Endpoint/CreateIntervention.php | 86 - lib/Endpoint/CreateLaunchpad.php | 82 - lib/Endpoint/CreateLaunchpadButton.php | 90 - .../CreateLaunchpadContentBitlink.php | 90 - ...ateLaunchpadContentDigitalBusinessCard.php | 69 - lib/Endpoint/CreateLaunchpadContentImage.php | 90 - lib/Endpoint/CreateLaunchpadContentSocial.php | 90 - .../CreateLaunchpadContentYoutubeVideo.php | 90 - .../CreateLaunchpadTextBlockContent.php | 69 - lib/Endpoint/CreateLink.php | 106 - lib/Endpoint/CreateOAuthApp.php | 78 - .../CreateOrgDomainVerificationEmail.php | 82 - .../CreateOrganizationInvitations.php | 94 - .../CreateOrganizationSSOSettings.php | 94 - lib/Endpoint/CreateOverridesForBitlink.php | 106 - lib/Endpoint/CreatePayPalBillingAgreement.php | 82 - .../CreatePayPalBillingAgreementToken.php | 82 - lib/Endpoint/CreatePaymentMethod.php | 90 - lib/Endpoint/CreateQRCodePreview.php | 94 - lib/Endpoint/CreateQRCodeTemplate.php | 94 - lib/Endpoint/CreateShareableReport.php | 86 - .../CreateShopifyIntegrationOAuth.php | 94 - lib/Endpoint/CreateSite.php | 90 - lib/Endpoint/CreateSiteContent.php | 93 - lib/Endpoint/CreateSiteImage.php | 69 - lib/Endpoint/CreateStripeSetupIntent.php | 85 - lib/Endpoint/CreateSubscription.php | 82 - lib/Endpoint/CreateUser.php | 82 - lib/Endpoint/DeactivateDeeplinkApp.php | 85 - lib/Endpoint/DeleteAnalyticsModule.php | 83 - .../DeleteAnalyticsModuleByReport.php | 86 - lib/Endpoint/DeleteAnalyticsReport.php | 92 - lib/Endpoint/DeleteCampaign.php | 85 - lib/Endpoint/DeleteCanvaUserBrandsByLogin.php | 71 - lib/Endpoint/DeleteChannel.php | 85 - lib/Endpoint/DeleteChannelBitlink.php | 86 - lib/Endpoint/DeleteCustomDomain.php | 82 - lib/Endpoint/DeleteDeeplinkRule.php | 85 - lib/Endpoint/DeleteEmail.php | 85 - lib/Endpoint/DeleteGroup.php | 85 - lib/Endpoint/DeleteIntegrationOAuth.php | 84 - lib/Endpoint/DeleteInvitation.php | 84 - lib/Endpoint/DeleteLaunchpad.php | 85 - lib/Endpoint/DeleteLaunchpadButton.php | 84 - .../DeleteLaunchpadImageByImageUse.php | 84 - lib/Endpoint/DeleteQRCodeTemplate.php | 83 - lib/Endpoint/DeleteSite.php | 85 - lib/Endpoint/DeleteSiteButton.php | 88 - lib/Endpoint/DeleteSiteRedirect.php | 63 - lib/Endpoint/DeleteUser.php | 82 - lib/Endpoint/DeleteUserWithRole.php | 90 - lib/Endpoint/Disable2FA.php | 94 - lib/Endpoint/DiscardDraftLaunchpad.php | 81 - lib/Endpoint/DiscardSiteDraft.php | 85 - lib/Endpoint/DowngradeOrganization.php | 74 - lib/Endpoint/DuplicateAnalyticsReport.php | 88 - lib/Endpoint/EditCustomDomain.php | 78 - lib/Endpoint/EditQRCodePreview.php | 97 - lib/Endpoint/EvaluateIntervention.php | 90 - lib/Endpoint/ExperimentDecide.php | 82 - lib/Endpoint/ExperimentTrack.php | 78 - lib/Endpoint/ExpireOAuthAuthorization.php | 81 - lib/Endpoint/FetchCompDomainPurchase.php | 80 - lib/Endpoint/FetchDomainAgreements.php | 85 - lib/Endpoint/FetchDomainStatus.php | 95 - lib/Endpoint/ForgetUser.php | 66 - lib/Endpoint/FormCapture.php | 86 - lib/Endpoint/GenerateBillingSignature.php | 73 - lib/Endpoint/GetAccessFeatures.php | 73 - .../GetAggregateButtonClicksByCity.php | 102 - .../GetAggregateButtonClicksByCountry.php | 102 - .../GetAggregateButtonClicksByDevice.php | 102 - .../GetAggregateButtonClicksOverTime.php | 102 - lib/Endpoint/GetAggregateCodeScansByCity.php | 102 - .../GetAggregateCodeScansByCountry.php | 102 - .../GetAggregateCodeScansOverTime.php | 102 - ...teDigitalBusinessCardDownloadsOverTime.php | 102 - .../GetAggregateEngagementsForBitlinks.php | 114 - ...ateEngagementsForBitlinksByCitiesFacet.php | 114 - ...AggregateEngagementsForBitlinksByFacet.php | 116 - lib/Endpoint/GetAggregateLinkClicksByCity.php | 102 - .../GetAggregateLinkClicksByCountry.php | 102 - .../GetAggregateLinkClicksByDevice.php | 102 - .../GetAggregateLinkClicksByReferrer.php | 102 - .../GetAggregateLinkClicksOverTime.php | 102 - lib/Endpoint/GetAggregatePageViewsByCity.php | 102 - .../GetAggregatePageViewsByCountry.php | 102 - .../GetAggregatePageViewsByDevice.php | 102 - .../GetAggregatePageViewsByReferrer.php | 102 - .../GetAggregatePageViewsOverTime.php | 102 - lib/Endpoint/GetAggregatePagesOverview.php | 102 - lib/Endpoint/GetAggregateSiteViewsByCity.php | 102 - .../GetAggregateSiteViewsByCountry.php | 102 - .../GetAggregateSiteViewsByDevice.php | 102 - .../GetAggregateSiteViewsByReferrer.php | 102 - .../GetAggregateSiteViewsOverTime.php | 102 - lib/Endpoint/GetAggregateSitesOverview.php | 102 - lib/Endpoint/GetAggregateTopButtonClicks.php | 104 - lib/Endpoint/GetAggregateTopCodeScans.php | 102 - lib/Endpoint/GetAggregateTopLinkClicks.php | 102 - lib/Endpoint/GetAllBrandCampaigns.php | 97 - lib/Endpoint/GetAnalyticsModule.php | 83 - lib/Endpoint/GetAnalyticsReport.php | 84 - .../GetAnalyticsReportsByGroupPaginated.php | 103 - .../GetAnalyticsReportsListByGroup.php | 85 - lib/Endpoint/GetAnalyticsUsage.php | 81 - lib/Endpoint/GetAppAssociations.php | 85 - lib/Endpoint/GetAutobrandedDomain.php | 86 - lib/Endpoint/GetBillingAccount.php | 76 - lib/Endpoint/GetBillingAccountID.php | 73 - lib/Endpoint/GetBillingProvider.php | 77 - lib/Endpoint/GetBitlinkClickCounts.php | 102 - lib/Endpoint/GetBitlinkClicks.php | 109 - ...itlinkClicksMetricsForBitlinkByBrowser.php | 123 - ...BitlinkClicksMetricsForBitlinkByCities.php | 123 - ...linkClicksMetricsForBitlinkByCountries.php | 123 - ...linkClicksMetricsForBitlinkByDevicesOS.php | 123 - lib/Endpoint/GetBitlinkClicksSummary.php | 109 - lib/Endpoint/GetBitlinkScans.php | 109 - lib/Endpoint/GetBitlinkScansSummary.php | 109 - ...ckDigitalBusinessCardDownloadsByCities.php | 110 - ...igitalBusinessCardDownloadsByCountries.php | 110 - ...kDigitalBusinessCardDownloadsByDevices.php | 110 - ...ckDigitalBusinessCardDownloadsOverTime.php | 110 - lib/Endpoint/GetBrandCampaign.php | 80 - lib/Endpoint/GetBulkUploads.php | 105 - lib/Endpoint/GetButtonClicks.php | 109 - lib/Endpoint/GetButtonClicksSummary.php | 109 - lib/Endpoint/GetCampaignClicks.php | 113 - lib/Endpoint/GetCanvaUserBrand.php | 77 - lib/Endpoint/GetChildrenForBlock.php | 84 - lib/Endpoint/GetConsumableFeatures.php | 77 - lib/Endpoint/GetCountryCallingCodes.php | 86 - lib/Endpoint/GetCurrency.php | 67 - lib/Endpoint/GetCurrencyList.php | 58 - lib/Endpoint/GetCustomDomain.php | 81 - lib/Endpoint/GetCustomDomains.php | 94 - lib/Endpoint/GetDeeplinkApp.php | 81 - lib/Endpoint/GetDeeplinkApps.php | 90 - lib/Endpoint/GetDeeplinkMetricsRollup.php | 109 - lib/Endpoint/GetDeeplinkRules.php | 89 - lib/Endpoint/GetDomainRegistrarInfo.php | 72 - lib/Endpoint/GetDynamicTranslation.php | 65 - lib/Endpoint/GetEngagements.php | 117 - lib/Endpoint/GetEngagementsSample.php | 97 - lib/Endpoint/GetEngagementsSummary.php | 109 - lib/Endpoint/GetFocus.php | 58 - lib/Endpoint/GetGroupBitlinksCount.php | 101 - lib/Endpoint/GetGroupBitlinksCountRollup.php | 109 - lib/Endpoint/GetGroupButtonClicksByCity.php | 101 - .../GetGroupButtonClicksByCountry.php | 101 - lib/Endpoint/GetGroupButtonClicksByDevice.php | 101 - lib/Endpoint/GetGroupButtonClicksOverTime.php | 101 - lib/Endpoint/GetGroupClicksByFacet.php | 110 - lib/Endpoint/GetGroupClicksByFacetRollup.php | 110 - lib/Endpoint/GetGroupCodeScansByCity.php | 101 - lib/Endpoint/GetGroupCodeScansByCountry.php | 101 - lib/Endpoint/GetGroupCodeScansOverTime.php | 101 - ...upDigitalBusinessCardDownloadsByBlocks.php | 107 - ...upDigitalBusinessCardDownloadsByCities.php | 107 - ...igitalBusinessCardDownloadsByCountries.php | 107 - ...pDigitalBusinessCardDownloadsByDevices.php | 107 - ...gitalBusinessCardDownloadsByMicrosites.php | 107 - ...upDigitalBusinessCardDownloadsOverTime.php | 107 - lib/Endpoint/GetGroupLinkClicksByCity.php | 101 - lib/Endpoint/GetGroupLinkClicksByCountry.php | 101 - lib/Endpoint/GetGroupLinkClicksByDevice.php | 101 - lib/Endpoint/GetGroupLinkClicksByReferrer.php | 101 - lib/Endpoint/GetGroupLinkClicksOverTime.php | 101 - lib/Endpoint/GetGroupPageViewsByCity.php | 101 - lib/Endpoint/GetGroupPageViewsByCountry.php | 101 - lib/Endpoint/GetGroupPageViewsByDevice.php | 101 - lib/Endpoint/GetGroupPageViewsByReferrer.php | 101 - lib/Endpoint/GetGroupPageViewsOverTime.php | 101 - lib/Endpoint/GetGroupPagesOverview.php | 101 - lib/Endpoint/GetGroupTopButtonClicks.php | 101 - lib/Endpoint/GetGroupTopCodeScans.php | 101 - lib/Endpoint/GetGroupTopLinkClicks.php | 101 - lib/Endpoint/GetGroupsByLogin.php | 73 - lib/Endpoint/GetImageByGUID.php | 91 - .../GetIntegrationOAuthsByClientID.php | 90 - lib/Endpoint/GetInvitations.php | 73 - lib/Endpoint/GetInvitationsByLogin.php | 77 - lib/Endpoint/GetLaunchpad.php | 81 - ...adDigitalBusinessCardDownloadsOverTime.php | 102 - lib/Endpoint/GetLaunchpadImageByImageUse.php | 94 - lib/Endpoint/GetLaunchpadPresetThemes.php | 62 - lib/Endpoint/GetLaunchpadsForGroup.php | 81 - .../GetLinkEngagementsDailySummary.php | 92 - .../GetLinkEngagementsDayDrillDown.php | 110 - lib/Endpoint/GetLinkEngagementsReport.php | 101 - .../GetLinkPerformanceForLaunchpad.php | 105 - lib/Endpoint/GetLinkPerformanceForSite.php | 105 - .../GetMetricsForLaunchpadByCities.php | 111 - .../GetMetricsForLaunchpadByCountries.php | 107 - .../GetMetricsForLaunchpadByDevices.php | 111 - .../GetMetricsForLaunchpadByReferrers.php | 107 - lib/Endpoint/GetMetricsForSiteByCities.php | 111 - lib/Endpoint/GetMetricsForSiteByDevices.php | 111 - lib/Endpoint/GetMetricsForSiteByReferrers.php | 107 - .../GetMetricsForSitesByCountries.php | 107 - lib/Endpoint/GetOAuthApps.php | 70 - lib/Endpoint/GetOAuthAuthorizations.php | 66 - lib/Endpoint/GetOrgDomainsStatus.php | 81 - lib/Endpoint/GetOrgEmails.php | 96 - lib/Endpoint/GetOrgInvitationRequests.php | 77 - lib/Endpoint/GetOrgPreferences.php | 69 - lib/Endpoint/GetOrganizationActivityLog.php | 103 - .../GetOrganizationActivityLogEntry.php | 83 - .../GetOrganizationActivityLogExport.php | 85 - lib/Endpoint/GetOrganizationFeatureUsage.php | 77 - .../GetOrganizationFeatureUsageByGroup.php | 95 - ...ganizationHistoricalUsageTotalsByGroup.php | 97 - lib/Endpoint/GetOrganizationSSOSettings.php | 85 - lib/Endpoint/GetOrganizationStripeInfo.php | 77 - lib/Endpoint/GetOverrideHistoryForBitlink.php | 107 - lib/Endpoint/GetOverrideMetricsByVersion.php | 113 - lib/Endpoint/GetOverridesForBitlink.php | 89 - lib/Endpoint/GetOverridesForGroups.php | 113 - lib/Endpoint/GetPaymentInvoice.php | 75 - lib/Endpoint/GetPaymentInvoiceFile.php | 85 - lib/Endpoint/GetPaymentInvoices.php | 76 - lib/Endpoint/GetPendingTierForOrg.php | 80 - lib/Endpoint/GetPrivateGeo.php | 58 - lib/Endpoint/GetProductUtilization.php | 77 - lib/Endpoint/GetPromoCodeValidPlans.php | 73 - lib/Endpoint/GetQRCHistory.php | 99 - lib/Endpoint/GetQRCodeByBitlinkId.php | 83 - lib/Endpoint/GetQRCodeById.php | 85 - .../GetQRCodeCustomizationOptions.php | 81 - .../GetQRCodeOverrideMetricsByVersion.php | 113 - lib/Endpoint/GetQRCodeTemplates.php | 89 - lib/Endpoint/GetRegionsList.php | 58 - .../GetRetainedEntitiesAfterDowngrade.php | 73 - lib/Endpoint/GetSSOUsers.php | 99 - .../GetScanMetricsForBitlinkByBrowser.php | 123 - .../GetScanMetricsForBitlinkByCities.php | 123 - .../GetScanMetricsForBitlinkByCountries.php | 119 - .../GetScanMetricsForBitlinkByDevicesOS.php | 123 - lib/Endpoint/GetScansForBitlink.php | 117 - lib/Endpoint/GetScansSummaryForBitlink.php | 109 - lib/Endpoint/GetShopifyShopDomainDetails.php | 88 - lib/Endpoint/GetSite.php | 85 - lib/Endpoint/GetSiteClicksByCities.php | 102 - lib/Endpoint/GetSiteClicksByCountries.php | 102 - lib/Endpoint/GetSiteClicksByDevices.php | 102 - lib/Endpoint/GetSiteClicksOverTime.php | 102 - ...teDigitalBusinessCardDownloadsByBlocks.php | 107 - ...teDigitalBusinessCardDownloadsByCities.php | 107 - ...igitalBusinessCardDownloadsByCountries.php | 107 - ...eDigitalBusinessCardDownloadsByDevices.php | 107 - ...teDigitalBusinessCardDownloadsOverTime.php | 107 - .../GetSiteFilteredTopPageButtons.php | 104 - lib/Endpoint/GetSiteLayouts.php | 74 - lib/Endpoint/GetSitesForGroup.php | 97 - lib/Endpoint/GetSortedEngagements.php | 116 - lib/Endpoint/GetSortedScans.php | 114 - lib/Endpoint/GetSortedScansForGroup.php | 115 - lib/Endpoint/GetTemplates.php | 94 - lib/Endpoint/GetTier.php | 97 - lib/Endpoint/GetTiers.php | 90 - lib/Endpoint/GetTitleForLongURL.php | 94 - lib/Endpoint/GetTopSortedBitlinks.php | 114 - lib/Endpoint/GetTwoFARecord.php | 66 - lib/Endpoint/GetUMGroupPreferences.php | 81 - lib/Endpoint/GetUMGroupSiteThemes.php | 64 - lib/Endpoint/GetUserActivityLog.php | 94 - lib/Endpoint/GetUserAvailableTiers.php | 90 - .../GetUserOnboardingSurveyResults.php | 62 - lib/Endpoint/GetUserPreferences.php | 62 - lib/Endpoint/GetUsers.php | 104 - lib/Endpoint/GetViewsForLaunchpad.php | 103 - lib/Endpoint/GetViewsForSite.php | 103 - lib/Endpoint/GetViewsSummaryForLaunchpad.php | 103 - lib/Endpoint/GetViewsSummaryForSite.php | 103 - lib/Endpoint/HandleWebhook.php | 66 - lib/Endpoint/NotifyPaymentFailure.php | 82 - lib/Endpoint/PatchCanvaUserBrand.php | 82 - lib/Endpoint/PatchOrgControlledDomain.php | 93 - lib/Endpoint/PatchOrgInvitationRequest.php | 86 - lib/Endpoint/PatchUMGroupPreferences.php | 93 - lib/Endpoint/PostGetLinksReport.php | 101 - lib/Endpoint/PostGroupDataExport.php | 90 - lib/Endpoint/PostOrgUsersDataExport.php | 90 - .../PrevalidateYouTubeVideoButton.php | 86 - lib/Endpoint/PublishDraftLaunchpad.php | 81 - lib/Endpoint/PublishSite.php | 81 - lib/Endpoint/PurchaseAddOns.php | 94 - lib/Endpoint/PurchaseBsd.php | 74 - lib/Endpoint/PurchaseStripeAddOns.php | 94 - lib/Endpoint/PutUMGroupSiteTheme.php | 64 - lib/Endpoint/RedirectQRCodeDestination.php | 88 - lib/Endpoint/RegeneratePaymentInvoiceFile.php | 75 - lib/Endpoint/ReorderBlocksByContainer.php | 97 - lib/Endpoint/RequestUserSAR.php | 80 - lib/Endpoint/ResendInvitation.php | 84 - lib/Endpoint/ScheduleOrgDowngradeStripe.php | 82 - .../ScheduleOrganizationDowngrade.php | 82 - lib/Endpoint/SearchDomains.php | 90 - lib/Endpoint/SearchGroupUserRoles.php | 101 - lib/Endpoint/SearchOrgUserRoles.php | 101 - lib/Endpoint/SendEmailVerification.php | 87 - lib/Endpoint/SendVerificationCode.php | 78 - lib/Endpoint/SetOrgPreference.php | 86 - lib/Endpoint/SetPaymentMethodDefault.php | 92 - lib/Endpoint/SetPhoneNumber.php | 86 - .../SetStripeDefaultPaymentMethod.php | 88 - lib/Endpoint/SetUserPreference.php | 81 - lib/Endpoint/ThirdPartyAppLookup.php | 102 - lib/Endpoint/UpdateAnalyticsModule.php | 92 - lib/Endpoint/UpdateAnalyticsReport.php | 93 - lib/Endpoint/UpdateAppAssociations.php | 94 - lib/Endpoint/UpdateBillingInfo.php | 86 - lib/Endpoint/UpdateDeeplinkApp.php | 94 - lib/Endpoint/UpdateDeeplinkRule.php | 94 - lib/Endpoint/UpdateEmail.php | 90 - .../UpdateEntitiesRetainedOnDowngrade.php | 86 - lib/Endpoint/UpdateImage.php | 90 - lib/Endpoint/UpdateLaunchpad.php | 94 - .../UpdateLaunchpadBitlinkContent.php | 93 - lib/Endpoint/UpdateLaunchpadButton.php | 93 - .../UpdateLaunchpadButtonSortOrder.php | 90 - .../UpdateLaunchpadCarouselContent.php | 97 - ...ateLaunchpadContentDigitalBusinessCard.php | 72 - lib/Endpoint/UpdateLaunchpadGridContent.php | 97 - .../UpdateLaunchpadImageByImageUse.php | 93 - lib/Endpoint/UpdateLaunchpadImageContent.php | 93 - lib/Endpoint/UpdateLaunchpadSocial.php | 93 - .../UpdateLaunchpadTextBlockContent.php | 72 - lib/Endpoint/UpdateLaunchpadYoutubeVideo.php | 93 - lib/Endpoint/UpdateLink.php | 110 - lib/Endpoint/UpdateOAuthApp.php | 90 - lib/Endpoint/UpdateOAuthAppClientSecret.php | 87 - lib/Endpoint/UpdateOrganization.php | 86 - .../UpdateOrganizationSSOSettings.php | 94 - lib/Endpoint/UpdateOverridesForBitlink.php | 102 - lib/Endpoint/UpdatePaymentContactInfo.php | 90 - lib/Endpoint/UpdateSiteAppearance.php | 90 - lib/Endpoint/UpdateSiteButton.php | 101 - lib/Endpoint/UpdateSitesToKeep.php | 86 - lib/Endpoint/UpdateStripeCustomer.php | 89 - lib/Endpoint/UpdateUserWithRole.php | 90 - lib/Endpoint/UpgradeOrganization.php | 82 - ...radeOrganizationWithStripeSubscription.php | 86 - lib/Endpoint/UpgradeQRCodeToBitlink.php | 83 - lib/Endpoint/UploadImage.php | 93 - lib/Endpoint/UploadLaunchpadImage.php | 97 - lib/Endpoint/UpsertOrgEmail.php | 85 - lib/Endpoint/UserAcceptInvite.php | 86 - lib/Endpoint/ValidateBulkUpload.php | 94 - lib/Endpoint/ValidateCustomDomain.php | 93 - lib/Endpoint/ValidatePromoCode.php | 84 - lib/Endpoint/ValidateStripePromoCode.php | 84 - lib/Endpoint/VerifySSOSlug.php | 85 - lib/Endpoint/VerifyTwoFactorCode.php | 82 - .../AddEmailToUserBadRequestException.php | 40 - .../AddEmailToUserForbiddenException.php | 40 - ...mailToUserInternalServerErrorException.php | 40 - .../AddEmailToUserNotFoundException.php | 40 - ...mailToUserUnprocessableEntityException.php | 40 - .../AddUserWithRoleBadRequestException.php | 40 - .../AddUserWithRoleForbiddenException.php | 40 - ...erWithRoleInternalServerErrorException.php | 40 - ...serWithRoleServiceUnavailableException.php | 40 - ...erWithRoleUnprocessableEntityException.php | 40 - .../AiDomainSearchBadRequestException.php | 40 - .../AiDomainSearchForbiddenException.php | 40 - ...mainSearchInternalServerErrorException.php | 40 - ...nualRenewalReminderBadRequestException.php | 40 - ...alReminderInternalServerErrorException.php | 40 - ...walReminderServiceUnavailableException.php | 40 - ...alReminderUnprocessableEntityException.php | 40 - .../ApplyDiscountBadRequestException.php | 40 - .../ApplyDiscountForbiddenException.php | 40 - ...lyDiscountInternalServerErrorException.php | 40 - .../ApplyDiscountNotFoundException.php | 40 - ...plyDiscountServiceUnavailableException.php | 40 - ...lyDiscountUnprocessableEntityException.php | 40 - ...ApplyStripeDiscountBadRequestException.php | 40 - .../ApplyStripeDiscountForbiddenException.php | 40 - ...peDiscountInternalServerErrorException.php | 40 - .../ApplyStripeDiscountNotFoundException.php | 40 - ...ipeDiscountServiceUnavailableException.php | 40 - ...peDiscountUnprocessableEntityException.php | 40 - .../ApplyTemplateForbiddenException.php | 40 - ...lyTemplateInternalServerErrorException.php | 40 - .../ApplyTemplateNotFoundException.php | 40 - ...plyTemplateServiceUnavailableException.php | 40 - ...lyTemplateUnprocessableEntityException.php | 40 - lib/Exception/BulkAddBadRequestException.php | 40 - lib/Exception/BulkAddForbiddenException.php | 40 - .../BulkAddInternalServerErrorException.php | 40 - lib/Exception/BulkAddNotFoundException.php | 40 - .../CampaignAddBitlinkBadRequestException.php | 40 - .../CampaignAddBitlinkForbiddenException.php | 40 - ...AddBitlinkInternalServerErrorException.php | 40 - .../CampaignAddBitlinkNotFoundException.php | 40 - ...aignAddBitlinkPaymentRequiredException.php | 40 - ...nAddBitlinkServiceUnavailableException.php | 40 - ...AddBitlinkUnprocessableEntityException.php | 40 - ...ncelPendingDowngradeForbiddenException.php | 40 - ...gDowngradeInternalServerErrorException.php | 40 - ...ancelPendingDowngradeNotFoundException.php | 40 - ...ndingDowngradeStripeForbiddenException.php | 40 - ...radeStripeInternalServerErrorException.php | 40 - ...endingDowngradeStripeNotFoundException.php | 40 - .../CaptureEventForbiddenException.php | 40 - ...ptureEventInternalServerErrorException.php | 40 - .../ChangeUserPasswordBadRequestException.php | 40 - .../ChangeUserPasswordForbiddenException.php | 40 - ...erPasswordInternalServerErrorException.php | 40 - .../ChangeUserPasswordNotFoundException.php | 40 - ...erPasswordUnprocessableEntityException.php | 40 - ...kDomainDNSInternalServerErrorException.php | 40 - ...heckShareableReportBadRequestException.php | 40 - ...CheckShareableReportForbiddenException.php | 40 - ...ableReportInternalServerErrorException.php | 40 - .../CheckShareableReportNotFoundException.php | 40 - ...eableReportServiceUnavailableException.php | 40 - .../CloneSiteBadRequestException.php | 40 - lib/Exception/CloneSiteForbiddenException.php | 40 - .../CloneSiteInternalServerErrorException.php | 40 - .../CloneSitePaymentRequiredException.php | 40 - .../CloneSiteServiceUnavailableException.php | 40 - ...eateAnalyticsModuleBadRequestException.php | 40 - ...reateAnalyticsModuleForbiddenException.php | 40 - ...ticsModuleInternalServerErrorException.php | 40 - ...CreateAnalyticsModuleNotFoundException.php | 40 - ...yticsModuleServiceUnavailableException.php | 40 - ...eateAnalyticsReportBadRequestException.php | 40 - ...reateAnalyticsReportForbiddenException.php | 40 - ...ticsReportInternalServerErrorException.php | 40 - ...CreateAnalyticsReportNotFoundException.php | 40 - ...yticsReportServiceUnavailableException.php | 40 - ...eateCampaignChannelBadRequestException.php | 40 - ...ignChannelInternalServerErrorException.php | 40 - ...ignChannelUnprocessableEntityException.php | 40 - ...reateChannelBitlinkBadRequestException.php | 40 - ...nelBitlinkInternalServerErrorException.php | 40 - ...nelBitlinkUnprocessableEntityException.php | 40 - .../CreateContainerBadRequestException.php | 40 - .../CreateContainerForbiddenException.php | 40 - ...eContainerInternalServerErrorException.php | 40 - .../CreateContainerNotFoundException.php | 40 - ...teContainerServiceUnavailableException.php | 40 - ...eContainerUnprocessableEntityException.php | 40 - .../CreateCustomerBadRequestException.php | 40 - .../CreateCustomerForbiddenException.php | 40 - ...teCustomerInternalServerErrorException.php | 40 - ...teCustomerUnprocessableEntityException.php | 40 - .../CreateDeeplinkAppBadRequestException.php | 40 - ...eDeeplinkAppExpectationFailedException.php | 40 - .../CreateDeeplinkAppForbiddenException.php | 40 - ...eeplinkAppInternalServerErrorException.php | 40 - ...DeeplinkAppServiceUnavailableException.php | 40 - ...eeplinkAppUnprocessableEntityException.php | 40 - .../CreateDeeplinkRuleForbiddenException.php | 40 - ...eplinkRuleInternalServerErrorException.php | 40 - .../CreateDeeplinkRuleNotFoundException.php | 40 - ...teDeeplinkRulePaymentRequiredException.php | 40 - ...yticsReportForGroupBadRequestException.php | 40 - ...lyticsReportForGroupForbiddenException.php | 40 - ...rtForGroupInternalServerErrorException.php | 40 - ...alyticsReportForGroupNotFoundException.php | 40 - ...ortForGroupServiceUnavailableException.php | 40 - .../CreateFocusBadRequestException.php | 40 - .../CreateFocusForbiddenException.php | 40 - ...reateFocusInternalServerErrorException.php | 40 - ...eGenericAccessTokenBadRequestException.php | 40 - ...teGenericAccessTokenForbiddenException.php | 40 - ...ccessTokenInternalServerErrorException.php | 40 - ...ateGenericAccessTokenNotFoundException.php | 40 - ...enericAccessTokenUnauthorizedException.php | 40 - .../CreateGroupBadRequestException.php | 40 - .../CreateGroupForbiddenException.php | 40 - ...reateGroupInternalServerErrorException.php | 40 - .../CreateGroupTooManyRequestsException.php | 40 - ...reateGroupUnprocessableEntityException.php | 40 - .../CreateInterventionBadRequestException.php | 40 - .../CreateInterventionForbiddenException.php | 40 - ...terventionInternalServerErrorException.php | 40 - ...nterventionServiceUnavailableException.php | 40 - ...terventionUnprocessableEntityException.php | 40 - .../CreateLaunchpadBadRequestException.php | 40 - ...eateLaunchpadButtonBadRequestException.php | 40 - ...reateLaunchpadButtonForbiddenException.php | 40 - ...hpadButtonInternalServerErrorException.php | 40 - ...CreateLaunchpadButtonNotFoundException.php | 40 - ...chpadButtonServiceUnavailableException.php | 40 - ...chpadContentBitlinkBadRequestException.php | 40 - ...nchpadContentBitlinkForbiddenException.php | 40 - ...entBitlinkInternalServerErrorException.php | 40 - ...unchpadContentBitlinkNotFoundException.php | 40 - ...tentBitlinkServiceUnavailableException.php | 40 - ...unchpadContentImageBadRequestException.php | 40 - ...aunchpadContentImageForbiddenException.php | 40 - ...ntentImageInternalServerErrorException.php | 40 - ...LaunchpadContentImageNotFoundException.php | 40 - ...ontentImageServiceUnavailableException.php | 40 - ...nchpadContentSocialBadRequestException.php | 40 - ...unchpadContentSocialForbiddenException.php | 40 - ...tentSocialInternalServerErrorException.php | 40 - ...aunchpadContentSocialNotFoundException.php | 40 - ...ntentSocialServiceUnavailableException.php | 40 - ...ContentYoutubeVideoBadRequestException.php | 40 - ...dContentYoutubeVideoForbiddenException.php | 40 - ...utubeVideoInternalServerErrorException.php | 40 - ...adContentYoutubeVideoNotFoundException.php | 40 - ...outubeVideoServiceUnavailableException.php | 40 - .../CreateLaunchpadForbiddenException.php | 40 - ...eLaunchpadInternalServerErrorException.php | 40 - ...teLaunchpadServiceUnavailableException.php | 40 - .../CreateLinkBadRequestException.php | 40 - lib/Exception/CreateLinkConflictException.php | 40 - .../CreateLinkExpectationFailedException.php | 40 - .../CreateLinkForbiddenException.php | 40 - ...CreateLinkInternalServerErrorException.php | 40 - lib/Exception/CreateLinkNotFoundException.php | 40 - .../CreateLinkPaymentRequiredException.php | 40 - .../CreateLinkServiceUnavailableException.php | 40 - .../CreateLinkTooManyRequestsException.php | 40 - ...CreateLinkUnprocessableEntityException.php | 40 - .../CreateOAuthAppBadRequestException.php | 40 - .../CreateOAuthAppForbiddenException.php | 40 - ...teOAuthAppInternalServerErrorException.php | 40 - ...inVerificationEmailBadRequestException.php | 40 - ...ainVerificationEmailForbiddenException.php | 40 - ...ationEmailInternalServerErrorException.php | 40 - ...ificationEmailPaymentRequiredException.php | 40 - ...nizationInvitationsBadRequestException.php | 40 - ...anizationInvitationsForbiddenException.php | 40 - ...nvitationsInternalServerErrorException.php | 40 - ...ionInvitationsPaymentRequiredException.php | 40 - ...InvitationsServiceUnavailableException.php | 40 - ...ionInvitationsTooManyRequestsException.php | 40 - ...nizationSSOSettingsBadRequestException.php | 40 - ...anizationSSOSettingsForbiddenException.php | 40 - ...SOSettingsInternalServerErrorException.php | 40 - ...ionSSOSettingsPaymentRequiredException.php | 40 - ...SSOSettingsServiceUnavailableException.php | 40 - ...SOSettingsUnprocessableEntityException.php | 40 - ...OverridesForBitlinkBadRequestException.php | 40 - ...teOverridesForBitlinkConflictException.php | 40 - ...eOverridesForBitlinkForbiddenException.php | 40 - ...ForBitlinkInternalServerErrorException.php | 40 - ...teOverridesForBitlinkNotFoundException.php | 40 - ...idesForBitlinkPaymentRequiredException.php | 40 - ...sForBitlinkServiceUnavailableException.php | 40 - ...idesForBitlinkTooManyRequestsException.php | 40 - ...ForBitlinkUnprocessableEntityException.php | 40 - ...PalBillingAgreementBadRequestException.php | 40 - ...yPalBillingAgreementForbiddenException.php | 40 - ...gAgreementInternalServerErrorException.php | 40 - ...llingAgreementTokenBadRequestException.php | 40 - ...illingAgreementTokenForbiddenException.php | 40 - ...ementTokenInternalServerErrorException.php | 40 - ...ementTokenUnprocessableEntityException.php | 40 - ...gAgreementUnprocessableEntityException.php | 40 - ...CreatePaymentMethodBadRequestException.php | 40 - .../CreatePaymentMethodForbiddenException.php | 40 - ...mentMethodInternalServerErrorException.php | 40 - ...ymentMethodServiceUnavailableException.php | 40 - ...mentMethodUnprocessableEntityException.php | 40 - ...CreateQRCodePreviewBadRequestException.php | 40 - .../CreateQRCodePreviewForbiddenException.php | 40 - .../CreateQRCodePreviewGoneException.php | 40 - ...odePreviewInternalServerErrorException.php | 40 - .../CreateQRCodePreviewNotFoundException.php | 40 - ...eQRCodePreviewPaymentRequiredException.php | 40 - ...reateQRCodeTemplateBadRequestException.php | 40 - ...CreateQRCodeTemplateForbiddenException.php | 40 - .../CreateQRCodeTemplateGoneException.php | 40 - ...deTemplateInternalServerErrorException.php | 40 - .../CreateQRCodeTemplateNotFoundException.php | 40 - ...QRCodeTemplatePaymentRequiredException.php | 40 - ...eateShareableReportBadRequestException.php | 40 - ...reateShareableReportForbiddenException.php | 40 - ...ableReportInternalServerErrorException.php | 40 - ...CreateShareableReportNotFoundException.php | 40 - ...eableReportServiceUnavailableException.php | 40 - ...ifyIntegrationOAuthBadRequestException.php | 40 - ...opifyIntegrationOAuthConflictException.php | 40 - ...pifyIntegrationOAuthForbiddenException.php | 40 - ...ationOAuthInternalServerErrorException.php | 40 - ...rationOAuthServiceUnavailableException.php | 40 - ...ationOAuthUnprocessableEntityException.php | 40 - .../CreateSiteBadRequestException.php | 40 - .../CreateSiteContentBadRequestException.php | 40 - .../CreateSiteContentForbiddenException.php | 40 - ...iteContentInternalServerErrorException.php | 40 - .../CreateSiteContentNotFoundException.php | 40 - ...SiteContentServiceUnavailableException.php | 40 - .../CreateSiteForbiddenException.php | 40 - ...CreateSiteInternalServerErrorException.php | 40 - .../CreateSitePaymentRequiredException.php | 40 - .../CreateSiteServiceUnavailableException.php | 40 - ...CreateSiteUnprocessableEntityException.php | 40 - ...teStripeSetupIntentBadRequestException.php | 40 - ...ateStripeSetupIntentForbiddenException.php | 40 - ...etupIntentInternalServerErrorException.php | 40 - ...SetupIntentServiceUnavailableException.php | 40 - ...etupIntentUnprocessableEntityException.php | 40 - .../CreateSubscriptionBadRequestException.php | 40 - .../CreateSubscriptionForbiddenException.php | 40 - ...bscriptionInternalServerErrorException.php | 40 - ...bscriptionUnprocessableEntityException.php | 40 - .../CreateUserBadRequestException.php | 40 - ...CreateUserInternalServerErrorException.php | 40 - .../CreateUserTooManyRequestsException.php | 40 - ...CreateUserUnprocessableEntityException.php | 40 - ...eactivateDeeplinkAppForbiddenException.php | 40 - ...eeplinkAppInternalServerErrorException.php | 40 - ...DeactivateDeeplinkAppNotFoundException.php | 40 - ...ateDeeplinkAppPaymentRequiredException.php | 40 - ...DeeplinkAppServiceUnavailableException.php | 40 - ...lyticsModuleByReportForbiddenException.php | 40 - ...leByReportInternalServerErrorException.php | 40 - ...alyticsModuleByReportNotFoundException.php | 40 - ...ModuleByReportPaymentRequiredException.php | 40 - ...eleteAnalyticsModuleForbiddenException.php | 40 - ...ticsModuleInternalServerErrorException.php | 40 - ...DeleteAnalyticsModuleNotFoundException.php | 40 - ...nalyticsModulePaymentRequiredException.php | 40 - ...leteAnalyticsReportBadRequestException.php | 40 - ...eleteAnalyticsReportForbiddenException.php | 40 - ...ticsReportInternalServerErrorException.php | 40 - ...DeleteAnalyticsReportNotFoundException.php | 40 - ...nalyticsReportPaymentRequiredException.php | 40 - ...yticsReportServiceUnavailableException.php | 40 - .../DeleteCampaignForbiddenException.php | 40 - ...teCampaignInternalServerErrorException.php | 40 - .../DeleteCampaignNotFoundException.php | 40 - ...DeleteCampaignPaymentRequiredException.php | 40 - ...eteCampaignServiceUnavailableException.php | 40 - ...vaUserBrandsByLoginBadRequestException.php | 40 - ...ndsByLoginInternalServerErrorException.php | 40 - ...eleteChannelBitlinkBadRequestException.php | 40 - ...nelBitlinkInternalServerErrorException.php | 40 - ...nelBitlinkUnprocessableEntityException.php | 40 - .../DeleteChannelForbiddenException.php | 40 - ...eteChannelInternalServerErrorException.php | 40 - .../DeleteChannelNotFoundException.php | 40 - .../DeleteChannelPaymentRequiredException.php | 40 - ...leteChannelServiceUnavailableException.php | 40 - .../DeleteCustomDomainForbiddenException.php | 40 - ...stomDomainInternalServerErrorException.php | 40 - ...stomDomainUnprocessableEntityException.php | 40 - .../DeleteDeeplinkRuleForbiddenException.php | 40 - ...eplinkRuleInternalServerErrorException.php | 40 - .../DeleteDeeplinkRuleNotFoundException.php | 40 - ...teDeeplinkRulePaymentRequiredException.php | 40 - ...eeplinkRuleServiceUnavailableException.php | 40 - .../DeleteEmailBadRequestException.php | 40 - .../DeleteEmailForbiddenException.php | 40 - ...eleteEmailInternalServerErrorException.php | 40 - .../DeleteEmailNotFoundException.php | 40 - ...DeleteEmailServiceUnavailableException.php | 40 - .../DeleteGroupForbiddenException.php | 40 - ...eleteGroupInternalServerErrorException.php | 40 - .../DeleteGroupNotFoundException.php | 40 - ...DeleteGroupServiceUnavailableException.php | 40 - .../DeleteGroupTooManyRequestsException.php | 40 - ...eteIntegrationOAuthBadRequestException.php | 40 - ...leteIntegrationOAuthForbiddenException.php | 40 - ...ationOAuthInternalServerErrorException.php | 40 - ...rationOAuthServiceUnavailableException.php | 40 - .../DeleteInvitationForbiddenException.php | 40 - ...InvitationInternalServerErrorException.php | 40 - .../DeleteInvitationNotFoundException.php | 40 - ...leteInvitationTooManyRequestsException.php | 40 - .../DeleteLaunchpadBadRequestException.php | 40 - ...eleteLaunchpadButtonForbiddenException.php | 40 - ...hpadButtonInternalServerErrorException.php | 40 - ...DeleteLaunchpadButtonNotFoundException.php | 40 - ...chpadButtonServiceUnavailableException.php | 40 - .../DeleteLaunchpadForbiddenException.php | 40 - ...chpadImageByImageUseForbiddenException.php | 40 - ...ByImageUseInternalServerErrorException.php | 40 - ...nchpadImageByImageUseNotFoundException.php | 40 - ...eByImageUseServiceUnavailableException.php | 40 - ...eLaunchpadInternalServerErrorException.php | 40 - .../DeleteLaunchpadNotFoundException.php | 40 - ...teLaunchpadServiceUnavailableException.php | 40 - ...DeleteQRCodeTemplateForbiddenException.php | 40 - ...deTemplateInternalServerErrorException.php | 40 - .../DeleteQRCodeTemplateNotFoundException.php | 40 - ...odeTemplateServiceUnavailableException.php | 40 - .../DeleteSiteBadRequestException.php | 40 - .../DeleteSiteButtonBadRequestException.php | 40 - .../DeleteSiteButtonForbiddenException.php | 40 - ...SiteButtonInternalServerErrorException.php | 40 - .../DeleteSiteButtonNotFoundException.php | 40 - ...eSiteButtonServiceUnavailableException.php | 40 - .../DeleteSiteForbiddenException.php | 40 - ...DeleteSiteInternalServerErrorException.php | 40 - lib/Exception/DeleteSiteNotFoundException.php | 40 - .../DeleteSiteServiceUnavailableException.php | 40 - .../DeleteUserBadRequestException.php | 40 - .../DeleteUserForbiddenException.php | 40 - ...DeleteUserInternalServerErrorException.php | 40 - .../DeleteUserWithRoleBadRequestException.php | 40 - .../DeleteUserWithRoleForbiddenException.php | 40 - ...erWithRoleInternalServerErrorException.php | 40 - ...serWithRoleServiceUnavailableException.php | 40 - ...erWithRoleUnprocessableEntityException.php | 40 - .../Disable2FABadRequestException.php | 40 - .../Disable2FAForbiddenException.php | 40 - ...Disable2FAInternalServerErrorException.php | 40 - lib/Exception/Disable2FANotFoundException.php | 40 - .../Disable2FAServiceUnavailableException.php | 40 - .../Disable2FAUnauthorizedException.php | 40 - ...Disable2FAUnprocessableEntityException.php | 40 - ...scardDraftLaunchpadBadRequestException.php | 40 - ...iscardDraftLaunchpadForbiddenException.php | 40 - ...tLaunchpadInternalServerErrorException.php | 40 - ...ftLaunchpadServiceUnavailableException.php | 40 - .../DiscardSiteDraftBadRequestException.php | 40 - .../DiscardSiteDraftForbiddenException.php | 40 - ...dSiteDraftInternalServerErrorException.php | 40 - .../DiscardSiteDraftNotFoundException.php | 40 - ...dSiteDraftUnprocessableEntityException.php | 40 - ...ganizationInternalServerErrorException.php | 40 - ...ganizationUnprocessableEntityException.php | 40 - ...cateAnalyticsReportBadRequestException.php | 40 - ...icateAnalyticsReportForbiddenException.php | 40 - ...ticsReportInternalServerErrorException.php | 40 - ...licateAnalyticsReportNotFoundException.php | 40 - ...yticsReportServiceUnavailableException.php | 40 - .../EditCustomDomainForbiddenException.php | 40 - ...stomDomainInternalServerErrorException.php | 40 - .../EditQRCodePreviewBadRequestException.php | 40 - .../EditQRCodePreviewForbiddenException.php | 40 - .../EditQRCodePreviewGoneException.php | 40 - ...odePreviewInternalServerErrorException.php | 40 - .../EditQRCodePreviewNotFoundException.php | 40 - ...tQRCodePreviewPaymentRequiredException.php | 40 - ...valuateInterventionBadRequestException.php | 40 - ...EvaluateInterventionForbiddenException.php | 40 - ...terventionInternalServerErrorException.php | 40 - ...nterventionServiceUnavailableException.php | 40 - ...terventionUnprocessableEntityException.php | 40 - .../ExperimentDecideBadRequestException.php | 40 - .../ExperimentDecideForbiddenException.php | 40 - ...mentDecideInternalServerErrorException.php | 40 - ...mentDecideUnprocessableEntityException.php | 40 - .../ExperimentTrackForbiddenException.php | 40 - ...imentTrackInternalServerErrorException.php | 40 - ...imentTrackUnprocessableEntityException.php | 40 - ...eOAuthAuthorizationBadRequestException.php | 40 - ...horizationInternalServerErrorException.php | 40 - ...ireOAuthAuthorizationNotFoundException.php | 40 - ...thorizationServiceUnavailableException.php | 40 - ...chCompDomainPurchaseForbiddenException.php | 40 - ...pDomainPurchaseGatewayTimeoutException.php | 40 - ...inPurchaseInternalServerErrorException.php | 40 - ...AgreementsInternalServerErrorException.php | 40 - .../FetchDomainStatusForbiddenException.php | 40 - ...tchDomainStatusGatewayTimeoutException.php | 40 - ...mainStatusInternalServerErrorException.php | 40 - .../ForgetUserForbiddenException.php | 40 - ...ForgetUserInternalServerErrorException.php | 40 - .../ForgetUserServiceUnavailableException.php | 40 - .../FormCaptureBadRequestException.php | 40 - .../FormCaptureForbiddenException.php | 40 - ...ormCaptureInternalServerErrorException.php | 40 - ...FormCaptureServiceUnavailableException.php | 40 - ...ormCaptureUnprocessableEntityException.php | 40 - lib/Exception/GatewayTimeoutException.php | 19 - ...rateBillingSignatureForbiddenException.php | 40 - ...gSignatureInternalServerErrorException.php | 40 - .../GetAccessFeaturesForbiddenException.php | 40 - ...ssFeaturesInternalServerErrorException.php | 40 - ...eButtonClicksByCityBadRequestException.php | 40 - ...teButtonClicksByCityForbiddenException.php | 40 - ...icksByCityInternalServerErrorException.php | 40 - ...licksByCityServiceUnavailableException.php | 40 - ...ttonClicksByCountryBadRequestException.php | 40 - ...uttonClicksByCountryForbiddenException.php | 40 - ...sByCountryInternalServerErrorException.php | 40 - ...ksByCountryServiceUnavailableException.php | 40 - ...uttonClicksByDeviceBadRequestException.php | 40 - ...ButtonClicksByDeviceForbiddenException.php | 40 - ...ksByDeviceInternalServerErrorException.php | 40 - ...cksByDeviceServiceUnavailableException.php | 40 - ...uttonClicksOverTimeBadRequestException.php | 40 - ...ButtonClicksOverTimeForbiddenException.php | 40 - ...ksOverTimeInternalServerErrorException.php | 40 - ...cksOverTimeServiceUnavailableException.php | 40 - ...gateCodeScansByCityBadRequestException.php | 40 - ...egateCodeScansByCityForbiddenException.php | 40 - ...cansByCityInternalServerErrorException.php | 40 - ...ScansByCityServiceUnavailableException.php | 40 - ...eCodeScansByCountryBadRequestException.php | 40 - ...teCodeScansByCountryForbiddenException.php | 40 - ...sByCountryInternalServerErrorException.php | 40 - ...nsByCountryServiceUnavailableException.php | 40 - ...teCodeScansOverTimeBadRequestException.php | 40 - ...ateCodeScansOverTimeForbiddenException.php | 40 - ...nsOverTimeInternalServerErrorException.php | 40 - ...ansOverTimeServiceUnavailableException.php | 40 - ...rdDownloadsOverTimeBadRequestException.php | 40 - ...ardDownloadsOverTimeForbiddenException.php | 40 - ...dsOverTimeInternalServerErrorException.php | 40 - ...adsOverTimeServiceUnavailableException.php | 40 - ...agementsForBitlinksBadRequestException.php | 40 - ...tlinksByCitiesFacetBadRequestException.php | 40 - ...itlinksByCitiesFacetForbiddenException.php | 40 - ...sForBitlinksByCitiesFacetGoneException.php | 40 - ...itiesFacetInternalServerErrorException.php | 40 - ...BitlinksByCitiesFacetNotFoundException.php | 40 - ...sByCitiesFacetPaymentRequiredException.php | 40 - ...CitiesFacetServiceUnavailableException.php | 40 - ...sForBitlinksByFacetBadRequestException.php | 40 - ...tsForBitlinksByFacetForbiddenException.php | 40 - ...gementsForBitlinksByFacetGoneException.php | 40 - ...nksByFacetInternalServerErrorException.php | 40 - ...ntsForBitlinksByFacetNotFoundException.php | 40 - ...itlinksByFacetPaymentRequiredException.php | 40 - ...inksByFacetServiceUnavailableException.php | 40 - ...gagementsForBitlinksForbiddenException.php | 40 - ...ateEngagementsForBitlinksGoneException.php | 40 - ...orBitlinksInternalServerErrorException.php | 40 - ...ngagementsForBitlinksNotFoundException.php | 40 - ...ntsForBitlinksPaymentRequiredException.php | 40 - ...ForBitlinksServiceUnavailableException.php | 40 - ...ateLinkClicksByCityBadRequestException.php | 40 - ...gateLinkClicksByCityForbiddenException.php | 40 - ...icksByCityInternalServerErrorException.php | 40 - ...licksByCityServiceUnavailableException.php | 40 - ...LinkClicksByCountryBadRequestException.php | 40 - ...eLinkClicksByCountryForbiddenException.php | 40 - ...sByCountryInternalServerErrorException.php | 40 - ...ksByCountryServiceUnavailableException.php | 40 - ...eLinkClicksByDeviceBadRequestException.php | 40 - ...teLinkClicksByDeviceForbiddenException.php | 40 - ...ksByDeviceInternalServerErrorException.php | 40 - ...cksByDeviceServiceUnavailableException.php | 40 - ...inkClicksByReferrerBadRequestException.php | 40 - ...LinkClicksByReferrerForbiddenException.php | 40 - ...ByReferrerInternalServerErrorException.php | 40 - ...sByReferrerServiceUnavailableException.php | 40 - ...eLinkClicksOverTimeBadRequestException.php | 40 - ...teLinkClicksOverTimeForbiddenException.php | 40 - ...ksOverTimeInternalServerErrorException.php | 40 - ...cksOverTimeServiceUnavailableException.php | 40 - ...gatePageViewsByCityBadRequestException.php | 40 - ...egatePageViewsByCityForbiddenException.php | 40 - ...iewsByCityInternalServerErrorException.php | 40 - ...ViewsByCityServiceUnavailableException.php | 40 - ...ePageViewsByCountryBadRequestException.php | 40 - ...tePageViewsByCountryForbiddenException.php | 40 - ...sByCountryInternalServerErrorException.php | 40 - ...wsByCountryServiceUnavailableException.php | 40 - ...tePageViewsByDeviceBadRequestException.php | 40 - ...atePageViewsByDeviceForbiddenException.php | 40 - ...wsByDeviceInternalServerErrorException.php | 40 - ...ewsByDeviceServiceUnavailableException.php | 40 - ...PageViewsByReferrerBadRequestException.php | 40 - ...ePageViewsByReferrerForbiddenException.php | 40 - ...ByReferrerInternalServerErrorException.php | 40 - ...sByReferrerServiceUnavailableException.php | 40 - ...tePageViewsOverTimeBadRequestException.php | 40 - ...atePageViewsOverTimeForbiddenException.php | 40 - ...wsOverTimeInternalServerErrorException.php | 40 - ...ewsOverTimeServiceUnavailableException.php | 40 - ...regatePagesOverviewBadRequestException.php | 40 - ...gregatePagesOverviewForbiddenException.php | 40 - ...esOverviewInternalServerErrorException.php | 40 - ...gesOverviewServiceUnavailableException.php | 40 - ...gateSiteViewsByCityBadRequestException.php | 40 - ...egateSiteViewsByCityForbiddenException.php | 40 - ...iewsByCityInternalServerErrorException.php | 40 - ...ViewsByCityServiceUnavailableException.php | 40 - ...eSiteViewsByCountryBadRequestException.php | 40 - ...teSiteViewsByCountryForbiddenException.php | 40 - ...sByCountryInternalServerErrorException.php | 40 - ...wsByCountryServiceUnavailableException.php | 40 - ...teSiteViewsByDeviceBadRequestException.php | 40 - ...ateSiteViewsByDeviceForbiddenException.php | 40 - ...wsByDeviceInternalServerErrorException.php | 40 - ...ewsByDeviceServiceUnavailableException.php | 40 - ...SiteViewsByReferrerBadRequestException.php | 40 - ...eSiteViewsByReferrerForbiddenException.php | 40 - ...ByReferrerInternalServerErrorException.php | 40 - ...sByReferrerServiceUnavailableException.php | 40 - ...teSiteViewsOverTimeBadRequestException.php | 40 - ...ateSiteViewsOverTimeForbiddenException.php | 40 - ...wsOverTimeInternalServerErrorException.php | 40 - ...ewsOverTimeServiceUnavailableException.php | 40 - ...regateSitesOverviewBadRequestException.php | 40 - ...gregateSitesOverviewForbiddenException.php | 40 - ...esOverviewInternalServerErrorException.php | 40 - ...tesOverviewServiceUnavailableException.php | 40 - ...gateTopButtonClicksBadRequestException.php | 40 - ...egateTopButtonClicksForbiddenException.php | 40 - ...ttonClicksInternalServerErrorException.php | 40 - ...uttonClicksServiceUnavailableException.php | 40 - ...gregateTopCodeScansBadRequestException.php | 40 - ...ggregateTopCodeScansForbiddenException.php | 40 - ...pCodeScansInternalServerErrorException.php | 40 - ...opCodeScansServiceUnavailableException.php | 40 - ...regateTopLinkClicksBadRequestException.php | 40 - ...gregateTopLinkClicksForbiddenException.php | 40 - ...LinkClicksInternalServerErrorException.php | 40 - ...pLinkClicksServiceUnavailableException.php | 40 - ...etAllBrandCampaignsBadRequestException.php | 40 - ...dCampaignsInternalServerErrorException.php | 40 - ...dCampaignsUnprocessableEntityException.php | 40 - .../GetAnalyticsModuleForbiddenException.php | 40 - ...ticsModuleInternalServerErrorException.php | 40 - .../GetAnalyticsModuleNotFoundException.php | 40 - ...yticsModuleServiceUnavailableException.php | 40 - .../GetAnalyticsReportForbiddenException.php | 40 - ...ticsReportInternalServerErrorException.php | 40 - .../GetAnalyticsReportNotFoundException.php | 40 - ...yticsReportServiceUnavailableException.php | 40 - ...rtsByGroupPaginatedBadRequestException.php | 40 - ...ortsByGroupPaginatedForbiddenException.php | 40 - ...pPaginatedInternalServerErrorException.php | 40 - ...GroupPaginatedPaymentRequiredException.php | 40 - ...upPaginatedServiceUnavailableException.php | 40 - ...sReportsListByGroupBadRequestException.php | 40 - ...csReportsListByGroupForbiddenException.php | 40 - ...istByGroupInternalServerErrorException.php | 40 - ...rtsListByGroupPaymentRequiredException.php | 40 - ...ListByGroupServiceUnavailableException.php | 40 - .../GetAnalyticsUsageBadRequestException.php | 40 - .../GetAnalyticsUsageForbiddenException.php | 40 - ...yticsUsageInternalServerErrorException.php | 40 - ...lyticsUsageServiceUnavailableException.php | 40 - .../GetAppAssociationsForbiddenException.php | 40 - ...sociationsInternalServerErrorException.php | 40 - .../GetAppAssociationsNotFoundException.php | 40 - ...ppAssociationsPaymentRequiredException.php | 40 - ...ssociationsServiceUnavailableException.php | 40 - ...etAutobrandedDomainBadRequestException.php | 40 - ...ndedDomainInternalServerErrorException.php | 40 - .../GetBillingAccountForbiddenException.php | 40 - .../GetBillingAccountIDForbiddenException.php | 40 - ...gAccountIDInternalServerErrorException.php | 40 - ...ingAccountInternalServerErrorException.php | 40 - .../GetBillingProviderBadRequestException.php | 40 - .../GetBillingProviderForbiddenException.php | 40 - ...ngProviderInternalServerErrorException.php | 40 - ...tBitlinkClickCountsBadRequestException.php | 40 - .../GetBitlinkClickCountsGoneException.php | 40 - ...lickCountsInternalServerErrorException.php | 40 - ...GetBitlinkClickCountsNotFoundException.php | 40 - ...ClickCountsServiceUnavailableException.php | 40 - ...lickCountsUnprocessableEntityException.php | 40 - .../GetBitlinkClicksBadRequestException.php | 40 - .../GetBitlinkClicksForbiddenException.php | 40 - .../GetBitlinkClicksGoneException.php | 40 - ...linkClicksInternalServerErrorException.php | 40 - ...ForBitlinkByBrowserBadRequestException.php | 40 - ...sForBitlinkByBrowserForbiddenException.php | 40 - ...etricsForBitlinkByBrowserGoneException.php | 40 - ...kByBrowserInternalServerErrorException.php | 40 - ...csForBitlinkByBrowserNotFoundException.php | 40 - ...tlinkByBrowserPaymentRequiredException.php | 40 - ...nkByBrowserServiceUnavailableException.php | 40 - ...sForBitlinkByCitiesBadRequestException.php | 40 - ...csForBitlinkByCitiesForbiddenException.php | 40 - ...MetricsForBitlinkByCitiesGoneException.php | 40 - ...nkByCitiesInternalServerErrorException.php | 40 - ...icsForBitlinkByCitiesNotFoundException.php | 40 - ...itlinkByCitiesPaymentRequiredException.php | 40 - ...inkByCitiesServiceUnavailableException.php | 40 - ...rBitlinkByCountriesBadRequestException.php | 40 - ...orBitlinkByCountriesForbiddenException.php | 40 - ...ricsForBitlinkByCountriesGoneException.php | 40 - ...yCountriesInternalServerErrorException.php | 40 - ...ForBitlinkByCountriesNotFoundException.php | 40 - ...inkByCountriesPaymentRequiredException.php | 40 - ...ByCountriesServiceUnavailableException.php | 40 - ...rBitlinkByDevicesOSBadRequestException.php | 40 - ...orBitlinkByDevicesOSForbiddenException.php | 40 - ...ricsForBitlinkByDevicesOSGoneException.php | 40 - ...yDevicesOSInternalServerErrorException.php | 40 - ...ForBitlinkByDevicesOSNotFoundException.php | 40 - ...inkByDevicesOSPaymentRequiredException.php | 40 - ...ByDevicesOSServiceUnavailableException.php | 40 - .../GetBitlinkClicksNotFoundException.php | 40 - ...tlinkClicksServiceUnavailableException.php | 40 - ...itlinkClicksSummaryBadRequestException.php | 40 - ...BitlinkClicksSummaryForbiddenException.php | 40 - .../GetBitlinkClicksSummaryGoneException.php | 40 - ...cksSummaryInternalServerErrorException.php | 40 - ...tBitlinkClicksSummaryNotFoundException.php | 40 - ...icksSummaryServiceUnavailableException.php | 40 - .../GetBitlinkScansBadRequestException.php | 40 - .../GetBitlinkScansForbiddenException.php | 40 - .../GetBitlinkScansGoneException.php | 40 - ...tlinkScansInternalServerErrorException.php | 40 - .../GetBitlinkScansNotFoundException.php | 40 - ...itlinkScansServiceUnavailableException.php | 40 - ...BitlinkScansSummaryBadRequestException.php | 40 - ...tBitlinkScansSummaryForbiddenException.php | 40 - .../GetBitlinkScansSummaryGoneException.php | 40 - ...ansSummaryInternalServerErrorException.php | 40 - ...etBitlinkScansSummaryNotFoundException.php | 40 - ...cansSummaryServiceUnavailableException.php | 40 - ...rdDownloadsByCitiesBadRequestException.php | 40 - ...ardDownloadsByCitiesForbiddenException.php | 40 - ...dsByCitiesInternalServerErrorException.php | 40 - ...CardDownloadsByCitiesNotFoundException.php | 40 - ...adsByCitiesServiceUnavailableException.php | 40 - ...ownloadsByCountriesBadRequestException.php | 40 - ...DownloadsByCountriesForbiddenException.php | 40 - ...yCountriesInternalServerErrorException.php | 40 - ...dDownloadsByCountriesNotFoundException.php | 40 - ...ByCountriesServiceUnavailableException.php | 40 - ...dDownloadsByDevicesBadRequestException.php | 40 - ...rdDownloadsByDevicesForbiddenException.php | 40 - ...sByDevicesInternalServerErrorException.php | 40 - ...ardDownloadsByDevicesNotFoundException.php | 40 - ...dsByDevicesServiceUnavailableException.php | 40 - ...rdDownloadsOverTimeBadRequestException.php | 40 - ...ardDownloadsOverTimeForbiddenException.php | 40 - ...dsOverTimeInternalServerErrorException.php | 40 - ...CardDownloadsOverTimeNotFoundException.php | 40 - ...adsOverTimeServiceUnavailableException.php | 40 - .../GetBrandCampaignBadRequestException.php | 40 - ...ndCampaignInternalServerErrorException.php | 40 - ...ndCampaignUnprocessableEntityException.php | 40 - .../GetBulkUploadsBadRequestException.php | 40 - .../GetBulkUploadsForbiddenException.php | 40 - ...ulkUploadsInternalServerErrorException.php | 40 - .../GetBulkUploadsNotFoundException.php | 40 - ...GetBulkUploadsPaymentRequiredException.php | 40 - ...BulkUploadsServiceUnavailableException.php | 40 - .../GetButtonClicksBadRequestException.php | 40 - .../GetButtonClicksForbiddenException.php | 40 - .../GetButtonClicksGoneException.php | 40 - ...ttonClicksInternalServerErrorException.php | 40 - .../GetButtonClicksNotFoundException.php | 40 - ...uttonClicksServiceUnavailableException.php | 40 - ...ButtonClicksSummaryBadRequestException.php | 40 - ...tButtonClicksSummaryForbiddenException.php | 40 - .../GetButtonClicksSummaryGoneException.php | 40 - ...cksSummaryInternalServerErrorException.php | 40 - ...etButtonClicksSummaryNotFoundException.php | 40 - ...icksSummaryServiceUnavailableException.php | 40 - .../GetCampaignClicksForbiddenException.php | 40 - ...aignClicksInternalServerErrorException.php | 40 - .../GetCampaignClicksNotFoundException.php | 40 - ...CampaignClicksPaymentRequiredException.php | 40 - ...paignClicksServiceUnavailableException.php | 40 - .../GetCanvaUserBrandBadRequestException.php | 40 - ...aUserBrandInternalServerErrorException.php | 40 - .../GetCanvaUserBrandNotFoundException.php | 40 - .../GetChildrenForBlockForbiddenException.php | 40 - ...enForBlockInternalServerErrorException.php | 40 - .../GetChildrenForBlockNotFoundException.php | 40 - ...renForBlockServiceUnavailableException.php | 40 - ...GetConsumableFeaturesConflictException.php | 30 - ...etConsumableFeaturesForbiddenException.php | 40 - ...leFeaturesInternalServerErrorException.php | 40 - ...CountryCallingCodesBadRequestException.php | 40 - ...llingCodesInternalServerErrorException.php | 40 - ...etCurrencyInternalServerErrorException.php | 40 - ...rrencyListInternalServerErrorException.php | 40 - .../GetCustomDomainForbiddenException.php | 40 - ...stomDomainInternalServerErrorException.php | 40 - .../GetCustomDomainNotFoundException.php | 40 - ...ustomDomainServiceUnavailableException.php | 40 - .../GetCustomDomainsForbiddenException.php | 40 - ...tomDomainsInternalServerErrorException.php | 40 - ...stomDomainsServiceUnavailableException.php | 40 - ...tomDomainsUnprocessableEntityException.php | 40 - .../GetDeeplinkAppForbiddenException.php | 40 - ...eeplinkAppInternalServerErrorException.php | 40 - .../GetDeeplinkAppNotFoundException.php | 40 - ...DeeplinkAppServiceUnavailableException.php | 40 - .../GetDeeplinkAppsForbiddenException.php | 40 - ...eplinkAppsInternalServerErrorException.php | 40 - ...eeplinkAppsServiceUnavailableException.php | 40 - ...eeplinkMetricsRollupForbiddenException.php | 40 - .../GetDeeplinkMetricsRollupGoneException.php | 40 - ...ricsRollupInternalServerErrorException.php | 40 - ...DeeplinkMetricsRollupNotFoundException.php | 40 - ...kMetricsRollupPaymentRequiredException.php | 40 - ...tricsRollupServiceUnavailableException.php | 40 - .../GetDeeplinkRulesForbiddenException.php | 40 - ...plinkRulesInternalServerErrorException.php | 40 - .../GetDeeplinkRulesNotFoundException.php | 40 - ...tDeeplinkRulesPaymentRequiredException.php | 40 - ...eplinkRulesServiceUnavailableException.php | 40 - ...tDeeplinkRulesTooManyRequestsException.php | 40 - ...istrarInfoInternalServerErrorException.php | 40 - .../GetEngagementsBadRequestException.php | 40 - .../GetEngagementsForbiddenException.php | 40 - lib/Exception/GetEngagementsGoneException.php | 40 - ...ngagementsInternalServerErrorException.php | 40 - .../GetEngagementsNotFoundException.php | 40 - ...etEngagementsSampleBadRequestException.php | 40 - ...GetEngagementsSampleForbiddenException.php | 40 - ...entsSampleInternalServerErrorException.php | 40 - ...EngagementsServiceUnavailableException.php | 40 - ...tEngagementsSummaryBadRequestException.php | 40 - ...etEngagementsSummaryForbiddenException.php | 40 - .../GetEngagementsSummaryGoneException.php | 40 - ...ntsSummaryInternalServerErrorException.php | 40 - ...GetEngagementsSummaryNotFoundException.php | 40 - ...entsSummaryServiceUnavailableException.php | 40 - .../GetFocusInternalServerErrorException.php | 40 - ...tGroupBitlinksCountBadRequestException.php | 40 - ...etGroupBitlinksCountForbiddenException.php | 40 - ...linksCountInternalServerErrorException.php | 40 - ...pBitlinksCountPaymentRequiredException.php | 40 - ...BitlinksCountRollupBadRequestException.php | 40 - ...pBitlinksCountRollupForbiddenException.php | 40 - ...ountRollupInternalServerErrorException.php | 40 - ...nksCountRollupPaymentRequiredException.php | 40 - ...CountRollupServiceUnavailableException.php | 40 - ...nksCountRollupTooManyRequestsException.php | 40 - ...pButtonClicksByCityBadRequestException.php | 40 - ...upButtonClicksByCityForbiddenException.php | 40 - ...icksByCityInternalServerErrorException.php | 40 - ...licksByCityServiceUnavailableException.php | 40 - ...ttonClicksByCountryBadRequestException.php | 40 - ...uttonClicksByCountryForbiddenException.php | 40 - ...sByCountryInternalServerErrorException.php | 40 - ...ksByCountryServiceUnavailableException.php | 40 - ...uttonClicksByDeviceBadRequestException.php | 40 - ...ButtonClicksByDeviceForbiddenException.php | 40 - ...ksByDeviceInternalServerErrorException.php | 40 - ...cksByDeviceServiceUnavailableException.php | 40 - ...uttonClicksOverTimeBadRequestException.php | 40 - ...ButtonClicksOverTimeForbiddenException.php | 40 - ...ksOverTimeInternalServerErrorException.php | 40 - ...cksOverTimeServiceUnavailableException.php | 40 - ...tGroupClicksByFacetBadRequestException.php | 40 - ...etGroupClicksByFacetForbiddenException.php | 40 - ...cksByFacetInternalServerErrorException.php | 40 - ...pClicksByFacetPaymentRequiredException.php | 40 - ...ClicksByFacetRollupBadRequestException.php | 40 - ...pClicksByFacetRollupForbiddenException.php | 40 - ...acetRollupInternalServerErrorException.php | 40 - ...sByFacetRollupPaymentRequiredException.php | 40 - ...FacetRollupServiceUnavailableException.php | 40 - ...icksByFacetServiceUnavailableException.php | 40 - ...roupCodeScansByCityBadRequestException.php | 40 - ...GroupCodeScansByCityForbiddenException.php | 40 - ...cansByCityInternalServerErrorException.php | 40 - ...ScansByCityServiceUnavailableException.php | 40 - ...pCodeScansByCountryBadRequestException.php | 40 - ...upCodeScansByCountryForbiddenException.php | 40 - ...sByCountryInternalServerErrorException.php | 40 - ...nsByCountryServiceUnavailableException.php | 40 - ...upCodeScansOverTimeBadRequestException.php | 40 - ...oupCodeScansOverTimeForbiddenException.php | 40 - ...nsOverTimeInternalServerErrorException.php | 40 - ...ansOverTimeServiceUnavailableException.php | 40 - ...rdDownloadsByBlocksBadRequestException.php | 40 - ...ardDownloadsByBlocksForbiddenException.php | 40 - ...dsByBlocksInternalServerErrorException.php | 40 - ...CardDownloadsByBlocksNotFoundException.php | 40 - ...adsByBlocksServiceUnavailableException.php | 40 - ...rdDownloadsByCitiesBadRequestException.php | 40 - ...ardDownloadsByCitiesForbiddenException.php | 40 - ...dsByCitiesInternalServerErrorException.php | 40 - ...CardDownloadsByCitiesNotFoundException.php | 40 - ...adsByCitiesServiceUnavailableException.php | 40 - ...ownloadsByCountriesBadRequestException.php | 40 - ...DownloadsByCountriesForbiddenException.php | 40 - ...yCountriesInternalServerErrorException.php | 40 - ...dDownloadsByCountriesNotFoundException.php | 40 - ...ByCountriesServiceUnavailableException.php | 40 - ...dDownloadsByDevicesBadRequestException.php | 40 - ...rdDownloadsByDevicesForbiddenException.php | 40 - ...sByDevicesInternalServerErrorException.php | 40 - ...ardDownloadsByDevicesNotFoundException.php | 40 - ...dsByDevicesServiceUnavailableException.php | 40 - ...wnloadsByMicrositesBadRequestException.php | 40 - ...ownloadsByMicrositesForbiddenException.php | 40 - ...MicrositesInternalServerErrorException.php | 40 - ...DownloadsByMicrositesNotFoundException.php | 40 - ...yMicrositesServiceUnavailableException.php | 40 - ...rdDownloadsOverTimeBadRequestException.php | 40 - ...ardDownloadsOverTimeForbiddenException.php | 40 - ...dsOverTimeInternalServerErrorException.php | 40 - ...CardDownloadsOverTimeNotFoundException.php | 40 - ...adsOverTimeServiceUnavailableException.php | 40 - ...oupLinkClicksByCityBadRequestException.php | 40 - ...roupLinkClicksByCityForbiddenException.php | 40 - ...icksByCityInternalServerErrorException.php | 40 - ...licksByCityServiceUnavailableException.php | 40 - ...LinkClicksByCountryBadRequestException.php | 40 - ...pLinkClicksByCountryForbiddenException.php | 40 - ...sByCountryInternalServerErrorException.php | 40 - ...ksByCountryServiceUnavailableException.php | 40 - ...pLinkClicksByDeviceBadRequestException.php | 40 - ...upLinkClicksByDeviceForbiddenException.php | 40 - ...ksByDeviceInternalServerErrorException.php | 40 - ...cksByDeviceServiceUnavailableException.php | 40 - ...inkClicksByReferrerBadRequestException.php | 40 - ...LinkClicksByReferrerForbiddenException.php | 40 - ...ByReferrerInternalServerErrorException.php | 40 - ...sByReferrerServiceUnavailableException.php | 40 - ...pLinkClicksOverTimeBadRequestException.php | 40 - ...upLinkClicksOverTimeForbiddenException.php | 40 - ...ksOverTimeInternalServerErrorException.php | 40 - ...cksOverTimeServiceUnavailableException.php | 40 - ...roupPageViewsByCityBadRequestException.php | 40 - ...GroupPageViewsByCityForbiddenException.php | 40 - ...iewsByCityInternalServerErrorException.php | 40 - ...ViewsByCityServiceUnavailableException.php | 40 - ...pPageViewsByCountryBadRequestException.php | 40 - ...upPageViewsByCountryForbiddenException.php | 40 - ...sByCountryInternalServerErrorException.php | 40 - ...wsByCountryServiceUnavailableException.php | 40 - ...upPageViewsByDeviceBadRequestException.php | 40 - ...oupPageViewsByDeviceForbiddenException.php | 40 - ...wsByDeviceInternalServerErrorException.php | 40 - ...ewsByDeviceServiceUnavailableException.php | 40 - ...PageViewsByReferrerBadRequestException.php | 40 - ...pPageViewsByReferrerForbiddenException.php | 40 - ...ByReferrerInternalServerErrorException.php | 40 - ...sByReferrerServiceUnavailableException.php | 40 - ...upPageViewsOverTimeBadRequestException.php | 40 - ...oupPageViewsOverTimeForbiddenException.php | 40 - ...wsOverTimeInternalServerErrorException.php | 40 - ...ewsOverTimeServiceUnavailableException.php | 40 - ...tGroupPagesOverviewBadRequestException.php | 40 - ...etGroupPagesOverviewForbiddenException.php | 40 - ...esOverviewInternalServerErrorException.php | 40 - ...gesOverviewServiceUnavailableException.php | 40 - ...roupTopButtonClicksBadRequestException.php | 40 - ...GroupTopButtonClicksForbiddenException.php | 40 - ...ttonClicksInternalServerErrorException.php | 40 - ...uttonClicksServiceUnavailableException.php | 40 - ...etGroupTopCodeScansBadRequestException.php | 40 - ...GetGroupTopCodeScansForbiddenException.php | 40 - ...pCodeScansInternalServerErrorException.php | 40 - ...opCodeScansServiceUnavailableException.php | 40 - ...tGroupTopLinkClicksBadRequestException.php | 40 - ...etGroupTopLinkClicksForbiddenException.php | 40 - ...LinkClicksInternalServerErrorException.php | 40 - ...pLinkClicksServiceUnavailableException.php | 40 - .../GetGroupsByLoginForbiddenException.php | 40 - ...upsByLoginInternalServerErrorException.php | 40 - .../GetImageByGUIDBadRequestException.php | 40 - .../GetImageByGUIDForbiddenException.php | 40 - ...mageByGUIDInternalServerErrorException.php | 40 - .../GetImageByGUIDNotFoundException.php | 40 - ...ImageByGUIDServiceUnavailableException.php | 40 - ...ionOAuthsByClientIDBadRequestException.php | 40 - ...ByClientIDInternalServerErrorException.php | 40 - ...sByClientIDServiceUnavailableException.php | 40 - ...tInvitationsByLoginBadRequestException.php | 40 - ...etInvitationsByLoginForbiddenException.php | 40 - ...onsByLoginInternalServerErrorException.php | 40 - .../GetInvitationsForbiddenException.php | 40 - ...nvitationsInternalServerErrorException.php | 40 - ...rdDownloadsOverTimeBadRequestException.php | 40 - ...ardDownloadsOverTimeForbiddenException.php | 40 - ...dsOverTimeInternalServerErrorException.php | 40 - ...adsOverTimeServiceUnavailableException.php | 40 - .../GetLaunchpadForbiddenException.php | 40 - ...hpadImageByImageUseBadRequestException.php | 40 - ...chpadImageByImageUseForbiddenException.php | 40 - ...ByImageUseInternalServerErrorException.php | 40 - ...nchpadImageByImageUseNotFoundException.php | 40 - ...eByImageUseServiceUnavailableException.php | 40 - ...tLaunchpadInternalServerErrorException.php | 40 - .../GetLaunchpadNotFoundException.php | 40 - ...esetThemesInternalServerErrorException.php | 40 - ...resetThemesServiceUnavailableException.php | 40 - ...etLaunchpadServiceUnavailableException.php | 40 - ...etLaunchpadsForGroupForbiddenException.php | 40 - ...dsForGroupInternalServerErrorException.php | 40 - ...GetLaunchpadsForGroupNotFoundException.php | 40 - ...adsForGroupServiceUnavailableException.php | 40 - ...gementsDailySummaryBadRequestException.php | 40 - ...agementsDailySummaryForbiddenException.php | 40 - ...ilySummaryInternalServerErrorException.php | 40 - ...gagementsDailySummaryNotFoundException.php | 40 - ...ailySummaryServiceUnavailableException.php | 40 - ...ilySummaryUnprocessableEntityException.php | 40 - ...gementsDayDrillDownBadRequestException.php | 40 - ...agementsDayDrillDownForbiddenException.php | 40 - ...yDrillDownInternalServerErrorException.php | 40 - ...gagementsDayDrillDownNotFoundException.php | 40 - ...ayDrillDownServiceUnavailableException.php | 40 - ...yDrillDownUnprocessableEntityException.php | 40 - ...nkEngagementsReportBadRequestException.php | 40 - ...inkEngagementsReportForbiddenException.php | 40 - ...entsReportInternalServerErrorException.php | 40 - ...LinkEngagementsReportNotFoundException.php | 40 - ...mentsReportServiceUnavailableException.php | 40 - ...entsReportUnprocessableEntityException.php | 40 - ...formanceForLaunchpadForbiddenException.php | 40 - ...rLaunchpadInternalServerErrorException.php | 40 - ...rformanceForLaunchpadNotFoundException.php | 40 - ...orLaunchpadServiceUnavailableException.php | 40 - ...nkPerformanceForSiteForbiddenException.php | 40 - ...nceForSiteInternalServerErrorException.php | 40 - ...inkPerformanceForSiteNotFoundException.php | 40 - ...anceForSiteServiceUnavailableException.php | 40 - ...orLaunchpadByCitiesBadRequestException.php | 40 - ...ForLaunchpadByCitiesForbiddenException.php | 40 - ...adByCitiesInternalServerErrorException.php | 40 - ...sForLaunchpadByCitiesNotFoundException.php | 40 - ...nchpadByCitiesPaymentRequiredException.php | 40 - ...padByCitiesServiceUnavailableException.php | 40 - ...aunchpadByCountriesBadRequestException.php | 40 - ...LaunchpadByCountriesForbiddenException.php | 40 - ...yCountriesInternalServerErrorException.php | 40 - ...rLaunchpadByCountriesNotFoundException.php | 40 - ...ByCountriesServiceUnavailableException.php | 40 - ...rLaunchpadByDevicesBadRequestException.php | 40 - ...orLaunchpadByDevicesForbiddenException.php | 40 - ...dByDevicesInternalServerErrorException.php | 40 - ...ForLaunchpadByDevicesNotFoundException.php | 40 - ...chpadByDevicesPaymentRequiredException.php | 40 - ...adByDevicesServiceUnavailableException.php | 40 - ...aunchpadByReferrersBadRequestException.php | 40 - ...LaunchpadByReferrersForbiddenException.php | 40 - ...yReferrersInternalServerErrorException.php | 40 - ...rLaunchpadByReferrersNotFoundException.php | 40 - ...ByReferrersServiceUnavailableException.php | 40 - ...ricsForSiteByCitiesBadRequestException.php | 40 - ...tricsForSiteByCitiesForbiddenException.php | 40 - ...teByCitiesInternalServerErrorException.php | 40 - ...etricsForSiteByCitiesNotFoundException.php | 40 - ...orSiteByCitiesPaymentRequiredException.php | 40 - ...iteByCitiesServiceUnavailableException.php | 40 - ...icsForSiteByDevicesBadRequestException.php | 40 - ...ricsForSiteByDevicesForbiddenException.php | 40 - ...eByDevicesInternalServerErrorException.php | 40 - ...tricsForSiteByDevicesNotFoundException.php | 40 - ...rSiteByDevicesPaymentRequiredException.php | 40 - ...teByDevicesServiceUnavailableException.php | 40 - ...sForSiteByReferrersBadRequestException.php | 40 - ...csForSiteByReferrersForbiddenException.php | 40 - ...yReferrersInternalServerErrorException.php | 40 - ...icsForSiteByReferrersNotFoundException.php | 40 - ...ByReferrersServiceUnavailableException.php | 40 - ...ForSitesByCountriesBadRequestException.php | 40 - ...sForSitesByCountriesForbiddenException.php | 40 - ...yCountriesInternalServerErrorException.php | 40 - ...csForSitesByCountriesNotFoundException.php | 40 - ...ByCountriesServiceUnavailableException.php | 40 - .../GetOAuthAppsBadRequestException.php | 40 - ...tOAuthAppsInternalServerErrorException.php | 40 - .../GetOAuthAppsNotFoundException.php | 40 - ...etOAuthAppsServiceUnavailableException.php | 40 - ...orizationsInternalServerErrorException.php | 40 - ...etOAuthAuthorizationsNotFoundException.php | 40 - ...horizationsServiceUnavailableException.php | 40 - ...GetOrgDomainsStatusBadRequestException.php | 40 - .../GetOrgDomainsStatusForbiddenException.php | 40 - ...ainsStatusInternalServerErrorException.php | 40 - ...gDomainsStatusTooManyRequestsException.php | 40 - .../GetOrgEmailsForbiddenException.php | 40 - ...tOrgEmailsInternalServerErrorException.php | 40 - .../GetOrgEmailsNotFoundException.php | 40 - ...etOrgEmailsServiceUnavailableException.php | 40 - ...gInvitationRequestsBadRequestException.php | 40 - ...rgInvitationRequestsForbiddenException.php | 40 - ...onRequestsInternalServerErrorException.php | 40 - ...referencesInternalServerErrorException.php | 40 - ...tionActivityLogEntryForbiddenException.php | 40 - ...tyLogEntryInternalServerErrorException.php | 40 - ...ityLogEntryServiceUnavailableException.php | 40 - ...anizationActivityLogForbiddenException.php | 40 - ...ctivityLogInternalServerErrorException.php | 40 - ...ActivityLogServiceUnavailableException.php | 40 - ...FeatureUsageByGroupBadRequestException.php | 40 - ...nFeatureUsageByGroupForbiddenException.php | 40 - ...ageByGroupInternalServerErrorException.php | 40 - ...nizationFeatureUsageForbiddenException.php | 40 - ...atureUsageInternalServerErrorException.php | 40 - ...eatureUsageServiceUnavailableException.php | 40 - ...lUsageTotalsByGroupBadRequestException.php | 40 - ...alUsageTotalsByGroupForbiddenException.php | 40 - ...alsByGroupInternalServerErrorException.php | 40 - ...anizationSSOSettingsForbiddenException.php | 40 - ...SOSettingsInternalServerErrorException.php | 40 - ...ganizationSSOSettingsNotFoundException.php | 40 - ...ionSSOSettingsPaymentRequiredException.php | 40 - ...SSOSettingsServiceUnavailableException.php | 40 - ...anizationStripeInfoBadRequestException.php | 40 - ...ganizationStripeInfoForbiddenException.php | 40 - ...StripeInfoInternalServerErrorException.php | 40 - ...ideHistoryForBitlinkForbiddenException.php | 40 - ...ForBitlinkInternalServerErrorException.php | 40 - ...rideHistoryForBitlinkNotFoundException.php | 40 - ...toryForBitlinkPaymentRequiredException.php | 40 - ...yForBitlinkServiceUnavailableException.php | 40 - ...toryForBitlinkTooManyRequestsException.php | 40 - ...ideMetricsByVersionBadRequestException.php | 40 - ...rideMetricsByVersionForbiddenException.php | 40 - ...tOverrideMetricsByVersionGoneException.php | 40 - ...sByVersionInternalServerErrorException.php | 40 - ...rrideMetricsByVersionNotFoundException.php | 40 - ...tricsByVersionPaymentRequiredException.php | 40 - ...csByVersionServiceUnavailableException.php | 40 - ...tOverridesForBitlinkForbiddenException.php | 40 - .../GetOverridesForBitlinkGoneException.php | 40 - ...ForBitlinkInternalServerErrorException.php | 40 - ...etOverridesForBitlinkNotFoundException.php | 40 - ...idesForBitlinkPaymentRequiredException.php | 40 - ...sForBitlinkServiceUnavailableException.php | 40 - ...tOverridesForGroupsBadRequestException.php | 40 - ...etOverridesForGroupsForbiddenException.php | 40 - ...sForGroupsInternalServerErrorException.php | 40 - ...GetOverridesForGroupsNotFoundException.php | 40 - ...ridesForGroupsPaymentRequiredException.php | 40 - ...esForGroupsServiceUnavailableException.php | 40 - ...etPaymentInvoiceFileForbiddenException.php | 40 - ...nvoiceFileInternalServerErrorException.php | 40 - ...GetPaymentInvoiceFileNotFoundException.php | 40 - .../GetPaymentInvoiceForbiddenException.php | 40 - ...entInvoiceInternalServerErrorException.php | 40 - .../GetPaymentInvoicesForbiddenException.php | 40 - ...ntInvoicesInternalServerErrorException.php | 40 - ...GetPendingTierForOrgForbiddenException.php | 40 - ...TierForOrgInternalServerErrorException.php | 40 - .../GetPendingTierForOrgNotFoundException.php | 40 - ...PrivateGeoInternalServerErrorException.php | 40 - ...tProductUtilizationBadRequestException.php | 40 - ...etProductUtilizationForbiddenException.php | 40 - ...tilizationInternalServerErrorException.php | 40 - ...ValidPlansInternalServerErrorException.php | 40 - ...eValidPlansServiceUnavailableException.php | 40 - .../GetQRCHistoryBadRequestException.php | 40 - .../GetQRCHistoryForbiddenException.php | 40 - ...QRCHistoryInternalServerErrorException.php | 40 - .../GetQRCHistoryTooManyRequestsException.php | 40 - ...etQRCodeByBitlinkIdBadRequestException.php | 40 - ...GetQRCodeByBitlinkIdForbiddenException.php | 40 - .../GetQRCodeByBitlinkIdGoneException.php | 40 - ...yBitlinkIdInternalServerErrorException.php | 40 - .../GetQRCodeByBitlinkIdNotFoundException.php | 40 - .../GetQRCodeByIdBadRequestException.php | 40 - .../GetQRCodeByIdForbiddenException.php | 40 - lib/Exception/GetQRCodeByIdGoneException.php | 40 - ...QRCodeByIdInternalServerErrorException.php | 40 - .../GetQRCodeByIdNotFoundException.php | 40 - ...ustomizationOptionsBadRequestException.php | 40 - ...CustomizationOptionsForbiddenException.php | 40 - ...ionOptionsInternalServerErrorException.php | 40 - ...eCustomizationOptionsNotFoundException.php | 40 - ...ideMetricsByVersionBadRequestException.php | 40 - ...rideMetricsByVersionForbiddenException.php | 40 - ...eOverrideMetricsByVersionGoneException.php | 40 - ...sByVersionInternalServerErrorException.php | 40 - ...rrideMetricsByVersionNotFoundException.php | 40 - ...tricsByVersionPaymentRequiredException.php | 40 - ...csByVersionServiceUnavailableException.php | 40 - .../GetQRCodeTemplatesBadRequestException.php | 40 - .../GetQRCodeTemplatesForbiddenException.php | 40 - .../GetQRCodeTemplatesGoneException.php | 40 - ...eTemplatesInternalServerErrorException.php | 40 - .../GetQRCodeTemplatesNotFoundException.php | 40 - ...RCodeTemplatesPaymentRequiredException.php | 40 - ...egionsListInternalServerErrorException.php | 40 - ...titiesAfterDowngradeForbiddenException.php | 40 - ...rDowngradeInternalServerErrorException.php | 40 - .../GetSSOUsersBadRequestException.php | 40 - .../GetSSOUsersForbiddenException.php | 40 - ...etSSOUsersInternalServerErrorException.php | 40 - ...ForBitlinkByBrowserBadRequestException.php | 40 - ...sForBitlinkByBrowserForbiddenException.php | 40 - ...etricsForBitlinkByBrowserGoneException.php | 40 - ...kByBrowserInternalServerErrorException.php | 40 - ...csForBitlinkByBrowserNotFoundException.php | 40 - ...tlinkByBrowserPaymentRequiredException.php | 40 - ...nkByBrowserServiceUnavailableException.php | 40 - ...sForBitlinkByCitiesBadRequestException.php | 40 - ...csForBitlinkByCitiesForbiddenException.php | 40 - ...MetricsForBitlinkByCitiesGoneException.php | 40 - ...nkByCitiesInternalServerErrorException.php | 40 - ...icsForBitlinkByCitiesNotFoundException.php | 40 - ...itlinkByCitiesPaymentRequiredException.php | 40 - ...inkByCitiesServiceUnavailableException.php | 40 - ...rBitlinkByCountriesBadRequestException.php | 40 - ...orBitlinkByCountriesForbiddenException.php | 40 - ...ricsForBitlinkByCountriesGoneException.php | 40 - ...yCountriesInternalServerErrorException.php | 40 - ...ForBitlinkByCountriesNotFoundException.php | 40 - ...ByCountriesServiceUnavailableException.php | 40 - ...rBitlinkByDevicesOSBadRequestException.php | 40 - ...orBitlinkByDevicesOSForbiddenException.php | 40 - ...ricsForBitlinkByDevicesOSGoneException.php | 40 - ...yDevicesOSInternalServerErrorException.php | 40 - ...ForBitlinkByDevicesOSNotFoundException.php | 40 - ...inkByDevicesOSPaymentRequiredException.php | 40 - ...ByDevicesOSServiceUnavailableException.php | 40 - .../GetScansForBitlinkBadRequestException.php | 40 - .../GetScansForBitlinkForbiddenException.php | 40 - .../GetScansForBitlinkGoneException.php | 40 - ...ForBitlinkInternalServerErrorException.php | 40 - .../GetScansForBitlinkNotFoundException.php | 40 - ...sForBitlinkServiceUnavailableException.php | 40 - ...nsSummaryForBitlinkBadRequestException.php | 40 - ...ansSummaryForBitlinkForbiddenException.php | 40 - ...GetScansSummaryForBitlinkGoneException.php | 40 - ...ForBitlinkInternalServerErrorException.php | 40 - ...cansSummaryForBitlinkNotFoundException.php | 40 - ...yForBitlinkServiceUnavailableException.php | 40 - ...fyShopDomainDetailsBadRequestException.php | 40 - ...ifyShopDomainDetailsForbiddenException.php | 40 - ...ainDetailsInternalServerErrorException.php | 40 - ...pifyShopDomainDetailsNotFoundException.php | 40 - ...mainDetailsServiceUnavailableException.php | 40 - lib/Exception/GetSiteBadRequestException.php | 40 - ...tSiteClicksByCitiesBadRequestException.php | 40 - ...etSiteClicksByCitiesForbiddenException.php | 40 - ...ksByCitiesInternalServerErrorException.php | 40 - ...cksByCitiesServiceUnavailableException.php | 40 - ...teClicksByCountriesBadRequestException.php | 40 - ...iteClicksByCountriesForbiddenException.php | 40 - ...yCountriesInternalServerErrorException.php | 40 - ...ByCountriesServiceUnavailableException.php | 40 - ...SiteClicksByDevicesBadRequestException.php | 40 - ...tSiteClicksByDevicesForbiddenException.php | 40 - ...sByDevicesInternalServerErrorException.php | 40 - ...ksByDevicesServiceUnavailableException.php | 40 - ...tSiteClicksOverTimeBadRequestException.php | 40 - ...etSiteClicksOverTimeForbiddenException.php | 40 - ...ksOverTimeInternalServerErrorException.php | 40 - ...cksOverTimeServiceUnavailableException.php | 40 - ...rdDownloadsByBlocksBadRequestException.php | 40 - ...ardDownloadsByBlocksForbiddenException.php | 40 - ...dsByBlocksInternalServerErrorException.php | 40 - ...CardDownloadsByBlocksNotFoundException.php | 40 - ...adsByBlocksServiceUnavailableException.php | 40 - ...rdDownloadsByCitiesBadRequestException.php | 40 - ...ardDownloadsByCitiesForbiddenException.php | 40 - ...dsByCitiesInternalServerErrorException.php | 40 - ...CardDownloadsByCitiesNotFoundException.php | 40 - ...adsByCitiesServiceUnavailableException.php | 40 - ...ownloadsByCountriesBadRequestException.php | 40 - ...DownloadsByCountriesForbiddenException.php | 40 - ...yCountriesInternalServerErrorException.php | 40 - ...dDownloadsByCountriesNotFoundException.php | 40 - ...ByCountriesServiceUnavailableException.php | 40 - ...dDownloadsByDevicesBadRequestException.php | 40 - ...rdDownloadsByDevicesForbiddenException.php | 40 - ...sByDevicesInternalServerErrorException.php | 40 - ...ardDownloadsByDevicesNotFoundException.php | 40 - ...dsByDevicesServiceUnavailableException.php | 40 - ...rdDownloadsOverTimeBadRequestException.php | 40 - ...ardDownloadsOverTimeForbiddenException.php | 40 - ...dsOverTimeInternalServerErrorException.php | 40 - ...CardDownloadsOverTimeNotFoundException.php | 40 - ...adsOverTimeServiceUnavailableException.php | 40 - ...teredTopPageButtonsBadRequestException.php | 40 - ...lteredTopPageButtonsForbiddenException.php | 40 - ...ageButtonsInternalServerErrorException.php | 40 - ...PageButtonsServiceUnavailableException.php | 40 - lib/Exception/GetSiteForbiddenException.php | 40 - .../GetSiteInternalServerErrorException.php | 40 - .../GetSiteLayoutsBadRequestException.php | 40 - .../GetSiteLayoutsForbiddenException.php | 40 - ...iteLayoutsInternalServerErrorException.php | 40 - .../GetSiteLayoutsNotFoundException.php | 40 - ...SiteLayoutsServiceUnavailableException.php | 40 - lib/Exception/GetSiteNotFoundException.php | 40 - .../GetSiteServiceUnavailableException.php | 40 - .../GetSitesForGroupBadRequestException.php | 40 - .../GetSitesForGroupForbiddenException.php | 40 - ...esForGroupInternalServerErrorException.php | 40 - ...etSortedEngagementsBadRequestException.php | 40 - ...GetSortedEngagementsForbiddenException.php | 40 - .../GetSortedEngagementsGoneException.php | 40 - ...ngagementsInternalServerErrorException.php | 40 - .../GetSortedEngagementsNotFoundException.php | 40 - ...tedEngagementsPaymentRequiredException.php | 40 - ...EngagementsServiceUnavailableException.php | 40 - .../GetSortedScansBadRequestException.php | 40 - ...SortedScansForGroupBadRequestException.php | 40 - ...tSortedScansForGroupForbiddenException.php | 40 - .../GetSortedScansForGroupGoneException.php | 40 - ...nsForGroupInternalServerErrorException.php | 40 - ...etSortedScansForGroupNotFoundException.php | 40 - ...dScansForGroupPaymentRequiredException.php | 40 - ...ansForGroupServiceUnavailableException.php | 40 - .../GetSortedScansForbiddenException.php | 40 - lib/Exception/GetSortedScansGoneException.php | 40 - ...ortedScansInternalServerErrorException.php | 40 - .../GetSortedScansNotFoundException.php | 40 - ...GetSortedScansPaymentRequiredException.php | 40 - ...SortedScansServiceUnavailableException.php | 40 - .../GetTemplatesForbiddenException.php | 40 - ...tTemplatesInternalServerErrorException.php | 40 - .../GetTemplatesNotFoundException.php | 40 - ...etTemplatesServiceUnavailableException.php | 40 - lib/Exception/GetTierForbiddenException.php | 40 - .../GetTierInternalServerErrorException.php | 40 - lib/Exception/GetTierNotFoundException.php | 40 - .../GetTierServiceUnavailableException.php | 40 - lib/Exception/GetTiersForbiddenException.php | 40 - .../GetTiersInternalServerErrorException.php | 40 - .../GetTiersServiceUnavailableException.php | 40 - .../GetTitleForLongURLForbiddenException.php | 40 - ...ForLongURLInternalServerErrorException.php | 40 - .../GetTitleForLongURLNotFoundException.php | 40 - ...eForLongURLServiceUnavailableException.php | 40 - ...etTopSortedBitlinksBadRequestException.php | 40 - ...GetTopSortedBitlinksForbiddenException.php | 40 - .../GetTopSortedBitlinksGoneException.php | 40 - ...edBitlinksInternalServerErrorException.php | 40 - .../GetTopSortedBitlinksNotFoundException.php | 40 - ...SortedBitlinksPaymentRequiredException.php | 40 - ...tedBitlinksServiceUnavailableException.php | 40 - ...woFARecordInternalServerErrorException.php | 40 - .../GetTwoFARecordNotFoundException.php | 40 - ...TwoFARecordServiceUnavailableException.php | 40 - ...etUMGroupPreferencesForbiddenException.php | 40 - ...referencesInternalServerErrorException.php | 40 - ...GetUMGroupPreferencesNotFoundException.php | 40 - ...referencesUnprocessableEntityException.php | 40 - .../GetUserActivityLogForbiddenException.php | 40 - ...ctivityLogInternalServerErrorException.php | 40 - ...ActivityLogServiceUnavailableException.php | 40 - ...etUserAvailableTiersForbiddenException.php | 40 - ...lableTiersInternalServerErrorException.php | 40 - ...ilableTiersServiceUnavailableException.php | 40 - ...oardingSurveyResultsForbiddenException.php | 40 - ...veyResultsInternalServerErrorException.php | 40 - .../GetUserPreferencesBadRequestException.php | 40 - ...referencesInternalServerErrorException.php | 40 - lib/Exception/GetUsersForbiddenException.php | 40 - .../GetUsersInternalServerErrorException.php | 40 - lib/Exception/GetUsersNotFoundException.php | 40 - .../GetUsersServiceUnavailableException.php | 40 - ...GetViewsForLaunchpadForbiddenException.php | 40 - ...rLaunchpadInternalServerErrorException.php | 40 - .../GetViewsForLaunchpadNotFoundException.php | 40 - ...orLaunchpadServiceUnavailableException.php | 40 - .../GetViewsForSiteForbiddenException.php | 40 - ...ewsForSiteInternalServerErrorException.php | 40 - .../GetViewsForSiteNotFoundException.php | 40 - ...iewsForSiteServiceUnavailableException.php | 40 - ...sSummaryForLaunchpadForbiddenException.php | 40 - ...rLaunchpadInternalServerErrorException.php | 40 - ...wsSummaryForLaunchpadNotFoundException.php | 40 - ...orLaunchpadServiceUnavailableException.php | 40 - ...tViewsSummaryForSiteForbiddenException.php | 40 - ...aryForSiteInternalServerErrorException.php | 40 - ...etViewsSummaryForSiteNotFoundException.php | 40 - ...maryForSiteServiceUnavailableException.php | 40 - .../HandleWebhookForbiddenException.php | 40 - ...dleWebhookInternalServerErrorException.php | 40 - ...dleWebhookUnprocessableEntityException.php | 40 - ...otifyPaymentFailureBadRequestException.php | 40 - ...entFailureInternalServerErrorException.php | 40 - ...mentFailureServiceUnavailableException.php | 40 - ...entFailureUnprocessableEntityException.php | 40 - ...PatchCanvaUserBrandBadRequestException.php | 40 - ...aUserBrandInternalServerErrorException.php | 40 - .../PatchCanvaUserBrandNotFoundException.php | 40 - ...OrgControlledDomainBadRequestException.php | 40 - ...hOrgControlledDomainForbiddenException.php | 40 - ...lledDomainInternalServerErrorException.php | 40 - ...ntrolledDomainPaymentRequiredException.php | 40 - ...lledDomainUnprocessableEntityException.php | 40 - ...rgInvitationRequestBadRequestException.php | 40 - ...OrgInvitationRequestForbiddenException.php | 40 - ...ionRequestInternalServerErrorException.php | 40 - ...ionRequestUnprocessableEntityException.php | 40 - ...hUMGroupPreferencesBadRequestException.php | 40 - ...chUMGroupPreferencesForbiddenException.php | 40 - ...referencesInternalServerErrorException.php | 40 - ...tchUMGroupPreferencesNotFoundException.php | 40 - ...referencesUnprocessableEntityException.php | 40 - .../PostGetLinksReportBadRequestException.php | 40 - .../PostGetLinksReportForbiddenException.php | 40 - ...inksReportInternalServerErrorException.php | 40 - ...GetLinksReportPaymentRequiredException.php | 40 - ...LinksReportServiceUnavailableException.php | 40 - ...inksReportUnprocessableEntityException.php | 40 - ...PostGroupDataExportBadRequestException.php | 40 - .../PostGroupDataExportForbiddenException.php | 40 - ...DataExportInternalServerErrorException.php | 40 - ...pDataExportServiceUnavailableException.php | 40 - ...DataExportUnprocessableEntityException.php | 40 - ...tOrgUsersDataExportBadRequestException.php | 40 - ...stOrgUsersDataExportForbiddenException.php | 40 - ...DataExportInternalServerErrorException.php | 40 - ...sersDataExportPaymentRequiredException.php | 40 - ...DataExportUnprocessableEntityException.php | 40 - ...eYouTubeVideoButtonBadRequestException.php | 40 - ...teYouTubeVideoButtonForbiddenException.php | 40 - ...ideoButtonInternalServerErrorException.php | 40 - ...ideoButtonUnprocessableEntityException.php | 40 - ...blishDraftLaunchpadBadRequestException.php | 40 - ...ublishDraftLaunchpadForbiddenException.php | 40 - ...tLaunchpadInternalServerErrorException.php | 40 - ...ftLaunchpadServiceUnavailableException.php | 40 - .../PublishSiteBadRequestException.php | 40 - .../PublishSiteForbiddenException.php | 40 - ...ublishSiteInternalServerErrorException.php | 40 - ...PublishSiteServiceUnavailableException.php | 40 - .../PurchaseAddOnsBadRequestException.php | 40 - .../PurchaseAddOnsForbiddenException.php | 40 - ...haseAddOnsInternalServerErrorException.php | 40 - .../PurchaseAddOnsNotFoundException.php | 40 - ...chaseAddOnsServiceUnavailableException.php | 40 - ...haseAddOnsUnprocessableEntityException.php | 40 - .../PurchaseBsdForbiddenException.php | 40 - ...urchaseBsdInternalServerErrorException.php | 40 - ...urchaseStripeAddOnsBadRequestException.php | 40 - ...PurchaseStripeAddOnsForbiddenException.php | 40 - ...ripeAddOnsInternalServerErrorException.php | 40 - .../PurchaseStripeAddOnsNotFoundException.php | 40 - ...tripeAddOnsServiceUnavailableException.php | 40 - ...ripeAddOnsUnprocessableEntityException.php | 40 - ...ctQRCodeDestinationBadRequestException.php | 40 - ...ectQRCodeDestinationForbiddenException.php | 40 - ...estinationInternalServerErrorException.php | 40 - ...rectQRCodeDestinationNotFoundException.php | 40 - ...odeDestinationTooManyRequestsException.php | 40 - ...tePaymentInvoiceFileForbiddenException.php | 40 - ...nvoiceFileInternalServerErrorException.php | 40 - ...erBlocksByContainerBadRequestException.php | 40 - ...derBlocksByContainerForbiddenException.php | 40 - ...yContainerInternalServerErrorException.php | 40 - ...rderBlocksByContainerNotFoundException.php | 40 - ...ByContainerServiceUnavailableException.php | 40 - ...yContainerUnprocessableEntityException.php | 40 - .../RequestUserSARForbiddenException.php | 40 - ...estUserSARInternalServerErrorException.php | 40 - ...uestUserSARServiceUnavailableException.php | 40 - .../ResendInvitationForbiddenException.php | 40 - ...InvitationInternalServerErrorException.php | 40 - .../ResendInvitationNotFoundException.php | 40 - ...sendInvitationTooManyRequestsException.php | 40 - ...eOrgDowngradeStripeBadRequestException.php | 40 - ...leOrgDowngradeStripeForbiddenException.php | 40 - ...radeStripeInternalServerErrorException.php | 40 - ...ganizationDowngradeBadRequestException.php | 40 - ...rganizationDowngradeForbiddenException.php | 40 - ...nDowngradeInternalServerErrorException.php | 40 - .../SearchDomainsForbiddenException.php | 40 - ...rchDomainsInternalServerErrorException.php | 40 - ...earchGroupUserRolesBadRequestException.php | 40 - ...SearchGroupUserRolesForbiddenException.php | 40 - ...pUserRolesInternalServerErrorException.php | 40 - .../SearchGroupUserRolesNotFoundException.php | 40 - .../SearchOrgUserRolesBadRequestException.php | 40 - .../SearchOrgUserRolesForbiddenException.php | 40 - ...gUserRolesInternalServerErrorException.php | 40 - .../SearchOrgUserRolesNotFoundException.php | 40 - ...ndEmailVerificationBadRequestException.php | 40 - ...rificationInternalServerErrorException.php | 40 - ...SendEmailVerificationNotFoundException.php | 40 - ...erificationServiceUnavailableException.php | 40 - ...endVerificationCodeBadRequestException.php | 40 - ...SendVerificationCodeForbiddenException.php | 40 - ...cationCodeInternalServerErrorException.php | 40 - .../SendVerificationCodeNotFoundException.php | 40 - ...icationCodeServiceUnavailableException.php | 40 - ...dVerificationCodeUnauthorizedException.php | 40 - .../SetOrgPreferenceBadRequestException.php | 40 - .../SetOrgPreferenceForbiddenException.php | 40 - ...PreferenceInternalServerErrorException.php | 40 - ...PreferenceUnprocessableEntityException.php | 40 - ...aymentMethodDefaultBadRequestException.php | 40 - ...PaymentMethodDefaultForbiddenException.php | 40 - ...hodDefaultInternalServerErrorException.php | 40 - ...thodDefaultServiceUnavailableException.php | 40 - ...hodDefaultUnprocessableEntityException.php | 40 - .../SetPhoneNumberBadRequestException.php | 40 - .../SetPhoneNumberForbiddenException.php | 40 - ...honeNumberInternalServerErrorException.php | 40 - ...PhoneNumberServiceUnavailableException.php | 40 - ...honeNumberUnprocessableEntityException.php | 40 - ...efaultPaymentMethodBadRequestException.php | 40 - ...DefaultPaymentMethodForbiddenException.php | 40 - ...mentMethodInternalServerErrorException.php | 40 - ...ymentMethodServiceUnavailableException.php | 40 - ...mentMethodUnprocessableEntityException.php | 40 - .../SetUserPreferenceBadRequestException.php | 40 - ...PreferenceInternalServerErrorException.php | 40 - ...PreferenceUnprocessableEntityException.php | 40 - .../ThirdPartyAppLookupForbiddenException.php | 40 - ...yAppLookupInternalServerErrorException.php | 40 - .../ThirdPartyAppLookupNotFoundException.php | 40 - ...PartyAppLookupPaymentRequiredException.php | 40 - ...tyAppLookupServiceUnavailableException.php | 40 - lib/Exception/UnauthorizedException.php | 19 - ...dateAnalyticsModuleBadRequestException.php | 40 - ...pdateAnalyticsModuleForbiddenException.php | 40 - ...ticsModuleInternalServerErrorException.php | 40 - ...UpdateAnalyticsModuleNotFoundException.php | 40 - ...yticsModuleServiceUnavailableException.php | 40 - ...dateAnalyticsReportBadRequestException.php | 40 - ...pdateAnalyticsReportForbiddenException.php | 40 - ...ticsReportInternalServerErrorException.php | 40 - ...UpdateAnalyticsReportNotFoundException.php | 40 - ...yticsReportServiceUnavailableException.php | 40 - ...dateAppAssociationsBadRequestException.php | 40 - ...pdateAppAssociationsForbiddenException.php | 40 - ...sociationsInternalServerErrorException.php | 40 - ...UpdateAppAssociationsNotFoundException.php | 40 - ...ppAssociationsPaymentRequiredException.php | 40 - ...ssociationsServiceUnavailableException.php | 40 - .../UpdateBillingInfoBadRequestException.php | 40 - .../UpdateBillingInfoForbiddenException.php | 40 - ...illingInfoInternalServerErrorException.php | 40 - ...illingInfoUnprocessableEntityException.php | 40 - .../UpdateDeeplinkAppForbiddenException.php | 40 - ...eeplinkAppInternalServerErrorException.php | 40 - .../UpdateDeeplinkAppNotFoundException.php | 40 - ...ateDeeplinkAppPaymentRequiredException.php | 40 - ...DeeplinkAppServiceUnavailableException.php | 40 - ...eeplinkAppUnprocessableEntityException.php | 40 - .../UpdateDeeplinkRuleForbiddenException.php | 40 - ...eplinkRuleInternalServerErrorException.php | 40 - .../UpdateDeeplinkRuleNotFoundException.php | 40 - ...teDeeplinkRulePaymentRequiredException.php | 40 - ...eeplinkRuleServiceUnavailableException.php | 40 - ...eplinkRuleUnprocessableEntityException.php | 40 - .../UpdateEmailBadRequestException.php | 40 - .../UpdateEmailForbiddenException.php | 40 - ...pdateEmailInternalServerErrorException.php | 40 - .../UpdateEmailNotFoundException.php | 40 - ...UpdateEmailServiceUnavailableException.php | 40 - ...RetainedOnDowngradeBadRequestException.php | 40 - ...sRetainedOnDowngradeForbiddenException.php | 40 - ...nDowngradeInternalServerErrorException.php | 40 - ...nDowngradeUnprocessableEntityException.php | 40 - .../UpdateImageBadRequestException.php | 40 - .../UpdateImageForbiddenException.php | 40 - ...pdateImageInternalServerErrorException.php | 40 - .../UpdateImageNotFoundException.php | 40 - ...UpdateImageServiceUnavailableException.php | 40 - .../UpdateLaunchpadBadRequestException.php | 40 - ...chpadBitlinkContentBadRequestException.php | 40 - ...nchpadBitlinkContentForbiddenException.php | 40 - ...inkContentInternalServerErrorException.php | 40 - ...unchpadBitlinkContentNotFoundException.php | 40 - ...linkContentServiceUnavailableException.php | 40 - ...dateLaunchpadButtonBadRequestException.php | 40 - ...pdateLaunchpadButtonForbiddenException.php | 40 - ...hpadButtonInternalServerErrorException.php | 40 - ...UpdateLaunchpadButtonNotFoundException.php | 40 - ...chpadButtonServiceUnavailableException.php | 40 - ...hpadButtonSortOrderBadRequestException.php | 40 - ...chpadButtonSortOrderForbiddenException.php | 40 - ...nSortOrderInternalServerErrorException.php | 40 - ...nchpadButtonSortOrderNotFoundException.php | 40 - ...onSortOrderServiceUnavailableException.php | 40 - ...hpadCarouselContentBadRequestException.php | 40 - ...chpadCarouselContentForbiddenException.php | 40 - ...selContentInternalServerErrorException.php | 40 - ...nchpadCarouselContentNotFoundException.php | 40 - ...uselContentServiceUnavailableException.php | 40 - ...selContentUnprocessableEntityException.php | 40 - .../UpdateLaunchpadForbiddenException.php | 40 - ...aunchpadGridContentBadRequestException.php | 40 - ...LaunchpadGridContentForbiddenException.php | 40 - ...ridContentInternalServerErrorException.php | 40 - ...eLaunchpadGridContentNotFoundException.php | 40 - ...GridContentServiceUnavailableException.php | 40 - ...ridContentUnprocessableEntityException.php | 40 - ...hpadImageByImageUseBadRequestException.php | 40 - ...chpadImageByImageUseForbiddenException.php | 40 - ...ByImageUseInternalServerErrorException.php | 40 - ...nchpadImageByImageUseNotFoundException.php | 40 - ...eByImageUseServiceUnavailableException.php | 40 - ...unchpadImageContentBadRequestException.php | 40 - ...aunchpadImageContentForbiddenException.php | 40 - ...ageContentInternalServerErrorException.php | 40 - ...LaunchpadImageContentNotFoundException.php | 40 - ...mageContentServiceUnavailableException.php | 40 - ...eLaunchpadInternalServerErrorException.php | 40 - .../UpdateLaunchpadNotFoundException.php | 40 - ...teLaunchpadServiceUnavailableException.php | 40 - ...dateLaunchpadSocialBadRequestException.php | 40 - ...pdateLaunchpadSocialForbiddenException.php | 40 - ...hpadSocialInternalServerErrorException.php | 40 - ...UpdateLaunchpadSocialNotFoundException.php | 40 - ...chpadSocialServiceUnavailableException.php | 40 - ...pdateLaunchpadTooManyRequestsException.php | 40 - ...unchpadYoutubeVideoBadRequestException.php | 40 - ...aunchpadYoutubeVideoForbiddenException.php | 40 - ...utubeVideoInternalServerErrorException.php | 40 - ...LaunchpadYoutubeVideoNotFoundException.php | 40 - ...outubeVideoServiceUnavailableException.php | 40 - .../UpdateLinkBadRequestException.php | 40 - lib/Exception/UpdateLinkConflictException.php | 40 - .../UpdateLinkExpectationFailedException.php | 40 - .../UpdateLinkForbiddenException.php | 40 - ...UpdateLinkInternalServerErrorException.php | 40 - lib/Exception/UpdateLinkNotFoundException.php | 40 - .../UpdateLinkPaymentRequiredException.php | 40 - .../UpdateLinkServiceUnavailableException.php | 40 - .../UpdateLinkTooManyRequestsException.php | 40 - ...UpdateLinkUnprocessableEntityException.php | 40 - .../UpdateOAuthAppBadRequestException.php | 40 - ...OAuthAppClientSecretForbiddenException.php | 30 - ...ientSecretInternalServerErrorException.php | 40 - ...eOAuthAppClientSecretNotFoundException.php | 40 - ...lientSecretServiceUnavailableException.php | 40 - .../UpdateOAuthAppForbiddenException.php | 40 - ...teOAuthAppInternalServerErrorException.php | 40 - .../UpdateOAuthAppNotFoundException.php | 40 - ...ateOAuthAppServiceUnavailableException.php | 40 - .../UpdateOrganizationForbiddenException.php | 40 - ...ganizationInternalServerErrorException.php | 40 - .../UpdateOrganizationNotFoundException.php | 40 - ...anizationSSOSettingsForbiddenException.php | 40 - ...SOSettingsInternalServerErrorException.php | 40 - ...ganizationSSOSettingsNotFoundException.php | 40 - ...ionSSOSettingsPaymentRequiredException.php | 40 - ...SSOSettingsServiceUnavailableException.php | 40 - ...SOSettingsUnprocessableEntityException.php | 40 - ...rganizationServiceUnavailableException.php | 40 - ...OverridesForBitlinkBadRequestException.php | 40 - ...eOverridesForBitlinkForbiddenException.php | 40 - ...ForBitlinkInternalServerErrorException.php | 40 - ...teOverridesForBitlinkNotFoundException.php | 40 - ...idesForBitlinkPaymentRequiredException.php | 40 - ...sForBitlinkServiceUnavailableException.php | 40 - ...idesForBitlinkTooManyRequestsException.php | 40 - ...ForBitlinkUnprocessableEntityException.php | 40 - ...ePaymentContactInfoBadRequestException.php | 40 - ...tePaymentContactInfoForbiddenException.php | 40 - ...ontactInfoInternalServerErrorException.php | 40 - ...atePaymentContactInfoNotFoundException.php | 40 - ...ontactInfoUnprocessableEntityException.php | 40 - ...pdateSiteAppearanceBadRequestException.php | 40 - ...UpdateSiteAppearanceForbiddenException.php | 40 - ...AppearanceInternalServerErrorException.php | 40 - .../UpdateSiteAppearanceNotFoundException.php | 40 - ...eAppearanceServiceUnavailableException.php | 40 - .../UpdateSiteButtonBadRequestException.php | 40 - ...teSiteButtonExpectationFailedException.php | 40 - .../UpdateSiteButtonForbiddenException.php | 40 - ...SiteButtonInternalServerErrorException.php | 40 - .../UpdateSiteButtonNotFoundException.php | 40 - ...dateSiteButtonTooManyRequestsException.php | 40 - ...SiteButtonUnprocessableEntityException.php | 40 - .../UpdateSitesToKeepBadRequestException.php | 40 - .../UpdateSitesToKeepForbiddenException.php | 40 - ...itesToKeepInternalServerErrorException.php | 40 - ...itesToKeepUnprocessableEntityException.php | 40 - ...pdateStripeCustomerBadRequestException.php | 40 - ...UpdateStripeCustomerForbiddenException.php | 40 - ...peCustomerInternalServerErrorException.php | 40 - ...peCustomerUnprocessableEntityException.php | 40 - .../UpdateUserWithRoleBadRequestException.php | 40 - .../UpdateUserWithRoleForbiddenException.php | 40 - ...erWithRoleInternalServerErrorException.php | 40 - ...serWithRoleServiceUnavailableException.php | 40 - ...erWithRoleUnprocessableEntityException.php | 40 - ...UpgradeOrganizationBadRequestException.php | 40 - .../UpgradeOrganizationForbiddenException.php | 40 - ...ganizationInternalServerErrorException.php | 40 - ...ganizationUnprocessableEntityException.php | 40 - ...hStripeSubscriptionBadRequestException.php | 40 - ...thStripeSubscriptionForbiddenException.php | 40 - ...bscriptionInternalServerErrorException.php | 40 - ...bscriptionUnprocessableEntityException.php | 40 - ...radeQRCodeToBitlinkBadRequestException.php | 40 - ...gradeQRCodeToBitlinkForbiddenException.php | 40 - ...eToBitlinkInternalServerErrorException.php | 40 - ...pgradeQRCodeToBitlinkNotFoundException.php | 40 - ...RCodeToBitlinkTooManyRequestsException.php | 40 - .../UploadImageBadRequestException.php | 40 - .../UploadImageForbiddenException.php | 40 - ...ploadImageInternalServerErrorException.php | 40 - .../UploadImageNotFoundException.php | 40 - ...UploadImageServiceUnavailableException.php | 40 - ...ploadLaunchpadImageBadRequestException.php | 40 - ...UploadLaunchpadImageForbiddenException.php | 40 - ...chpadImageInternalServerErrorException.php | 40 - .../UploadLaunchpadImageNotFoundException.php | 40 - ...nchpadImageServiceUnavailableException.php | 40 - .../UpsertOrgEmailForbiddenException.php | 40 - ...rtOrgEmailInternalServerErrorException.php | 40 - .../UpsertOrgEmailNotFoundException.php | 40 - ...ertOrgEmailServiceUnavailableException.php | 40 - .../UserAcceptInviteBadRequestException.php | 40 - .../UserAcceptInviteForbiddenException.php | 40 - ...ceptInviteInternalServerErrorException.php | 40 - ...ceptInviteUnprocessableEntityException.php | 40 - .../ValidateBulkUploadBadRequestException.php | 40 - .../ValidateBulkUploadForbiddenException.php | 40 - ...BulkUploadInternalServerErrorException.php | 40 - .../ValidateBulkUploadNotFoundException.php | 40 - ...dateBulkUploadPaymentRequiredException.php | 40 - ...eBulkUploadServiceUnavailableException.php | 40 - ...BulkUploadUnprocessableEntityException.php | 40 - ...alidateCustomDomainBadRequestException.php | 40 - ...ValidateCustomDomainForbiddenException.php | 40 - ...stomDomainInternalServerErrorException.php | 40 - .../ValidateCustomDomainNotFoundException.php | 40 - ...ustomDomainServiceUnavailableException.php | 40 - ...stomDomainUnprocessableEntityException.php | 40 - .../ValidatePromoCodeBadRequestException.php | 40 - ...ePromoCodeInternalServerErrorException.php | 40 - .../ValidatePromoCodeNotFoundException.php | 40 - ...tePromoCodeServiceUnavailableException.php | 40 - ...dateStripePromoCodeBadRequestException.php | 40 - ...ePromoCodeInternalServerErrorException.php | 40 - ...lidateStripePromoCodeNotFoundException.php | 40 - ...pePromoCodeServiceUnavailableException.php | 40 - .../VerifySSOSlugForbiddenException.php | 40 - ...ifySSOSlugInternalServerErrorException.php | 40 - .../VerifySSOSlugNotFoundException.php | 40 - .../VerifySSOSlugPaymentRequiredException.php | 40 - ...rifySSOSlugServiceUnavailableException.php | 40 - ...VerifyTwoFactorCodeBadRequestException.php | 40 - ...FactorCodeInternalServerErrorException.php | 40 - .../VerifyTwoFactorCodeNotFoundException.php | 40 - ...oFactorCodeServiceUnavailableException.php | 40 - lib/Model/AccessFeature.php | 142 - lib/Model/AccessFeatures.php | 47 - lib/Model/ActivityLog.php | 284 - lib/Model/ActivityLogs.php | 64 - lib/Model/AddOn.php | 58 - lib/Model/AddOnSetting.php | 126 - lib/Model/AddOnUsage.php | 75 - lib/Model/AddOns.php | 47 - lib/Model/Address.php | 143 - lib/Model/AggregateClicksForBitlinks.php | 115 - ...ggregateClicksForBitlinksByCitiesFacet.php | 132 - .../AggregateClicksForBitlinksByFacet.php | 132 - ...regateLaunchpadsOverviewGetResponse200.php | 75 - .../AggregateSitesOverviewGetResponse200.php | 75 - lib/Model/AnalyticsReport.php | 194 - lib/Model/AnalyticsReportContent.php | 41 - lib/Model/AnalyticsReports.php | 47 - lib/Model/AnnualRenewalReminderRequest.php | 58 - lib/Model/AppAssociationDetail.php | 92 - lib/Model/AppAssociations.php | 121 - lib/Model/ApplyDiscount.php | 41 - lib/Model/ApplyTemplateRequest.php | 41 - lib/Model/Authorization.php | 100 - lib/Model/Authorizations.php | 47 - lib/Model/AutobrandedDomain.php | 47 - lib/Model/AutobrandedDomainResultItem.php | 75 - lib/Model/BSDAISearchPrompt.php | 41 - lib/Model/BSDSearchResult.php | 41 - lib/Model/BSDSearchResults.php | 64 - lib/Model/BaseBitlinkClicksMetrics.php | 92 - lib/Model/BasicInfo.php | 58 - lib/Model/BillingAccount.php | 415 - lib/Model/BillingAccountID.php | 41 - lib/Model/BillingAddress.php | 126 - lib/Model/BillingAgreement.php | 126 - lib/Model/BillingAgreementToken.php | 49 - lib/Model/BillingContact.php | 126 - lib/Model/BillingDowngrade.php | 127 - lib/Model/BillingInfo.php | 75 - lib/Model/BillingProvider.php | 41 - lib/Model/BillingSignature.php | 126 - lib/Model/BitlinkClicks.php | 98 - lib/Model/BitlinkClicksMetric.php | 58 - lib/Model/BitlinkClicksMetrics.php | 115 - lib/Model/BitlinkClicksSummary.php | 92 - lib/Model/BitlinkContentResponse.php | 109 - lib/Model/BitlinkEngagements.php | 98 - lib/Model/BitlinkHistory.php | 258 - lib/Model/BitlinkOverrideHistory.php | 64 - lib/Model/BitlinkOverrides.php | 174 - lib/Model/BitlinkOverridesData.php | 64 - lib/Model/BitlySiteAppearance.php | 448 - lib/Model/BitlySiteContent.php | 58 - lib/Model/BitlySiteHeaderAppearance.php | 500 - lib/Model/BitlySiteLayout.php | 92 - lib/Model/BitlySites.php | 89 - lib/Model/BlockContentDigitalBusinessCard.php | 183 - lib/Model/BlockContentSocial.php | 58 - lib/Model/BlockContentYoutube.php | 41 - lib/Model/BlockOrder.php | 58 - lib/Model/BlockOrders.php | 47 - lib/Model/BrandCampaign.php | 109 - lib/Model/BrandCampaignsResponse.php | 64 - lib/Model/BulkAddQRCodeResponse.php | 109 - lib/Model/BulkAddResponse.php | 58 - lib/Model/BulkAddResponseData.php | 132 - lib/Model/BulkShortenUpload.php | 143 - lib/Model/BulkShortenUploadData.php | 64 - lib/Model/BulkShortenUploads.php | 47 - lib/Model/BulkUpload.php | 160 - lib/Model/BulkUploadData.php | 64 - lib/Model/BulkUploadValidate.php | 126 - lib/Model/BulkUploads.php | 47 - lib/Model/ButtonClicks.php | 98 - lib/Model/ButtonClicksSummary.php | 92 - lib/Model/CampaignAddBitlink.php | 81 - lib/Model/CampaignAddBitlinkResponse.php | 58 - lib/Model/CampaignAddBitlinkResponseData.php | 115 - lib/Model/CampaignAddBitlinkResult.php | 160 - lib/Model/CampaignChannel.php | 126 - lib/Model/CampaignChannelClicks.php | 132 - lib/Model/CampaignChannels.php | 64 - lib/Model/CampaignClickData.php | 58 - lib/Model/CampaignClicks.php | 126 - lib/Model/CampaignClicksData.php | 166 - .../CampaignsCampaignGuidAddURLsPostBody.php | 41 - lib/Model/ChannelBitlink.php | 75 - lib/Model/ChannelBitlinks.php | 64 - lib/Model/Charges.php | 92 - lib/Model/ChartVisualization.php | 58 - lib/Model/CityBitlinkClicksMetric.php | 109 - lib/Model/CityBitlinkClicksMetrics.php | 132 - lib/Model/CityDownloadMetric.php | 109 - lib/Model/CityDownloadMetrics.php | 149 - lib/Model/CityViewMetrics.php | 132 - lib/Model/ClicksByCitiesFacet.php | 109 - lib/Model/ClicksByFacet.php | 58 - lib/Model/ClicksCount.php | 75 - lib/Model/ClicksForAggregate.php | 58 - lib/Model/ClicksForBitlinks.php | 47 - lib/Model/ClicksOverTime.php | 64 - lib/Model/ConsumableFeature.php | 165 - lib/Model/ConsumableFeatureAddOn.php | 175 - lib/Model/ConsumableFeatureFull.php | 210 - lib/Model/ConsumableFeatures.php | 47 - lib/Model/ContactInfo.php | 75 - lib/Model/Contacts.php | 58 - lib/Model/ContentRequestBitlink.php | 92 - lib/Model/ContentRequestSocial.php | 58 - lib/Model/CountryCode.php | 92 - lib/Model/CreateAnalyticsModule.php | 75 - lib/Model/CreateAnalyticsReport.php | 58 - lib/Model/CreateCustomerBody.php | 109 - lib/Model/CreateCustomerResponse.php | 75 - lib/Model/CreateFocusRequest.php | 49 - lib/Model/CreateFocusResponse.php | 49 - lib/Model/CreateLaunchpad.php | 92 - lib/Model/CreateOAuthAppReq.php | 138 - ...reateOrgDomainVerificationEmailRequest.php | 74 - lib/Model/CreateOverrideRules.php | 58 - lib/Model/CreatePaymentMethod.php | 75 - lib/Model/CreateQRCodeRequest.php | 208 - lib/Model/CreateSubscriptionBody.php | 126 - lib/Model/CreateSubscriptionResponse.php | 109 - ...reateSubscriptionResponseLatestInvoice.php | 41 - lib/Model/CreateUserBody.php | 126 - lib/Model/CurrencyList.php | 47 - lib/Model/CustomDomain.php | 58 - lib/Model/CustomDomainBody.php | 333 - lib/Model/CustomDomains.php | 47 - lib/Model/DataExportQuery.php | 456 - lib/Model/DayEngagements.php | 109 - lib/Model/DeactivateUser.php | 58 - lib/Model/DeactivateUserFeedback.php | 58 - lib/Model/DecideRequest.php | 75 - lib/Model/DecideResponse.php | 58 - lib/Model/DeeplinkApp.php | 251 - lib/Model/DeeplinkApps.php | 47 - lib/Model/DeeplinkMetric.php | 109 - lib/Model/DeeplinkMetricsRollup.php | 150 - lib/Model/DeeplinkRules.php | 47 - lib/Model/DefaultAccessFeature.php | 58 - lib/Model/DefaultConsumableFeature.php | 58 - lib/Model/DeletedQRCodeResponse.php | 49 - lib/Model/DeviceDownloadMetric.php | 58 - lib/Model/DeviceDownloadMetrics.php | 132 - lib/Model/DigitalBusinessCardContact.php | 109 - lib/Model/DigitalBusinessCardContent.php | 217 - lib/Model/DigitalBusinessCardContentFile.php | 58 - lib/Model/DomainAgreement.php | 92 - lib/Model/DomainAgreements.php | 47 - lib/Model/DomainDNS.php | 153 - lib/Model/DomainPurchase.php | 117 - lib/Model/DomainRegistrarInfo.php | 174 - lib/Model/DomainStatus.php | 92 - lib/Model/DomainUpdate.php | 109 - lib/Model/DomainValidate.php | 132 - lib/Model/DomainValidateBody.php | 98 - lib/Model/DowngradeOrgBody.php | 92 - lib/Model/DownloadMetric.php | 58 - lib/Model/DownloadMetrics.php | 115 - lib/Model/DownloadsOverTime.php | 98 - lib/Model/EmailBody.php | 75 - lib/Model/EncodingLogin.php | 47 - lib/Model/Engagement.php | 75 - lib/Model/EngagementForSort.php | 58 - lib/Model/Engagements.php | 75 - lib/Model/EngagementsDailySummary.php | 81 - lib/Model/EngagementsDayDrillDown.php | 81 - lib/Model/EvaluateInterventionRequest.php | 41 - lib/Model/EvaluateInterventionResponse.php | 92 - ...valuateInterventionResponseAnnualPromo.php | 149 - ...aluateInterventionResponseMonthlyPromo.php | 149 - lib/Model/Event.php | 160 - lib/Model/FacetCountData.php | 81 - lib/Model/FacetCountItem.php | 58 - lib/Model/FeatureUsage.php | 82 - lib/Model/Feedback.php | 58 - lib/Model/FormCapturePayload.php | 183 - lib/Model/FormConfig.php | 47 - lib/Model/FormField.php | 126 - lib/Model/FormPage.php | 47 - lib/Model/FormSelectOptions.php | 58 - lib/Model/FullLink.php | 148 - lib/Model/FullQRCodeWithScans.php | 270 - lib/Model/GenericAccessToken.php | 58 - lib/Model/GenericAccessTokenReq.php | 41 - lib/Model/GeoIP.php | 58 - lib/Model/GetFocusResponse.php | 49 - lib/Model/GroupAnalyticsUsage.php | 87 - lib/Model/GroupBitlinksCount.php | 98 - lib/Model/GroupBitlinksCountRollup.php | 92 - lib/Model/GroupClicksByFacet.php | 98 - lib/Model/GroupClicksByFacetRollup.php | 98 - lib/Model/GroupHistoricalUsageTotals.php | 72 - ...upGuidLinksClicksDevicesGetResponse200.php | 115 - ...ClicksDevicesGetResponse200MetricsItem.php | 58 - ...psGroupGuidPagesOverviewGetResponse200.php | 75 - lib/Model/HistoricalUsageTotal.php | 74 - lib/Model/ImageCommon.php | 75 - lib/Model/ImageContent.php | 143 - lib/Model/ImageCrop.php | 58 - lib/Model/ImageCropPoint.php | 58 - lib/Model/ImageUpdate.php | 58 - lib/Model/ImageUpload.php | 92 - lib/Model/ImageUploadResponse.php | 58 - lib/Model/InputDomain.php | 58 - lib/Model/IntegrationOAuth.php | 165 - lib/Model/IntegrationOAuths.php | 47 - lib/Model/Intervention.php | 132 - lib/Model/InterventionsOffered.php | 75 - lib/Model/Invitation.php | 123 - lib/Model/InvitationForLogin.php | 109 - lib/Model/Invitations.php | 47 - lib/Model/InvitationsAccept.php | 47 - lib/Model/InvitationsCreate.php | 121 - lib/Model/InvitationsForLogin.php | 47 - lib/Model/KeepSitesRequest.php | 47 - lib/Model/Launchpad.php | 280 - lib/Model/LaunchpadAppearance.php | 431 - lib/Model/LaunchpadButton.php | 378 - lib/Model/LaunchpadButtonAppearance.php | 92 - lib/Model/LaunchpadButtonCommon.php | 236 - lib/Model/LaunchpadButtonRequest.php | 234 - lib/Model/LaunchpadButtonSortOrder.php | 58 - lib/Model/LaunchpadClicks.php | 185 - lib/Model/LaunchpadContainerRequest.php | 81 - lib/Model/LaunchpadContainerResponse.php | 259 - lib/Model/LaunchpadContentBitlinkRequest.php | 126 - .../LaunchpadContentBitlinkRequestContent.php | 75 - ...chpadContentDigitalBusinessCardRequest.php | 126 - ...hpadContentDigitalBusinessCardResponse.php | 253 - lib/Model/LaunchpadContentImage.php | 253 - lib/Model/LaunchpadContentImageRequest.php | 126 - .../LaunchpadContentImageShortenURLData.php | 58 - lib/Model/LaunchpadContentSocial.php | 58 - lib/Model/LaunchpadContentSocialRequest.php | 92 - .../LaunchpadContentTextBlockRequest.php | 143 - .../LaunchpadContentTextBlockResponse.php | 270 - lib/Model/LaunchpadContentYouTubeRequest.php | 126 - lib/Model/LaunchpadContentYouTubeResponse.php | 253 - lib/Model/LaunchpadImage.php | 92 - lib/Model/LaunchpadImageContentData.php | 143 - .../LaunchpadImageContentRequestData.php | 177 - lib/Model/LaunchpadImageUpdate.php | 58 - lib/Model/LaunchpadImageUpload.php | 75 - lib/Model/LaunchpadImages.php | 75 - lib/Model/LaunchpadLinkPerformance.php | 166 - lib/Model/LaunchpadPresetTheme.php | 211 - lib/Model/LaunchpadSocial.php | 253 - lib/Model/LaunchpadSocialRequest.php | 92 - lib/Model/Launchpads.php | 47 - lib/Model/LaunchpadsPagination.php | 109 - lib/Model/LinkBody.php | 166 - lib/Model/LinkDestination.php | 58 - lib/Model/LinkEngagements.php | 143 - lib/Model/LinksBitlinkDestinationsPutBody.php | 41 - lib/Model/LinksReportRequestBody.php | 127 - lib/Model/LinksReportRequestResponse.php | 64 - .../LinksReportRequestResponseRowsItem.php | 132 - ...portRequestResponseRowsItemMetricsItem.php | 92 - lib/Model/MetricsColumn.php | 124 - lib/Model/MicrositeDownloadMetric.php | 58 - lib/Model/MicrositeDownloads.php | 132 - lib/Model/MicrositePagination.php | 99 - lib/Model/MinimalDeeplinkApp.php | 58 - lib/Model/Module.php | 143 - lib/Model/ModuleSettings.php | 92 - lib/Model/OAuthAppFull.php | 149 - lib/Model/OAuthAppWithOwnerLogin.php | 126 - lib/Model/OAuthApps.php | 47 - lib/Model/OrgDomainStatus.php | 75 - lib/Model/OrgDomainVerification.php | 149 - lib/Model/OrgDomainsStatus.php | 47 - lib/Model/OrgEmail.php | 92 - lib/Model/OrgEmailBody.php | 75 - lib/Model/OrgEmails.php | 47 - lib/Model/OrgFeatureUsageByGroup.php | 78 - lib/Model/OrgInvitationRequest.php | 126 - lib/Model/OrgInvitationRequests.php | 47 - lib/Model/OrgTierHistory.php | 200 - lib/Model/OrgUsersDataExportQuery.php | 47 - lib/Model/OrganizationGUID.php | 41 - .../OrganizationHistoricalUsageTotals.php | 128 - lib/Model/OrganizationPreferenceSet.php | 75 - lib/Model/OrganizationPreferences.php | 47 - lib/Model/OrganizationUpdate.php | 41 - lib/Model/OtherBitlinkClicksMetrics.php | 58 - lib/Model/OtherDownloadMetric.php | 58 - lib/Model/OtherViewMetrics.php | 58 - lib/Model/PaginatedAnalyticsReports.php | 98 - lib/Model/PatchOrgControlledDomain.php | 49 - lib/Model/PatchOrgInvitationRequest.php | 99 - lib/Model/PayPalToken.php | 41 - lib/Model/PayPalTokenRequest.php | 75 - lib/Model/Payer.php | 41 - lib/Model/PayerInfo.php | 109 - lib/Model/PaymentInvoice.php | 234 - lib/Model/PaymentInvoiceDetail.php | 81 - lib/Model/PaymentInvoices.php | 47 - lib/Model/PaymentMethod.php | 41 - lib/Model/Payments.php | 75 - lib/Model/PrevalidateYouTubeVideoRequest.php | 41 - lib/Model/PreviewQRCodeRequestV2.php | 49 - lib/Model/PriceMap.php | 58 - lib/Model/ProductUtilizationResponse.php | 149 - lib/Model/PromoCode.php | 166 - lib/Model/PromoCodeValidPlans.php | 47 - lib/Model/PublicCanvaUserBrand.php | 174 - lib/Model/PublicImageURL.php | 41 - lib/Model/PublicOAuthUser.php | 58 - lib/Model/PublicQRCodeResponse.php | 41 - lib/Model/PublicSSLCert.php | 75 - lib/Model/PublicSSOUser.php | 177 - lib/Model/PublicSSOUsersResults.php | 64 - lib/Model/PublicValidate.php | 58 - lib/Model/PurchaseBSD.php | 106 - lib/Model/PurchaseBSDResponse.php | 92 - lib/Model/QRCode.php | 349 - lib/Model/QRCodeCornerResponseItem.php | 91 - .../QRCodeCustomizationOptionsResponse.php | 227 - lib/Model/QRCodeCustomizations.php | 251 - lib/Model/QRCodeDotPattern.php | 89 - lib/Model/QRCodeDynamic.php | 99 - lib/Model/QRCodeEmail.php | 149 - lib/Model/QRCodeFrame.php | 141 - lib/Model/QRCodeFrameColors.php | 99 - lib/Model/QRCodeFrameResponseItem.php | 191 - lib/Model/QRCodeFrameText.php | 74 - lib/Model/QRCodeFullListResponse.php | 47 - lib/Model/QRCodeFullResponse.php | 49 - lib/Model/QRCodeHistory.php | 64 - lib/Model/QRCodeHistoryEntry.php | 166 - lib/Model/QRCodeImageResponse.php | 49 - lib/Model/QRCodeLogo.php | 99 - lib/Model/QRCodeLogoCrop.php | 124 - lib/Model/QRCodeLogoImage.php | 89 - lib/Model/QRCodePhoneNumber.php | 49 - lib/Model/QRCodeSpecSettings.php | 99 - lib/Model/QRCodeTemplate.php | 224 - lib/Model/QRCodeTemplateRequest.php | 49 - lib/Model/QRCodeTemplateResponse.php | 49 - lib/Model/QRCodeTemplatesResponse.php | 53 - lib/Model/QRCodeTextMessage.php | 74 - lib/Model/QRCodeTypeItem.php | 116 - lib/Model/QRCodeTypeResponse.php | 82 - lib/Model/QRCodeURI.php | 49 - lib/Model/QRCodeVirtualCard.php | 103 - lib/Model/QRCodeWifi.php | 99 - lib/Model/QRCodes.php | 98 - lib/Model/QRCustomizations.php | 149 - lib/Model/QRLogoImages.php | 66 - lib/Model/QRLogoImagesResponse.php | 47 - lib/Model/RedirectQRCodeRequest.php | 41 - lib/Model/Region.php | 98 - lib/Model/Regions.php | 47 - lib/Model/ReportFilters.php | 70 - lib/Model/ReportSettings.php | 149 - lib/Model/RetainedEntitiesAfterDowngrade.php | 47 - lib/Model/SSOSettings.php | 200 - lib/Model/SSOSlug.php | 41 - lib/Model/SSOVerifySlug.php | 58 - lib/Model/Scans.php | 98 - lib/Model/ScansSummary.php | 92 - lib/Model/SetupIntent.php | 41 - lib/Model/ShareableReport.php | 58 - lib/Model/ShopifyDomainDetailsResponse.php | 75 - lib/Model/ShopifyTokenExchangeRequest.php | 58 - lib/Model/SiteBlock.php | 253 - lib/Model/SiteBlockCommon.php | 185 - lib/Model/SiteBlockContainerRequest.php | 72 - lib/Model/SiteBlockContent.php | 336 - lib/Model/SiteButtonRequest.php | 217 - lib/Model/SiteCityViewMetrics.php | 132 - lib/Model/SiteClicks.php | 168 - lib/Model/SiteCloneRequest.php | 41 - lib/Model/SiteContentRequest.php | 149 - lib/Model/SiteImageUpload.php | 92 - lib/Model/SiteLinkPerformance.php | 166 - lib/Model/SiteRedirects.php | 211 - lib/Model/SiteTheme.php | 177 - lib/Model/SiteThemes.php | 47 - lib/Model/SiteViewMetrics.php | 115 - lib/Model/SiteViewsSummary.php | 92 - lib/Model/SitesPagination.php | 109 - lib/Model/SocialContent.php | 58 - lib/Model/SortedButtons.php | 110 - lib/Model/SortedButtonsButtonsItem.php | 100 - lib/Model/SortedButtonsPageViewsItem.php | 75 - lib/Model/SortedEngagements.php | 98 - lib/Model/StripeAddress.php | 174 - lib/Model/StripeCustomer.php | 212 - lib/Model/StripeCustomerInvoiceSettings.php | 49 - lib/Model/StripeOrganizationInfo.php | 58 - lib/Model/StripeUpgradeOrgBody.php | 58 - lib/Model/Subregion.php | 58 - lib/Model/SubscriptionCancelledDate.php | 49 - lib/Model/SubscriptionDiscount.php | 194 - lib/Model/SupportedCurrency.php | 41 - lib/Model/SurveyResponse.php | 115 - lib/Model/Template.php | 206 - lib/Model/TemplatesRequest.php | 41 - lib/Model/TemplatesResponse.php | 47 - lib/Model/TextBlockAppearance.php | 109 - lib/Model/TextBlockAppearanceRequest.php | 109 - lib/Model/TextBlockAppearanceResponse.php | 143 - lib/Model/TextBlockContent.php | 41 - lib/Model/TextBlockStyle.php | 75 - lib/Model/ThirdPartyAppData.php | 109 - lib/Model/Tier.php | 297 - lib/Model/TimeComparisonDetails.php | 74 - lib/Model/TimePeriod.php | 124 - lib/Model/Timeout.php | 98 - lib/Model/TitleResponse.php | 58 - lib/Model/TooManyRequests.php | 98 - lib/Model/TotalEngagements.php | 98 - lib/Model/TotalEngagementsSummary.php | 109 - lib/Model/TrackRequest.php | 58 - lib/Model/TranslationRequest.php | 75 - lib/Model/TwoFactor.php | 75 - lib/Model/TwoFactorCode.php | 41 - lib/Model/TwoFactorVerify.php | 58 - lib/Model/UMGroupPreferences.php | 47 - lib/Model/Unauthorized.php | 98 - lib/Model/UpcomingSubscription.php | 174 - lib/Model/UpdateAnalyticsModule.php | 58 - lib/Model/UpdateAnalyticsReport.php | 58 - lib/Model/UpdateApp.php | 138 - lib/Model/UpdateButtonSortOrder.php | 47 - lib/Model/UpdateCanvaUserBrand.php | 49 - lib/Model/UpdateLaunchpad.php | 143 - lib/Model/UpdateOverrideRules.php | 41 - lib/Model/UpdateQRCodeRequest.php | 91 - lib/Model/UpdateRetainedDowngradeEntities.php | 47 - lib/Model/UpdateStripeCustomerBody.php | 208 - lib/Model/UpgradeOrgBody.php | 194 - lib/Model/UserInternal.php | 200 - lib/Model/UserOnboardingSurvey.php | 143 - lib/Model/UserPasswordChange.php | 58 - lib/Model/UserPreferenceBody.php | 75 - lib/Model/UserPreferences.php | 47 - lib/Model/UserRole.php | 92 - lib/Model/UserRoleReference.php | 143 - lib/Model/UserRoleReferences.php | 64 - lib/Model/Users.php | 81 - lib/Model/UsersPagination.php | 109 - lib/Model/ViewMetric.php | 58 - lib/Model/Views.php | 115 - lib/Model/ViewsSummary.php | 92 - lib/Model/YoutubeVideoRequest.php | 92 - lib/Model/YoutubeVideoResponse.php | 92 - lib/Normalizer/AccessFeatureNormalizer.php | 113 - lib/Normalizer/AccessFeaturesNormalizer.php | 90 - lib/Normalizer/ActivityLogNormalizer.php | 186 - lib/Normalizer/ActivityLogsNormalizer.php | 99 - lib/Normalizer/AddOnNormalizer.php | 94 - lib/Normalizer/AddOnSettingNormalizer.php | 122 - lib/Normalizer/AddOnUsageNormalizer.php | 98 - lib/Normalizer/AddOnsNormalizer.php | 92 - lib/Normalizer/AddressNormalizer.php | 126 - ...icksForBitlinksByCitiesFacetNormalizer.php | 130 - ...gateClicksForBitlinksByFacetNormalizer.php | 130 - .../AggregateClicksForBitlinksNormalizer.php | 123 - ...chpadsOverviewGetResponse200Normalizer.php | 104 - ...eSitesOverviewGetResponse200Normalizer.php | 104 - .../AnalyticsReportContentNormalizer.php | 84 - lib/Normalizer/AnalyticsReportNormalizer.php | 150 - lib/Normalizer/AnalyticsReportsNormalizer.php | 92 - ...AnnualRenewalReminderRequestNormalizer.php | 91 - .../AppAssociationDetailNormalizer.php | 108 - lib/Normalizer/AppAssociationsNormalizer.php | 128 - lib/Normalizer/ApplyDiscountNormalizer.php | 84 - .../ApplyTemplateRequestNormalizer.php | 84 - lib/Normalizer/AuthorizationNormalizer.php | 105 - lib/Normalizer/AuthorizationsNormalizer.php | 92 - .../AutobrandedDomainNormalizer.php | 90 - .../AutobrandedDomainResultItemNormalizer.php | 96 - .../BSDAISearchPromptNormalizer.php | 82 - lib/Normalizer/BSDSearchResultNormalizer.php | 84 - lib/Normalizer/BSDSearchResultsNormalizer.php | 99 - .../BaseBitlinkClicksMetricsNormalizer.php | 105 - lib/Normalizer/BasicInfoNormalizer.php | 91 - lib/Normalizer/BillingAccountIDNormalizer.php | 84 - lib/Normalizer/BillingAccountNormalizer.php | 243 - lib/Normalizer/BillingAddressNormalizer.php | 119 - lib/Normalizer/BillingAgreementNormalizer.php | 119 - .../BillingAgreementTokenNormalizer.php | 82 - lib/Normalizer/BillingContactNormalizer.php | 119 - lib/Normalizer/BillingDowngradeNormalizer.php | 136 - lib/Normalizer/BillingInfoNormalizer.php | 98 - lib/Normalizer/BillingProviderNormalizer.php | 84 - lib/Normalizer/BillingSignatureNormalizer.php | 119 - .../BitlinkClicksMetricNormalizer.php | 91 - .../BitlinkClicksMetricsNormalizer.php | 120 - lib/Normalizer/BitlinkClicksNormalizer.php | 113 - .../BitlinkClicksSummaryNormalizer.php | 105 - .../BitlinkContentResponseNormalizer.php | 115 - .../BitlinkEngagementsNormalizer.php | 116 - lib/Normalizer/BitlinkHistoryNormalizer.php | 178 - .../BitlinkOverrideHistoryNormalizer.php | 109 - .../BitlinkOverridesDataNormalizer.php | 103 - lib/Normalizer/BitlinkOverridesNormalizer.php | 141 - .../BitlySiteAppearanceNormalizer.php | 248 - lib/Normalizer/BitlySiteContentNormalizer.php | 91 - .../BitlySiteHeaderAppearanceNormalizer.php | 220 - lib/Normalizer/BitlySiteLayoutNormalizer.php | 111 - lib/Normalizer/BitlySitesNormalizer.php | 110 - ...ckContentDigitalBusinessCardNormalizer.php | 151 - .../BlockContentSocialNormalizer.php | 91 - .../BlockContentYoutubeNormalizer.php | 84 - lib/Normalizer/BlockOrderNormalizer.php | 91 - lib/Normalizer/BlockOrdersNormalizer.php | 92 - lib/Normalizer/BrandCampaignNormalizer.php | 112 - .../BrandCampaignsResponseNormalizer.php | 99 - .../BulkAddQRCodeResponseNormalizer.php | 102 - .../BulkAddResponseDataNormalizer.php | 127 - lib/Normalizer/BulkAddResponseNormalizer.php | 91 - .../BulkShortenUploadDataNormalizer.php | 95 - .../BulkShortenUploadNormalizer.php | 112 - .../BulkShortenUploadsNormalizer.php | 90 - lib/Normalizer/BulkUploadDataNormalizer.php | 95 - lib/Normalizer/BulkUploadNormalizer.php | 119 - .../BulkUploadValidateNormalizer.php | 117 - lib/Normalizer/BulkUploadsNormalizer.php | 90 - lib/Normalizer/ButtonClicksNormalizer.php | 113 - .../ButtonClicksSummaryNormalizer.php | 105 - .../CampaignAddBitlinkNormalizer.php | 109 - ...mpaignAddBitlinkResponseDataNormalizer.php | 120 - .../CampaignAddBitlinkResponseNormalizer.php | 91 - .../CampaignAddBitlinkResultNormalizer.php | 136 - .../CampaignChannelClicksNormalizer.php | 127 - lib/Normalizer/CampaignChannelNormalizer.php | 119 - lib/Normalizer/CampaignChannelsNormalizer.php | 99 - .../CampaignClickDataNormalizer.php | 91 - .../CampaignClicksDataNormalizer.php | 141 - lib/Normalizer/CampaignClicksNormalizer.php | 122 - ...sCampaignGuidAddURLsPostBodyNormalizer.php | 84 - lib/Normalizer/ChannelBitlinkNormalizer.php | 92 - lib/Normalizer/ChannelBitlinksNormalizer.php | 99 - lib/Normalizer/ChargesNormalizer.php | 111 - .../ChartVisualizationNormalizer.php | 91 - .../CityBitlinkClicksMetricNormalizer.php | 112 - .../CityBitlinkClicksMetricsNormalizer.php | 127 - .../CityDownloadMetricNormalizer.php | 112 - .../CityDownloadMetricsNormalizer.php | 134 - lib/Normalizer/CityViewMetricsNormalizer.php | 127 - .../ClicksByCitiesFacetNormalizer.php | 115 - lib/Normalizer/ClicksByFacetNormalizer.php | 94 - lib/Normalizer/ClicksCountNormalizer.php | 98 - .../ClicksForAggregateNormalizer.php | 91 - .../ClicksForBitlinksNormalizer.php | 92 - lib/Normalizer/ClicksOverTimeNormalizer.php | 99 - .../ConsumableFeatureAddOnNormalizer.php | 129 - .../ConsumableFeatureFullNormalizer.php | 156 - .../ConsumableFeatureNormalizer.php | 137 - .../ConsumableFeaturesNormalizer.php | 92 - lib/Normalizer/ContactInfoNormalizer.php | 92 - lib/Normalizer/ContactsNormalizer.php | 91 - .../ContentRequestBitlinkNormalizer.php | 108 - .../ContentRequestSocialNormalizer.php | 91 - lib/Normalizer/CountryCodeNormalizer.php | 105 - .../CreateAnalyticsModuleNormalizer.php | 98 - .../CreateAnalyticsReportNormalizer.php | 91 - .../CreateCustomerBodyNormalizer.php | 112 - .../CreateCustomerResponseNormalizer.php | 98 - .../CreateFocusRequestNormalizer.php | 84 - .../CreateFocusResponseNormalizer.php | 84 - lib/Normalizer/CreateLaunchpadNormalizer.php | 99 - .../CreateOAuthAppReqNormalizer.php | 132 - ...mainVerificationEmailRequestNormalizer.php | 87 - .../CreateOverrideRulesNormalizer.php | 89 - .../CreatePaymentMethodNormalizer.php | 98 - .../CreateQRCodeRequestNormalizer.php | 134 - .../CreateSubscriptionBodyNormalizer.php | 119 - ...riptionResponseLatestInvoiceNormalizer.php | 84 - .../CreateSubscriptionResponseNormalizer.php | 112 - lib/Normalizer/CreateUserBodyNormalizer.php | 113 - lib/Normalizer/CurrencyListNormalizer.php | 92 - lib/Normalizer/CustomDomainBodyNormalizer.php | 230 - lib/Normalizer/CustomDomainNormalizer.php | 91 - lib/Normalizer/CustomDomainsNormalizer.php | 92 - lib/Normalizer/DataExportQueryNormalizer.php | 278 - lib/Normalizer/DayEngagementsNormalizer.php | 124 - .../DeactivateUserFeedbackNormalizer.php | 91 - lib/Normalizer/DeactivateUserNormalizer.php | 91 - lib/Normalizer/DecideRequestNormalizer.php | 94 - lib/Normalizer/DecideResponseNormalizer.php | 90 - lib/Normalizer/DeeplinkAppNormalizer.php | 168 - lib/Normalizer/DeeplinkAppsNormalizer.php | 92 - lib/Normalizer/DeeplinkMetricNormalizer.php | 112 - .../DeeplinkMetricsRollupNormalizer.php | 119 - lib/Normalizer/DeeplinkRulesNormalizer.php | 92 - .../DefaultAccessFeatureNormalizer.php | 94 - .../DefaultConsumableFeatureNormalizer.php | 91 - .../DeletedQRCodeResponseNormalizer.php | 84 - .../DeviceDownloadMetricNormalizer.php | 91 - .../DeviceDownloadMetricsNormalizer.php | 127 - .../DigitalBusinessCardContactNormalizer.php | 106 - ...gitalBusinessCardContentFileNormalizer.php | 87 - .../DigitalBusinessCardContentNormalizer.php | 165 - lib/Normalizer/DomainAgreementNormalizer.php | 105 - lib/Normalizer/DomainAgreementsNormalizer.php | 92 - lib/Normalizer/DomainDNSNormalizer.php | 123 - lib/Normalizer/DomainPurchaseNormalizer.php | 112 - .../DomainRegistrarInfoNormalizer.php | 125 - lib/Normalizer/DomainStatusNormalizer.php | 105 - lib/Normalizer/DomainUpdateNormalizer.php | 121 - .../DomainValidateBodyNormalizer.php | 112 - lib/Normalizer/DomainValidateNormalizer.php | 126 - lib/Normalizer/DowngradeOrgBodyNormalizer.php | 105 - lib/Normalizer/DownloadMetricNormalizer.php | 91 - lib/Normalizer/DownloadMetricsNormalizer.php | 120 - .../DownloadsOverTimeNormalizer.php | 113 - lib/Normalizer/EmailBodyNormalizer.php | 101 - lib/Normalizer/EncodingLoginNormalizer.php | 92 - .../EngagementForSortNormalizer.php | 94 - lib/Normalizer/EngagementNormalizer.php | 98 - .../EngagementsDailySummaryNormalizer.php | 109 - .../EngagementsDayDrillDownNormalizer.php | 112 - lib/Normalizer/EngagementsNormalizer.php | 98 - .../EvaluateInterventionRequestNormalizer.php | 84 - ...erventionResponseAnnualPromoNormalizer.php | 140 - ...rventionResponseMonthlyPromoNormalizer.php | 140 - ...EvaluateInterventionResponseNormalizer.php | 105 - lib/Normalizer/EventNormalizer.php | 119 - lib/Normalizer/FacetCountDataNormalizer.php | 106 - lib/Normalizer/FacetCountItemNormalizer.php | 91 - lib/Normalizer/FeatureUsageNormalizer.php | 103 - lib/Normalizer/FeedbackNormalizer.php | 91 - .../FormCapturePayloadNormalizer.php | 148 - lib/Normalizer/FormConfigNormalizer.php | 92 - lib/Normalizer/FormFieldNormalizer.php | 122 - lib/Normalizer/FormPageNormalizer.php | 92 - .../FormSelectOptionsNormalizer.php | 91 - lib/Normalizer/FullLinkNormalizer.php | 123 - .../FullQRCodeWithScansNormalizer.php | 181 - .../GenericAccessTokenNormalizer.php | 90 - .../GenericAccessTokenReqNormalizer.php | 82 - lib/Normalizer/GeoIPNormalizer.php | 94 - lib/Normalizer/GetFocusResponseNormalizer.php | 84 - .../GroupAnalyticsUsageNormalizer.php | 106 - .../GroupBitlinksCountNormalizer.php | 113 - .../GroupBitlinksCountRollupNormalizer.php | 105 - .../GroupClicksByFacetNormalizer.php | 113 - .../GroupClicksByFacetRollupNormalizer.php | 113 - .../GroupHistoricalUsageTotalsNormalizer.php | 99 - ...cesGetResponse200MetricsItemNormalizer.php | 91 - ...sClicksDevicesGetResponse200Normalizer.php | 120 - ...dPagesOverviewGetResponse200Normalizer.php | 104 - .../HistoricalUsageTotalNormalizer.php | 91 - lib/Normalizer/ImageCommonNormalizer.php | 98 - lib/Normalizer/ImageContentNormalizer.php | 126 - lib/Normalizer/ImageCropNormalizer.php | 91 - lib/Normalizer/ImageCropPointNormalizer.php | 91 - lib/Normalizer/ImageUpdateNormalizer.php | 91 - lib/Normalizer/ImageUploadNormalizer.php | 105 - .../ImageUploadResponseNormalizer.php | 91 - lib/Normalizer/InputDomainNormalizer.php | 91 - lib/Normalizer/IntegrationOAuthNormalizer.php | 134 - .../IntegrationOAuthsNormalizer.php | 92 - lib/Normalizer/InterventionNormalizer.php | 127 - .../InterventionsOfferedNormalizer.php | 98 - .../InvitationForLoginNormalizer.php | 102 - lib/Normalizer/InvitationNormalizer.php | 124 - .../InvitationsAcceptNormalizer.php | 92 - .../InvitationsCreateNormalizer.php | 132 - .../InvitationsForLoginNormalizer.php | 92 - lib/Normalizer/InvitationsNormalizer.php | 92 - lib/Normalizer/JaneObjectNormalizer.php | 1353 --- lib/Normalizer/KeepSitesRequestNormalizer.php | 92 - .../LaunchpadAppearanceNormalizer.php | 239 - .../LaunchpadButtonAppearanceNormalizer.php | 105 - .../LaunchpadButtonCommonNormalizer.php | 170 - lib/Normalizer/LaunchpadButtonNormalizer.php | 234 - .../LaunchpadButtonRequestNormalizer.php | 167 - .../LaunchpadButtonSortOrderNormalizer.php | 87 - lib/Normalizer/LaunchpadClicksNormalizer.php | 143 - .../LaunchpadContainerRequestNormalizer.php | 112 - .../LaunchpadContainerResponseNormalizer.php | 185 - ...ContentBitlinkRequestContentNormalizer.php | 98 - ...unchpadContentBitlinkRequestNormalizer.php | 125 - ...ntDigitalBusinessCardRequestNormalizer.php | 125 - ...tDigitalBusinessCardResponseNormalizer.php | 177 - .../LaunchpadContentImageNormalizer.php | 177 - ...LaunchpadContentImageRequestNormalizer.php | 125 - ...adContentImageShortenURLDataNormalizer.php | 91 - .../LaunchpadContentSocialNormalizer.php | 91 - ...aunchpadContentSocialRequestNormalizer.php | 108 - ...chpadContentTextBlockRequestNormalizer.php | 132 - ...hpadContentTextBlockResponseNormalizer.php | 184 - ...unchpadContentYouTubeRequestNormalizer.php | 125 - ...nchpadContentYouTubeResponseNormalizer.php | 177 - .../LaunchpadImageContentDataNormalizer.php | 126 - ...chpadImageContentRequestDataNormalizer.php | 140 - lib/Normalizer/LaunchpadImageNormalizer.php | 105 - .../LaunchpadImageUpdateNormalizer.php | 91 - .../LaunchpadImageUploadNormalizer.php | 98 - lib/Normalizer/LaunchpadImagesNormalizer.php | 98 - .../LaunchpadLinkPerformanceNormalizer.php | 141 - lib/Normalizer/LaunchpadNormalizer.php | 203 - .../LaunchpadPresetThemeNormalizer.php | 157 - lib/Normalizer/LaunchpadSocialNormalizer.php | 177 - .../LaunchpadSocialRequestNormalizer.php | 108 - lib/Normalizer/LaunchpadsNormalizer.php | 92 - .../LaunchpadsPaginationNormalizer.php | 112 - lib/Normalizer/LinkBodyNormalizer.php | 141 - lib/Normalizer/LinkDestinationNormalizer.php | 91 - lib/Normalizer/LinkEngagementsNormalizer.php | 141 - ...ksBitlinkDestinationsPutBodyNormalizer.php | 84 - .../LinksReportRequestBodyNormalizer.php | 142 - .../LinksReportRequestResponseNormalizer.php | 99 - ...tResponseRowsItemMetricsItemNormalizer.php | 105 - ...eportRequestResponseRowsItemNormalizer.php | 127 - lib/Normalizer/MetricsColumnNormalizer.php | 105 - .../MicrositeDownloadMetricNormalizer.php | 91 - .../MicrositeDownloadsNormalizer.php | 127 - .../MicrositePaginationNormalizer.php | 98 - .../MinimalDeeplinkAppNormalizer.php | 91 - lib/Normalizer/ModuleNormalizer.php | 129 - lib/Normalizer/ModuleSettingsNormalizer.php | 108 - lib/Normalizer/OAuthAppFullNormalizer.php | 123 - .../OAuthAppWithOwnerLoginNormalizer.php | 122 - lib/Normalizer/OAuthAppsNormalizer.php | 92 - lib/Normalizer/OrgDomainStatusNormalizer.php | 104 - .../OrgDomainVerificationNormalizer.php | 112 - lib/Normalizer/OrgDomainsStatusNormalizer.php | 92 - lib/Normalizer/OrgEmailBodyNormalizer.php | 98 - lib/Normalizer/OrgEmailNormalizer.php | 105 - lib/Normalizer/OrgEmailsNormalizer.php | 92 - .../OrgFeatureUsageByGroupNormalizer.php | 95 - .../OrgInvitationRequestNormalizer.php | 122 - .../OrgInvitationRequestsNormalizer.php | 92 - lib/Normalizer/OrgTierHistoryNormalizer.php | 117 - .../OrgUsersDataExportQueryNormalizer.php | 90 - lib/Normalizer/OrganizationGUIDNormalizer.php | 84 - ...izationHistoricalUsageTotalsNormalizer.php | 105 - .../OrganizationPreferenceSetNormalizer.php | 97 - .../OrganizationPreferencesNormalizer.php | 100 - .../OrganizationUpdateNormalizer.php | 82 - .../OtherBitlinkClicksMetricsNormalizer.php | 91 - .../OtherDownloadMetricNormalizer.php | 91 - lib/Normalizer/OtherViewMetricsNormalizer.php | 91 - .../PaginatedAnalyticsReportsNormalizer.php | 122 - .../PatchOrgControlledDomainNormalizer.php | 85 - .../PatchOrgInvitationRequestNormalizer.php | 92 - lib/Normalizer/PayPalTokenNormalizer.php | 84 - .../PayPalTokenRequestNormalizer.php | 98 - lib/Normalizer/PayerInfoNormalizer.php | 112 - lib/Normalizer/PayerNormalizer.php | 84 - .../PaymentInvoiceDetailNormalizer.php | 106 - lib/Normalizer/PaymentInvoiceNormalizer.php | 178 - lib/Normalizer/PaymentInvoicesNormalizer.php | 92 - lib/Normalizer/PaymentMethodNormalizer.php | 84 - lib/Normalizer/PaymentsNormalizer.php | 101 - ...evalidateYouTubeVideoRequestNormalizer.php | 84 - .../PreviewQRCodeRequestV2Normalizer.php | 84 - lib/Normalizer/PriceMapNormalizer.php | 91 - .../ProductUtilizationResponseNormalizer.php | 127 - lib/Normalizer/PromoCodeNormalizer.php | 150 - .../PromoCodeValidPlansNormalizer.php | 92 - .../PublicCanvaUserBrandNormalizer.php | 122 - lib/Normalizer/PublicImageURLNormalizer.php | 84 - lib/Normalizer/PublicOAuthUserNormalizer.php | 91 - .../PublicQRCodeResponseNormalizer.php | 84 - lib/Normalizer/PublicSSLCertNormalizer.php | 101 - lib/Normalizer/PublicSSOUserNormalizer.php | 125 - .../PublicSSOUsersResultsNormalizer.php | 95 - lib/Normalizer/PublicValidateNormalizer.php | 91 - lib/Normalizer/PurchaseBSDNormalizer.php | 113 - .../PurchaseBSDResponseNormalizer.php | 105 - .../QRCodeCornerResponseItemNormalizer.php | 101 - ...CustomizationOptionsResponseNormalizer.php | 182 - .../QRCodeCustomizationsNormalizer.php | 154 - lib/Normalizer/QRCodeDotPatternNormalizer.php | 97 - lib/Normalizer/QRCodeDynamicNormalizer.php | 96 - lib/Normalizer/QRCodeEmailNormalizer.php | 112 - .../QRCodeFrameColorsNormalizer.php | 98 - lib/Normalizer/QRCodeFrameNormalizer.php | 113 - .../QRCodeFrameResponseItemNormalizer.php | 133 - lib/Normalizer/QRCodeFrameTextNormalizer.php | 91 - .../QRCodeFullListResponseNormalizer.php | 92 - .../QRCodeFullResponseNormalizer.php | 84 - .../QRCodeHistoryEntryNormalizer.php | 147 - lib/Normalizer/QRCodeHistoryNormalizer.php | 110 - .../QRCodeImageResponseNormalizer.php | 84 - lib/Normalizer/QRCodeLogoCropNormalizer.php | 105 - lib/Normalizer/QRCodeLogoImageNormalizer.php | 97 - lib/Normalizer/QRCodeLogoNormalizer.php | 98 - lib/Normalizer/QRCodeNormalizer.php | 171 - .../QRCodePhoneNumberNormalizer.php | 84 - .../QRCodeSpecSettingsNormalizer.php | 98 - lib/Normalizer/QRCodeTemplateNormalizer.php | 139 - .../QRCodeTemplateRequestNormalizer.php | 82 - .../QRCodeTemplateResponseNormalizer.php | 84 - .../QRCodeTemplatesResponseNormalizer.php | 92 - .../QRCodeTextMessageNormalizer.php | 91 - lib/Normalizer/QRCodeTypeItemNormalizer.php | 102 - .../QRCodeTypeResponseNormalizer.php | 103 - lib/Normalizer/QRCodeURINormalizer.php | 84 - .../QRCodeVirtualCardNormalizer.php | 106 - lib/Normalizer/QRCodeWifiNormalizer.php | 98 - lib/Normalizer/QRCodesNormalizer.php | 113 - lib/Normalizer/QRCustomizationsNormalizer.php | 118 - lib/Normalizer/QRLogoImagesNormalizer.php | 91 - .../QRLogoImagesResponseNormalizer.php | 92 - .../RedirectQRCodeRequestNormalizer.php | 82 - lib/Normalizer/RegionNormalizer.php | 113 - lib/Normalizer/RegionsNormalizer.php | 92 - lib/Normalizer/ReportFiltersNormalizer.php | 107 - lib/Normalizer/ReportSettingsNormalizer.php | 137 - ...tainedEntitiesAfterDowngradeNormalizer.php | 92 - lib/Normalizer/SSOSettingsNormalizer.php | 155 - lib/Normalizer/SSOSlugNormalizer.php | 84 - lib/Normalizer/SSOVerifySlugNormalizer.php | 94 - lib/Normalizer/ScansNormalizer.php | 113 - lib/Normalizer/ScansSummaryNormalizer.php | 105 - lib/Normalizer/SetupIntentNormalizer.php | 84 - lib/Normalizer/ShareableReportNormalizer.php | 91 - ...ShopifyDomainDetailsResponseNormalizer.php | 98 - .../ShopifyTokenExchangeRequestNormalizer.php | 87 - lib/Normalizer/SiteBlockCommonNormalizer.php | 149 - .../SiteBlockContainerRequestNormalizer.php | 99 - lib/Normalizer/SiteBlockContentNormalizer.php | 214 - lib/Normalizer/SiteBlockNormalizer.php | 177 - .../SiteButtonRequestNormalizer.php | 160 - .../SiteCityViewMetricsNormalizer.php | 127 - lib/Normalizer/SiteClicksNormalizer.php | 136 - lib/Normalizer/SiteCloneRequestNormalizer.php | 84 - .../SiteContentRequestNormalizer.php | 152 - lib/Normalizer/SiteImageUploadNormalizer.php | 105 - .../SiteLinkPerformanceNormalizer.php | 141 - lib/Normalizer/SiteRedirectsNormalizer.php | 154 - lib/Normalizer/SiteThemeNormalizer.php | 130 - lib/Normalizer/SiteThemesNormalizer.php | 92 - lib/Normalizer/SiteViewMetricsNormalizer.php | 120 - lib/Normalizer/SiteViewsSummaryNormalizer.php | 105 - lib/Normalizer/SitesPaginationNormalizer.php | 112 - lib/Normalizer/SocialContentNormalizer.php | 91 - .../SortedButtonsButtonsItemNormalizer.php | 105 - lib/Normalizer/SortedButtonsNormalizer.php | 129 - .../SortedButtonsPageViewsItemNormalizer.php | 101 - .../SortedEngagementsNormalizer.php | 116 - lib/Normalizer/StripeAddressNormalizer.php | 119 - ...tripeCustomerInvoiceSettingsNormalizer.php | 84 - lib/Normalizer/StripeCustomerNormalizer.php | 141 - .../StripeOrganizationInfoNormalizer.php | 91 - .../StripeUpgradeOrgBodyNormalizer.php | 89 - lib/Normalizer/SubregionNormalizer.php | 91 - .../SubscriptionCancelledDateNormalizer.php | 84 - .../SubscriptionDiscountNormalizer.php | 156 - .../SupportedCurrencyNormalizer.php | 87 - lib/Normalizer/SurveyResponseNormalizer.php | 120 - lib/Normalizer/TemplateNormalizer.php | 169 - lib/Normalizer/TemplatesRequestNormalizer.php | 84 - .../TemplatesResponseNormalizer.php | 92 - .../TextBlockAppearanceNormalizer.php | 112 - .../TextBlockAppearanceRequestNormalizer.php | 112 - .../TextBlockAppearanceResponseNormalizer.php | 126 - lib/Normalizer/TextBlockContentNormalizer.php | 84 - lib/Normalizer/TextBlockStyleNormalizer.php | 107 - .../ThirdPartyAppDataNormalizer.php | 112 - lib/Normalizer/TierNormalizer.php | 186 - .../TimeComparisonDetailsNormalizer.php | 91 - lib/Normalizer/TimePeriodNormalizer.php | 105 - lib/Normalizer/TimeoutNormalizer.php | 113 - lib/Normalizer/TitleResponseNormalizer.php | 91 - lib/Normalizer/TooManyRequestsNormalizer.php | 113 - lib/Normalizer/TotalEngagementsNormalizer.php | 113 - .../TotalEngagementsSummaryNormalizer.php | 112 - lib/Normalizer/TrackRequestNormalizer.php | 87 - .../TranslationRequestNormalizer.php | 92 - lib/Normalizer/TwoFactorCodeNormalizer.php | 82 - lib/Normalizer/TwoFactorNormalizer.php | 94 - lib/Normalizer/TwoFactorVerifyNormalizer.php | 93 - .../UMGroupPreferencesNormalizer.php | 100 - lib/Normalizer/UnauthorizedNormalizer.php | 113 - .../UpcomingSubscriptionNormalizer.php | 142 - .../UpdateAnalyticsModuleNormalizer.php | 94 - .../UpdateAnalyticsReportNormalizer.php | 94 - lib/Normalizer/UpdateAppNormalizer.php | 138 - .../UpdateButtonSortOrderNormalizer.php | 92 - .../UpdateCanvaUserBrandNormalizer.php | 84 - lib/Normalizer/UpdateLaunchpadNormalizer.php | 127 - .../UpdateOverrideRulesNormalizer.php | 84 - .../UpdateQRCodeRequestNormalizer.php | 101 - ...ateRetainedDowngradeEntitiesNormalizer.php | 92 - .../UpdateStripeCustomerBodyNormalizer.php | 133 - lib/Normalizer/UpgradeOrgBodyNormalizer.php | 147 - lib/Normalizer/UserInternalNormalizer.php | 148 - .../UserOnboardingSurveyNormalizer.php | 129 - .../UserPasswordChangeNormalizer.php | 87 - .../UserPreferenceBodyNormalizer.php | 101 - lib/Normalizer/UserPreferencesNormalizer.php | 100 - lib/Normalizer/UserRoleNormalizer.php | 103 - .../UserRoleReferenceNormalizer.php | 115 - .../UserRoleReferencesNormalizer.php | 99 - lib/Normalizer/UsersNormalizer.php | 114 - lib/Normalizer/UsersPaginationNormalizer.php | 112 - lib/Normalizer/ViewMetricNormalizer.php | 91 - lib/Normalizer/ViewsNormalizer.php | 120 - lib/Normalizer/ViewsSummaryNormalizer.php | 105 - .../YoutubeVideoRequestNormalizer.php | 105 - .../YoutubeVideoResponseNormalizer.php | 105 - 2945 files changed, 829 insertions(+), 209235 deletions(-) delete mode 100644 lib/Endpoint/AddEmailToUser.php delete mode 100644 lib/Endpoint/AddUserWithRole.php delete mode 100644 lib/Endpoint/AiDomainSearch.php delete mode 100644 lib/Endpoint/AnnualRenewalReminder.php delete mode 100644 lib/Endpoint/ApplyDiscount.php delete mode 100644 lib/Endpoint/ApplyStripeDiscount.php delete mode 100644 lib/Endpoint/ApplyTemplate.php delete mode 100644 lib/Endpoint/BulkAdd.php delete mode 100644 lib/Endpoint/CampaignAddBitlink.php delete mode 100644 lib/Endpoint/CancelPendingDowngrade.php delete mode 100644 lib/Endpoint/CancelPendingDowngradeStripe.php delete mode 100644 lib/Endpoint/CaptureEvent.php delete mode 100644 lib/Endpoint/ChangeUserPassword.php delete mode 100644 lib/Endpoint/CheckDomainDNS.php delete mode 100644 lib/Endpoint/CheckShareableReport.php delete mode 100644 lib/Endpoint/CloneSite.php delete mode 100644 lib/Endpoint/CreateAnalyticsModule.php delete mode 100644 lib/Endpoint/CreateAnalyticsReport.php delete mode 100644 lib/Endpoint/CreateCampaignChannel.php delete mode 100644 lib/Endpoint/CreateChannelBitlink.php delete mode 100644 lib/Endpoint/CreateContainer.php delete mode 100644 lib/Endpoint/CreateCustomer.php delete mode 100644 lib/Endpoint/CreateDeeplinkApp.php delete mode 100644 lib/Endpoint/CreateDeeplinkRule.php delete mode 100644 lib/Endpoint/CreateDefaultAnalyticsReportForGroup.php delete mode 100644 lib/Endpoint/CreateFocus.php delete mode 100644 lib/Endpoint/CreateGenericAccessToken.php delete mode 100644 lib/Endpoint/CreateGroup.php delete mode 100644 lib/Endpoint/CreateIntervention.php delete mode 100644 lib/Endpoint/CreateLaunchpad.php delete mode 100644 lib/Endpoint/CreateLaunchpadButton.php delete mode 100644 lib/Endpoint/CreateLaunchpadContentBitlink.php delete mode 100644 lib/Endpoint/CreateLaunchpadContentDigitalBusinessCard.php delete mode 100644 lib/Endpoint/CreateLaunchpadContentImage.php delete mode 100644 lib/Endpoint/CreateLaunchpadContentSocial.php delete mode 100644 lib/Endpoint/CreateLaunchpadContentYoutubeVideo.php delete mode 100644 lib/Endpoint/CreateLaunchpadTextBlockContent.php delete mode 100644 lib/Endpoint/CreateLink.php delete mode 100644 lib/Endpoint/CreateOAuthApp.php delete mode 100644 lib/Endpoint/CreateOrgDomainVerificationEmail.php delete mode 100644 lib/Endpoint/CreateOrganizationInvitations.php delete mode 100644 lib/Endpoint/CreateOrganizationSSOSettings.php delete mode 100644 lib/Endpoint/CreateOverridesForBitlink.php delete mode 100644 lib/Endpoint/CreatePayPalBillingAgreement.php delete mode 100644 lib/Endpoint/CreatePayPalBillingAgreementToken.php delete mode 100644 lib/Endpoint/CreatePaymentMethod.php delete mode 100644 lib/Endpoint/CreateQRCodePreview.php delete mode 100644 lib/Endpoint/CreateQRCodeTemplate.php delete mode 100644 lib/Endpoint/CreateShareableReport.php delete mode 100644 lib/Endpoint/CreateShopifyIntegrationOAuth.php delete mode 100644 lib/Endpoint/CreateSite.php delete mode 100644 lib/Endpoint/CreateSiteContent.php delete mode 100644 lib/Endpoint/CreateSiteImage.php delete mode 100644 lib/Endpoint/CreateStripeSetupIntent.php delete mode 100644 lib/Endpoint/CreateSubscription.php delete mode 100644 lib/Endpoint/CreateUser.php delete mode 100644 lib/Endpoint/DeactivateDeeplinkApp.php delete mode 100644 lib/Endpoint/DeleteAnalyticsModule.php delete mode 100644 lib/Endpoint/DeleteAnalyticsModuleByReport.php delete mode 100644 lib/Endpoint/DeleteAnalyticsReport.php delete mode 100644 lib/Endpoint/DeleteCampaign.php delete mode 100644 lib/Endpoint/DeleteCanvaUserBrandsByLogin.php delete mode 100644 lib/Endpoint/DeleteChannel.php delete mode 100644 lib/Endpoint/DeleteChannelBitlink.php delete mode 100644 lib/Endpoint/DeleteCustomDomain.php delete mode 100644 lib/Endpoint/DeleteDeeplinkRule.php delete mode 100644 lib/Endpoint/DeleteEmail.php delete mode 100644 lib/Endpoint/DeleteGroup.php delete mode 100644 lib/Endpoint/DeleteIntegrationOAuth.php delete mode 100644 lib/Endpoint/DeleteInvitation.php delete mode 100644 lib/Endpoint/DeleteLaunchpad.php delete mode 100644 lib/Endpoint/DeleteLaunchpadButton.php delete mode 100644 lib/Endpoint/DeleteLaunchpadImageByImageUse.php delete mode 100644 lib/Endpoint/DeleteQRCodeTemplate.php delete mode 100644 lib/Endpoint/DeleteSite.php delete mode 100644 lib/Endpoint/DeleteSiteButton.php delete mode 100644 lib/Endpoint/DeleteSiteRedirect.php delete mode 100644 lib/Endpoint/DeleteUser.php delete mode 100644 lib/Endpoint/DeleteUserWithRole.php delete mode 100644 lib/Endpoint/Disable2FA.php delete mode 100644 lib/Endpoint/DiscardDraftLaunchpad.php delete mode 100644 lib/Endpoint/DiscardSiteDraft.php delete mode 100644 lib/Endpoint/DowngradeOrganization.php delete mode 100644 lib/Endpoint/DuplicateAnalyticsReport.php delete mode 100644 lib/Endpoint/EditCustomDomain.php delete mode 100644 lib/Endpoint/EditQRCodePreview.php delete mode 100644 lib/Endpoint/EvaluateIntervention.php delete mode 100644 lib/Endpoint/ExperimentDecide.php delete mode 100644 lib/Endpoint/ExperimentTrack.php delete mode 100644 lib/Endpoint/ExpireOAuthAuthorization.php delete mode 100644 lib/Endpoint/FetchCompDomainPurchase.php delete mode 100644 lib/Endpoint/FetchDomainAgreements.php delete mode 100644 lib/Endpoint/FetchDomainStatus.php delete mode 100644 lib/Endpoint/ForgetUser.php delete mode 100644 lib/Endpoint/FormCapture.php delete mode 100644 lib/Endpoint/GenerateBillingSignature.php delete mode 100644 lib/Endpoint/GetAccessFeatures.php delete mode 100644 lib/Endpoint/GetAggregateButtonClicksByCity.php delete mode 100644 lib/Endpoint/GetAggregateButtonClicksByCountry.php delete mode 100644 lib/Endpoint/GetAggregateButtonClicksByDevice.php delete mode 100644 lib/Endpoint/GetAggregateButtonClicksOverTime.php delete mode 100644 lib/Endpoint/GetAggregateCodeScansByCity.php delete mode 100644 lib/Endpoint/GetAggregateCodeScansByCountry.php delete mode 100644 lib/Endpoint/GetAggregateCodeScansOverTime.php delete mode 100644 lib/Endpoint/GetAggregateDigitalBusinessCardDownloadsOverTime.php delete mode 100644 lib/Endpoint/GetAggregateEngagementsForBitlinks.php delete mode 100644 lib/Endpoint/GetAggregateEngagementsForBitlinksByCitiesFacet.php delete mode 100644 lib/Endpoint/GetAggregateEngagementsForBitlinksByFacet.php delete mode 100644 lib/Endpoint/GetAggregateLinkClicksByCity.php delete mode 100644 lib/Endpoint/GetAggregateLinkClicksByCountry.php delete mode 100644 lib/Endpoint/GetAggregateLinkClicksByDevice.php delete mode 100644 lib/Endpoint/GetAggregateLinkClicksByReferrer.php delete mode 100644 lib/Endpoint/GetAggregateLinkClicksOverTime.php delete mode 100644 lib/Endpoint/GetAggregatePageViewsByCity.php delete mode 100644 lib/Endpoint/GetAggregatePageViewsByCountry.php delete mode 100644 lib/Endpoint/GetAggregatePageViewsByDevice.php delete mode 100644 lib/Endpoint/GetAggregatePageViewsByReferrer.php delete mode 100644 lib/Endpoint/GetAggregatePageViewsOverTime.php delete mode 100644 lib/Endpoint/GetAggregatePagesOverview.php delete mode 100644 lib/Endpoint/GetAggregateSiteViewsByCity.php delete mode 100644 lib/Endpoint/GetAggregateSiteViewsByCountry.php delete mode 100644 lib/Endpoint/GetAggregateSiteViewsByDevice.php delete mode 100644 lib/Endpoint/GetAggregateSiteViewsByReferrer.php delete mode 100644 lib/Endpoint/GetAggregateSiteViewsOverTime.php delete mode 100644 lib/Endpoint/GetAggregateSitesOverview.php delete mode 100644 lib/Endpoint/GetAggregateTopButtonClicks.php delete mode 100644 lib/Endpoint/GetAggregateTopCodeScans.php delete mode 100644 lib/Endpoint/GetAggregateTopLinkClicks.php delete mode 100644 lib/Endpoint/GetAllBrandCampaigns.php delete mode 100644 lib/Endpoint/GetAnalyticsModule.php delete mode 100644 lib/Endpoint/GetAnalyticsReport.php delete mode 100644 lib/Endpoint/GetAnalyticsReportsByGroupPaginated.php delete mode 100644 lib/Endpoint/GetAnalyticsReportsListByGroup.php delete mode 100644 lib/Endpoint/GetAnalyticsUsage.php delete mode 100644 lib/Endpoint/GetAppAssociations.php delete mode 100644 lib/Endpoint/GetAutobrandedDomain.php delete mode 100644 lib/Endpoint/GetBillingAccount.php delete mode 100644 lib/Endpoint/GetBillingAccountID.php delete mode 100644 lib/Endpoint/GetBillingProvider.php delete mode 100644 lib/Endpoint/GetBitlinkClickCounts.php delete mode 100644 lib/Endpoint/GetBitlinkClicks.php delete mode 100644 lib/Endpoint/GetBitlinkClicksMetricsForBitlinkByBrowser.php delete mode 100644 lib/Endpoint/GetBitlinkClicksMetricsForBitlinkByCities.php delete mode 100644 lib/Endpoint/GetBitlinkClicksMetricsForBitlinkByCountries.php delete mode 100644 lib/Endpoint/GetBitlinkClicksMetricsForBitlinkByDevicesOS.php delete mode 100644 lib/Endpoint/GetBitlinkClicksSummary.php delete mode 100644 lib/Endpoint/GetBitlinkScans.php delete mode 100644 lib/Endpoint/GetBitlinkScansSummary.php delete mode 100644 lib/Endpoint/GetBlockDigitalBusinessCardDownloadsByCities.php delete mode 100644 lib/Endpoint/GetBlockDigitalBusinessCardDownloadsByCountries.php delete mode 100644 lib/Endpoint/GetBlockDigitalBusinessCardDownloadsByDevices.php delete mode 100644 lib/Endpoint/GetBlockDigitalBusinessCardDownloadsOverTime.php delete mode 100644 lib/Endpoint/GetBrandCampaign.php delete mode 100644 lib/Endpoint/GetBulkUploads.php delete mode 100644 lib/Endpoint/GetButtonClicks.php delete mode 100644 lib/Endpoint/GetButtonClicksSummary.php delete mode 100644 lib/Endpoint/GetCampaignClicks.php delete mode 100644 lib/Endpoint/GetCanvaUserBrand.php delete mode 100644 lib/Endpoint/GetChildrenForBlock.php delete mode 100644 lib/Endpoint/GetConsumableFeatures.php delete mode 100644 lib/Endpoint/GetCountryCallingCodes.php delete mode 100644 lib/Endpoint/GetCurrency.php delete mode 100644 lib/Endpoint/GetCurrencyList.php delete mode 100644 lib/Endpoint/GetCustomDomain.php delete mode 100644 lib/Endpoint/GetCustomDomains.php delete mode 100644 lib/Endpoint/GetDeeplinkApp.php delete mode 100644 lib/Endpoint/GetDeeplinkApps.php delete mode 100644 lib/Endpoint/GetDeeplinkMetricsRollup.php delete mode 100644 lib/Endpoint/GetDeeplinkRules.php delete mode 100644 lib/Endpoint/GetDomainRegistrarInfo.php delete mode 100644 lib/Endpoint/GetDynamicTranslation.php delete mode 100644 lib/Endpoint/GetEngagements.php delete mode 100644 lib/Endpoint/GetEngagementsSample.php delete mode 100644 lib/Endpoint/GetEngagementsSummary.php delete mode 100644 lib/Endpoint/GetFocus.php delete mode 100644 lib/Endpoint/GetGroupBitlinksCount.php delete mode 100644 lib/Endpoint/GetGroupBitlinksCountRollup.php delete mode 100644 lib/Endpoint/GetGroupButtonClicksByCity.php delete mode 100644 lib/Endpoint/GetGroupButtonClicksByCountry.php delete mode 100644 lib/Endpoint/GetGroupButtonClicksByDevice.php delete mode 100644 lib/Endpoint/GetGroupButtonClicksOverTime.php delete mode 100644 lib/Endpoint/GetGroupClicksByFacet.php delete mode 100644 lib/Endpoint/GetGroupClicksByFacetRollup.php delete mode 100644 lib/Endpoint/GetGroupCodeScansByCity.php delete mode 100644 lib/Endpoint/GetGroupCodeScansByCountry.php delete mode 100644 lib/Endpoint/GetGroupCodeScansOverTime.php delete mode 100644 lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByBlocks.php delete mode 100644 lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByCities.php delete mode 100644 lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByCountries.php delete mode 100644 lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByDevices.php delete mode 100644 lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByMicrosites.php delete mode 100644 lib/Endpoint/GetGroupDigitalBusinessCardDownloadsOverTime.php delete mode 100644 lib/Endpoint/GetGroupLinkClicksByCity.php delete mode 100644 lib/Endpoint/GetGroupLinkClicksByCountry.php delete mode 100644 lib/Endpoint/GetGroupLinkClicksByDevice.php delete mode 100644 lib/Endpoint/GetGroupLinkClicksByReferrer.php delete mode 100644 lib/Endpoint/GetGroupLinkClicksOverTime.php delete mode 100644 lib/Endpoint/GetGroupPageViewsByCity.php delete mode 100644 lib/Endpoint/GetGroupPageViewsByCountry.php delete mode 100644 lib/Endpoint/GetGroupPageViewsByDevice.php delete mode 100644 lib/Endpoint/GetGroupPageViewsByReferrer.php delete mode 100644 lib/Endpoint/GetGroupPageViewsOverTime.php delete mode 100644 lib/Endpoint/GetGroupPagesOverview.php delete mode 100644 lib/Endpoint/GetGroupTopButtonClicks.php delete mode 100644 lib/Endpoint/GetGroupTopCodeScans.php delete mode 100644 lib/Endpoint/GetGroupTopLinkClicks.php delete mode 100644 lib/Endpoint/GetGroupsByLogin.php delete mode 100644 lib/Endpoint/GetImageByGUID.php delete mode 100644 lib/Endpoint/GetIntegrationOAuthsByClientID.php delete mode 100644 lib/Endpoint/GetInvitations.php delete mode 100644 lib/Endpoint/GetInvitationsByLogin.php delete mode 100644 lib/Endpoint/GetLaunchpad.php delete mode 100644 lib/Endpoint/GetLaunchpadDigitalBusinessCardDownloadsOverTime.php delete mode 100644 lib/Endpoint/GetLaunchpadImageByImageUse.php delete mode 100644 lib/Endpoint/GetLaunchpadPresetThemes.php delete mode 100644 lib/Endpoint/GetLaunchpadsForGroup.php delete mode 100644 lib/Endpoint/GetLinkEngagementsDailySummary.php delete mode 100644 lib/Endpoint/GetLinkEngagementsDayDrillDown.php delete mode 100644 lib/Endpoint/GetLinkEngagementsReport.php delete mode 100644 lib/Endpoint/GetLinkPerformanceForLaunchpad.php delete mode 100644 lib/Endpoint/GetLinkPerformanceForSite.php delete mode 100644 lib/Endpoint/GetMetricsForLaunchpadByCities.php delete mode 100644 lib/Endpoint/GetMetricsForLaunchpadByCountries.php delete mode 100644 lib/Endpoint/GetMetricsForLaunchpadByDevices.php delete mode 100644 lib/Endpoint/GetMetricsForLaunchpadByReferrers.php delete mode 100644 lib/Endpoint/GetMetricsForSiteByCities.php delete mode 100644 lib/Endpoint/GetMetricsForSiteByDevices.php delete mode 100644 lib/Endpoint/GetMetricsForSiteByReferrers.php delete mode 100644 lib/Endpoint/GetMetricsForSitesByCountries.php delete mode 100644 lib/Endpoint/GetOAuthApps.php delete mode 100644 lib/Endpoint/GetOAuthAuthorizations.php delete mode 100644 lib/Endpoint/GetOrgDomainsStatus.php delete mode 100644 lib/Endpoint/GetOrgEmails.php delete mode 100644 lib/Endpoint/GetOrgInvitationRequests.php delete mode 100644 lib/Endpoint/GetOrgPreferences.php delete mode 100644 lib/Endpoint/GetOrganizationActivityLog.php delete mode 100644 lib/Endpoint/GetOrganizationActivityLogEntry.php delete mode 100644 lib/Endpoint/GetOrganizationActivityLogExport.php delete mode 100644 lib/Endpoint/GetOrganizationFeatureUsage.php delete mode 100644 lib/Endpoint/GetOrganizationFeatureUsageByGroup.php delete mode 100644 lib/Endpoint/GetOrganizationHistoricalUsageTotalsByGroup.php delete mode 100644 lib/Endpoint/GetOrganizationSSOSettings.php delete mode 100644 lib/Endpoint/GetOrganizationStripeInfo.php delete mode 100644 lib/Endpoint/GetOverrideHistoryForBitlink.php delete mode 100644 lib/Endpoint/GetOverrideMetricsByVersion.php delete mode 100644 lib/Endpoint/GetOverridesForBitlink.php delete mode 100644 lib/Endpoint/GetOverridesForGroups.php delete mode 100644 lib/Endpoint/GetPaymentInvoice.php delete mode 100644 lib/Endpoint/GetPaymentInvoiceFile.php delete mode 100644 lib/Endpoint/GetPaymentInvoices.php delete mode 100644 lib/Endpoint/GetPendingTierForOrg.php delete mode 100644 lib/Endpoint/GetPrivateGeo.php delete mode 100644 lib/Endpoint/GetProductUtilization.php delete mode 100644 lib/Endpoint/GetPromoCodeValidPlans.php delete mode 100644 lib/Endpoint/GetQRCHistory.php delete mode 100644 lib/Endpoint/GetQRCodeByBitlinkId.php delete mode 100644 lib/Endpoint/GetQRCodeById.php delete mode 100644 lib/Endpoint/GetQRCodeCustomizationOptions.php delete mode 100644 lib/Endpoint/GetQRCodeOverrideMetricsByVersion.php delete mode 100644 lib/Endpoint/GetQRCodeTemplates.php delete mode 100644 lib/Endpoint/GetRegionsList.php delete mode 100644 lib/Endpoint/GetRetainedEntitiesAfterDowngrade.php delete mode 100644 lib/Endpoint/GetSSOUsers.php delete mode 100644 lib/Endpoint/GetScanMetricsForBitlinkByBrowser.php delete mode 100644 lib/Endpoint/GetScanMetricsForBitlinkByCities.php delete mode 100644 lib/Endpoint/GetScanMetricsForBitlinkByCountries.php delete mode 100644 lib/Endpoint/GetScanMetricsForBitlinkByDevicesOS.php delete mode 100644 lib/Endpoint/GetScansForBitlink.php delete mode 100644 lib/Endpoint/GetScansSummaryForBitlink.php delete mode 100644 lib/Endpoint/GetShopifyShopDomainDetails.php delete mode 100644 lib/Endpoint/GetSite.php delete mode 100644 lib/Endpoint/GetSiteClicksByCities.php delete mode 100644 lib/Endpoint/GetSiteClicksByCountries.php delete mode 100644 lib/Endpoint/GetSiteClicksByDevices.php delete mode 100644 lib/Endpoint/GetSiteClicksOverTime.php delete mode 100644 lib/Endpoint/GetSiteDigitalBusinessCardDownloadsByBlocks.php delete mode 100644 lib/Endpoint/GetSiteDigitalBusinessCardDownloadsByCities.php delete mode 100644 lib/Endpoint/GetSiteDigitalBusinessCardDownloadsByCountries.php delete mode 100644 lib/Endpoint/GetSiteDigitalBusinessCardDownloadsByDevices.php delete mode 100644 lib/Endpoint/GetSiteDigitalBusinessCardDownloadsOverTime.php delete mode 100644 lib/Endpoint/GetSiteFilteredTopPageButtons.php delete mode 100644 lib/Endpoint/GetSiteLayouts.php delete mode 100644 lib/Endpoint/GetSitesForGroup.php delete mode 100644 lib/Endpoint/GetSortedEngagements.php delete mode 100644 lib/Endpoint/GetSortedScans.php delete mode 100644 lib/Endpoint/GetSortedScansForGroup.php delete mode 100644 lib/Endpoint/GetTemplates.php delete mode 100644 lib/Endpoint/GetTier.php delete mode 100644 lib/Endpoint/GetTiers.php delete mode 100644 lib/Endpoint/GetTitleForLongURL.php delete mode 100644 lib/Endpoint/GetTopSortedBitlinks.php delete mode 100644 lib/Endpoint/GetTwoFARecord.php delete mode 100644 lib/Endpoint/GetUMGroupPreferences.php delete mode 100644 lib/Endpoint/GetUMGroupSiteThemes.php delete mode 100644 lib/Endpoint/GetUserActivityLog.php delete mode 100644 lib/Endpoint/GetUserAvailableTiers.php delete mode 100644 lib/Endpoint/GetUserOnboardingSurveyResults.php delete mode 100644 lib/Endpoint/GetUserPreferences.php delete mode 100644 lib/Endpoint/GetUsers.php delete mode 100644 lib/Endpoint/GetViewsForLaunchpad.php delete mode 100644 lib/Endpoint/GetViewsForSite.php delete mode 100644 lib/Endpoint/GetViewsSummaryForLaunchpad.php delete mode 100644 lib/Endpoint/GetViewsSummaryForSite.php delete mode 100644 lib/Endpoint/HandleWebhook.php delete mode 100644 lib/Endpoint/NotifyPaymentFailure.php delete mode 100644 lib/Endpoint/PatchCanvaUserBrand.php delete mode 100644 lib/Endpoint/PatchOrgControlledDomain.php delete mode 100644 lib/Endpoint/PatchOrgInvitationRequest.php delete mode 100644 lib/Endpoint/PatchUMGroupPreferences.php delete mode 100644 lib/Endpoint/PostGetLinksReport.php delete mode 100644 lib/Endpoint/PostGroupDataExport.php delete mode 100644 lib/Endpoint/PostOrgUsersDataExport.php delete mode 100644 lib/Endpoint/PrevalidateYouTubeVideoButton.php delete mode 100644 lib/Endpoint/PublishDraftLaunchpad.php delete mode 100644 lib/Endpoint/PublishSite.php delete mode 100644 lib/Endpoint/PurchaseAddOns.php delete mode 100644 lib/Endpoint/PurchaseBsd.php delete mode 100644 lib/Endpoint/PurchaseStripeAddOns.php delete mode 100644 lib/Endpoint/PutUMGroupSiteTheme.php delete mode 100644 lib/Endpoint/RedirectQRCodeDestination.php delete mode 100644 lib/Endpoint/RegeneratePaymentInvoiceFile.php delete mode 100644 lib/Endpoint/ReorderBlocksByContainer.php delete mode 100644 lib/Endpoint/RequestUserSAR.php delete mode 100644 lib/Endpoint/ResendInvitation.php delete mode 100644 lib/Endpoint/ScheduleOrgDowngradeStripe.php delete mode 100644 lib/Endpoint/ScheduleOrganizationDowngrade.php delete mode 100644 lib/Endpoint/SearchDomains.php delete mode 100644 lib/Endpoint/SearchGroupUserRoles.php delete mode 100644 lib/Endpoint/SearchOrgUserRoles.php delete mode 100644 lib/Endpoint/SendEmailVerification.php delete mode 100644 lib/Endpoint/SendVerificationCode.php delete mode 100644 lib/Endpoint/SetOrgPreference.php delete mode 100644 lib/Endpoint/SetPaymentMethodDefault.php delete mode 100644 lib/Endpoint/SetPhoneNumber.php delete mode 100644 lib/Endpoint/SetStripeDefaultPaymentMethod.php delete mode 100644 lib/Endpoint/SetUserPreference.php delete mode 100644 lib/Endpoint/ThirdPartyAppLookup.php delete mode 100644 lib/Endpoint/UpdateAnalyticsModule.php delete mode 100644 lib/Endpoint/UpdateAnalyticsReport.php delete mode 100644 lib/Endpoint/UpdateAppAssociations.php delete mode 100644 lib/Endpoint/UpdateBillingInfo.php delete mode 100644 lib/Endpoint/UpdateDeeplinkApp.php delete mode 100644 lib/Endpoint/UpdateDeeplinkRule.php delete mode 100644 lib/Endpoint/UpdateEmail.php delete mode 100644 lib/Endpoint/UpdateEntitiesRetainedOnDowngrade.php delete mode 100644 lib/Endpoint/UpdateImage.php delete mode 100644 lib/Endpoint/UpdateLaunchpad.php delete mode 100644 lib/Endpoint/UpdateLaunchpadBitlinkContent.php delete mode 100644 lib/Endpoint/UpdateLaunchpadButton.php delete mode 100644 lib/Endpoint/UpdateLaunchpadButtonSortOrder.php delete mode 100644 lib/Endpoint/UpdateLaunchpadCarouselContent.php delete mode 100644 lib/Endpoint/UpdateLaunchpadContentDigitalBusinessCard.php delete mode 100644 lib/Endpoint/UpdateLaunchpadGridContent.php delete mode 100644 lib/Endpoint/UpdateLaunchpadImageByImageUse.php delete mode 100644 lib/Endpoint/UpdateLaunchpadImageContent.php delete mode 100644 lib/Endpoint/UpdateLaunchpadSocial.php delete mode 100644 lib/Endpoint/UpdateLaunchpadTextBlockContent.php delete mode 100644 lib/Endpoint/UpdateLaunchpadYoutubeVideo.php delete mode 100644 lib/Endpoint/UpdateLink.php delete mode 100644 lib/Endpoint/UpdateOAuthApp.php delete mode 100644 lib/Endpoint/UpdateOAuthAppClientSecret.php delete mode 100644 lib/Endpoint/UpdateOrganization.php delete mode 100644 lib/Endpoint/UpdateOrganizationSSOSettings.php delete mode 100644 lib/Endpoint/UpdateOverridesForBitlink.php delete mode 100644 lib/Endpoint/UpdatePaymentContactInfo.php delete mode 100644 lib/Endpoint/UpdateSiteAppearance.php delete mode 100644 lib/Endpoint/UpdateSiteButton.php delete mode 100644 lib/Endpoint/UpdateSitesToKeep.php delete mode 100644 lib/Endpoint/UpdateStripeCustomer.php delete mode 100644 lib/Endpoint/UpdateUserWithRole.php delete mode 100644 lib/Endpoint/UpgradeOrganization.php delete mode 100644 lib/Endpoint/UpgradeOrganizationWithStripeSubscription.php delete mode 100644 lib/Endpoint/UpgradeQRCodeToBitlink.php delete mode 100644 lib/Endpoint/UploadImage.php delete mode 100644 lib/Endpoint/UploadLaunchpadImage.php delete mode 100644 lib/Endpoint/UpsertOrgEmail.php delete mode 100644 lib/Endpoint/UserAcceptInvite.php delete mode 100644 lib/Endpoint/ValidateBulkUpload.php delete mode 100644 lib/Endpoint/ValidateCustomDomain.php delete mode 100644 lib/Endpoint/ValidatePromoCode.php delete mode 100644 lib/Endpoint/ValidateStripePromoCode.php delete mode 100644 lib/Endpoint/VerifySSOSlug.php delete mode 100644 lib/Endpoint/VerifyTwoFactorCode.php delete mode 100644 lib/Exception/AddEmailToUserBadRequestException.php delete mode 100644 lib/Exception/AddEmailToUserForbiddenException.php delete mode 100644 lib/Exception/AddEmailToUserInternalServerErrorException.php delete mode 100644 lib/Exception/AddEmailToUserNotFoundException.php delete mode 100644 lib/Exception/AddEmailToUserUnprocessableEntityException.php delete mode 100644 lib/Exception/AddUserWithRoleBadRequestException.php delete mode 100644 lib/Exception/AddUserWithRoleForbiddenException.php delete mode 100644 lib/Exception/AddUserWithRoleInternalServerErrorException.php delete mode 100644 lib/Exception/AddUserWithRoleServiceUnavailableException.php delete mode 100644 lib/Exception/AddUserWithRoleUnprocessableEntityException.php delete mode 100644 lib/Exception/AiDomainSearchBadRequestException.php delete mode 100644 lib/Exception/AiDomainSearchForbiddenException.php delete mode 100644 lib/Exception/AiDomainSearchInternalServerErrorException.php delete mode 100644 lib/Exception/AnnualRenewalReminderBadRequestException.php delete mode 100644 lib/Exception/AnnualRenewalReminderInternalServerErrorException.php delete mode 100644 lib/Exception/AnnualRenewalReminderServiceUnavailableException.php delete mode 100644 lib/Exception/AnnualRenewalReminderUnprocessableEntityException.php delete mode 100644 lib/Exception/ApplyDiscountBadRequestException.php delete mode 100644 lib/Exception/ApplyDiscountForbiddenException.php delete mode 100644 lib/Exception/ApplyDiscountInternalServerErrorException.php delete mode 100644 lib/Exception/ApplyDiscountNotFoundException.php delete mode 100644 lib/Exception/ApplyDiscountServiceUnavailableException.php delete mode 100644 lib/Exception/ApplyDiscountUnprocessableEntityException.php delete mode 100644 lib/Exception/ApplyStripeDiscountBadRequestException.php delete mode 100644 lib/Exception/ApplyStripeDiscountForbiddenException.php delete mode 100644 lib/Exception/ApplyStripeDiscountInternalServerErrorException.php delete mode 100644 lib/Exception/ApplyStripeDiscountNotFoundException.php delete mode 100644 lib/Exception/ApplyStripeDiscountServiceUnavailableException.php delete mode 100644 lib/Exception/ApplyStripeDiscountUnprocessableEntityException.php delete mode 100644 lib/Exception/ApplyTemplateForbiddenException.php delete mode 100644 lib/Exception/ApplyTemplateInternalServerErrorException.php delete mode 100644 lib/Exception/ApplyTemplateNotFoundException.php delete mode 100644 lib/Exception/ApplyTemplateServiceUnavailableException.php delete mode 100644 lib/Exception/ApplyTemplateUnprocessableEntityException.php delete mode 100644 lib/Exception/BulkAddBadRequestException.php delete mode 100644 lib/Exception/BulkAddForbiddenException.php delete mode 100644 lib/Exception/BulkAddInternalServerErrorException.php delete mode 100644 lib/Exception/BulkAddNotFoundException.php delete mode 100644 lib/Exception/CampaignAddBitlinkBadRequestException.php delete mode 100644 lib/Exception/CampaignAddBitlinkForbiddenException.php delete mode 100644 lib/Exception/CampaignAddBitlinkInternalServerErrorException.php delete mode 100644 lib/Exception/CampaignAddBitlinkNotFoundException.php delete mode 100644 lib/Exception/CampaignAddBitlinkPaymentRequiredException.php delete mode 100644 lib/Exception/CampaignAddBitlinkServiceUnavailableException.php delete mode 100644 lib/Exception/CampaignAddBitlinkUnprocessableEntityException.php delete mode 100644 lib/Exception/CancelPendingDowngradeForbiddenException.php delete mode 100644 lib/Exception/CancelPendingDowngradeInternalServerErrorException.php delete mode 100644 lib/Exception/CancelPendingDowngradeNotFoundException.php delete mode 100644 lib/Exception/CancelPendingDowngradeStripeForbiddenException.php delete mode 100644 lib/Exception/CancelPendingDowngradeStripeInternalServerErrorException.php delete mode 100644 lib/Exception/CancelPendingDowngradeStripeNotFoundException.php delete mode 100644 lib/Exception/CaptureEventForbiddenException.php delete mode 100644 lib/Exception/CaptureEventInternalServerErrorException.php delete mode 100644 lib/Exception/ChangeUserPasswordBadRequestException.php delete mode 100644 lib/Exception/ChangeUserPasswordForbiddenException.php delete mode 100644 lib/Exception/ChangeUserPasswordInternalServerErrorException.php delete mode 100644 lib/Exception/ChangeUserPasswordNotFoundException.php delete mode 100644 lib/Exception/ChangeUserPasswordUnprocessableEntityException.php delete mode 100644 lib/Exception/CheckDomainDNSInternalServerErrorException.php delete mode 100644 lib/Exception/CheckShareableReportBadRequestException.php delete mode 100644 lib/Exception/CheckShareableReportForbiddenException.php delete mode 100644 lib/Exception/CheckShareableReportInternalServerErrorException.php delete mode 100644 lib/Exception/CheckShareableReportNotFoundException.php delete mode 100644 lib/Exception/CheckShareableReportServiceUnavailableException.php delete mode 100644 lib/Exception/CloneSiteBadRequestException.php delete mode 100644 lib/Exception/CloneSiteForbiddenException.php delete mode 100644 lib/Exception/CloneSiteInternalServerErrorException.php delete mode 100644 lib/Exception/CloneSitePaymentRequiredException.php delete mode 100644 lib/Exception/CloneSiteServiceUnavailableException.php delete mode 100644 lib/Exception/CreateAnalyticsModuleBadRequestException.php delete mode 100644 lib/Exception/CreateAnalyticsModuleForbiddenException.php delete mode 100644 lib/Exception/CreateAnalyticsModuleInternalServerErrorException.php delete mode 100644 lib/Exception/CreateAnalyticsModuleNotFoundException.php delete mode 100644 lib/Exception/CreateAnalyticsModuleServiceUnavailableException.php delete mode 100644 lib/Exception/CreateAnalyticsReportBadRequestException.php delete mode 100644 lib/Exception/CreateAnalyticsReportForbiddenException.php delete mode 100644 lib/Exception/CreateAnalyticsReportInternalServerErrorException.php delete mode 100644 lib/Exception/CreateAnalyticsReportNotFoundException.php delete mode 100644 lib/Exception/CreateAnalyticsReportServiceUnavailableException.php delete mode 100644 lib/Exception/CreateCampaignChannelBadRequestException.php delete mode 100644 lib/Exception/CreateCampaignChannelInternalServerErrorException.php delete mode 100644 lib/Exception/CreateCampaignChannelUnprocessableEntityException.php delete mode 100644 lib/Exception/CreateChannelBitlinkBadRequestException.php delete mode 100644 lib/Exception/CreateChannelBitlinkInternalServerErrorException.php delete mode 100644 lib/Exception/CreateChannelBitlinkUnprocessableEntityException.php delete mode 100644 lib/Exception/CreateContainerBadRequestException.php delete mode 100644 lib/Exception/CreateContainerForbiddenException.php delete mode 100644 lib/Exception/CreateContainerInternalServerErrorException.php delete mode 100644 lib/Exception/CreateContainerNotFoundException.php delete mode 100644 lib/Exception/CreateContainerServiceUnavailableException.php delete mode 100644 lib/Exception/CreateContainerUnprocessableEntityException.php delete mode 100644 lib/Exception/CreateCustomerBadRequestException.php delete mode 100644 lib/Exception/CreateCustomerForbiddenException.php delete mode 100644 lib/Exception/CreateCustomerInternalServerErrorException.php delete mode 100644 lib/Exception/CreateCustomerUnprocessableEntityException.php delete mode 100644 lib/Exception/CreateDeeplinkAppBadRequestException.php delete mode 100644 lib/Exception/CreateDeeplinkAppExpectationFailedException.php delete mode 100644 lib/Exception/CreateDeeplinkAppForbiddenException.php delete mode 100644 lib/Exception/CreateDeeplinkAppInternalServerErrorException.php delete mode 100644 lib/Exception/CreateDeeplinkAppServiceUnavailableException.php delete mode 100644 lib/Exception/CreateDeeplinkAppUnprocessableEntityException.php delete mode 100644 lib/Exception/CreateDeeplinkRuleForbiddenException.php delete mode 100644 lib/Exception/CreateDeeplinkRuleInternalServerErrorException.php delete mode 100644 lib/Exception/CreateDeeplinkRuleNotFoundException.php delete mode 100644 lib/Exception/CreateDeeplinkRulePaymentRequiredException.php delete mode 100644 lib/Exception/CreateDefaultAnalyticsReportForGroupBadRequestException.php delete mode 100644 lib/Exception/CreateDefaultAnalyticsReportForGroupForbiddenException.php delete mode 100644 lib/Exception/CreateDefaultAnalyticsReportForGroupInternalServerErrorException.php delete mode 100644 lib/Exception/CreateDefaultAnalyticsReportForGroupNotFoundException.php delete mode 100644 lib/Exception/CreateDefaultAnalyticsReportForGroupServiceUnavailableException.php delete mode 100644 lib/Exception/CreateFocusBadRequestException.php delete mode 100644 lib/Exception/CreateFocusForbiddenException.php delete mode 100644 lib/Exception/CreateFocusInternalServerErrorException.php delete mode 100644 lib/Exception/CreateGenericAccessTokenBadRequestException.php delete mode 100644 lib/Exception/CreateGenericAccessTokenForbiddenException.php delete mode 100644 lib/Exception/CreateGenericAccessTokenInternalServerErrorException.php delete mode 100644 lib/Exception/CreateGenericAccessTokenNotFoundException.php delete mode 100644 lib/Exception/CreateGenericAccessTokenUnauthorizedException.php delete mode 100644 lib/Exception/CreateGroupBadRequestException.php delete mode 100644 lib/Exception/CreateGroupForbiddenException.php delete mode 100644 lib/Exception/CreateGroupInternalServerErrorException.php delete mode 100644 lib/Exception/CreateGroupTooManyRequestsException.php delete mode 100644 lib/Exception/CreateGroupUnprocessableEntityException.php delete mode 100644 lib/Exception/CreateInterventionBadRequestException.php delete mode 100644 lib/Exception/CreateInterventionForbiddenException.php delete mode 100644 lib/Exception/CreateInterventionInternalServerErrorException.php delete mode 100644 lib/Exception/CreateInterventionServiceUnavailableException.php delete mode 100644 lib/Exception/CreateInterventionUnprocessableEntityException.php delete mode 100644 lib/Exception/CreateLaunchpadBadRequestException.php delete mode 100644 lib/Exception/CreateLaunchpadButtonBadRequestException.php delete mode 100644 lib/Exception/CreateLaunchpadButtonForbiddenException.php delete mode 100644 lib/Exception/CreateLaunchpadButtonInternalServerErrorException.php delete mode 100644 lib/Exception/CreateLaunchpadButtonNotFoundException.php delete mode 100644 lib/Exception/CreateLaunchpadButtonServiceUnavailableException.php delete mode 100644 lib/Exception/CreateLaunchpadContentBitlinkBadRequestException.php delete mode 100644 lib/Exception/CreateLaunchpadContentBitlinkForbiddenException.php delete mode 100644 lib/Exception/CreateLaunchpadContentBitlinkInternalServerErrorException.php delete mode 100644 lib/Exception/CreateLaunchpadContentBitlinkNotFoundException.php delete mode 100644 lib/Exception/CreateLaunchpadContentBitlinkServiceUnavailableException.php delete mode 100644 lib/Exception/CreateLaunchpadContentImageBadRequestException.php delete mode 100644 lib/Exception/CreateLaunchpadContentImageForbiddenException.php delete mode 100644 lib/Exception/CreateLaunchpadContentImageInternalServerErrorException.php delete mode 100644 lib/Exception/CreateLaunchpadContentImageNotFoundException.php delete mode 100644 lib/Exception/CreateLaunchpadContentImageServiceUnavailableException.php delete mode 100644 lib/Exception/CreateLaunchpadContentSocialBadRequestException.php delete mode 100644 lib/Exception/CreateLaunchpadContentSocialForbiddenException.php delete mode 100644 lib/Exception/CreateLaunchpadContentSocialInternalServerErrorException.php delete mode 100644 lib/Exception/CreateLaunchpadContentSocialNotFoundException.php delete mode 100644 lib/Exception/CreateLaunchpadContentSocialServiceUnavailableException.php delete mode 100644 lib/Exception/CreateLaunchpadContentYoutubeVideoBadRequestException.php delete mode 100644 lib/Exception/CreateLaunchpadContentYoutubeVideoForbiddenException.php delete mode 100644 lib/Exception/CreateLaunchpadContentYoutubeVideoInternalServerErrorException.php delete mode 100644 lib/Exception/CreateLaunchpadContentYoutubeVideoNotFoundException.php delete mode 100644 lib/Exception/CreateLaunchpadContentYoutubeVideoServiceUnavailableException.php delete mode 100644 lib/Exception/CreateLaunchpadForbiddenException.php delete mode 100644 lib/Exception/CreateLaunchpadInternalServerErrorException.php delete mode 100644 lib/Exception/CreateLaunchpadServiceUnavailableException.php delete mode 100644 lib/Exception/CreateLinkBadRequestException.php delete mode 100644 lib/Exception/CreateLinkConflictException.php delete mode 100644 lib/Exception/CreateLinkExpectationFailedException.php delete mode 100644 lib/Exception/CreateLinkForbiddenException.php delete mode 100644 lib/Exception/CreateLinkInternalServerErrorException.php delete mode 100644 lib/Exception/CreateLinkNotFoundException.php delete mode 100644 lib/Exception/CreateLinkPaymentRequiredException.php delete mode 100644 lib/Exception/CreateLinkServiceUnavailableException.php delete mode 100644 lib/Exception/CreateLinkTooManyRequestsException.php delete mode 100644 lib/Exception/CreateLinkUnprocessableEntityException.php delete mode 100644 lib/Exception/CreateOAuthAppBadRequestException.php delete mode 100644 lib/Exception/CreateOAuthAppForbiddenException.php delete mode 100644 lib/Exception/CreateOAuthAppInternalServerErrorException.php delete mode 100644 lib/Exception/CreateOrgDomainVerificationEmailBadRequestException.php delete mode 100644 lib/Exception/CreateOrgDomainVerificationEmailForbiddenException.php delete mode 100644 lib/Exception/CreateOrgDomainVerificationEmailInternalServerErrorException.php delete mode 100644 lib/Exception/CreateOrgDomainVerificationEmailPaymentRequiredException.php delete mode 100644 lib/Exception/CreateOrganizationInvitationsBadRequestException.php delete mode 100644 lib/Exception/CreateOrganizationInvitationsForbiddenException.php delete mode 100644 lib/Exception/CreateOrganizationInvitationsInternalServerErrorException.php delete mode 100644 lib/Exception/CreateOrganizationInvitationsPaymentRequiredException.php delete mode 100644 lib/Exception/CreateOrganizationInvitationsServiceUnavailableException.php delete mode 100644 lib/Exception/CreateOrganizationInvitationsTooManyRequestsException.php delete mode 100644 lib/Exception/CreateOrganizationSSOSettingsBadRequestException.php delete mode 100644 lib/Exception/CreateOrganizationSSOSettingsForbiddenException.php delete mode 100644 lib/Exception/CreateOrganizationSSOSettingsInternalServerErrorException.php delete mode 100644 lib/Exception/CreateOrganizationSSOSettingsPaymentRequiredException.php delete mode 100644 lib/Exception/CreateOrganizationSSOSettingsServiceUnavailableException.php delete mode 100644 lib/Exception/CreateOrganizationSSOSettingsUnprocessableEntityException.php delete mode 100644 lib/Exception/CreateOverridesForBitlinkBadRequestException.php delete mode 100644 lib/Exception/CreateOverridesForBitlinkConflictException.php delete mode 100644 lib/Exception/CreateOverridesForBitlinkForbiddenException.php delete mode 100644 lib/Exception/CreateOverridesForBitlinkInternalServerErrorException.php delete mode 100644 lib/Exception/CreateOverridesForBitlinkNotFoundException.php delete mode 100644 lib/Exception/CreateOverridesForBitlinkPaymentRequiredException.php delete mode 100644 lib/Exception/CreateOverridesForBitlinkServiceUnavailableException.php delete mode 100644 lib/Exception/CreateOverridesForBitlinkTooManyRequestsException.php delete mode 100644 lib/Exception/CreateOverridesForBitlinkUnprocessableEntityException.php delete mode 100644 lib/Exception/CreatePayPalBillingAgreementBadRequestException.php delete mode 100644 lib/Exception/CreatePayPalBillingAgreementForbiddenException.php delete mode 100644 lib/Exception/CreatePayPalBillingAgreementInternalServerErrorException.php delete mode 100644 lib/Exception/CreatePayPalBillingAgreementTokenBadRequestException.php delete mode 100644 lib/Exception/CreatePayPalBillingAgreementTokenForbiddenException.php delete mode 100644 lib/Exception/CreatePayPalBillingAgreementTokenInternalServerErrorException.php delete mode 100644 lib/Exception/CreatePayPalBillingAgreementTokenUnprocessableEntityException.php delete mode 100644 lib/Exception/CreatePayPalBillingAgreementUnprocessableEntityException.php delete mode 100644 lib/Exception/CreatePaymentMethodBadRequestException.php delete mode 100644 lib/Exception/CreatePaymentMethodForbiddenException.php delete mode 100644 lib/Exception/CreatePaymentMethodInternalServerErrorException.php delete mode 100644 lib/Exception/CreatePaymentMethodServiceUnavailableException.php delete mode 100644 lib/Exception/CreatePaymentMethodUnprocessableEntityException.php delete mode 100644 lib/Exception/CreateQRCodePreviewBadRequestException.php delete mode 100644 lib/Exception/CreateQRCodePreviewForbiddenException.php delete mode 100644 lib/Exception/CreateQRCodePreviewGoneException.php delete mode 100644 lib/Exception/CreateQRCodePreviewInternalServerErrorException.php delete mode 100644 lib/Exception/CreateQRCodePreviewNotFoundException.php delete mode 100644 lib/Exception/CreateQRCodePreviewPaymentRequiredException.php delete mode 100644 lib/Exception/CreateQRCodeTemplateBadRequestException.php delete mode 100644 lib/Exception/CreateQRCodeTemplateForbiddenException.php delete mode 100644 lib/Exception/CreateQRCodeTemplateGoneException.php delete mode 100644 lib/Exception/CreateQRCodeTemplateInternalServerErrorException.php delete mode 100644 lib/Exception/CreateQRCodeTemplateNotFoundException.php delete mode 100644 lib/Exception/CreateQRCodeTemplatePaymentRequiredException.php delete mode 100644 lib/Exception/CreateShareableReportBadRequestException.php delete mode 100644 lib/Exception/CreateShareableReportForbiddenException.php delete mode 100644 lib/Exception/CreateShareableReportInternalServerErrorException.php delete mode 100644 lib/Exception/CreateShareableReportNotFoundException.php delete mode 100644 lib/Exception/CreateShareableReportServiceUnavailableException.php delete mode 100644 lib/Exception/CreateShopifyIntegrationOAuthBadRequestException.php delete mode 100644 lib/Exception/CreateShopifyIntegrationOAuthConflictException.php delete mode 100644 lib/Exception/CreateShopifyIntegrationOAuthForbiddenException.php delete mode 100644 lib/Exception/CreateShopifyIntegrationOAuthInternalServerErrorException.php delete mode 100644 lib/Exception/CreateShopifyIntegrationOAuthServiceUnavailableException.php delete mode 100644 lib/Exception/CreateShopifyIntegrationOAuthUnprocessableEntityException.php delete mode 100644 lib/Exception/CreateSiteBadRequestException.php delete mode 100644 lib/Exception/CreateSiteContentBadRequestException.php delete mode 100644 lib/Exception/CreateSiteContentForbiddenException.php delete mode 100644 lib/Exception/CreateSiteContentInternalServerErrorException.php delete mode 100644 lib/Exception/CreateSiteContentNotFoundException.php delete mode 100644 lib/Exception/CreateSiteContentServiceUnavailableException.php delete mode 100644 lib/Exception/CreateSiteForbiddenException.php delete mode 100644 lib/Exception/CreateSiteInternalServerErrorException.php delete mode 100644 lib/Exception/CreateSitePaymentRequiredException.php delete mode 100644 lib/Exception/CreateSiteServiceUnavailableException.php delete mode 100644 lib/Exception/CreateSiteUnprocessableEntityException.php delete mode 100644 lib/Exception/CreateStripeSetupIntentBadRequestException.php delete mode 100644 lib/Exception/CreateStripeSetupIntentForbiddenException.php delete mode 100644 lib/Exception/CreateStripeSetupIntentInternalServerErrorException.php delete mode 100644 lib/Exception/CreateStripeSetupIntentServiceUnavailableException.php delete mode 100644 lib/Exception/CreateStripeSetupIntentUnprocessableEntityException.php delete mode 100644 lib/Exception/CreateSubscriptionBadRequestException.php delete mode 100644 lib/Exception/CreateSubscriptionForbiddenException.php delete mode 100644 lib/Exception/CreateSubscriptionInternalServerErrorException.php delete mode 100644 lib/Exception/CreateSubscriptionUnprocessableEntityException.php delete mode 100644 lib/Exception/CreateUserBadRequestException.php delete mode 100644 lib/Exception/CreateUserInternalServerErrorException.php delete mode 100644 lib/Exception/CreateUserTooManyRequestsException.php delete mode 100644 lib/Exception/CreateUserUnprocessableEntityException.php delete mode 100644 lib/Exception/DeactivateDeeplinkAppForbiddenException.php delete mode 100644 lib/Exception/DeactivateDeeplinkAppInternalServerErrorException.php delete mode 100644 lib/Exception/DeactivateDeeplinkAppNotFoundException.php delete mode 100644 lib/Exception/DeactivateDeeplinkAppPaymentRequiredException.php delete mode 100644 lib/Exception/DeactivateDeeplinkAppServiceUnavailableException.php delete mode 100644 lib/Exception/DeleteAnalyticsModuleByReportForbiddenException.php delete mode 100644 lib/Exception/DeleteAnalyticsModuleByReportInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteAnalyticsModuleByReportNotFoundException.php delete mode 100644 lib/Exception/DeleteAnalyticsModuleByReportPaymentRequiredException.php delete mode 100644 lib/Exception/DeleteAnalyticsModuleForbiddenException.php delete mode 100644 lib/Exception/DeleteAnalyticsModuleInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteAnalyticsModuleNotFoundException.php delete mode 100644 lib/Exception/DeleteAnalyticsModulePaymentRequiredException.php delete mode 100644 lib/Exception/DeleteAnalyticsReportBadRequestException.php delete mode 100644 lib/Exception/DeleteAnalyticsReportForbiddenException.php delete mode 100644 lib/Exception/DeleteAnalyticsReportInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteAnalyticsReportNotFoundException.php delete mode 100644 lib/Exception/DeleteAnalyticsReportPaymentRequiredException.php delete mode 100644 lib/Exception/DeleteAnalyticsReportServiceUnavailableException.php delete mode 100644 lib/Exception/DeleteCampaignForbiddenException.php delete mode 100644 lib/Exception/DeleteCampaignInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteCampaignNotFoundException.php delete mode 100644 lib/Exception/DeleteCampaignPaymentRequiredException.php delete mode 100644 lib/Exception/DeleteCampaignServiceUnavailableException.php delete mode 100644 lib/Exception/DeleteCanvaUserBrandsByLoginBadRequestException.php delete mode 100644 lib/Exception/DeleteCanvaUserBrandsByLoginInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteChannelBitlinkBadRequestException.php delete mode 100644 lib/Exception/DeleteChannelBitlinkInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteChannelBitlinkUnprocessableEntityException.php delete mode 100644 lib/Exception/DeleteChannelForbiddenException.php delete mode 100644 lib/Exception/DeleteChannelInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteChannelNotFoundException.php delete mode 100644 lib/Exception/DeleteChannelPaymentRequiredException.php delete mode 100644 lib/Exception/DeleteChannelServiceUnavailableException.php delete mode 100644 lib/Exception/DeleteCustomDomainForbiddenException.php delete mode 100644 lib/Exception/DeleteCustomDomainInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteCustomDomainUnprocessableEntityException.php delete mode 100644 lib/Exception/DeleteDeeplinkRuleForbiddenException.php delete mode 100644 lib/Exception/DeleteDeeplinkRuleInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteDeeplinkRuleNotFoundException.php delete mode 100644 lib/Exception/DeleteDeeplinkRulePaymentRequiredException.php delete mode 100644 lib/Exception/DeleteDeeplinkRuleServiceUnavailableException.php delete mode 100644 lib/Exception/DeleteEmailBadRequestException.php delete mode 100644 lib/Exception/DeleteEmailForbiddenException.php delete mode 100644 lib/Exception/DeleteEmailInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteEmailNotFoundException.php delete mode 100644 lib/Exception/DeleteEmailServiceUnavailableException.php delete mode 100644 lib/Exception/DeleteGroupForbiddenException.php delete mode 100644 lib/Exception/DeleteGroupInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteGroupNotFoundException.php delete mode 100644 lib/Exception/DeleteGroupServiceUnavailableException.php delete mode 100644 lib/Exception/DeleteGroupTooManyRequestsException.php delete mode 100644 lib/Exception/DeleteIntegrationOAuthBadRequestException.php delete mode 100644 lib/Exception/DeleteIntegrationOAuthForbiddenException.php delete mode 100644 lib/Exception/DeleteIntegrationOAuthInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteIntegrationOAuthServiceUnavailableException.php delete mode 100644 lib/Exception/DeleteInvitationForbiddenException.php delete mode 100644 lib/Exception/DeleteInvitationInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteInvitationNotFoundException.php delete mode 100644 lib/Exception/DeleteInvitationTooManyRequestsException.php delete mode 100644 lib/Exception/DeleteLaunchpadBadRequestException.php delete mode 100644 lib/Exception/DeleteLaunchpadButtonForbiddenException.php delete mode 100644 lib/Exception/DeleteLaunchpadButtonInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteLaunchpadButtonNotFoundException.php delete mode 100644 lib/Exception/DeleteLaunchpadButtonServiceUnavailableException.php delete mode 100644 lib/Exception/DeleteLaunchpadForbiddenException.php delete mode 100644 lib/Exception/DeleteLaunchpadImageByImageUseForbiddenException.php delete mode 100644 lib/Exception/DeleteLaunchpadImageByImageUseInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteLaunchpadImageByImageUseNotFoundException.php delete mode 100644 lib/Exception/DeleteLaunchpadImageByImageUseServiceUnavailableException.php delete mode 100644 lib/Exception/DeleteLaunchpadInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteLaunchpadNotFoundException.php delete mode 100644 lib/Exception/DeleteLaunchpadServiceUnavailableException.php delete mode 100644 lib/Exception/DeleteQRCodeTemplateForbiddenException.php delete mode 100644 lib/Exception/DeleteQRCodeTemplateInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteQRCodeTemplateNotFoundException.php delete mode 100644 lib/Exception/DeleteQRCodeTemplateServiceUnavailableException.php delete mode 100644 lib/Exception/DeleteSiteBadRequestException.php delete mode 100644 lib/Exception/DeleteSiteButtonBadRequestException.php delete mode 100644 lib/Exception/DeleteSiteButtonForbiddenException.php delete mode 100644 lib/Exception/DeleteSiteButtonInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteSiteButtonNotFoundException.php delete mode 100644 lib/Exception/DeleteSiteButtonServiceUnavailableException.php delete mode 100644 lib/Exception/DeleteSiteForbiddenException.php delete mode 100644 lib/Exception/DeleteSiteInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteSiteNotFoundException.php delete mode 100644 lib/Exception/DeleteSiteServiceUnavailableException.php delete mode 100644 lib/Exception/DeleteUserBadRequestException.php delete mode 100644 lib/Exception/DeleteUserForbiddenException.php delete mode 100644 lib/Exception/DeleteUserInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteUserWithRoleBadRequestException.php delete mode 100644 lib/Exception/DeleteUserWithRoleForbiddenException.php delete mode 100644 lib/Exception/DeleteUserWithRoleInternalServerErrorException.php delete mode 100644 lib/Exception/DeleteUserWithRoleServiceUnavailableException.php delete mode 100644 lib/Exception/DeleteUserWithRoleUnprocessableEntityException.php delete mode 100644 lib/Exception/Disable2FABadRequestException.php delete mode 100644 lib/Exception/Disable2FAForbiddenException.php delete mode 100644 lib/Exception/Disable2FAInternalServerErrorException.php delete mode 100644 lib/Exception/Disable2FANotFoundException.php delete mode 100644 lib/Exception/Disable2FAServiceUnavailableException.php delete mode 100644 lib/Exception/Disable2FAUnauthorizedException.php delete mode 100644 lib/Exception/Disable2FAUnprocessableEntityException.php delete mode 100644 lib/Exception/DiscardDraftLaunchpadBadRequestException.php delete mode 100644 lib/Exception/DiscardDraftLaunchpadForbiddenException.php delete mode 100644 lib/Exception/DiscardDraftLaunchpadInternalServerErrorException.php delete mode 100644 lib/Exception/DiscardDraftLaunchpadServiceUnavailableException.php delete mode 100644 lib/Exception/DiscardSiteDraftBadRequestException.php delete mode 100644 lib/Exception/DiscardSiteDraftForbiddenException.php delete mode 100644 lib/Exception/DiscardSiteDraftInternalServerErrorException.php delete mode 100644 lib/Exception/DiscardSiteDraftNotFoundException.php delete mode 100644 lib/Exception/DiscardSiteDraftUnprocessableEntityException.php delete mode 100644 lib/Exception/DowngradeOrganizationInternalServerErrorException.php delete mode 100644 lib/Exception/DowngradeOrganizationUnprocessableEntityException.php delete mode 100644 lib/Exception/DuplicateAnalyticsReportBadRequestException.php delete mode 100644 lib/Exception/DuplicateAnalyticsReportForbiddenException.php delete mode 100644 lib/Exception/DuplicateAnalyticsReportInternalServerErrorException.php delete mode 100644 lib/Exception/DuplicateAnalyticsReportNotFoundException.php delete mode 100644 lib/Exception/DuplicateAnalyticsReportServiceUnavailableException.php delete mode 100644 lib/Exception/EditCustomDomainForbiddenException.php delete mode 100644 lib/Exception/EditCustomDomainInternalServerErrorException.php delete mode 100644 lib/Exception/EditQRCodePreviewBadRequestException.php delete mode 100644 lib/Exception/EditQRCodePreviewForbiddenException.php delete mode 100644 lib/Exception/EditQRCodePreviewGoneException.php delete mode 100644 lib/Exception/EditQRCodePreviewInternalServerErrorException.php delete mode 100644 lib/Exception/EditQRCodePreviewNotFoundException.php delete mode 100644 lib/Exception/EditQRCodePreviewPaymentRequiredException.php delete mode 100644 lib/Exception/EvaluateInterventionBadRequestException.php delete mode 100644 lib/Exception/EvaluateInterventionForbiddenException.php delete mode 100644 lib/Exception/EvaluateInterventionInternalServerErrorException.php delete mode 100644 lib/Exception/EvaluateInterventionServiceUnavailableException.php delete mode 100644 lib/Exception/EvaluateInterventionUnprocessableEntityException.php delete mode 100644 lib/Exception/ExperimentDecideBadRequestException.php delete mode 100644 lib/Exception/ExperimentDecideForbiddenException.php delete mode 100644 lib/Exception/ExperimentDecideInternalServerErrorException.php delete mode 100644 lib/Exception/ExperimentDecideUnprocessableEntityException.php delete mode 100644 lib/Exception/ExperimentTrackForbiddenException.php delete mode 100644 lib/Exception/ExperimentTrackInternalServerErrorException.php delete mode 100644 lib/Exception/ExperimentTrackUnprocessableEntityException.php delete mode 100644 lib/Exception/ExpireOAuthAuthorizationBadRequestException.php delete mode 100644 lib/Exception/ExpireOAuthAuthorizationInternalServerErrorException.php delete mode 100644 lib/Exception/ExpireOAuthAuthorizationNotFoundException.php delete mode 100644 lib/Exception/ExpireOAuthAuthorizationServiceUnavailableException.php delete mode 100644 lib/Exception/FetchCompDomainPurchaseForbiddenException.php delete mode 100644 lib/Exception/FetchCompDomainPurchaseGatewayTimeoutException.php delete mode 100644 lib/Exception/FetchCompDomainPurchaseInternalServerErrorException.php delete mode 100644 lib/Exception/FetchDomainAgreementsInternalServerErrorException.php delete mode 100644 lib/Exception/FetchDomainStatusForbiddenException.php delete mode 100644 lib/Exception/FetchDomainStatusGatewayTimeoutException.php delete mode 100644 lib/Exception/FetchDomainStatusInternalServerErrorException.php delete mode 100644 lib/Exception/ForgetUserForbiddenException.php delete mode 100644 lib/Exception/ForgetUserInternalServerErrorException.php delete mode 100644 lib/Exception/ForgetUserServiceUnavailableException.php delete mode 100644 lib/Exception/FormCaptureBadRequestException.php delete mode 100644 lib/Exception/FormCaptureForbiddenException.php delete mode 100644 lib/Exception/FormCaptureInternalServerErrorException.php delete mode 100644 lib/Exception/FormCaptureServiceUnavailableException.php delete mode 100644 lib/Exception/FormCaptureUnprocessableEntityException.php delete mode 100644 lib/Exception/GatewayTimeoutException.php delete mode 100644 lib/Exception/GenerateBillingSignatureForbiddenException.php delete mode 100644 lib/Exception/GenerateBillingSignatureInternalServerErrorException.php delete mode 100644 lib/Exception/GetAccessFeaturesForbiddenException.php delete mode 100644 lib/Exception/GetAccessFeaturesInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateButtonClicksByCityBadRequestException.php delete mode 100644 lib/Exception/GetAggregateButtonClicksByCityForbiddenException.php delete mode 100644 lib/Exception/GetAggregateButtonClicksByCityInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateButtonClicksByCityServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateButtonClicksByCountryBadRequestException.php delete mode 100644 lib/Exception/GetAggregateButtonClicksByCountryForbiddenException.php delete mode 100644 lib/Exception/GetAggregateButtonClicksByCountryInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateButtonClicksByCountryServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateButtonClicksByDeviceBadRequestException.php delete mode 100644 lib/Exception/GetAggregateButtonClicksByDeviceForbiddenException.php delete mode 100644 lib/Exception/GetAggregateButtonClicksByDeviceInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateButtonClicksByDeviceServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateButtonClicksOverTimeBadRequestException.php delete mode 100644 lib/Exception/GetAggregateButtonClicksOverTimeForbiddenException.php delete mode 100644 lib/Exception/GetAggregateButtonClicksOverTimeInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateButtonClicksOverTimeServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateCodeScansByCityBadRequestException.php delete mode 100644 lib/Exception/GetAggregateCodeScansByCityForbiddenException.php delete mode 100644 lib/Exception/GetAggregateCodeScansByCityInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateCodeScansByCityServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateCodeScansByCountryBadRequestException.php delete mode 100644 lib/Exception/GetAggregateCodeScansByCountryForbiddenException.php delete mode 100644 lib/Exception/GetAggregateCodeScansByCountryInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateCodeScansByCountryServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateCodeScansOverTimeBadRequestException.php delete mode 100644 lib/Exception/GetAggregateCodeScansOverTimeForbiddenException.php delete mode 100644 lib/Exception/GetAggregateCodeScansOverTimeInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateCodeScansOverTimeServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateDigitalBusinessCardDownloadsOverTimeBadRequestException.php delete mode 100644 lib/Exception/GetAggregateDigitalBusinessCardDownloadsOverTimeForbiddenException.php delete mode 100644 lib/Exception/GetAggregateDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksBadRequestException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetBadRequestException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetForbiddenException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetGoneException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetNotFoundException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetPaymentRequiredException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksByFacetBadRequestException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksByFacetForbiddenException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksByFacetGoneException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksByFacetInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksByFacetNotFoundException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksByFacetPaymentRequiredException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksByFacetServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksForbiddenException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksGoneException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksNotFoundException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksPaymentRequiredException.php delete mode 100644 lib/Exception/GetAggregateEngagementsForBitlinksServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksByCityBadRequestException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksByCityForbiddenException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksByCityInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksByCityServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksByCountryBadRequestException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksByCountryForbiddenException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksByCountryInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksByCountryServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksByDeviceBadRequestException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksByDeviceForbiddenException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksByDeviceInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksByDeviceServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksByReferrerBadRequestException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksByReferrerForbiddenException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksByReferrerInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksByReferrerServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksOverTimeBadRequestException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksOverTimeForbiddenException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksOverTimeInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateLinkClicksOverTimeServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregatePageViewsByCityBadRequestException.php delete mode 100644 lib/Exception/GetAggregatePageViewsByCityForbiddenException.php delete mode 100644 lib/Exception/GetAggregatePageViewsByCityInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregatePageViewsByCityServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregatePageViewsByCountryBadRequestException.php delete mode 100644 lib/Exception/GetAggregatePageViewsByCountryForbiddenException.php delete mode 100644 lib/Exception/GetAggregatePageViewsByCountryInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregatePageViewsByCountryServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregatePageViewsByDeviceBadRequestException.php delete mode 100644 lib/Exception/GetAggregatePageViewsByDeviceForbiddenException.php delete mode 100644 lib/Exception/GetAggregatePageViewsByDeviceInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregatePageViewsByDeviceServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregatePageViewsByReferrerBadRequestException.php delete mode 100644 lib/Exception/GetAggregatePageViewsByReferrerForbiddenException.php delete mode 100644 lib/Exception/GetAggregatePageViewsByReferrerInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregatePageViewsByReferrerServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregatePageViewsOverTimeBadRequestException.php delete mode 100644 lib/Exception/GetAggregatePageViewsOverTimeForbiddenException.php delete mode 100644 lib/Exception/GetAggregatePageViewsOverTimeInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregatePageViewsOverTimeServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregatePagesOverviewBadRequestException.php delete mode 100644 lib/Exception/GetAggregatePagesOverviewForbiddenException.php delete mode 100644 lib/Exception/GetAggregatePagesOverviewInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregatePagesOverviewServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsByCityBadRequestException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsByCityForbiddenException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsByCityInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsByCityServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsByCountryBadRequestException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsByCountryForbiddenException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsByCountryInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsByCountryServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsByDeviceBadRequestException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsByDeviceForbiddenException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsByDeviceInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsByDeviceServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsByReferrerBadRequestException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsByReferrerForbiddenException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsByReferrerInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsByReferrerServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsOverTimeBadRequestException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsOverTimeForbiddenException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsOverTimeInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateSiteViewsOverTimeServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateSitesOverviewBadRequestException.php delete mode 100644 lib/Exception/GetAggregateSitesOverviewForbiddenException.php delete mode 100644 lib/Exception/GetAggregateSitesOverviewInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateSitesOverviewServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateTopButtonClicksBadRequestException.php delete mode 100644 lib/Exception/GetAggregateTopButtonClicksForbiddenException.php delete mode 100644 lib/Exception/GetAggregateTopButtonClicksInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateTopButtonClicksServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateTopCodeScansBadRequestException.php delete mode 100644 lib/Exception/GetAggregateTopCodeScansForbiddenException.php delete mode 100644 lib/Exception/GetAggregateTopCodeScansInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateTopCodeScansServiceUnavailableException.php delete mode 100644 lib/Exception/GetAggregateTopLinkClicksBadRequestException.php delete mode 100644 lib/Exception/GetAggregateTopLinkClicksForbiddenException.php delete mode 100644 lib/Exception/GetAggregateTopLinkClicksInternalServerErrorException.php delete mode 100644 lib/Exception/GetAggregateTopLinkClicksServiceUnavailableException.php delete mode 100644 lib/Exception/GetAllBrandCampaignsBadRequestException.php delete mode 100644 lib/Exception/GetAllBrandCampaignsInternalServerErrorException.php delete mode 100644 lib/Exception/GetAllBrandCampaignsUnprocessableEntityException.php delete mode 100644 lib/Exception/GetAnalyticsModuleForbiddenException.php delete mode 100644 lib/Exception/GetAnalyticsModuleInternalServerErrorException.php delete mode 100644 lib/Exception/GetAnalyticsModuleNotFoundException.php delete mode 100644 lib/Exception/GetAnalyticsModuleServiceUnavailableException.php delete mode 100644 lib/Exception/GetAnalyticsReportForbiddenException.php delete mode 100644 lib/Exception/GetAnalyticsReportInternalServerErrorException.php delete mode 100644 lib/Exception/GetAnalyticsReportNotFoundException.php delete mode 100644 lib/Exception/GetAnalyticsReportServiceUnavailableException.php delete mode 100644 lib/Exception/GetAnalyticsReportsByGroupPaginatedBadRequestException.php delete mode 100644 lib/Exception/GetAnalyticsReportsByGroupPaginatedForbiddenException.php delete mode 100644 lib/Exception/GetAnalyticsReportsByGroupPaginatedInternalServerErrorException.php delete mode 100644 lib/Exception/GetAnalyticsReportsByGroupPaginatedPaymentRequiredException.php delete mode 100644 lib/Exception/GetAnalyticsReportsByGroupPaginatedServiceUnavailableException.php delete mode 100644 lib/Exception/GetAnalyticsReportsListByGroupBadRequestException.php delete mode 100644 lib/Exception/GetAnalyticsReportsListByGroupForbiddenException.php delete mode 100644 lib/Exception/GetAnalyticsReportsListByGroupInternalServerErrorException.php delete mode 100644 lib/Exception/GetAnalyticsReportsListByGroupPaymentRequiredException.php delete mode 100644 lib/Exception/GetAnalyticsReportsListByGroupServiceUnavailableException.php delete mode 100644 lib/Exception/GetAnalyticsUsageBadRequestException.php delete mode 100644 lib/Exception/GetAnalyticsUsageForbiddenException.php delete mode 100644 lib/Exception/GetAnalyticsUsageInternalServerErrorException.php delete mode 100644 lib/Exception/GetAnalyticsUsageServiceUnavailableException.php delete mode 100644 lib/Exception/GetAppAssociationsForbiddenException.php delete mode 100644 lib/Exception/GetAppAssociationsInternalServerErrorException.php delete mode 100644 lib/Exception/GetAppAssociationsNotFoundException.php delete mode 100644 lib/Exception/GetAppAssociationsPaymentRequiredException.php delete mode 100644 lib/Exception/GetAppAssociationsServiceUnavailableException.php delete mode 100644 lib/Exception/GetAutobrandedDomainBadRequestException.php delete mode 100644 lib/Exception/GetAutobrandedDomainInternalServerErrorException.php delete mode 100644 lib/Exception/GetBillingAccountForbiddenException.php delete mode 100644 lib/Exception/GetBillingAccountIDForbiddenException.php delete mode 100644 lib/Exception/GetBillingAccountIDInternalServerErrorException.php delete mode 100644 lib/Exception/GetBillingAccountInternalServerErrorException.php delete mode 100644 lib/Exception/GetBillingProviderBadRequestException.php delete mode 100644 lib/Exception/GetBillingProviderForbiddenException.php delete mode 100644 lib/Exception/GetBillingProviderInternalServerErrorException.php delete mode 100644 lib/Exception/GetBitlinkClickCountsBadRequestException.php delete mode 100644 lib/Exception/GetBitlinkClickCountsGoneException.php delete mode 100644 lib/Exception/GetBitlinkClickCountsInternalServerErrorException.php delete mode 100644 lib/Exception/GetBitlinkClickCountsNotFoundException.php delete mode 100644 lib/Exception/GetBitlinkClickCountsServiceUnavailableException.php delete mode 100644 lib/Exception/GetBitlinkClickCountsUnprocessableEntityException.php delete mode 100644 lib/Exception/GetBitlinkClicksBadRequestException.php delete mode 100644 lib/Exception/GetBitlinkClicksForbiddenException.php delete mode 100644 lib/Exception/GetBitlinkClicksGoneException.php delete mode 100644 lib/Exception/GetBitlinkClicksInternalServerErrorException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserBadRequestException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserForbiddenException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserGoneException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserInternalServerErrorException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserNotFoundException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserPaymentRequiredException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserServiceUnavailableException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesBadRequestException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesForbiddenException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesGoneException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesInternalServerErrorException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesNotFoundException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesPaymentRequiredException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesServiceUnavailableException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesBadRequestException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesForbiddenException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesGoneException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesInternalServerErrorException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesNotFoundException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesPaymentRequiredException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesServiceUnavailableException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSBadRequestException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSForbiddenException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSGoneException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSInternalServerErrorException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSNotFoundException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSPaymentRequiredException.php delete mode 100644 lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSServiceUnavailableException.php delete mode 100644 lib/Exception/GetBitlinkClicksNotFoundException.php delete mode 100644 lib/Exception/GetBitlinkClicksServiceUnavailableException.php delete mode 100644 lib/Exception/GetBitlinkClicksSummaryBadRequestException.php delete mode 100644 lib/Exception/GetBitlinkClicksSummaryForbiddenException.php delete mode 100644 lib/Exception/GetBitlinkClicksSummaryGoneException.php delete mode 100644 lib/Exception/GetBitlinkClicksSummaryInternalServerErrorException.php delete mode 100644 lib/Exception/GetBitlinkClicksSummaryNotFoundException.php delete mode 100644 lib/Exception/GetBitlinkClicksSummaryServiceUnavailableException.php delete mode 100644 lib/Exception/GetBitlinkScansBadRequestException.php delete mode 100644 lib/Exception/GetBitlinkScansForbiddenException.php delete mode 100644 lib/Exception/GetBitlinkScansGoneException.php delete mode 100644 lib/Exception/GetBitlinkScansInternalServerErrorException.php delete mode 100644 lib/Exception/GetBitlinkScansNotFoundException.php delete mode 100644 lib/Exception/GetBitlinkScansServiceUnavailableException.php delete mode 100644 lib/Exception/GetBitlinkScansSummaryBadRequestException.php delete mode 100644 lib/Exception/GetBitlinkScansSummaryForbiddenException.php delete mode 100644 lib/Exception/GetBitlinkScansSummaryGoneException.php delete mode 100644 lib/Exception/GetBitlinkScansSummaryInternalServerErrorException.php delete mode 100644 lib/Exception/GetBitlinkScansSummaryNotFoundException.php delete mode 100644 lib/Exception/GetBitlinkScansSummaryServiceUnavailableException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesBadRequestException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesForbiddenException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesInternalServerErrorException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesNotFoundException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesServiceUnavailableException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesBadRequestException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesForbiddenException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesInternalServerErrorException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesNotFoundException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesServiceUnavailableException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesBadRequestException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesForbiddenException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesInternalServerErrorException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesNotFoundException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesServiceUnavailableException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeBadRequestException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeForbiddenException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeNotFoundException.php delete mode 100644 lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php delete mode 100644 lib/Exception/GetBrandCampaignBadRequestException.php delete mode 100644 lib/Exception/GetBrandCampaignInternalServerErrorException.php delete mode 100644 lib/Exception/GetBrandCampaignUnprocessableEntityException.php delete mode 100644 lib/Exception/GetBulkUploadsBadRequestException.php delete mode 100644 lib/Exception/GetBulkUploadsForbiddenException.php delete mode 100644 lib/Exception/GetBulkUploadsInternalServerErrorException.php delete mode 100644 lib/Exception/GetBulkUploadsNotFoundException.php delete mode 100644 lib/Exception/GetBulkUploadsPaymentRequiredException.php delete mode 100644 lib/Exception/GetBulkUploadsServiceUnavailableException.php delete mode 100644 lib/Exception/GetButtonClicksBadRequestException.php delete mode 100644 lib/Exception/GetButtonClicksForbiddenException.php delete mode 100644 lib/Exception/GetButtonClicksGoneException.php delete mode 100644 lib/Exception/GetButtonClicksInternalServerErrorException.php delete mode 100644 lib/Exception/GetButtonClicksNotFoundException.php delete mode 100644 lib/Exception/GetButtonClicksServiceUnavailableException.php delete mode 100644 lib/Exception/GetButtonClicksSummaryBadRequestException.php delete mode 100644 lib/Exception/GetButtonClicksSummaryForbiddenException.php delete mode 100644 lib/Exception/GetButtonClicksSummaryGoneException.php delete mode 100644 lib/Exception/GetButtonClicksSummaryInternalServerErrorException.php delete mode 100644 lib/Exception/GetButtonClicksSummaryNotFoundException.php delete mode 100644 lib/Exception/GetButtonClicksSummaryServiceUnavailableException.php delete mode 100644 lib/Exception/GetCampaignClicksForbiddenException.php delete mode 100644 lib/Exception/GetCampaignClicksInternalServerErrorException.php delete mode 100644 lib/Exception/GetCampaignClicksNotFoundException.php delete mode 100644 lib/Exception/GetCampaignClicksPaymentRequiredException.php delete mode 100644 lib/Exception/GetCampaignClicksServiceUnavailableException.php delete mode 100644 lib/Exception/GetCanvaUserBrandBadRequestException.php delete mode 100644 lib/Exception/GetCanvaUserBrandInternalServerErrorException.php delete mode 100644 lib/Exception/GetCanvaUserBrandNotFoundException.php delete mode 100644 lib/Exception/GetChildrenForBlockForbiddenException.php delete mode 100644 lib/Exception/GetChildrenForBlockInternalServerErrorException.php delete mode 100644 lib/Exception/GetChildrenForBlockNotFoundException.php delete mode 100644 lib/Exception/GetChildrenForBlockServiceUnavailableException.php delete mode 100644 lib/Exception/GetConsumableFeaturesConflictException.php delete mode 100644 lib/Exception/GetConsumableFeaturesForbiddenException.php delete mode 100644 lib/Exception/GetConsumableFeaturesInternalServerErrorException.php delete mode 100644 lib/Exception/GetCountryCallingCodesBadRequestException.php delete mode 100644 lib/Exception/GetCountryCallingCodesInternalServerErrorException.php delete mode 100644 lib/Exception/GetCurrencyInternalServerErrorException.php delete mode 100644 lib/Exception/GetCurrencyListInternalServerErrorException.php delete mode 100644 lib/Exception/GetCustomDomainForbiddenException.php delete mode 100644 lib/Exception/GetCustomDomainInternalServerErrorException.php delete mode 100644 lib/Exception/GetCustomDomainNotFoundException.php delete mode 100644 lib/Exception/GetCustomDomainServiceUnavailableException.php delete mode 100644 lib/Exception/GetCustomDomainsForbiddenException.php delete mode 100644 lib/Exception/GetCustomDomainsInternalServerErrorException.php delete mode 100644 lib/Exception/GetCustomDomainsServiceUnavailableException.php delete mode 100644 lib/Exception/GetCustomDomainsUnprocessableEntityException.php delete mode 100644 lib/Exception/GetDeeplinkAppForbiddenException.php delete mode 100644 lib/Exception/GetDeeplinkAppInternalServerErrorException.php delete mode 100644 lib/Exception/GetDeeplinkAppNotFoundException.php delete mode 100644 lib/Exception/GetDeeplinkAppServiceUnavailableException.php delete mode 100644 lib/Exception/GetDeeplinkAppsForbiddenException.php delete mode 100644 lib/Exception/GetDeeplinkAppsInternalServerErrorException.php delete mode 100644 lib/Exception/GetDeeplinkAppsServiceUnavailableException.php delete mode 100644 lib/Exception/GetDeeplinkMetricsRollupForbiddenException.php delete mode 100644 lib/Exception/GetDeeplinkMetricsRollupGoneException.php delete mode 100644 lib/Exception/GetDeeplinkMetricsRollupInternalServerErrorException.php delete mode 100644 lib/Exception/GetDeeplinkMetricsRollupNotFoundException.php delete mode 100644 lib/Exception/GetDeeplinkMetricsRollupPaymentRequiredException.php delete mode 100644 lib/Exception/GetDeeplinkMetricsRollupServiceUnavailableException.php delete mode 100644 lib/Exception/GetDeeplinkRulesForbiddenException.php delete mode 100644 lib/Exception/GetDeeplinkRulesInternalServerErrorException.php delete mode 100644 lib/Exception/GetDeeplinkRulesNotFoundException.php delete mode 100644 lib/Exception/GetDeeplinkRulesPaymentRequiredException.php delete mode 100644 lib/Exception/GetDeeplinkRulesServiceUnavailableException.php delete mode 100644 lib/Exception/GetDeeplinkRulesTooManyRequestsException.php delete mode 100644 lib/Exception/GetDomainRegistrarInfoInternalServerErrorException.php delete mode 100644 lib/Exception/GetEngagementsBadRequestException.php delete mode 100644 lib/Exception/GetEngagementsForbiddenException.php delete mode 100644 lib/Exception/GetEngagementsGoneException.php delete mode 100644 lib/Exception/GetEngagementsInternalServerErrorException.php delete mode 100644 lib/Exception/GetEngagementsNotFoundException.php delete mode 100644 lib/Exception/GetEngagementsSampleBadRequestException.php delete mode 100644 lib/Exception/GetEngagementsSampleForbiddenException.php delete mode 100644 lib/Exception/GetEngagementsSampleInternalServerErrorException.php delete mode 100644 lib/Exception/GetEngagementsServiceUnavailableException.php delete mode 100644 lib/Exception/GetEngagementsSummaryBadRequestException.php delete mode 100644 lib/Exception/GetEngagementsSummaryForbiddenException.php delete mode 100644 lib/Exception/GetEngagementsSummaryGoneException.php delete mode 100644 lib/Exception/GetEngagementsSummaryInternalServerErrorException.php delete mode 100644 lib/Exception/GetEngagementsSummaryNotFoundException.php delete mode 100644 lib/Exception/GetEngagementsSummaryServiceUnavailableException.php delete mode 100644 lib/Exception/GetFocusInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupBitlinksCountBadRequestException.php delete mode 100644 lib/Exception/GetGroupBitlinksCountForbiddenException.php delete mode 100644 lib/Exception/GetGroupBitlinksCountInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupBitlinksCountPaymentRequiredException.php delete mode 100644 lib/Exception/GetGroupBitlinksCountRollupBadRequestException.php delete mode 100644 lib/Exception/GetGroupBitlinksCountRollupForbiddenException.php delete mode 100644 lib/Exception/GetGroupBitlinksCountRollupInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupBitlinksCountRollupPaymentRequiredException.php delete mode 100644 lib/Exception/GetGroupBitlinksCountRollupServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupBitlinksCountRollupTooManyRequestsException.php delete mode 100644 lib/Exception/GetGroupButtonClicksByCityBadRequestException.php delete mode 100644 lib/Exception/GetGroupButtonClicksByCityForbiddenException.php delete mode 100644 lib/Exception/GetGroupButtonClicksByCityInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupButtonClicksByCityServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupButtonClicksByCountryBadRequestException.php delete mode 100644 lib/Exception/GetGroupButtonClicksByCountryForbiddenException.php delete mode 100644 lib/Exception/GetGroupButtonClicksByCountryInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupButtonClicksByCountryServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupButtonClicksByDeviceBadRequestException.php delete mode 100644 lib/Exception/GetGroupButtonClicksByDeviceForbiddenException.php delete mode 100644 lib/Exception/GetGroupButtonClicksByDeviceInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupButtonClicksByDeviceServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupButtonClicksOverTimeBadRequestException.php delete mode 100644 lib/Exception/GetGroupButtonClicksOverTimeForbiddenException.php delete mode 100644 lib/Exception/GetGroupButtonClicksOverTimeInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupButtonClicksOverTimeServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupClicksByFacetBadRequestException.php delete mode 100644 lib/Exception/GetGroupClicksByFacetForbiddenException.php delete mode 100644 lib/Exception/GetGroupClicksByFacetInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupClicksByFacetPaymentRequiredException.php delete mode 100644 lib/Exception/GetGroupClicksByFacetRollupBadRequestException.php delete mode 100644 lib/Exception/GetGroupClicksByFacetRollupForbiddenException.php delete mode 100644 lib/Exception/GetGroupClicksByFacetRollupInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupClicksByFacetRollupPaymentRequiredException.php delete mode 100644 lib/Exception/GetGroupClicksByFacetRollupServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupClicksByFacetServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupCodeScansByCityBadRequestException.php delete mode 100644 lib/Exception/GetGroupCodeScansByCityForbiddenException.php delete mode 100644 lib/Exception/GetGroupCodeScansByCityInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupCodeScansByCityServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupCodeScansByCountryBadRequestException.php delete mode 100644 lib/Exception/GetGroupCodeScansByCountryForbiddenException.php delete mode 100644 lib/Exception/GetGroupCodeScansByCountryInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupCodeScansByCountryServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupCodeScansOverTimeBadRequestException.php delete mode 100644 lib/Exception/GetGroupCodeScansOverTimeForbiddenException.php delete mode 100644 lib/Exception/GetGroupCodeScansOverTimeInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupCodeScansOverTimeServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksBadRequestException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksForbiddenException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksNotFoundException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesBadRequestException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesForbiddenException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesNotFoundException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesBadRequestException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesForbiddenException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesNotFoundException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesBadRequestException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesForbiddenException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesNotFoundException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesBadRequestException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesForbiddenException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesNotFoundException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeBadRequestException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeForbiddenException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeNotFoundException.php delete mode 100644 lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupLinkClicksByCityBadRequestException.php delete mode 100644 lib/Exception/GetGroupLinkClicksByCityForbiddenException.php delete mode 100644 lib/Exception/GetGroupLinkClicksByCityInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupLinkClicksByCityServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupLinkClicksByCountryBadRequestException.php delete mode 100644 lib/Exception/GetGroupLinkClicksByCountryForbiddenException.php delete mode 100644 lib/Exception/GetGroupLinkClicksByCountryInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupLinkClicksByCountryServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupLinkClicksByDeviceBadRequestException.php delete mode 100644 lib/Exception/GetGroupLinkClicksByDeviceForbiddenException.php delete mode 100644 lib/Exception/GetGroupLinkClicksByDeviceInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupLinkClicksByDeviceServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupLinkClicksByReferrerBadRequestException.php delete mode 100644 lib/Exception/GetGroupLinkClicksByReferrerForbiddenException.php delete mode 100644 lib/Exception/GetGroupLinkClicksByReferrerInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupLinkClicksByReferrerServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupLinkClicksOverTimeBadRequestException.php delete mode 100644 lib/Exception/GetGroupLinkClicksOverTimeForbiddenException.php delete mode 100644 lib/Exception/GetGroupLinkClicksOverTimeInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupLinkClicksOverTimeServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupPageViewsByCityBadRequestException.php delete mode 100644 lib/Exception/GetGroupPageViewsByCityForbiddenException.php delete mode 100644 lib/Exception/GetGroupPageViewsByCityInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupPageViewsByCityServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupPageViewsByCountryBadRequestException.php delete mode 100644 lib/Exception/GetGroupPageViewsByCountryForbiddenException.php delete mode 100644 lib/Exception/GetGroupPageViewsByCountryInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupPageViewsByCountryServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupPageViewsByDeviceBadRequestException.php delete mode 100644 lib/Exception/GetGroupPageViewsByDeviceForbiddenException.php delete mode 100644 lib/Exception/GetGroupPageViewsByDeviceInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupPageViewsByDeviceServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupPageViewsByReferrerBadRequestException.php delete mode 100644 lib/Exception/GetGroupPageViewsByReferrerForbiddenException.php delete mode 100644 lib/Exception/GetGroupPageViewsByReferrerInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupPageViewsByReferrerServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupPageViewsOverTimeBadRequestException.php delete mode 100644 lib/Exception/GetGroupPageViewsOverTimeForbiddenException.php delete mode 100644 lib/Exception/GetGroupPageViewsOverTimeInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupPageViewsOverTimeServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupPagesOverviewBadRequestException.php delete mode 100644 lib/Exception/GetGroupPagesOverviewForbiddenException.php delete mode 100644 lib/Exception/GetGroupPagesOverviewInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupPagesOverviewServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupTopButtonClicksBadRequestException.php delete mode 100644 lib/Exception/GetGroupTopButtonClicksForbiddenException.php delete mode 100644 lib/Exception/GetGroupTopButtonClicksInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupTopButtonClicksServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupTopCodeScansBadRequestException.php delete mode 100644 lib/Exception/GetGroupTopCodeScansForbiddenException.php delete mode 100644 lib/Exception/GetGroupTopCodeScansInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupTopCodeScansServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupTopLinkClicksBadRequestException.php delete mode 100644 lib/Exception/GetGroupTopLinkClicksForbiddenException.php delete mode 100644 lib/Exception/GetGroupTopLinkClicksInternalServerErrorException.php delete mode 100644 lib/Exception/GetGroupTopLinkClicksServiceUnavailableException.php delete mode 100644 lib/Exception/GetGroupsByLoginForbiddenException.php delete mode 100644 lib/Exception/GetGroupsByLoginInternalServerErrorException.php delete mode 100644 lib/Exception/GetImageByGUIDBadRequestException.php delete mode 100644 lib/Exception/GetImageByGUIDForbiddenException.php delete mode 100644 lib/Exception/GetImageByGUIDInternalServerErrorException.php delete mode 100644 lib/Exception/GetImageByGUIDNotFoundException.php delete mode 100644 lib/Exception/GetImageByGUIDServiceUnavailableException.php delete mode 100644 lib/Exception/GetIntegrationOAuthsByClientIDBadRequestException.php delete mode 100644 lib/Exception/GetIntegrationOAuthsByClientIDInternalServerErrorException.php delete mode 100644 lib/Exception/GetIntegrationOAuthsByClientIDServiceUnavailableException.php delete mode 100644 lib/Exception/GetInvitationsByLoginBadRequestException.php delete mode 100644 lib/Exception/GetInvitationsByLoginForbiddenException.php delete mode 100644 lib/Exception/GetInvitationsByLoginInternalServerErrorException.php delete mode 100644 lib/Exception/GetInvitationsForbiddenException.php delete mode 100644 lib/Exception/GetInvitationsInternalServerErrorException.php delete mode 100644 lib/Exception/GetLaunchpadDigitalBusinessCardDownloadsOverTimeBadRequestException.php delete mode 100644 lib/Exception/GetLaunchpadDigitalBusinessCardDownloadsOverTimeForbiddenException.php delete mode 100644 lib/Exception/GetLaunchpadDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php delete mode 100644 lib/Exception/GetLaunchpadDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php delete mode 100644 lib/Exception/GetLaunchpadForbiddenException.php delete mode 100644 lib/Exception/GetLaunchpadImageByImageUseBadRequestException.php delete mode 100644 lib/Exception/GetLaunchpadImageByImageUseForbiddenException.php delete mode 100644 lib/Exception/GetLaunchpadImageByImageUseInternalServerErrorException.php delete mode 100644 lib/Exception/GetLaunchpadImageByImageUseNotFoundException.php delete mode 100644 lib/Exception/GetLaunchpadImageByImageUseServiceUnavailableException.php delete mode 100644 lib/Exception/GetLaunchpadInternalServerErrorException.php delete mode 100644 lib/Exception/GetLaunchpadNotFoundException.php delete mode 100644 lib/Exception/GetLaunchpadPresetThemesInternalServerErrorException.php delete mode 100644 lib/Exception/GetLaunchpadPresetThemesServiceUnavailableException.php delete mode 100644 lib/Exception/GetLaunchpadServiceUnavailableException.php delete mode 100644 lib/Exception/GetLaunchpadsForGroupForbiddenException.php delete mode 100644 lib/Exception/GetLaunchpadsForGroupInternalServerErrorException.php delete mode 100644 lib/Exception/GetLaunchpadsForGroupNotFoundException.php delete mode 100644 lib/Exception/GetLaunchpadsForGroupServiceUnavailableException.php delete mode 100644 lib/Exception/GetLinkEngagementsDailySummaryBadRequestException.php delete mode 100644 lib/Exception/GetLinkEngagementsDailySummaryForbiddenException.php delete mode 100644 lib/Exception/GetLinkEngagementsDailySummaryInternalServerErrorException.php delete mode 100644 lib/Exception/GetLinkEngagementsDailySummaryNotFoundException.php delete mode 100644 lib/Exception/GetLinkEngagementsDailySummaryServiceUnavailableException.php delete mode 100644 lib/Exception/GetLinkEngagementsDailySummaryUnprocessableEntityException.php delete mode 100644 lib/Exception/GetLinkEngagementsDayDrillDownBadRequestException.php delete mode 100644 lib/Exception/GetLinkEngagementsDayDrillDownForbiddenException.php delete mode 100644 lib/Exception/GetLinkEngagementsDayDrillDownInternalServerErrorException.php delete mode 100644 lib/Exception/GetLinkEngagementsDayDrillDownNotFoundException.php delete mode 100644 lib/Exception/GetLinkEngagementsDayDrillDownServiceUnavailableException.php delete mode 100644 lib/Exception/GetLinkEngagementsDayDrillDownUnprocessableEntityException.php delete mode 100644 lib/Exception/GetLinkEngagementsReportBadRequestException.php delete mode 100644 lib/Exception/GetLinkEngagementsReportForbiddenException.php delete mode 100644 lib/Exception/GetLinkEngagementsReportInternalServerErrorException.php delete mode 100644 lib/Exception/GetLinkEngagementsReportNotFoundException.php delete mode 100644 lib/Exception/GetLinkEngagementsReportServiceUnavailableException.php delete mode 100644 lib/Exception/GetLinkEngagementsReportUnprocessableEntityException.php delete mode 100644 lib/Exception/GetLinkPerformanceForLaunchpadForbiddenException.php delete mode 100644 lib/Exception/GetLinkPerformanceForLaunchpadInternalServerErrorException.php delete mode 100644 lib/Exception/GetLinkPerformanceForLaunchpadNotFoundException.php delete mode 100644 lib/Exception/GetLinkPerformanceForLaunchpadServiceUnavailableException.php delete mode 100644 lib/Exception/GetLinkPerformanceForSiteForbiddenException.php delete mode 100644 lib/Exception/GetLinkPerformanceForSiteInternalServerErrorException.php delete mode 100644 lib/Exception/GetLinkPerformanceForSiteNotFoundException.php delete mode 100644 lib/Exception/GetLinkPerformanceForSiteServiceUnavailableException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByCitiesBadRequestException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByCitiesForbiddenException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByCitiesInternalServerErrorException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByCitiesNotFoundException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByCitiesPaymentRequiredException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByCitiesServiceUnavailableException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByCountriesBadRequestException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByCountriesForbiddenException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByCountriesInternalServerErrorException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByCountriesNotFoundException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByCountriesServiceUnavailableException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByDevicesBadRequestException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByDevicesForbiddenException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByDevicesInternalServerErrorException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByDevicesNotFoundException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByDevicesPaymentRequiredException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByDevicesServiceUnavailableException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByReferrersBadRequestException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByReferrersForbiddenException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByReferrersInternalServerErrorException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByReferrersNotFoundException.php delete mode 100644 lib/Exception/GetMetricsForLaunchpadByReferrersServiceUnavailableException.php delete mode 100644 lib/Exception/GetMetricsForSiteByCitiesBadRequestException.php delete mode 100644 lib/Exception/GetMetricsForSiteByCitiesForbiddenException.php delete mode 100644 lib/Exception/GetMetricsForSiteByCitiesInternalServerErrorException.php delete mode 100644 lib/Exception/GetMetricsForSiteByCitiesNotFoundException.php delete mode 100644 lib/Exception/GetMetricsForSiteByCitiesPaymentRequiredException.php delete mode 100644 lib/Exception/GetMetricsForSiteByCitiesServiceUnavailableException.php delete mode 100644 lib/Exception/GetMetricsForSiteByDevicesBadRequestException.php delete mode 100644 lib/Exception/GetMetricsForSiteByDevicesForbiddenException.php delete mode 100644 lib/Exception/GetMetricsForSiteByDevicesInternalServerErrorException.php delete mode 100644 lib/Exception/GetMetricsForSiteByDevicesNotFoundException.php delete mode 100644 lib/Exception/GetMetricsForSiteByDevicesPaymentRequiredException.php delete mode 100644 lib/Exception/GetMetricsForSiteByDevicesServiceUnavailableException.php delete mode 100644 lib/Exception/GetMetricsForSiteByReferrersBadRequestException.php delete mode 100644 lib/Exception/GetMetricsForSiteByReferrersForbiddenException.php delete mode 100644 lib/Exception/GetMetricsForSiteByReferrersInternalServerErrorException.php delete mode 100644 lib/Exception/GetMetricsForSiteByReferrersNotFoundException.php delete mode 100644 lib/Exception/GetMetricsForSiteByReferrersServiceUnavailableException.php delete mode 100644 lib/Exception/GetMetricsForSitesByCountriesBadRequestException.php delete mode 100644 lib/Exception/GetMetricsForSitesByCountriesForbiddenException.php delete mode 100644 lib/Exception/GetMetricsForSitesByCountriesInternalServerErrorException.php delete mode 100644 lib/Exception/GetMetricsForSitesByCountriesNotFoundException.php delete mode 100644 lib/Exception/GetMetricsForSitesByCountriesServiceUnavailableException.php delete mode 100644 lib/Exception/GetOAuthAppsBadRequestException.php delete mode 100644 lib/Exception/GetOAuthAppsInternalServerErrorException.php delete mode 100644 lib/Exception/GetOAuthAppsNotFoundException.php delete mode 100644 lib/Exception/GetOAuthAppsServiceUnavailableException.php delete mode 100644 lib/Exception/GetOAuthAuthorizationsInternalServerErrorException.php delete mode 100644 lib/Exception/GetOAuthAuthorizationsNotFoundException.php delete mode 100644 lib/Exception/GetOAuthAuthorizationsServiceUnavailableException.php delete mode 100644 lib/Exception/GetOrgDomainsStatusBadRequestException.php delete mode 100644 lib/Exception/GetOrgDomainsStatusForbiddenException.php delete mode 100644 lib/Exception/GetOrgDomainsStatusInternalServerErrorException.php delete mode 100644 lib/Exception/GetOrgDomainsStatusTooManyRequestsException.php delete mode 100644 lib/Exception/GetOrgEmailsForbiddenException.php delete mode 100644 lib/Exception/GetOrgEmailsInternalServerErrorException.php delete mode 100644 lib/Exception/GetOrgEmailsNotFoundException.php delete mode 100644 lib/Exception/GetOrgEmailsServiceUnavailableException.php delete mode 100644 lib/Exception/GetOrgInvitationRequestsBadRequestException.php delete mode 100644 lib/Exception/GetOrgInvitationRequestsForbiddenException.php delete mode 100644 lib/Exception/GetOrgInvitationRequestsInternalServerErrorException.php delete mode 100644 lib/Exception/GetOrgPreferencesInternalServerErrorException.php delete mode 100644 lib/Exception/GetOrganizationActivityLogEntryForbiddenException.php delete mode 100644 lib/Exception/GetOrganizationActivityLogEntryInternalServerErrorException.php delete mode 100644 lib/Exception/GetOrganizationActivityLogEntryServiceUnavailableException.php delete mode 100644 lib/Exception/GetOrganizationActivityLogForbiddenException.php delete mode 100644 lib/Exception/GetOrganizationActivityLogInternalServerErrorException.php delete mode 100644 lib/Exception/GetOrganizationActivityLogServiceUnavailableException.php delete mode 100644 lib/Exception/GetOrganizationFeatureUsageByGroupBadRequestException.php delete mode 100644 lib/Exception/GetOrganizationFeatureUsageByGroupForbiddenException.php delete mode 100644 lib/Exception/GetOrganizationFeatureUsageByGroupInternalServerErrorException.php delete mode 100644 lib/Exception/GetOrganizationFeatureUsageForbiddenException.php delete mode 100644 lib/Exception/GetOrganizationFeatureUsageInternalServerErrorException.php delete mode 100644 lib/Exception/GetOrganizationFeatureUsageServiceUnavailableException.php delete mode 100644 lib/Exception/GetOrganizationHistoricalUsageTotalsByGroupBadRequestException.php delete mode 100644 lib/Exception/GetOrganizationHistoricalUsageTotalsByGroupForbiddenException.php delete mode 100644 lib/Exception/GetOrganizationHistoricalUsageTotalsByGroupInternalServerErrorException.php delete mode 100644 lib/Exception/GetOrganizationSSOSettingsForbiddenException.php delete mode 100644 lib/Exception/GetOrganizationSSOSettingsInternalServerErrorException.php delete mode 100644 lib/Exception/GetOrganizationSSOSettingsNotFoundException.php delete mode 100644 lib/Exception/GetOrganizationSSOSettingsPaymentRequiredException.php delete mode 100644 lib/Exception/GetOrganizationSSOSettingsServiceUnavailableException.php delete mode 100644 lib/Exception/GetOrganizationStripeInfoBadRequestException.php delete mode 100644 lib/Exception/GetOrganizationStripeInfoForbiddenException.php delete mode 100644 lib/Exception/GetOrganizationStripeInfoInternalServerErrorException.php delete mode 100644 lib/Exception/GetOverrideHistoryForBitlinkForbiddenException.php delete mode 100644 lib/Exception/GetOverrideHistoryForBitlinkInternalServerErrorException.php delete mode 100644 lib/Exception/GetOverrideHistoryForBitlinkNotFoundException.php delete mode 100644 lib/Exception/GetOverrideHistoryForBitlinkPaymentRequiredException.php delete mode 100644 lib/Exception/GetOverrideHistoryForBitlinkServiceUnavailableException.php delete mode 100644 lib/Exception/GetOverrideHistoryForBitlinkTooManyRequestsException.php delete mode 100644 lib/Exception/GetOverrideMetricsByVersionBadRequestException.php delete mode 100644 lib/Exception/GetOverrideMetricsByVersionForbiddenException.php delete mode 100644 lib/Exception/GetOverrideMetricsByVersionGoneException.php delete mode 100644 lib/Exception/GetOverrideMetricsByVersionInternalServerErrorException.php delete mode 100644 lib/Exception/GetOverrideMetricsByVersionNotFoundException.php delete mode 100644 lib/Exception/GetOverrideMetricsByVersionPaymentRequiredException.php delete mode 100644 lib/Exception/GetOverrideMetricsByVersionServiceUnavailableException.php delete mode 100644 lib/Exception/GetOverridesForBitlinkForbiddenException.php delete mode 100644 lib/Exception/GetOverridesForBitlinkGoneException.php delete mode 100644 lib/Exception/GetOverridesForBitlinkInternalServerErrorException.php delete mode 100644 lib/Exception/GetOverridesForBitlinkNotFoundException.php delete mode 100644 lib/Exception/GetOverridesForBitlinkPaymentRequiredException.php delete mode 100644 lib/Exception/GetOverridesForBitlinkServiceUnavailableException.php delete mode 100644 lib/Exception/GetOverridesForGroupsBadRequestException.php delete mode 100644 lib/Exception/GetOverridesForGroupsForbiddenException.php delete mode 100644 lib/Exception/GetOverridesForGroupsInternalServerErrorException.php delete mode 100644 lib/Exception/GetOverridesForGroupsNotFoundException.php delete mode 100644 lib/Exception/GetOverridesForGroupsPaymentRequiredException.php delete mode 100644 lib/Exception/GetOverridesForGroupsServiceUnavailableException.php delete mode 100644 lib/Exception/GetPaymentInvoiceFileForbiddenException.php delete mode 100644 lib/Exception/GetPaymentInvoiceFileInternalServerErrorException.php delete mode 100644 lib/Exception/GetPaymentInvoiceFileNotFoundException.php delete mode 100644 lib/Exception/GetPaymentInvoiceForbiddenException.php delete mode 100644 lib/Exception/GetPaymentInvoiceInternalServerErrorException.php delete mode 100644 lib/Exception/GetPaymentInvoicesForbiddenException.php delete mode 100644 lib/Exception/GetPaymentInvoicesInternalServerErrorException.php delete mode 100644 lib/Exception/GetPendingTierForOrgForbiddenException.php delete mode 100644 lib/Exception/GetPendingTierForOrgInternalServerErrorException.php delete mode 100644 lib/Exception/GetPendingTierForOrgNotFoundException.php delete mode 100644 lib/Exception/GetPrivateGeoInternalServerErrorException.php delete mode 100644 lib/Exception/GetProductUtilizationBadRequestException.php delete mode 100644 lib/Exception/GetProductUtilizationForbiddenException.php delete mode 100644 lib/Exception/GetProductUtilizationInternalServerErrorException.php delete mode 100644 lib/Exception/GetPromoCodeValidPlansInternalServerErrorException.php delete mode 100644 lib/Exception/GetPromoCodeValidPlansServiceUnavailableException.php delete mode 100644 lib/Exception/GetQRCHistoryBadRequestException.php delete mode 100644 lib/Exception/GetQRCHistoryForbiddenException.php delete mode 100644 lib/Exception/GetQRCHistoryInternalServerErrorException.php delete mode 100644 lib/Exception/GetQRCHistoryTooManyRequestsException.php delete mode 100644 lib/Exception/GetQRCodeByBitlinkIdBadRequestException.php delete mode 100644 lib/Exception/GetQRCodeByBitlinkIdForbiddenException.php delete mode 100644 lib/Exception/GetQRCodeByBitlinkIdGoneException.php delete mode 100644 lib/Exception/GetQRCodeByBitlinkIdInternalServerErrorException.php delete mode 100644 lib/Exception/GetQRCodeByBitlinkIdNotFoundException.php delete mode 100644 lib/Exception/GetQRCodeByIdBadRequestException.php delete mode 100644 lib/Exception/GetQRCodeByIdForbiddenException.php delete mode 100644 lib/Exception/GetQRCodeByIdGoneException.php delete mode 100644 lib/Exception/GetQRCodeByIdInternalServerErrorException.php delete mode 100644 lib/Exception/GetQRCodeByIdNotFoundException.php delete mode 100644 lib/Exception/GetQRCodeCustomizationOptionsBadRequestException.php delete mode 100644 lib/Exception/GetQRCodeCustomizationOptionsForbiddenException.php delete mode 100644 lib/Exception/GetQRCodeCustomizationOptionsInternalServerErrorException.php delete mode 100644 lib/Exception/GetQRCodeCustomizationOptionsNotFoundException.php delete mode 100644 lib/Exception/GetQRCodeOverrideMetricsByVersionBadRequestException.php delete mode 100644 lib/Exception/GetQRCodeOverrideMetricsByVersionForbiddenException.php delete mode 100644 lib/Exception/GetQRCodeOverrideMetricsByVersionGoneException.php delete mode 100644 lib/Exception/GetQRCodeOverrideMetricsByVersionInternalServerErrorException.php delete mode 100644 lib/Exception/GetQRCodeOverrideMetricsByVersionNotFoundException.php delete mode 100644 lib/Exception/GetQRCodeOverrideMetricsByVersionPaymentRequiredException.php delete mode 100644 lib/Exception/GetQRCodeOverrideMetricsByVersionServiceUnavailableException.php delete mode 100644 lib/Exception/GetQRCodeTemplatesBadRequestException.php delete mode 100644 lib/Exception/GetQRCodeTemplatesForbiddenException.php delete mode 100644 lib/Exception/GetQRCodeTemplatesGoneException.php delete mode 100644 lib/Exception/GetQRCodeTemplatesInternalServerErrorException.php delete mode 100644 lib/Exception/GetQRCodeTemplatesNotFoundException.php delete mode 100644 lib/Exception/GetQRCodeTemplatesPaymentRequiredException.php delete mode 100644 lib/Exception/GetRegionsListInternalServerErrorException.php delete mode 100644 lib/Exception/GetRetainedEntitiesAfterDowngradeForbiddenException.php delete mode 100644 lib/Exception/GetRetainedEntitiesAfterDowngradeInternalServerErrorException.php delete mode 100644 lib/Exception/GetSSOUsersBadRequestException.php delete mode 100644 lib/Exception/GetSSOUsersForbiddenException.php delete mode 100644 lib/Exception/GetSSOUsersInternalServerErrorException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByBrowserBadRequestException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByBrowserForbiddenException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByBrowserGoneException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByBrowserInternalServerErrorException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByBrowserNotFoundException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByBrowserPaymentRequiredException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByBrowserServiceUnavailableException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByCitiesBadRequestException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByCitiesForbiddenException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByCitiesGoneException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByCitiesInternalServerErrorException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByCitiesNotFoundException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByCitiesPaymentRequiredException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByCitiesServiceUnavailableException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByCountriesBadRequestException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByCountriesForbiddenException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByCountriesGoneException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByCountriesInternalServerErrorException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByCountriesNotFoundException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByCountriesServiceUnavailableException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByDevicesOSBadRequestException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByDevicesOSForbiddenException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByDevicesOSGoneException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByDevicesOSInternalServerErrorException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByDevicesOSNotFoundException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByDevicesOSPaymentRequiredException.php delete mode 100644 lib/Exception/GetScanMetricsForBitlinkByDevicesOSServiceUnavailableException.php delete mode 100644 lib/Exception/GetScansForBitlinkBadRequestException.php delete mode 100644 lib/Exception/GetScansForBitlinkForbiddenException.php delete mode 100644 lib/Exception/GetScansForBitlinkGoneException.php delete mode 100644 lib/Exception/GetScansForBitlinkInternalServerErrorException.php delete mode 100644 lib/Exception/GetScansForBitlinkNotFoundException.php delete mode 100644 lib/Exception/GetScansForBitlinkServiceUnavailableException.php delete mode 100644 lib/Exception/GetScansSummaryForBitlinkBadRequestException.php delete mode 100644 lib/Exception/GetScansSummaryForBitlinkForbiddenException.php delete mode 100644 lib/Exception/GetScansSummaryForBitlinkGoneException.php delete mode 100644 lib/Exception/GetScansSummaryForBitlinkInternalServerErrorException.php delete mode 100644 lib/Exception/GetScansSummaryForBitlinkNotFoundException.php delete mode 100644 lib/Exception/GetScansSummaryForBitlinkServiceUnavailableException.php delete mode 100644 lib/Exception/GetShopifyShopDomainDetailsBadRequestException.php delete mode 100644 lib/Exception/GetShopifyShopDomainDetailsForbiddenException.php delete mode 100644 lib/Exception/GetShopifyShopDomainDetailsInternalServerErrorException.php delete mode 100644 lib/Exception/GetShopifyShopDomainDetailsNotFoundException.php delete mode 100644 lib/Exception/GetShopifyShopDomainDetailsServiceUnavailableException.php delete mode 100644 lib/Exception/GetSiteBadRequestException.php delete mode 100644 lib/Exception/GetSiteClicksByCitiesBadRequestException.php delete mode 100644 lib/Exception/GetSiteClicksByCitiesForbiddenException.php delete mode 100644 lib/Exception/GetSiteClicksByCitiesInternalServerErrorException.php delete mode 100644 lib/Exception/GetSiteClicksByCitiesServiceUnavailableException.php delete mode 100644 lib/Exception/GetSiteClicksByCountriesBadRequestException.php delete mode 100644 lib/Exception/GetSiteClicksByCountriesForbiddenException.php delete mode 100644 lib/Exception/GetSiteClicksByCountriesInternalServerErrorException.php delete mode 100644 lib/Exception/GetSiteClicksByCountriesServiceUnavailableException.php delete mode 100644 lib/Exception/GetSiteClicksByDevicesBadRequestException.php delete mode 100644 lib/Exception/GetSiteClicksByDevicesForbiddenException.php delete mode 100644 lib/Exception/GetSiteClicksByDevicesInternalServerErrorException.php delete mode 100644 lib/Exception/GetSiteClicksByDevicesServiceUnavailableException.php delete mode 100644 lib/Exception/GetSiteClicksOverTimeBadRequestException.php delete mode 100644 lib/Exception/GetSiteClicksOverTimeForbiddenException.php delete mode 100644 lib/Exception/GetSiteClicksOverTimeInternalServerErrorException.php delete mode 100644 lib/Exception/GetSiteClicksOverTimeServiceUnavailableException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksBadRequestException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksForbiddenException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksInternalServerErrorException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksNotFoundException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksServiceUnavailableException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesBadRequestException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesForbiddenException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesInternalServerErrorException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesNotFoundException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesServiceUnavailableException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesBadRequestException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesForbiddenException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesInternalServerErrorException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesNotFoundException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesServiceUnavailableException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesBadRequestException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesForbiddenException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesInternalServerErrorException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesNotFoundException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesServiceUnavailableException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeBadRequestException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeForbiddenException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeNotFoundException.php delete mode 100644 lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php delete mode 100644 lib/Exception/GetSiteFilteredTopPageButtonsBadRequestException.php delete mode 100644 lib/Exception/GetSiteFilteredTopPageButtonsForbiddenException.php delete mode 100644 lib/Exception/GetSiteFilteredTopPageButtonsInternalServerErrorException.php delete mode 100644 lib/Exception/GetSiteFilteredTopPageButtonsServiceUnavailableException.php delete mode 100644 lib/Exception/GetSiteForbiddenException.php delete mode 100644 lib/Exception/GetSiteInternalServerErrorException.php delete mode 100644 lib/Exception/GetSiteLayoutsBadRequestException.php delete mode 100644 lib/Exception/GetSiteLayoutsForbiddenException.php delete mode 100644 lib/Exception/GetSiteLayoutsInternalServerErrorException.php delete mode 100644 lib/Exception/GetSiteLayoutsNotFoundException.php delete mode 100644 lib/Exception/GetSiteLayoutsServiceUnavailableException.php delete mode 100644 lib/Exception/GetSiteNotFoundException.php delete mode 100644 lib/Exception/GetSiteServiceUnavailableException.php delete mode 100644 lib/Exception/GetSitesForGroupBadRequestException.php delete mode 100644 lib/Exception/GetSitesForGroupForbiddenException.php delete mode 100644 lib/Exception/GetSitesForGroupInternalServerErrorException.php delete mode 100644 lib/Exception/GetSortedEngagementsBadRequestException.php delete mode 100644 lib/Exception/GetSortedEngagementsForbiddenException.php delete mode 100644 lib/Exception/GetSortedEngagementsGoneException.php delete mode 100644 lib/Exception/GetSortedEngagementsInternalServerErrorException.php delete mode 100644 lib/Exception/GetSortedEngagementsNotFoundException.php delete mode 100644 lib/Exception/GetSortedEngagementsPaymentRequiredException.php delete mode 100644 lib/Exception/GetSortedEngagementsServiceUnavailableException.php delete mode 100644 lib/Exception/GetSortedScansBadRequestException.php delete mode 100644 lib/Exception/GetSortedScansForGroupBadRequestException.php delete mode 100644 lib/Exception/GetSortedScansForGroupForbiddenException.php delete mode 100644 lib/Exception/GetSortedScansForGroupGoneException.php delete mode 100644 lib/Exception/GetSortedScansForGroupInternalServerErrorException.php delete mode 100644 lib/Exception/GetSortedScansForGroupNotFoundException.php delete mode 100644 lib/Exception/GetSortedScansForGroupPaymentRequiredException.php delete mode 100644 lib/Exception/GetSortedScansForGroupServiceUnavailableException.php delete mode 100644 lib/Exception/GetSortedScansForbiddenException.php delete mode 100644 lib/Exception/GetSortedScansGoneException.php delete mode 100644 lib/Exception/GetSortedScansInternalServerErrorException.php delete mode 100644 lib/Exception/GetSortedScansNotFoundException.php delete mode 100644 lib/Exception/GetSortedScansPaymentRequiredException.php delete mode 100644 lib/Exception/GetSortedScansServiceUnavailableException.php delete mode 100644 lib/Exception/GetTemplatesForbiddenException.php delete mode 100644 lib/Exception/GetTemplatesInternalServerErrorException.php delete mode 100644 lib/Exception/GetTemplatesNotFoundException.php delete mode 100644 lib/Exception/GetTemplatesServiceUnavailableException.php delete mode 100644 lib/Exception/GetTierForbiddenException.php delete mode 100644 lib/Exception/GetTierInternalServerErrorException.php delete mode 100644 lib/Exception/GetTierNotFoundException.php delete mode 100644 lib/Exception/GetTierServiceUnavailableException.php delete mode 100644 lib/Exception/GetTiersForbiddenException.php delete mode 100644 lib/Exception/GetTiersInternalServerErrorException.php delete mode 100644 lib/Exception/GetTiersServiceUnavailableException.php delete mode 100644 lib/Exception/GetTitleForLongURLForbiddenException.php delete mode 100644 lib/Exception/GetTitleForLongURLInternalServerErrorException.php delete mode 100644 lib/Exception/GetTitleForLongURLNotFoundException.php delete mode 100644 lib/Exception/GetTitleForLongURLServiceUnavailableException.php delete mode 100644 lib/Exception/GetTopSortedBitlinksBadRequestException.php delete mode 100644 lib/Exception/GetTopSortedBitlinksForbiddenException.php delete mode 100644 lib/Exception/GetTopSortedBitlinksGoneException.php delete mode 100644 lib/Exception/GetTopSortedBitlinksInternalServerErrorException.php delete mode 100644 lib/Exception/GetTopSortedBitlinksNotFoundException.php delete mode 100644 lib/Exception/GetTopSortedBitlinksPaymentRequiredException.php delete mode 100644 lib/Exception/GetTopSortedBitlinksServiceUnavailableException.php delete mode 100644 lib/Exception/GetTwoFARecordInternalServerErrorException.php delete mode 100644 lib/Exception/GetTwoFARecordNotFoundException.php delete mode 100644 lib/Exception/GetTwoFARecordServiceUnavailableException.php delete mode 100644 lib/Exception/GetUMGroupPreferencesForbiddenException.php delete mode 100644 lib/Exception/GetUMGroupPreferencesInternalServerErrorException.php delete mode 100644 lib/Exception/GetUMGroupPreferencesNotFoundException.php delete mode 100644 lib/Exception/GetUMGroupPreferencesUnprocessableEntityException.php delete mode 100644 lib/Exception/GetUserActivityLogForbiddenException.php delete mode 100644 lib/Exception/GetUserActivityLogInternalServerErrorException.php delete mode 100644 lib/Exception/GetUserActivityLogServiceUnavailableException.php delete mode 100644 lib/Exception/GetUserAvailableTiersForbiddenException.php delete mode 100644 lib/Exception/GetUserAvailableTiersInternalServerErrorException.php delete mode 100644 lib/Exception/GetUserAvailableTiersServiceUnavailableException.php delete mode 100644 lib/Exception/GetUserOnboardingSurveyResultsForbiddenException.php delete mode 100644 lib/Exception/GetUserOnboardingSurveyResultsInternalServerErrorException.php delete mode 100644 lib/Exception/GetUserPreferencesBadRequestException.php delete mode 100644 lib/Exception/GetUserPreferencesInternalServerErrorException.php delete mode 100644 lib/Exception/GetUsersForbiddenException.php delete mode 100644 lib/Exception/GetUsersInternalServerErrorException.php delete mode 100644 lib/Exception/GetUsersNotFoundException.php delete mode 100644 lib/Exception/GetUsersServiceUnavailableException.php delete mode 100644 lib/Exception/GetViewsForLaunchpadForbiddenException.php delete mode 100644 lib/Exception/GetViewsForLaunchpadInternalServerErrorException.php delete mode 100644 lib/Exception/GetViewsForLaunchpadNotFoundException.php delete mode 100644 lib/Exception/GetViewsForLaunchpadServiceUnavailableException.php delete mode 100644 lib/Exception/GetViewsForSiteForbiddenException.php delete mode 100644 lib/Exception/GetViewsForSiteInternalServerErrorException.php delete mode 100644 lib/Exception/GetViewsForSiteNotFoundException.php delete mode 100644 lib/Exception/GetViewsForSiteServiceUnavailableException.php delete mode 100644 lib/Exception/GetViewsSummaryForLaunchpadForbiddenException.php delete mode 100644 lib/Exception/GetViewsSummaryForLaunchpadInternalServerErrorException.php delete mode 100644 lib/Exception/GetViewsSummaryForLaunchpadNotFoundException.php delete mode 100644 lib/Exception/GetViewsSummaryForLaunchpadServiceUnavailableException.php delete mode 100644 lib/Exception/GetViewsSummaryForSiteForbiddenException.php delete mode 100644 lib/Exception/GetViewsSummaryForSiteInternalServerErrorException.php delete mode 100644 lib/Exception/GetViewsSummaryForSiteNotFoundException.php delete mode 100644 lib/Exception/GetViewsSummaryForSiteServiceUnavailableException.php delete mode 100644 lib/Exception/HandleWebhookForbiddenException.php delete mode 100644 lib/Exception/HandleWebhookInternalServerErrorException.php delete mode 100644 lib/Exception/HandleWebhookUnprocessableEntityException.php delete mode 100644 lib/Exception/NotifyPaymentFailureBadRequestException.php delete mode 100644 lib/Exception/NotifyPaymentFailureInternalServerErrorException.php delete mode 100644 lib/Exception/NotifyPaymentFailureServiceUnavailableException.php delete mode 100644 lib/Exception/NotifyPaymentFailureUnprocessableEntityException.php delete mode 100644 lib/Exception/PatchCanvaUserBrandBadRequestException.php delete mode 100644 lib/Exception/PatchCanvaUserBrandInternalServerErrorException.php delete mode 100644 lib/Exception/PatchCanvaUserBrandNotFoundException.php delete mode 100644 lib/Exception/PatchOrgControlledDomainBadRequestException.php delete mode 100644 lib/Exception/PatchOrgControlledDomainForbiddenException.php delete mode 100644 lib/Exception/PatchOrgControlledDomainInternalServerErrorException.php delete mode 100644 lib/Exception/PatchOrgControlledDomainPaymentRequiredException.php delete mode 100644 lib/Exception/PatchOrgControlledDomainUnprocessableEntityException.php delete mode 100644 lib/Exception/PatchOrgInvitationRequestBadRequestException.php delete mode 100644 lib/Exception/PatchOrgInvitationRequestForbiddenException.php delete mode 100644 lib/Exception/PatchOrgInvitationRequestInternalServerErrorException.php delete mode 100644 lib/Exception/PatchOrgInvitationRequestUnprocessableEntityException.php delete mode 100644 lib/Exception/PatchUMGroupPreferencesBadRequestException.php delete mode 100644 lib/Exception/PatchUMGroupPreferencesForbiddenException.php delete mode 100644 lib/Exception/PatchUMGroupPreferencesInternalServerErrorException.php delete mode 100644 lib/Exception/PatchUMGroupPreferencesNotFoundException.php delete mode 100644 lib/Exception/PatchUMGroupPreferencesUnprocessableEntityException.php delete mode 100644 lib/Exception/PostGetLinksReportBadRequestException.php delete mode 100644 lib/Exception/PostGetLinksReportForbiddenException.php delete mode 100644 lib/Exception/PostGetLinksReportInternalServerErrorException.php delete mode 100644 lib/Exception/PostGetLinksReportPaymentRequiredException.php delete mode 100644 lib/Exception/PostGetLinksReportServiceUnavailableException.php delete mode 100644 lib/Exception/PostGetLinksReportUnprocessableEntityException.php delete mode 100644 lib/Exception/PostGroupDataExportBadRequestException.php delete mode 100644 lib/Exception/PostGroupDataExportForbiddenException.php delete mode 100644 lib/Exception/PostGroupDataExportInternalServerErrorException.php delete mode 100644 lib/Exception/PostGroupDataExportServiceUnavailableException.php delete mode 100644 lib/Exception/PostGroupDataExportUnprocessableEntityException.php delete mode 100644 lib/Exception/PostOrgUsersDataExportBadRequestException.php delete mode 100644 lib/Exception/PostOrgUsersDataExportForbiddenException.php delete mode 100644 lib/Exception/PostOrgUsersDataExportInternalServerErrorException.php delete mode 100644 lib/Exception/PostOrgUsersDataExportPaymentRequiredException.php delete mode 100644 lib/Exception/PostOrgUsersDataExportUnprocessableEntityException.php delete mode 100644 lib/Exception/PrevalidateYouTubeVideoButtonBadRequestException.php delete mode 100644 lib/Exception/PrevalidateYouTubeVideoButtonForbiddenException.php delete mode 100644 lib/Exception/PrevalidateYouTubeVideoButtonInternalServerErrorException.php delete mode 100644 lib/Exception/PrevalidateYouTubeVideoButtonUnprocessableEntityException.php delete mode 100644 lib/Exception/PublishDraftLaunchpadBadRequestException.php delete mode 100644 lib/Exception/PublishDraftLaunchpadForbiddenException.php delete mode 100644 lib/Exception/PublishDraftLaunchpadInternalServerErrorException.php delete mode 100644 lib/Exception/PublishDraftLaunchpadServiceUnavailableException.php delete mode 100644 lib/Exception/PublishSiteBadRequestException.php delete mode 100644 lib/Exception/PublishSiteForbiddenException.php delete mode 100644 lib/Exception/PublishSiteInternalServerErrorException.php delete mode 100644 lib/Exception/PublishSiteServiceUnavailableException.php delete mode 100644 lib/Exception/PurchaseAddOnsBadRequestException.php delete mode 100644 lib/Exception/PurchaseAddOnsForbiddenException.php delete mode 100644 lib/Exception/PurchaseAddOnsInternalServerErrorException.php delete mode 100644 lib/Exception/PurchaseAddOnsNotFoundException.php delete mode 100644 lib/Exception/PurchaseAddOnsServiceUnavailableException.php delete mode 100644 lib/Exception/PurchaseAddOnsUnprocessableEntityException.php delete mode 100644 lib/Exception/PurchaseBsdForbiddenException.php delete mode 100644 lib/Exception/PurchaseBsdInternalServerErrorException.php delete mode 100644 lib/Exception/PurchaseStripeAddOnsBadRequestException.php delete mode 100644 lib/Exception/PurchaseStripeAddOnsForbiddenException.php delete mode 100644 lib/Exception/PurchaseStripeAddOnsInternalServerErrorException.php delete mode 100644 lib/Exception/PurchaseStripeAddOnsNotFoundException.php delete mode 100644 lib/Exception/PurchaseStripeAddOnsServiceUnavailableException.php delete mode 100644 lib/Exception/PurchaseStripeAddOnsUnprocessableEntityException.php delete mode 100644 lib/Exception/RedirectQRCodeDestinationBadRequestException.php delete mode 100644 lib/Exception/RedirectQRCodeDestinationForbiddenException.php delete mode 100644 lib/Exception/RedirectQRCodeDestinationInternalServerErrorException.php delete mode 100644 lib/Exception/RedirectQRCodeDestinationNotFoundException.php delete mode 100644 lib/Exception/RedirectQRCodeDestinationTooManyRequestsException.php delete mode 100644 lib/Exception/RegeneratePaymentInvoiceFileForbiddenException.php delete mode 100644 lib/Exception/RegeneratePaymentInvoiceFileInternalServerErrorException.php delete mode 100644 lib/Exception/ReorderBlocksByContainerBadRequestException.php delete mode 100644 lib/Exception/ReorderBlocksByContainerForbiddenException.php delete mode 100644 lib/Exception/ReorderBlocksByContainerInternalServerErrorException.php delete mode 100644 lib/Exception/ReorderBlocksByContainerNotFoundException.php delete mode 100644 lib/Exception/ReorderBlocksByContainerServiceUnavailableException.php delete mode 100644 lib/Exception/ReorderBlocksByContainerUnprocessableEntityException.php delete mode 100644 lib/Exception/RequestUserSARForbiddenException.php delete mode 100644 lib/Exception/RequestUserSARInternalServerErrorException.php delete mode 100644 lib/Exception/RequestUserSARServiceUnavailableException.php delete mode 100644 lib/Exception/ResendInvitationForbiddenException.php delete mode 100644 lib/Exception/ResendInvitationInternalServerErrorException.php delete mode 100644 lib/Exception/ResendInvitationNotFoundException.php delete mode 100644 lib/Exception/ResendInvitationTooManyRequestsException.php delete mode 100644 lib/Exception/ScheduleOrgDowngradeStripeBadRequestException.php delete mode 100644 lib/Exception/ScheduleOrgDowngradeStripeForbiddenException.php delete mode 100644 lib/Exception/ScheduleOrgDowngradeStripeInternalServerErrorException.php delete mode 100644 lib/Exception/ScheduleOrganizationDowngradeBadRequestException.php delete mode 100644 lib/Exception/ScheduleOrganizationDowngradeForbiddenException.php delete mode 100644 lib/Exception/ScheduleOrganizationDowngradeInternalServerErrorException.php delete mode 100644 lib/Exception/SearchDomainsForbiddenException.php delete mode 100644 lib/Exception/SearchDomainsInternalServerErrorException.php delete mode 100644 lib/Exception/SearchGroupUserRolesBadRequestException.php delete mode 100644 lib/Exception/SearchGroupUserRolesForbiddenException.php delete mode 100644 lib/Exception/SearchGroupUserRolesInternalServerErrorException.php delete mode 100644 lib/Exception/SearchGroupUserRolesNotFoundException.php delete mode 100644 lib/Exception/SearchOrgUserRolesBadRequestException.php delete mode 100644 lib/Exception/SearchOrgUserRolesForbiddenException.php delete mode 100644 lib/Exception/SearchOrgUserRolesInternalServerErrorException.php delete mode 100644 lib/Exception/SearchOrgUserRolesNotFoundException.php delete mode 100644 lib/Exception/SendEmailVerificationBadRequestException.php delete mode 100644 lib/Exception/SendEmailVerificationInternalServerErrorException.php delete mode 100644 lib/Exception/SendEmailVerificationNotFoundException.php delete mode 100644 lib/Exception/SendEmailVerificationServiceUnavailableException.php delete mode 100644 lib/Exception/SendVerificationCodeBadRequestException.php delete mode 100644 lib/Exception/SendVerificationCodeForbiddenException.php delete mode 100644 lib/Exception/SendVerificationCodeInternalServerErrorException.php delete mode 100644 lib/Exception/SendVerificationCodeNotFoundException.php delete mode 100644 lib/Exception/SendVerificationCodeServiceUnavailableException.php delete mode 100644 lib/Exception/SendVerificationCodeUnauthorizedException.php delete mode 100644 lib/Exception/SetOrgPreferenceBadRequestException.php delete mode 100644 lib/Exception/SetOrgPreferenceForbiddenException.php delete mode 100644 lib/Exception/SetOrgPreferenceInternalServerErrorException.php delete mode 100644 lib/Exception/SetOrgPreferenceUnprocessableEntityException.php delete mode 100644 lib/Exception/SetPaymentMethodDefaultBadRequestException.php delete mode 100644 lib/Exception/SetPaymentMethodDefaultForbiddenException.php delete mode 100644 lib/Exception/SetPaymentMethodDefaultInternalServerErrorException.php delete mode 100644 lib/Exception/SetPaymentMethodDefaultServiceUnavailableException.php delete mode 100644 lib/Exception/SetPaymentMethodDefaultUnprocessableEntityException.php delete mode 100644 lib/Exception/SetPhoneNumberBadRequestException.php delete mode 100644 lib/Exception/SetPhoneNumberForbiddenException.php delete mode 100644 lib/Exception/SetPhoneNumberInternalServerErrorException.php delete mode 100644 lib/Exception/SetPhoneNumberServiceUnavailableException.php delete mode 100644 lib/Exception/SetPhoneNumberUnprocessableEntityException.php delete mode 100644 lib/Exception/SetStripeDefaultPaymentMethodBadRequestException.php delete mode 100644 lib/Exception/SetStripeDefaultPaymentMethodForbiddenException.php delete mode 100644 lib/Exception/SetStripeDefaultPaymentMethodInternalServerErrorException.php delete mode 100644 lib/Exception/SetStripeDefaultPaymentMethodServiceUnavailableException.php delete mode 100644 lib/Exception/SetStripeDefaultPaymentMethodUnprocessableEntityException.php delete mode 100644 lib/Exception/SetUserPreferenceBadRequestException.php delete mode 100644 lib/Exception/SetUserPreferenceInternalServerErrorException.php delete mode 100644 lib/Exception/SetUserPreferenceUnprocessableEntityException.php delete mode 100644 lib/Exception/ThirdPartyAppLookupForbiddenException.php delete mode 100644 lib/Exception/ThirdPartyAppLookupInternalServerErrorException.php delete mode 100644 lib/Exception/ThirdPartyAppLookupNotFoundException.php delete mode 100644 lib/Exception/ThirdPartyAppLookupPaymentRequiredException.php delete mode 100644 lib/Exception/ThirdPartyAppLookupServiceUnavailableException.php delete mode 100644 lib/Exception/UnauthorizedException.php delete mode 100644 lib/Exception/UpdateAnalyticsModuleBadRequestException.php delete mode 100644 lib/Exception/UpdateAnalyticsModuleForbiddenException.php delete mode 100644 lib/Exception/UpdateAnalyticsModuleInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateAnalyticsModuleNotFoundException.php delete mode 100644 lib/Exception/UpdateAnalyticsModuleServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateAnalyticsReportBadRequestException.php delete mode 100644 lib/Exception/UpdateAnalyticsReportForbiddenException.php delete mode 100644 lib/Exception/UpdateAnalyticsReportInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateAnalyticsReportNotFoundException.php delete mode 100644 lib/Exception/UpdateAnalyticsReportServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateAppAssociationsBadRequestException.php delete mode 100644 lib/Exception/UpdateAppAssociationsForbiddenException.php delete mode 100644 lib/Exception/UpdateAppAssociationsInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateAppAssociationsNotFoundException.php delete mode 100644 lib/Exception/UpdateAppAssociationsPaymentRequiredException.php delete mode 100644 lib/Exception/UpdateAppAssociationsServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateBillingInfoBadRequestException.php delete mode 100644 lib/Exception/UpdateBillingInfoForbiddenException.php delete mode 100644 lib/Exception/UpdateBillingInfoInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateBillingInfoUnprocessableEntityException.php delete mode 100644 lib/Exception/UpdateDeeplinkAppForbiddenException.php delete mode 100644 lib/Exception/UpdateDeeplinkAppInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateDeeplinkAppNotFoundException.php delete mode 100644 lib/Exception/UpdateDeeplinkAppPaymentRequiredException.php delete mode 100644 lib/Exception/UpdateDeeplinkAppServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateDeeplinkAppUnprocessableEntityException.php delete mode 100644 lib/Exception/UpdateDeeplinkRuleForbiddenException.php delete mode 100644 lib/Exception/UpdateDeeplinkRuleInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateDeeplinkRuleNotFoundException.php delete mode 100644 lib/Exception/UpdateDeeplinkRulePaymentRequiredException.php delete mode 100644 lib/Exception/UpdateDeeplinkRuleServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateDeeplinkRuleUnprocessableEntityException.php delete mode 100644 lib/Exception/UpdateEmailBadRequestException.php delete mode 100644 lib/Exception/UpdateEmailForbiddenException.php delete mode 100644 lib/Exception/UpdateEmailInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateEmailNotFoundException.php delete mode 100644 lib/Exception/UpdateEmailServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateEntitiesRetainedOnDowngradeBadRequestException.php delete mode 100644 lib/Exception/UpdateEntitiesRetainedOnDowngradeForbiddenException.php delete mode 100644 lib/Exception/UpdateEntitiesRetainedOnDowngradeInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateEntitiesRetainedOnDowngradeUnprocessableEntityException.php delete mode 100644 lib/Exception/UpdateImageBadRequestException.php delete mode 100644 lib/Exception/UpdateImageForbiddenException.php delete mode 100644 lib/Exception/UpdateImageInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateImageNotFoundException.php delete mode 100644 lib/Exception/UpdateImageServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateLaunchpadBadRequestException.php delete mode 100644 lib/Exception/UpdateLaunchpadBitlinkContentBadRequestException.php delete mode 100644 lib/Exception/UpdateLaunchpadBitlinkContentForbiddenException.php delete mode 100644 lib/Exception/UpdateLaunchpadBitlinkContentInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateLaunchpadBitlinkContentNotFoundException.php delete mode 100644 lib/Exception/UpdateLaunchpadBitlinkContentServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateLaunchpadButtonBadRequestException.php delete mode 100644 lib/Exception/UpdateLaunchpadButtonForbiddenException.php delete mode 100644 lib/Exception/UpdateLaunchpadButtonInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateLaunchpadButtonNotFoundException.php delete mode 100644 lib/Exception/UpdateLaunchpadButtonServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateLaunchpadButtonSortOrderBadRequestException.php delete mode 100644 lib/Exception/UpdateLaunchpadButtonSortOrderForbiddenException.php delete mode 100644 lib/Exception/UpdateLaunchpadButtonSortOrderInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateLaunchpadButtonSortOrderNotFoundException.php delete mode 100644 lib/Exception/UpdateLaunchpadButtonSortOrderServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateLaunchpadCarouselContentBadRequestException.php delete mode 100644 lib/Exception/UpdateLaunchpadCarouselContentForbiddenException.php delete mode 100644 lib/Exception/UpdateLaunchpadCarouselContentInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateLaunchpadCarouselContentNotFoundException.php delete mode 100644 lib/Exception/UpdateLaunchpadCarouselContentServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateLaunchpadCarouselContentUnprocessableEntityException.php delete mode 100644 lib/Exception/UpdateLaunchpadForbiddenException.php delete mode 100644 lib/Exception/UpdateLaunchpadGridContentBadRequestException.php delete mode 100644 lib/Exception/UpdateLaunchpadGridContentForbiddenException.php delete mode 100644 lib/Exception/UpdateLaunchpadGridContentInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateLaunchpadGridContentNotFoundException.php delete mode 100644 lib/Exception/UpdateLaunchpadGridContentServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateLaunchpadGridContentUnprocessableEntityException.php delete mode 100644 lib/Exception/UpdateLaunchpadImageByImageUseBadRequestException.php delete mode 100644 lib/Exception/UpdateLaunchpadImageByImageUseForbiddenException.php delete mode 100644 lib/Exception/UpdateLaunchpadImageByImageUseInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateLaunchpadImageByImageUseNotFoundException.php delete mode 100644 lib/Exception/UpdateLaunchpadImageByImageUseServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateLaunchpadImageContentBadRequestException.php delete mode 100644 lib/Exception/UpdateLaunchpadImageContentForbiddenException.php delete mode 100644 lib/Exception/UpdateLaunchpadImageContentInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateLaunchpadImageContentNotFoundException.php delete mode 100644 lib/Exception/UpdateLaunchpadImageContentServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateLaunchpadInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateLaunchpadNotFoundException.php delete mode 100644 lib/Exception/UpdateLaunchpadServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateLaunchpadSocialBadRequestException.php delete mode 100644 lib/Exception/UpdateLaunchpadSocialForbiddenException.php delete mode 100644 lib/Exception/UpdateLaunchpadSocialInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateLaunchpadSocialNotFoundException.php delete mode 100644 lib/Exception/UpdateLaunchpadSocialServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateLaunchpadTooManyRequestsException.php delete mode 100644 lib/Exception/UpdateLaunchpadYoutubeVideoBadRequestException.php delete mode 100644 lib/Exception/UpdateLaunchpadYoutubeVideoForbiddenException.php delete mode 100644 lib/Exception/UpdateLaunchpadYoutubeVideoInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateLaunchpadYoutubeVideoNotFoundException.php delete mode 100644 lib/Exception/UpdateLaunchpadYoutubeVideoServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateLinkBadRequestException.php delete mode 100644 lib/Exception/UpdateLinkConflictException.php delete mode 100644 lib/Exception/UpdateLinkExpectationFailedException.php delete mode 100644 lib/Exception/UpdateLinkForbiddenException.php delete mode 100644 lib/Exception/UpdateLinkInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateLinkNotFoundException.php delete mode 100644 lib/Exception/UpdateLinkPaymentRequiredException.php delete mode 100644 lib/Exception/UpdateLinkServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateLinkTooManyRequestsException.php delete mode 100644 lib/Exception/UpdateLinkUnprocessableEntityException.php delete mode 100644 lib/Exception/UpdateOAuthAppBadRequestException.php delete mode 100644 lib/Exception/UpdateOAuthAppClientSecretForbiddenException.php delete mode 100644 lib/Exception/UpdateOAuthAppClientSecretInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateOAuthAppClientSecretNotFoundException.php delete mode 100644 lib/Exception/UpdateOAuthAppClientSecretServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateOAuthAppForbiddenException.php delete mode 100644 lib/Exception/UpdateOAuthAppInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateOAuthAppNotFoundException.php delete mode 100644 lib/Exception/UpdateOAuthAppServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateOrganizationForbiddenException.php delete mode 100644 lib/Exception/UpdateOrganizationInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateOrganizationNotFoundException.php delete mode 100644 lib/Exception/UpdateOrganizationSSOSettingsForbiddenException.php delete mode 100644 lib/Exception/UpdateOrganizationSSOSettingsInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateOrganizationSSOSettingsNotFoundException.php delete mode 100644 lib/Exception/UpdateOrganizationSSOSettingsPaymentRequiredException.php delete mode 100644 lib/Exception/UpdateOrganizationSSOSettingsServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateOrganizationSSOSettingsUnprocessableEntityException.php delete mode 100644 lib/Exception/UpdateOrganizationServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateOverridesForBitlinkBadRequestException.php delete mode 100644 lib/Exception/UpdateOverridesForBitlinkForbiddenException.php delete mode 100644 lib/Exception/UpdateOverridesForBitlinkInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateOverridesForBitlinkNotFoundException.php delete mode 100644 lib/Exception/UpdateOverridesForBitlinkPaymentRequiredException.php delete mode 100644 lib/Exception/UpdateOverridesForBitlinkServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateOverridesForBitlinkTooManyRequestsException.php delete mode 100644 lib/Exception/UpdateOverridesForBitlinkUnprocessableEntityException.php delete mode 100644 lib/Exception/UpdatePaymentContactInfoBadRequestException.php delete mode 100644 lib/Exception/UpdatePaymentContactInfoForbiddenException.php delete mode 100644 lib/Exception/UpdatePaymentContactInfoInternalServerErrorException.php delete mode 100644 lib/Exception/UpdatePaymentContactInfoNotFoundException.php delete mode 100644 lib/Exception/UpdatePaymentContactInfoUnprocessableEntityException.php delete mode 100644 lib/Exception/UpdateSiteAppearanceBadRequestException.php delete mode 100644 lib/Exception/UpdateSiteAppearanceForbiddenException.php delete mode 100644 lib/Exception/UpdateSiteAppearanceInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateSiteAppearanceNotFoundException.php delete mode 100644 lib/Exception/UpdateSiteAppearanceServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateSiteButtonBadRequestException.php delete mode 100644 lib/Exception/UpdateSiteButtonExpectationFailedException.php delete mode 100644 lib/Exception/UpdateSiteButtonForbiddenException.php delete mode 100644 lib/Exception/UpdateSiteButtonInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateSiteButtonNotFoundException.php delete mode 100644 lib/Exception/UpdateSiteButtonTooManyRequestsException.php delete mode 100644 lib/Exception/UpdateSiteButtonUnprocessableEntityException.php delete mode 100644 lib/Exception/UpdateSitesToKeepBadRequestException.php delete mode 100644 lib/Exception/UpdateSitesToKeepForbiddenException.php delete mode 100644 lib/Exception/UpdateSitesToKeepInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateSitesToKeepUnprocessableEntityException.php delete mode 100644 lib/Exception/UpdateStripeCustomerBadRequestException.php delete mode 100644 lib/Exception/UpdateStripeCustomerForbiddenException.php delete mode 100644 lib/Exception/UpdateStripeCustomerInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateStripeCustomerUnprocessableEntityException.php delete mode 100644 lib/Exception/UpdateUserWithRoleBadRequestException.php delete mode 100644 lib/Exception/UpdateUserWithRoleForbiddenException.php delete mode 100644 lib/Exception/UpdateUserWithRoleInternalServerErrorException.php delete mode 100644 lib/Exception/UpdateUserWithRoleServiceUnavailableException.php delete mode 100644 lib/Exception/UpdateUserWithRoleUnprocessableEntityException.php delete mode 100644 lib/Exception/UpgradeOrganizationBadRequestException.php delete mode 100644 lib/Exception/UpgradeOrganizationForbiddenException.php delete mode 100644 lib/Exception/UpgradeOrganizationInternalServerErrorException.php delete mode 100644 lib/Exception/UpgradeOrganizationUnprocessableEntityException.php delete mode 100644 lib/Exception/UpgradeOrganizationWithStripeSubscriptionBadRequestException.php delete mode 100644 lib/Exception/UpgradeOrganizationWithStripeSubscriptionForbiddenException.php delete mode 100644 lib/Exception/UpgradeOrganizationWithStripeSubscriptionInternalServerErrorException.php delete mode 100644 lib/Exception/UpgradeOrganizationWithStripeSubscriptionUnprocessableEntityException.php delete mode 100644 lib/Exception/UpgradeQRCodeToBitlinkBadRequestException.php delete mode 100644 lib/Exception/UpgradeQRCodeToBitlinkForbiddenException.php delete mode 100644 lib/Exception/UpgradeQRCodeToBitlinkInternalServerErrorException.php delete mode 100644 lib/Exception/UpgradeQRCodeToBitlinkNotFoundException.php delete mode 100644 lib/Exception/UpgradeQRCodeToBitlinkTooManyRequestsException.php delete mode 100644 lib/Exception/UploadImageBadRequestException.php delete mode 100644 lib/Exception/UploadImageForbiddenException.php delete mode 100644 lib/Exception/UploadImageInternalServerErrorException.php delete mode 100644 lib/Exception/UploadImageNotFoundException.php delete mode 100644 lib/Exception/UploadImageServiceUnavailableException.php delete mode 100644 lib/Exception/UploadLaunchpadImageBadRequestException.php delete mode 100644 lib/Exception/UploadLaunchpadImageForbiddenException.php delete mode 100644 lib/Exception/UploadLaunchpadImageInternalServerErrorException.php delete mode 100644 lib/Exception/UploadLaunchpadImageNotFoundException.php delete mode 100644 lib/Exception/UploadLaunchpadImageServiceUnavailableException.php delete mode 100644 lib/Exception/UpsertOrgEmailForbiddenException.php delete mode 100644 lib/Exception/UpsertOrgEmailInternalServerErrorException.php delete mode 100644 lib/Exception/UpsertOrgEmailNotFoundException.php delete mode 100644 lib/Exception/UpsertOrgEmailServiceUnavailableException.php delete mode 100644 lib/Exception/UserAcceptInviteBadRequestException.php delete mode 100644 lib/Exception/UserAcceptInviteForbiddenException.php delete mode 100644 lib/Exception/UserAcceptInviteInternalServerErrorException.php delete mode 100644 lib/Exception/UserAcceptInviteUnprocessableEntityException.php delete mode 100644 lib/Exception/ValidateBulkUploadBadRequestException.php delete mode 100644 lib/Exception/ValidateBulkUploadForbiddenException.php delete mode 100644 lib/Exception/ValidateBulkUploadInternalServerErrorException.php delete mode 100644 lib/Exception/ValidateBulkUploadNotFoundException.php delete mode 100644 lib/Exception/ValidateBulkUploadPaymentRequiredException.php delete mode 100644 lib/Exception/ValidateBulkUploadServiceUnavailableException.php delete mode 100644 lib/Exception/ValidateBulkUploadUnprocessableEntityException.php delete mode 100644 lib/Exception/ValidateCustomDomainBadRequestException.php delete mode 100644 lib/Exception/ValidateCustomDomainForbiddenException.php delete mode 100644 lib/Exception/ValidateCustomDomainInternalServerErrorException.php delete mode 100644 lib/Exception/ValidateCustomDomainNotFoundException.php delete mode 100644 lib/Exception/ValidateCustomDomainServiceUnavailableException.php delete mode 100644 lib/Exception/ValidateCustomDomainUnprocessableEntityException.php delete mode 100644 lib/Exception/ValidatePromoCodeBadRequestException.php delete mode 100644 lib/Exception/ValidatePromoCodeInternalServerErrorException.php delete mode 100644 lib/Exception/ValidatePromoCodeNotFoundException.php delete mode 100644 lib/Exception/ValidatePromoCodeServiceUnavailableException.php delete mode 100644 lib/Exception/ValidateStripePromoCodeBadRequestException.php delete mode 100644 lib/Exception/ValidateStripePromoCodeInternalServerErrorException.php delete mode 100644 lib/Exception/ValidateStripePromoCodeNotFoundException.php delete mode 100644 lib/Exception/ValidateStripePromoCodeServiceUnavailableException.php delete mode 100644 lib/Exception/VerifySSOSlugForbiddenException.php delete mode 100644 lib/Exception/VerifySSOSlugInternalServerErrorException.php delete mode 100644 lib/Exception/VerifySSOSlugNotFoundException.php delete mode 100644 lib/Exception/VerifySSOSlugPaymentRequiredException.php delete mode 100644 lib/Exception/VerifySSOSlugServiceUnavailableException.php delete mode 100644 lib/Exception/VerifyTwoFactorCodeBadRequestException.php delete mode 100644 lib/Exception/VerifyTwoFactorCodeInternalServerErrorException.php delete mode 100644 lib/Exception/VerifyTwoFactorCodeNotFoundException.php delete mode 100644 lib/Exception/VerifyTwoFactorCodeServiceUnavailableException.php delete mode 100644 lib/Model/AccessFeature.php delete mode 100644 lib/Model/AccessFeatures.php delete mode 100644 lib/Model/ActivityLog.php delete mode 100644 lib/Model/ActivityLogs.php delete mode 100644 lib/Model/AddOn.php delete mode 100644 lib/Model/AddOnSetting.php delete mode 100644 lib/Model/AddOnUsage.php delete mode 100644 lib/Model/AddOns.php delete mode 100644 lib/Model/Address.php delete mode 100644 lib/Model/AggregateClicksForBitlinks.php delete mode 100644 lib/Model/AggregateClicksForBitlinksByCitiesFacet.php delete mode 100644 lib/Model/AggregateClicksForBitlinksByFacet.php delete mode 100644 lib/Model/AggregateLaunchpadsOverviewGetResponse200.php delete mode 100644 lib/Model/AggregateSitesOverviewGetResponse200.php delete mode 100644 lib/Model/AnalyticsReport.php delete mode 100644 lib/Model/AnalyticsReportContent.php delete mode 100644 lib/Model/AnalyticsReports.php delete mode 100644 lib/Model/AnnualRenewalReminderRequest.php delete mode 100644 lib/Model/AppAssociationDetail.php delete mode 100644 lib/Model/AppAssociations.php delete mode 100644 lib/Model/ApplyDiscount.php delete mode 100644 lib/Model/ApplyTemplateRequest.php delete mode 100644 lib/Model/Authorization.php delete mode 100644 lib/Model/Authorizations.php delete mode 100644 lib/Model/AutobrandedDomain.php delete mode 100644 lib/Model/AutobrandedDomainResultItem.php delete mode 100644 lib/Model/BSDAISearchPrompt.php delete mode 100644 lib/Model/BSDSearchResult.php delete mode 100644 lib/Model/BSDSearchResults.php delete mode 100644 lib/Model/BaseBitlinkClicksMetrics.php delete mode 100644 lib/Model/BasicInfo.php delete mode 100644 lib/Model/BillingAccount.php delete mode 100644 lib/Model/BillingAccountID.php delete mode 100644 lib/Model/BillingAddress.php delete mode 100644 lib/Model/BillingAgreement.php delete mode 100644 lib/Model/BillingAgreementToken.php delete mode 100644 lib/Model/BillingContact.php delete mode 100644 lib/Model/BillingDowngrade.php delete mode 100644 lib/Model/BillingInfo.php delete mode 100644 lib/Model/BillingProvider.php delete mode 100644 lib/Model/BillingSignature.php delete mode 100644 lib/Model/BitlinkClicks.php delete mode 100644 lib/Model/BitlinkClicksMetric.php delete mode 100644 lib/Model/BitlinkClicksMetrics.php delete mode 100644 lib/Model/BitlinkClicksSummary.php delete mode 100644 lib/Model/BitlinkContentResponse.php delete mode 100644 lib/Model/BitlinkEngagements.php delete mode 100644 lib/Model/BitlinkHistory.php delete mode 100644 lib/Model/BitlinkOverrideHistory.php delete mode 100644 lib/Model/BitlinkOverrides.php delete mode 100644 lib/Model/BitlinkOverridesData.php delete mode 100644 lib/Model/BitlySiteAppearance.php delete mode 100644 lib/Model/BitlySiteContent.php delete mode 100644 lib/Model/BitlySiteHeaderAppearance.php delete mode 100644 lib/Model/BitlySiteLayout.php delete mode 100644 lib/Model/BitlySites.php delete mode 100644 lib/Model/BlockContentDigitalBusinessCard.php delete mode 100644 lib/Model/BlockContentSocial.php delete mode 100644 lib/Model/BlockContentYoutube.php delete mode 100644 lib/Model/BlockOrder.php delete mode 100644 lib/Model/BlockOrders.php delete mode 100644 lib/Model/BrandCampaign.php delete mode 100644 lib/Model/BrandCampaignsResponse.php delete mode 100644 lib/Model/BulkAddQRCodeResponse.php delete mode 100644 lib/Model/BulkAddResponse.php delete mode 100644 lib/Model/BulkAddResponseData.php delete mode 100644 lib/Model/BulkShortenUpload.php delete mode 100644 lib/Model/BulkShortenUploadData.php delete mode 100644 lib/Model/BulkShortenUploads.php delete mode 100644 lib/Model/BulkUpload.php delete mode 100644 lib/Model/BulkUploadData.php delete mode 100644 lib/Model/BulkUploadValidate.php delete mode 100644 lib/Model/BulkUploads.php delete mode 100644 lib/Model/ButtonClicks.php delete mode 100644 lib/Model/ButtonClicksSummary.php delete mode 100644 lib/Model/CampaignAddBitlink.php delete mode 100644 lib/Model/CampaignAddBitlinkResponse.php delete mode 100644 lib/Model/CampaignAddBitlinkResponseData.php delete mode 100644 lib/Model/CampaignAddBitlinkResult.php delete mode 100644 lib/Model/CampaignChannel.php delete mode 100644 lib/Model/CampaignChannelClicks.php delete mode 100644 lib/Model/CampaignChannels.php delete mode 100644 lib/Model/CampaignClickData.php delete mode 100644 lib/Model/CampaignClicks.php delete mode 100644 lib/Model/CampaignClicksData.php delete mode 100644 lib/Model/CampaignsCampaignGuidAddURLsPostBody.php delete mode 100644 lib/Model/ChannelBitlink.php delete mode 100644 lib/Model/ChannelBitlinks.php delete mode 100644 lib/Model/Charges.php delete mode 100644 lib/Model/ChartVisualization.php delete mode 100644 lib/Model/CityBitlinkClicksMetric.php delete mode 100644 lib/Model/CityBitlinkClicksMetrics.php delete mode 100644 lib/Model/CityDownloadMetric.php delete mode 100644 lib/Model/CityDownloadMetrics.php delete mode 100644 lib/Model/CityViewMetrics.php delete mode 100644 lib/Model/ClicksByCitiesFacet.php delete mode 100644 lib/Model/ClicksByFacet.php delete mode 100644 lib/Model/ClicksCount.php delete mode 100644 lib/Model/ClicksForAggregate.php delete mode 100644 lib/Model/ClicksForBitlinks.php delete mode 100644 lib/Model/ClicksOverTime.php delete mode 100644 lib/Model/ConsumableFeature.php delete mode 100644 lib/Model/ConsumableFeatureAddOn.php delete mode 100644 lib/Model/ConsumableFeatureFull.php delete mode 100644 lib/Model/ConsumableFeatures.php delete mode 100644 lib/Model/ContactInfo.php delete mode 100644 lib/Model/Contacts.php delete mode 100644 lib/Model/ContentRequestBitlink.php delete mode 100644 lib/Model/ContentRequestSocial.php delete mode 100644 lib/Model/CountryCode.php delete mode 100644 lib/Model/CreateAnalyticsModule.php delete mode 100644 lib/Model/CreateAnalyticsReport.php delete mode 100644 lib/Model/CreateCustomerBody.php delete mode 100644 lib/Model/CreateCustomerResponse.php delete mode 100644 lib/Model/CreateFocusRequest.php delete mode 100644 lib/Model/CreateFocusResponse.php delete mode 100644 lib/Model/CreateLaunchpad.php delete mode 100644 lib/Model/CreateOAuthAppReq.php delete mode 100644 lib/Model/CreateOrgDomainVerificationEmailRequest.php delete mode 100644 lib/Model/CreateOverrideRules.php delete mode 100644 lib/Model/CreatePaymentMethod.php delete mode 100644 lib/Model/CreateQRCodeRequest.php delete mode 100644 lib/Model/CreateSubscriptionBody.php delete mode 100644 lib/Model/CreateSubscriptionResponse.php delete mode 100644 lib/Model/CreateSubscriptionResponseLatestInvoice.php delete mode 100644 lib/Model/CreateUserBody.php delete mode 100644 lib/Model/CurrencyList.php delete mode 100644 lib/Model/CustomDomain.php delete mode 100644 lib/Model/CustomDomainBody.php delete mode 100644 lib/Model/CustomDomains.php delete mode 100644 lib/Model/DataExportQuery.php delete mode 100644 lib/Model/DayEngagements.php delete mode 100644 lib/Model/DeactivateUser.php delete mode 100644 lib/Model/DeactivateUserFeedback.php delete mode 100644 lib/Model/DecideRequest.php delete mode 100644 lib/Model/DecideResponse.php delete mode 100644 lib/Model/DeeplinkApp.php delete mode 100644 lib/Model/DeeplinkApps.php delete mode 100644 lib/Model/DeeplinkMetric.php delete mode 100644 lib/Model/DeeplinkMetricsRollup.php delete mode 100644 lib/Model/DeeplinkRules.php delete mode 100644 lib/Model/DefaultAccessFeature.php delete mode 100644 lib/Model/DefaultConsumableFeature.php delete mode 100644 lib/Model/DeletedQRCodeResponse.php delete mode 100644 lib/Model/DeviceDownloadMetric.php delete mode 100644 lib/Model/DeviceDownloadMetrics.php delete mode 100644 lib/Model/DigitalBusinessCardContact.php delete mode 100644 lib/Model/DigitalBusinessCardContent.php delete mode 100644 lib/Model/DigitalBusinessCardContentFile.php delete mode 100644 lib/Model/DomainAgreement.php delete mode 100644 lib/Model/DomainAgreements.php delete mode 100644 lib/Model/DomainDNS.php delete mode 100644 lib/Model/DomainPurchase.php delete mode 100644 lib/Model/DomainRegistrarInfo.php delete mode 100644 lib/Model/DomainStatus.php delete mode 100644 lib/Model/DomainUpdate.php delete mode 100644 lib/Model/DomainValidate.php delete mode 100644 lib/Model/DomainValidateBody.php delete mode 100644 lib/Model/DowngradeOrgBody.php delete mode 100644 lib/Model/DownloadMetric.php delete mode 100644 lib/Model/DownloadMetrics.php delete mode 100644 lib/Model/DownloadsOverTime.php delete mode 100644 lib/Model/EmailBody.php delete mode 100644 lib/Model/EncodingLogin.php delete mode 100644 lib/Model/Engagement.php delete mode 100644 lib/Model/EngagementForSort.php delete mode 100644 lib/Model/Engagements.php delete mode 100644 lib/Model/EngagementsDailySummary.php delete mode 100644 lib/Model/EngagementsDayDrillDown.php delete mode 100644 lib/Model/EvaluateInterventionRequest.php delete mode 100644 lib/Model/EvaluateInterventionResponse.php delete mode 100644 lib/Model/EvaluateInterventionResponseAnnualPromo.php delete mode 100644 lib/Model/EvaluateInterventionResponseMonthlyPromo.php delete mode 100644 lib/Model/Event.php delete mode 100644 lib/Model/FacetCountData.php delete mode 100644 lib/Model/FacetCountItem.php delete mode 100644 lib/Model/FeatureUsage.php delete mode 100644 lib/Model/Feedback.php delete mode 100644 lib/Model/FormCapturePayload.php delete mode 100644 lib/Model/FormConfig.php delete mode 100644 lib/Model/FormField.php delete mode 100644 lib/Model/FormPage.php delete mode 100644 lib/Model/FormSelectOptions.php delete mode 100644 lib/Model/FullLink.php delete mode 100644 lib/Model/FullQRCodeWithScans.php delete mode 100644 lib/Model/GenericAccessToken.php delete mode 100644 lib/Model/GenericAccessTokenReq.php delete mode 100644 lib/Model/GeoIP.php delete mode 100644 lib/Model/GetFocusResponse.php delete mode 100644 lib/Model/GroupAnalyticsUsage.php delete mode 100644 lib/Model/GroupBitlinksCount.php delete mode 100644 lib/Model/GroupBitlinksCountRollup.php delete mode 100644 lib/Model/GroupClicksByFacet.php delete mode 100644 lib/Model/GroupClicksByFacetRollup.php delete mode 100644 lib/Model/GroupHistoricalUsageTotals.php delete mode 100644 lib/Model/GroupsGroupGuidLinksClicksDevicesGetResponse200.php delete mode 100644 lib/Model/GroupsGroupGuidLinksClicksDevicesGetResponse200MetricsItem.php delete mode 100644 lib/Model/GroupsGroupGuidPagesOverviewGetResponse200.php delete mode 100644 lib/Model/HistoricalUsageTotal.php delete mode 100644 lib/Model/ImageCommon.php delete mode 100644 lib/Model/ImageContent.php delete mode 100644 lib/Model/ImageCrop.php delete mode 100644 lib/Model/ImageCropPoint.php delete mode 100644 lib/Model/ImageUpdate.php delete mode 100644 lib/Model/ImageUpload.php delete mode 100644 lib/Model/ImageUploadResponse.php delete mode 100644 lib/Model/InputDomain.php delete mode 100644 lib/Model/IntegrationOAuth.php delete mode 100644 lib/Model/IntegrationOAuths.php delete mode 100644 lib/Model/Intervention.php delete mode 100644 lib/Model/InterventionsOffered.php delete mode 100644 lib/Model/Invitation.php delete mode 100644 lib/Model/InvitationForLogin.php delete mode 100644 lib/Model/Invitations.php delete mode 100644 lib/Model/InvitationsAccept.php delete mode 100644 lib/Model/InvitationsCreate.php delete mode 100644 lib/Model/InvitationsForLogin.php delete mode 100644 lib/Model/KeepSitesRequest.php delete mode 100644 lib/Model/Launchpad.php delete mode 100644 lib/Model/LaunchpadAppearance.php delete mode 100644 lib/Model/LaunchpadButton.php delete mode 100644 lib/Model/LaunchpadButtonAppearance.php delete mode 100644 lib/Model/LaunchpadButtonCommon.php delete mode 100644 lib/Model/LaunchpadButtonRequest.php delete mode 100644 lib/Model/LaunchpadButtonSortOrder.php delete mode 100644 lib/Model/LaunchpadClicks.php delete mode 100644 lib/Model/LaunchpadContainerRequest.php delete mode 100644 lib/Model/LaunchpadContainerResponse.php delete mode 100644 lib/Model/LaunchpadContentBitlinkRequest.php delete mode 100644 lib/Model/LaunchpadContentBitlinkRequestContent.php delete mode 100644 lib/Model/LaunchpadContentDigitalBusinessCardRequest.php delete mode 100644 lib/Model/LaunchpadContentDigitalBusinessCardResponse.php delete mode 100644 lib/Model/LaunchpadContentImage.php delete mode 100644 lib/Model/LaunchpadContentImageRequest.php delete mode 100644 lib/Model/LaunchpadContentImageShortenURLData.php delete mode 100644 lib/Model/LaunchpadContentSocial.php delete mode 100644 lib/Model/LaunchpadContentSocialRequest.php delete mode 100644 lib/Model/LaunchpadContentTextBlockRequest.php delete mode 100644 lib/Model/LaunchpadContentTextBlockResponse.php delete mode 100644 lib/Model/LaunchpadContentYouTubeRequest.php delete mode 100644 lib/Model/LaunchpadContentYouTubeResponse.php delete mode 100644 lib/Model/LaunchpadImage.php delete mode 100644 lib/Model/LaunchpadImageContentData.php delete mode 100644 lib/Model/LaunchpadImageContentRequestData.php delete mode 100644 lib/Model/LaunchpadImageUpdate.php delete mode 100644 lib/Model/LaunchpadImageUpload.php delete mode 100644 lib/Model/LaunchpadImages.php delete mode 100644 lib/Model/LaunchpadLinkPerformance.php delete mode 100644 lib/Model/LaunchpadPresetTheme.php delete mode 100644 lib/Model/LaunchpadSocial.php delete mode 100644 lib/Model/LaunchpadSocialRequest.php delete mode 100644 lib/Model/Launchpads.php delete mode 100644 lib/Model/LaunchpadsPagination.php delete mode 100644 lib/Model/LinkBody.php delete mode 100644 lib/Model/LinkDestination.php delete mode 100644 lib/Model/LinkEngagements.php delete mode 100644 lib/Model/LinksBitlinkDestinationsPutBody.php delete mode 100644 lib/Model/LinksReportRequestBody.php delete mode 100644 lib/Model/LinksReportRequestResponse.php delete mode 100644 lib/Model/LinksReportRequestResponseRowsItem.php delete mode 100644 lib/Model/LinksReportRequestResponseRowsItemMetricsItem.php delete mode 100644 lib/Model/MetricsColumn.php delete mode 100644 lib/Model/MicrositeDownloadMetric.php delete mode 100644 lib/Model/MicrositeDownloads.php delete mode 100644 lib/Model/MicrositePagination.php delete mode 100644 lib/Model/MinimalDeeplinkApp.php delete mode 100644 lib/Model/Module.php delete mode 100644 lib/Model/ModuleSettings.php delete mode 100644 lib/Model/OAuthAppFull.php delete mode 100644 lib/Model/OAuthAppWithOwnerLogin.php delete mode 100644 lib/Model/OAuthApps.php delete mode 100644 lib/Model/OrgDomainStatus.php delete mode 100644 lib/Model/OrgDomainVerification.php delete mode 100644 lib/Model/OrgDomainsStatus.php delete mode 100644 lib/Model/OrgEmail.php delete mode 100644 lib/Model/OrgEmailBody.php delete mode 100644 lib/Model/OrgEmails.php delete mode 100644 lib/Model/OrgFeatureUsageByGroup.php delete mode 100644 lib/Model/OrgInvitationRequest.php delete mode 100644 lib/Model/OrgInvitationRequests.php delete mode 100644 lib/Model/OrgTierHistory.php delete mode 100644 lib/Model/OrgUsersDataExportQuery.php delete mode 100644 lib/Model/OrganizationGUID.php delete mode 100644 lib/Model/OrganizationHistoricalUsageTotals.php delete mode 100644 lib/Model/OrganizationPreferenceSet.php delete mode 100644 lib/Model/OrganizationPreferences.php delete mode 100644 lib/Model/OrganizationUpdate.php delete mode 100644 lib/Model/OtherBitlinkClicksMetrics.php delete mode 100644 lib/Model/OtherDownloadMetric.php delete mode 100644 lib/Model/OtherViewMetrics.php delete mode 100644 lib/Model/PaginatedAnalyticsReports.php delete mode 100644 lib/Model/PatchOrgControlledDomain.php delete mode 100644 lib/Model/PatchOrgInvitationRequest.php delete mode 100644 lib/Model/PayPalToken.php delete mode 100644 lib/Model/PayPalTokenRequest.php delete mode 100644 lib/Model/Payer.php delete mode 100644 lib/Model/PayerInfo.php delete mode 100644 lib/Model/PaymentInvoice.php delete mode 100644 lib/Model/PaymentInvoiceDetail.php delete mode 100644 lib/Model/PaymentInvoices.php delete mode 100644 lib/Model/PaymentMethod.php delete mode 100644 lib/Model/Payments.php delete mode 100644 lib/Model/PrevalidateYouTubeVideoRequest.php delete mode 100644 lib/Model/PreviewQRCodeRequestV2.php delete mode 100644 lib/Model/PriceMap.php delete mode 100644 lib/Model/ProductUtilizationResponse.php delete mode 100644 lib/Model/PromoCode.php delete mode 100644 lib/Model/PromoCodeValidPlans.php delete mode 100644 lib/Model/PublicCanvaUserBrand.php delete mode 100644 lib/Model/PublicImageURL.php delete mode 100644 lib/Model/PublicOAuthUser.php delete mode 100644 lib/Model/PublicQRCodeResponse.php delete mode 100644 lib/Model/PublicSSLCert.php delete mode 100644 lib/Model/PublicSSOUser.php delete mode 100644 lib/Model/PublicSSOUsersResults.php delete mode 100644 lib/Model/PublicValidate.php delete mode 100644 lib/Model/PurchaseBSD.php delete mode 100644 lib/Model/PurchaseBSDResponse.php delete mode 100644 lib/Model/QRCode.php delete mode 100644 lib/Model/QRCodeCornerResponseItem.php delete mode 100644 lib/Model/QRCodeCustomizationOptionsResponse.php delete mode 100644 lib/Model/QRCodeCustomizations.php delete mode 100644 lib/Model/QRCodeDotPattern.php delete mode 100644 lib/Model/QRCodeDynamic.php delete mode 100644 lib/Model/QRCodeEmail.php delete mode 100644 lib/Model/QRCodeFrame.php delete mode 100644 lib/Model/QRCodeFrameColors.php delete mode 100644 lib/Model/QRCodeFrameResponseItem.php delete mode 100644 lib/Model/QRCodeFrameText.php delete mode 100644 lib/Model/QRCodeFullListResponse.php delete mode 100644 lib/Model/QRCodeFullResponse.php delete mode 100644 lib/Model/QRCodeHistory.php delete mode 100644 lib/Model/QRCodeHistoryEntry.php delete mode 100644 lib/Model/QRCodeImageResponse.php delete mode 100644 lib/Model/QRCodeLogo.php delete mode 100644 lib/Model/QRCodeLogoCrop.php delete mode 100644 lib/Model/QRCodeLogoImage.php delete mode 100644 lib/Model/QRCodePhoneNumber.php delete mode 100644 lib/Model/QRCodeSpecSettings.php delete mode 100644 lib/Model/QRCodeTemplate.php delete mode 100644 lib/Model/QRCodeTemplateRequest.php delete mode 100644 lib/Model/QRCodeTemplateResponse.php delete mode 100644 lib/Model/QRCodeTemplatesResponse.php delete mode 100644 lib/Model/QRCodeTextMessage.php delete mode 100644 lib/Model/QRCodeTypeItem.php delete mode 100644 lib/Model/QRCodeTypeResponse.php delete mode 100644 lib/Model/QRCodeURI.php delete mode 100644 lib/Model/QRCodeVirtualCard.php delete mode 100644 lib/Model/QRCodeWifi.php delete mode 100644 lib/Model/QRCodes.php delete mode 100644 lib/Model/QRCustomizations.php delete mode 100644 lib/Model/QRLogoImages.php delete mode 100644 lib/Model/QRLogoImagesResponse.php delete mode 100644 lib/Model/RedirectQRCodeRequest.php delete mode 100644 lib/Model/Region.php delete mode 100644 lib/Model/Regions.php delete mode 100644 lib/Model/ReportFilters.php delete mode 100644 lib/Model/ReportSettings.php delete mode 100644 lib/Model/RetainedEntitiesAfterDowngrade.php delete mode 100644 lib/Model/SSOSettings.php delete mode 100644 lib/Model/SSOSlug.php delete mode 100644 lib/Model/SSOVerifySlug.php delete mode 100644 lib/Model/Scans.php delete mode 100644 lib/Model/ScansSummary.php delete mode 100644 lib/Model/SetupIntent.php delete mode 100644 lib/Model/ShareableReport.php delete mode 100644 lib/Model/ShopifyDomainDetailsResponse.php delete mode 100644 lib/Model/ShopifyTokenExchangeRequest.php delete mode 100644 lib/Model/SiteBlock.php delete mode 100644 lib/Model/SiteBlockCommon.php delete mode 100644 lib/Model/SiteBlockContainerRequest.php delete mode 100644 lib/Model/SiteBlockContent.php delete mode 100644 lib/Model/SiteButtonRequest.php delete mode 100644 lib/Model/SiteCityViewMetrics.php delete mode 100644 lib/Model/SiteClicks.php delete mode 100644 lib/Model/SiteCloneRequest.php delete mode 100644 lib/Model/SiteContentRequest.php delete mode 100644 lib/Model/SiteImageUpload.php delete mode 100644 lib/Model/SiteLinkPerformance.php delete mode 100644 lib/Model/SiteRedirects.php delete mode 100644 lib/Model/SiteTheme.php delete mode 100644 lib/Model/SiteThemes.php delete mode 100644 lib/Model/SiteViewMetrics.php delete mode 100644 lib/Model/SiteViewsSummary.php delete mode 100644 lib/Model/SitesPagination.php delete mode 100644 lib/Model/SocialContent.php delete mode 100644 lib/Model/SortedButtons.php delete mode 100644 lib/Model/SortedButtonsButtonsItem.php delete mode 100644 lib/Model/SortedButtonsPageViewsItem.php delete mode 100644 lib/Model/SortedEngagements.php delete mode 100644 lib/Model/StripeAddress.php delete mode 100644 lib/Model/StripeCustomer.php delete mode 100644 lib/Model/StripeCustomerInvoiceSettings.php delete mode 100644 lib/Model/StripeOrganizationInfo.php delete mode 100644 lib/Model/StripeUpgradeOrgBody.php delete mode 100644 lib/Model/Subregion.php delete mode 100644 lib/Model/SubscriptionCancelledDate.php delete mode 100644 lib/Model/SubscriptionDiscount.php delete mode 100644 lib/Model/SupportedCurrency.php delete mode 100644 lib/Model/SurveyResponse.php delete mode 100644 lib/Model/Template.php delete mode 100644 lib/Model/TemplatesRequest.php delete mode 100644 lib/Model/TemplatesResponse.php delete mode 100644 lib/Model/TextBlockAppearance.php delete mode 100644 lib/Model/TextBlockAppearanceRequest.php delete mode 100644 lib/Model/TextBlockAppearanceResponse.php delete mode 100644 lib/Model/TextBlockContent.php delete mode 100644 lib/Model/TextBlockStyle.php delete mode 100644 lib/Model/ThirdPartyAppData.php delete mode 100644 lib/Model/Tier.php delete mode 100644 lib/Model/TimeComparisonDetails.php delete mode 100644 lib/Model/TimePeriod.php delete mode 100644 lib/Model/Timeout.php delete mode 100644 lib/Model/TitleResponse.php delete mode 100644 lib/Model/TooManyRequests.php delete mode 100644 lib/Model/TotalEngagements.php delete mode 100644 lib/Model/TotalEngagementsSummary.php delete mode 100644 lib/Model/TrackRequest.php delete mode 100644 lib/Model/TranslationRequest.php delete mode 100644 lib/Model/TwoFactor.php delete mode 100644 lib/Model/TwoFactorCode.php delete mode 100644 lib/Model/TwoFactorVerify.php delete mode 100644 lib/Model/UMGroupPreferences.php delete mode 100644 lib/Model/Unauthorized.php delete mode 100644 lib/Model/UpcomingSubscription.php delete mode 100644 lib/Model/UpdateAnalyticsModule.php delete mode 100644 lib/Model/UpdateAnalyticsReport.php delete mode 100644 lib/Model/UpdateApp.php delete mode 100644 lib/Model/UpdateButtonSortOrder.php delete mode 100644 lib/Model/UpdateCanvaUserBrand.php delete mode 100644 lib/Model/UpdateLaunchpad.php delete mode 100644 lib/Model/UpdateOverrideRules.php delete mode 100644 lib/Model/UpdateQRCodeRequest.php delete mode 100644 lib/Model/UpdateRetainedDowngradeEntities.php delete mode 100644 lib/Model/UpdateStripeCustomerBody.php delete mode 100644 lib/Model/UpgradeOrgBody.php delete mode 100644 lib/Model/UserInternal.php delete mode 100644 lib/Model/UserOnboardingSurvey.php delete mode 100644 lib/Model/UserPasswordChange.php delete mode 100644 lib/Model/UserPreferenceBody.php delete mode 100644 lib/Model/UserPreferences.php delete mode 100644 lib/Model/UserRole.php delete mode 100644 lib/Model/UserRoleReference.php delete mode 100644 lib/Model/UserRoleReferences.php delete mode 100644 lib/Model/Users.php delete mode 100644 lib/Model/UsersPagination.php delete mode 100644 lib/Model/ViewMetric.php delete mode 100644 lib/Model/Views.php delete mode 100644 lib/Model/ViewsSummary.php delete mode 100644 lib/Model/YoutubeVideoRequest.php delete mode 100644 lib/Model/YoutubeVideoResponse.php delete mode 100644 lib/Normalizer/AccessFeatureNormalizer.php delete mode 100644 lib/Normalizer/AccessFeaturesNormalizer.php delete mode 100644 lib/Normalizer/ActivityLogNormalizer.php delete mode 100644 lib/Normalizer/ActivityLogsNormalizer.php delete mode 100644 lib/Normalizer/AddOnNormalizer.php delete mode 100644 lib/Normalizer/AddOnSettingNormalizer.php delete mode 100644 lib/Normalizer/AddOnUsageNormalizer.php delete mode 100644 lib/Normalizer/AddOnsNormalizer.php delete mode 100644 lib/Normalizer/AddressNormalizer.php delete mode 100644 lib/Normalizer/AggregateClicksForBitlinksByCitiesFacetNormalizer.php delete mode 100644 lib/Normalizer/AggregateClicksForBitlinksByFacetNormalizer.php delete mode 100644 lib/Normalizer/AggregateClicksForBitlinksNormalizer.php delete mode 100644 lib/Normalizer/AggregateLaunchpadsOverviewGetResponse200Normalizer.php delete mode 100644 lib/Normalizer/AggregateSitesOverviewGetResponse200Normalizer.php delete mode 100644 lib/Normalizer/AnalyticsReportContentNormalizer.php delete mode 100644 lib/Normalizer/AnalyticsReportNormalizer.php delete mode 100644 lib/Normalizer/AnalyticsReportsNormalizer.php delete mode 100644 lib/Normalizer/AnnualRenewalReminderRequestNormalizer.php delete mode 100644 lib/Normalizer/AppAssociationDetailNormalizer.php delete mode 100644 lib/Normalizer/AppAssociationsNormalizer.php delete mode 100644 lib/Normalizer/ApplyDiscountNormalizer.php delete mode 100644 lib/Normalizer/ApplyTemplateRequestNormalizer.php delete mode 100644 lib/Normalizer/AuthorizationNormalizer.php delete mode 100644 lib/Normalizer/AuthorizationsNormalizer.php delete mode 100644 lib/Normalizer/AutobrandedDomainNormalizer.php delete mode 100644 lib/Normalizer/AutobrandedDomainResultItemNormalizer.php delete mode 100644 lib/Normalizer/BSDAISearchPromptNormalizer.php delete mode 100644 lib/Normalizer/BSDSearchResultNormalizer.php delete mode 100644 lib/Normalizer/BSDSearchResultsNormalizer.php delete mode 100644 lib/Normalizer/BaseBitlinkClicksMetricsNormalizer.php delete mode 100644 lib/Normalizer/BasicInfoNormalizer.php delete mode 100644 lib/Normalizer/BillingAccountIDNormalizer.php delete mode 100644 lib/Normalizer/BillingAccountNormalizer.php delete mode 100644 lib/Normalizer/BillingAddressNormalizer.php delete mode 100644 lib/Normalizer/BillingAgreementNormalizer.php delete mode 100644 lib/Normalizer/BillingAgreementTokenNormalizer.php delete mode 100644 lib/Normalizer/BillingContactNormalizer.php delete mode 100644 lib/Normalizer/BillingDowngradeNormalizer.php delete mode 100644 lib/Normalizer/BillingInfoNormalizer.php delete mode 100644 lib/Normalizer/BillingProviderNormalizer.php delete mode 100644 lib/Normalizer/BillingSignatureNormalizer.php delete mode 100644 lib/Normalizer/BitlinkClicksMetricNormalizer.php delete mode 100644 lib/Normalizer/BitlinkClicksMetricsNormalizer.php delete mode 100644 lib/Normalizer/BitlinkClicksNormalizer.php delete mode 100644 lib/Normalizer/BitlinkClicksSummaryNormalizer.php delete mode 100644 lib/Normalizer/BitlinkContentResponseNormalizer.php delete mode 100644 lib/Normalizer/BitlinkEngagementsNormalizer.php delete mode 100644 lib/Normalizer/BitlinkHistoryNormalizer.php delete mode 100644 lib/Normalizer/BitlinkOverrideHistoryNormalizer.php delete mode 100644 lib/Normalizer/BitlinkOverridesDataNormalizer.php delete mode 100644 lib/Normalizer/BitlinkOverridesNormalizer.php delete mode 100644 lib/Normalizer/BitlySiteAppearanceNormalizer.php delete mode 100644 lib/Normalizer/BitlySiteContentNormalizer.php delete mode 100644 lib/Normalizer/BitlySiteHeaderAppearanceNormalizer.php delete mode 100644 lib/Normalizer/BitlySiteLayoutNormalizer.php delete mode 100644 lib/Normalizer/BitlySitesNormalizer.php delete mode 100644 lib/Normalizer/BlockContentDigitalBusinessCardNormalizer.php delete mode 100644 lib/Normalizer/BlockContentSocialNormalizer.php delete mode 100644 lib/Normalizer/BlockContentYoutubeNormalizer.php delete mode 100644 lib/Normalizer/BlockOrderNormalizer.php delete mode 100644 lib/Normalizer/BlockOrdersNormalizer.php delete mode 100644 lib/Normalizer/BrandCampaignNormalizer.php delete mode 100644 lib/Normalizer/BrandCampaignsResponseNormalizer.php delete mode 100644 lib/Normalizer/BulkAddQRCodeResponseNormalizer.php delete mode 100644 lib/Normalizer/BulkAddResponseDataNormalizer.php delete mode 100644 lib/Normalizer/BulkAddResponseNormalizer.php delete mode 100644 lib/Normalizer/BulkShortenUploadDataNormalizer.php delete mode 100644 lib/Normalizer/BulkShortenUploadNormalizer.php delete mode 100644 lib/Normalizer/BulkShortenUploadsNormalizer.php delete mode 100644 lib/Normalizer/BulkUploadDataNormalizer.php delete mode 100644 lib/Normalizer/BulkUploadNormalizer.php delete mode 100644 lib/Normalizer/BulkUploadValidateNormalizer.php delete mode 100644 lib/Normalizer/BulkUploadsNormalizer.php delete mode 100644 lib/Normalizer/ButtonClicksNormalizer.php delete mode 100644 lib/Normalizer/ButtonClicksSummaryNormalizer.php delete mode 100644 lib/Normalizer/CampaignAddBitlinkNormalizer.php delete mode 100644 lib/Normalizer/CampaignAddBitlinkResponseDataNormalizer.php delete mode 100644 lib/Normalizer/CampaignAddBitlinkResponseNormalizer.php delete mode 100644 lib/Normalizer/CampaignAddBitlinkResultNormalizer.php delete mode 100644 lib/Normalizer/CampaignChannelClicksNormalizer.php delete mode 100644 lib/Normalizer/CampaignChannelNormalizer.php delete mode 100644 lib/Normalizer/CampaignChannelsNormalizer.php delete mode 100644 lib/Normalizer/CampaignClickDataNormalizer.php delete mode 100644 lib/Normalizer/CampaignClicksDataNormalizer.php delete mode 100644 lib/Normalizer/CampaignClicksNormalizer.php delete mode 100644 lib/Normalizer/CampaignsCampaignGuidAddURLsPostBodyNormalizer.php delete mode 100644 lib/Normalizer/ChannelBitlinkNormalizer.php delete mode 100644 lib/Normalizer/ChannelBitlinksNormalizer.php delete mode 100644 lib/Normalizer/ChargesNormalizer.php delete mode 100644 lib/Normalizer/ChartVisualizationNormalizer.php delete mode 100644 lib/Normalizer/CityBitlinkClicksMetricNormalizer.php delete mode 100644 lib/Normalizer/CityBitlinkClicksMetricsNormalizer.php delete mode 100644 lib/Normalizer/CityDownloadMetricNormalizer.php delete mode 100644 lib/Normalizer/CityDownloadMetricsNormalizer.php delete mode 100644 lib/Normalizer/CityViewMetricsNormalizer.php delete mode 100644 lib/Normalizer/ClicksByCitiesFacetNormalizer.php delete mode 100644 lib/Normalizer/ClicksByFacetNormalizer.php delete mode 100644 lib/Normalizer/ClicksCountNormalizer.php delete mode 100644 lib/Normalizer/ClicksForAggregateNormalizer.php delete mode 100644 lib/Normalizer/ClicksForBitlinksNormalizer.php delete mode 100644 lib/Normalizer/ClicksOverTimeNormalizer.php delete mode 100644 lib/Normalizer/ConsumableFeatureAddOnNormalizer.php delete mode 100644 lib/Normalizer/ConsumableFeatureFullNormalizer.php delete mode 100644 lib/Normalizer/ConsumableFeatureNormalizer.php delete mode 100644 lib/Normalizer/ConsumableFeaturesNormalizer.php delete mode 100644 lib/Normalizer/ContactInfoNormalizer.php delete mode 100644 lib/Normalizer/ContactsNormalizer.php delete mode 100644 lib/Normalizer/ContentRequestBitlinkNormalizer.php delete mode 100644 lib/Normalizer/ContentRequestSocialNormalizer.php delete mode 100644 lib/Normalizer/CountryCodeNormalizer.php delete mode 100644 lib/Normalizer/CreateAnalyticsModuleNormalizer.php delete mode 100644 lib/Normalizer/CreateAnalyticsReportNormalizer.php delete mode 100644 lib/Normalizer/CreateCustomerBodyNormalizer.php delete mode 100644 lib/Normalizer/CreateCustomerResponseNormalizer.php delete mode 100644 lib/Normalizer/CreateFocusRequestNormalizer.php delete mode 100644 lib/Normalizer/CreateFocusResponseNormalizer.php delete mode 100644 lib/Normalizer/CreateLaunchpadNormalizer.php delete mode 100644 lib/Normalizer/CreateOAuthAppReqNormalizer.php delete mode 100644 lib/Normalizer/CreateOrgDomainVerificationEmailRequestNormalizer.php delete mode 100644 lib/Normalizer/CreateOverrideRulesNormalizer.php delete mode 100644 lib/Normalizer/CreatePaymentMethodNormalizer.php delete mode 100644 lib/Normalizer/CreateQRCodeRequestNormalizer.php delete mode 100644 lib/Normalizer/CreateSubscriptionBodyNormalizer.php delete mode 100644 lib/Normalizer/CreateSubscriptionResponseLatestInvoiceNormalizer.php delete mode 100644 lib/Normalizer/CreateSubscriptionResponseNormalizer.php delete mode 100644 lib/Normalizer/CreateUserBodyNormalizer.php delete mode 100644 lib/Normalizer/CurrencyListNormalizer.php delete mode 100644 lib/Normalizer/CustomDomainBodyNormalizer.php delete mode 100644 lib/Normalizer/CustomDomainNormalizer.php delete mode 100644 lib/Normalizer/CustomDomainsNormalizer.php delete mode 100644 lib/Normalizer/DataExportQueryNormalizer.php delete mode 100644 lib/Normalizer/DayEngagementsNormalizer.php delete mode 100644 lib/Normalizer/DeactivateUserFeedbackNormalizer.php delete mode 100644 lib/Normalizer/DeactivateUserNormalizer.php delete mode 100644 lib/Normalizer/DecideRequestNormalizer.php delete mode 100644 lib/Normalizer/DecideResponseNormalizer.php delete mode 100644 lib/Normalizer/DeeplinkAppNormalizer.php delete mode 100644 lib/Normalizer/DeeplinkAppsNormalizer.php delete mode 100644 lib/Normalizer/DeeplinkMetricNormalizer.php delete mode 100644 lib/Normalizer/DeeplinkMetricsRollupNormalizer.php delete mode 100644 lib/Normalizer/DeeplinkRulesNormalizer.php delete mode 100644 lib/Normalizer/DefaultAccessFeatureNormalizer.php delete mode 100644 lib/Normalizer/DefaultConsumableFeatureNormalizer.php delete mode 100644 lib/Normalizer/DeletedQRCodeResponseNormalizer.php delete mode 100644 lib/Normalizer/DeviceDownloadMetricNormalizer.php delete mode 100644 lib/Normalizer/DeviceDownloadMetricsNormalizer.php delete mode 100644 lib/Normalizer/DigitalBusinessCardContactNormalizer.php delete mode 100644 lib/Normalizer/DigitalBusinessCardContentFileNormalizer.php delete mode 100644 lib/Normalizer/DigitalBusinessCardContentNormalizer.php delete mode 100644 lib/Normalizer/DomainAgreementNormalizer.php delete mode 100644 lib/Normalizer/DomainAgreementsNormalizer.php delete mode 100644 lib/Normalizer/DomainDNSNormalizer.php delete mode 100644 lib/Normalizer/DomainPurchaseNormalizer.php delete mode 100644 lib/Normalizer/DomainRegistrarInfoNormalizer.php delete mode 100644 lib/Normalizer/DomainStatusNormalizer.php delete mode 100644 lib/Normalizer/DomainUpdateNormalizer.php delete mode 100644 lib/Normalizer/DomainValidateBodyNormalizer.php delete mode 100644 lib/Normalizer/DomainValidateNormalizer.php delete mode 100644 lib/Normalizer/DowngradeOrgBodyNormalizer.php delete mode 100644 lib/Normalizer/DownloadMetricNormalizer.php delete mode 100644 lib/Normalizer/DownloadMetricsNormalizer.php delete mode 100644 lib/Normalizer/DownloadsOverTimeNormalizer.php delete mode 100644 lib/Normalizer/EmailBodyNormalizer.php delete mode 100644 lib/Normalizer/EncodingLoginNormalizer.php delete mode 100644 lib/Normalizer/EngagementForSortNormalizer.php delete mode 100644 lib/Normalizer/EngagementNormalizer.php delete mode 100644 lib/Normalizer/EngagementsDailySummaryNormalizer.php delete mode 100644 lib/Normalizer/EngagementsDayDrillDownNormalizer.php delete mode 100644 lib/Normalizer/EngagementsNormalizer.php delete mode 100644 lib/Normalizer/EvaluateInterventionRequestNormalizer.php delete mode 100644 lib/Normalizer/EvaluateInterventionResponseAnnualPromoNormalizer.php delete mode 100644 lib/Normalizer/EvaluateInterventionResponseMonthlyPromoNormalizer.php delete mode 100644 lib/Normalizer/EvaluateInterventionResponseNormalizer.php delete mode 100644 lib/Normalizer/EventNormalizer.php delete mode 100644 lib/Normalizer/FacetCountDataNormalizer.php delete mode 100644 lib/Normalizer/FacetCountItemNormalizer.php delete mode 100644 lib/Normalizer/FeatureUsageNormalizer.php delete mode 100644 lib/Normalizer/FeedbackNormalizer.php delete mode 100644 lib/Normalizer/FormCapturePayloadNormalizer.php delete mode 100644 lib/Normalizer/FormConfigNormalizer.php delete mode 100644 lib/Normalizer/FormFieldNormalizer.php delete mode 100644 lib/Normalizer/FormPageNormalizer.php delete mode 100644 lib/Normalizer/FormSelectOptionsNormalizer.php delete mode 100644 lib/Normalizer/FullLinkNormalizer.php delete mode 100644 lib/Normalizer/FullQRCodeWithScansNormalizer.php delete mode 100644 lib/Normalizer/GenericAccessTokenNormalizer.php delete mode 100644 lib/Normalizer/GenericAccessTokenReqNormalizer.php delete mode 100644 lib/Normalizer/GeoIPNormalizer.php delete mode 100644 lib/Normalizer/GetFocusResponseNormalizer.php delete mode 100644 lib/Normalizer/GroupAnalyticsUsageNormalizer.php delete mode 100644 lib/Normalizer/GroupBitlinksCountNormalizer.php delete mode 100644 lib/Normalizer/GroupBitlinksCountRollupNormalizer.php delete mode 100644 lib/Normalizer/GroupClicksByFacetNormalizer.php delete mode 100644 lib/Normalizer/GroupClicksByFacetRollupNormalizer.php delete mode 100644 lib/Normalizer/GroupHistoricalUsageTotalsNormalizer.php delete mode 100644 lib/Normalizer/GroupsGroupGuidLinksClicksDevicesGetResponse200MetricsItemNormalizer.php delete mode 100644 lib/Normalizer/GroupsGroupGuidLinksClicksDevicesGetResponse200Normalizer.php delete mode 100644 lib/Normalizer/GroupsGroupGuidPagesOverviewGetResponse200Normalizer.php delete mode 100644 lib/Normalizer/HistoricalUsageTotalNormalizer.php delete mode 100644 lib/Normalizer/ImageCommonNormalizer.php delete mode 100644 lib/Normalizer/ImageContentNormalizer.php delete mode 100644 lib/Normalizer/ImageCropNormalizer.php delete mode 100644 lib/Normalizer/ImageCropPointNormalizer.php delete mode 100644 lib/Normalizer/ImageUpdateNormalizer.php delete mode 100644 lib/Normalizer/ImageUploadNormalizer.php delete mode 100644 lib/Normalizer/ImageUploadResponseNormalizer.php delete mode 100644 lib/Normalizer/InputDomainNormalizer.php delete mode 100644 lib/Normalizer/IntegrationOAuthNormalizer.php delete mode 100644 lib/Normalizer/IntegrationOAuthsNormalizer.php delete mode 100644 lib/Normalizer/InterventionNormalizer.php delete mode 100644 lib/Normalizer/InterventionsOfferedNormalizer.php delete mode 100644 lib/Normalizer/InvitationForLoginNormalizer.php delete mode 100644 lib/Normalizer/InvitationNormalizer.php delete mode 100644 lib/Normalizer/InvitationsAcceptNormalizer.php delete mode 100644 lib/Normalizer/InvitationsCreateNormalizer.php delete mode 100644 lib/Normalizer/InvitationsForLoginNormalizer.php delete mode 100644 lib/Normalizer/InvitationsNormalizer.php delete mode 100644 lib/Normalizer/KeepSitesRequestNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadAppearanceNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadButtonAppearanceNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadButtonCommonNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadButtonNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadButtonRequestNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadButtonSortOrderNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadClicksNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadContainerRequestNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadContainerResponseNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadContentBitlinkRequestContentNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadContentBitlinkRequestNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadContentDigitalBusinessCardRequestNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadContentDigitalBusinessCardResponseNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadContentImageNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadContentImageRequestNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadContentImageShortenURLDataNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadContentSocialNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadContentSocialRequestNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadContentTextBlockRequestNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadContentTextBlockResponseNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadContentYouTubeRequestNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadContentYouTubeResponseNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadImageContentDataNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadImageContentRequestDataNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadImageNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadImageUpdateNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadImageUploadNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadImagesNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadLinkPerformanceNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadPresetThemeNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadSocialNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadSocialRequestNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadsNormalizer.php delete mode 100644 lib/Normalizer/LaunchpadsPaginationNormalizer.php delete mode 100644 lib/Normalizer/LinkBodyNormalizer.php delete mode 100644 lib/Normalizer/LinkDestinationNormalizer.php delete mode 100644 lib/Normalizer/LinkEngagementsNormalizer.php delete mode 100644 lib/Normalizer/LinksBitlinkDestinationsPutBodyNormalizer.php delete mode 100644 lib/Normalizer/LinksReportRequestBodyNormalizer.php delete mode 100644 lib/Normalizer/LinksReportRequestResponseNormalizer.php delete mode 100644 lib/Normalizer/LinksReportRequestResponseRowsItemMetricsItemNormalizer.php delete mode 100644 lib/Normalizer/LinksReportRequestResponseRowsItemNormalizer.php delete mode 100644 lib/Normalizer/MetricsColumnNormalizer.php delete mode 100644 lib/Normalizer/MicrositeDownloadMetricNormalizer.php delete mode 100644 lib/Normalizer/MicrositeDownloadsNormalizer.php delete mode 100644 lib/Normalizer/MicrositePaginationNormalizer.php delete mode 100644 lib/Normalizer/MinimalDeeplinkAppNormalizer.php delete mode 100644 lib/Normalizer/ModuleNormalizer.php delete mode 100644 lib/Normalizer/ModuleSettingsNormalizer.php delete mode 100644 lib/Normalizer/OAuthAppFullNormalizer.php delete mode 100644 lib/Normalizer/OAuthAppWithOwnerLoginNormalizer.php delete mode 100644 lib/Normalizer/OAuthAppsNormalizer.php delete mode 100644 lib/Normalizer/OrgDomainStatusNormalizer.php delete mode 100644 lib/Normalizer/OrgDomainVerificationNormalizer.php delete mode 100644 lib/Normalizer/OrgDomainsStatusNormalizer.php delete mode 100644 lib/Normalizer/OrgEmailBodyNormalizer.php delete mode 100644 lib/Normalizer/OrgEmailNormalizer.php delete mode 100644 lib/Normalizer/OrgEmailsNormalizer.php delete mode 100644 lib/Normalizer/OrgFeatureUsageByGroupNormalizer.php delete mode 100644 lib/Normalizer/OrgInvitationRequestNormalizer.php delete mode 100644 lib/Normalizer/OrgInvitationRequestsNormalizer.php delete mode 100644 lib/Normalizer/OrgTierHistoryNormalizer.php delete mode 100644 lib/Normalizer/OrgUsersDataExportQueryNormalizer.php delete mode 100644 lib/Normalizer/OrganizationGUIDNormalizer.php delete mode 100644 lib/Normalizer/OrganizationHistoricalUsageTotalsNormalizer.php delete mode 100644 lib/Normalizer/OrganizationPreferenceSetNormalizer.php delete mode 100644 lib/Normalizer/OrganizationPreferencesNormalizer.php delete mode 100644 lib/Normalizer/OrganizationUpdateNormalizer.php delete mode 100644 lib/Normalizer/OtherBitlinkClicksMetricsNormalizer.php delete mode 100644 lib/Normalizer/OtherDownloadMetricNormalizer.php delete mode 100644 lib/Normalizer/OtherViewMetricsNormalizer.php delete mode 100644 lib/Normalizer/PaginatedAnalyticsReportsNormalizer.php delete mode 100644 lib/Normalizer/PatchOrgControlledDomainNormalizer.php delete mode 100644 lib/Normalizer/PatchOrgInvitationRequestNormalizer.php delete mode 100644 lib/Normalizer/PayPalTokenNormalizer.php delete mode 100644 lib/Normalizer/PayPalTokenRequestNormalizer.php delete mode 100644 lib/Normalizer/PayerInfoNormalizer.php delete mode 100644 lib/Normalizer/PayerNormalizer.php delete mode 100644 lib/Normalizer/PaymentInvoiceDetailNormalizer.php delete mode 100644 lib/Normalizer/PaymentInvoiceNormalizer.php delete mode 100644 lib/Normalizer/PaymentInvoicesNormalizer.php delete mode 100644 lib/Normalizer/PaymentMethodNormalizer.php delete mode 100644 lib/Normalizer/PaymentsNormalizer.php delete mode 100644 lib/Normalizer/PrevalidateYouTubeVideoRequestNormalizer.php delete mode 100644 lib/Normalizer/PreviewQRCodeRequestV2Normalizer.php delete mode 100644 lib/Normalizer/PriceMapNormalizer.php delete mode 100644 lib/Normalizer/ProductUtilizationResponseNormalizer.php delete mode 100644 lib/Normalizer/PromoCodeNormalizer.php delete mode 100644 lib/Normalizer/PromoCodeValidPlansNormalizer.php delete mode 100644 lib/Normalizer/PublicCanvaUserBrandNormalizer.php delete mode 100644 lib/Normalizer/PublicImageURLNormalizer.php delete mode 100644 lib/Normalizer/PublicOAuthUserNormalizer.php delete mode 100644 lib/Normalizer/PublicQRCodeResponseNormalizer.php delete mode 100644 lib/Normalizer/PublicSSLCertNormalizer.php delete mode 100644 lib/Normalizer/PublicSSOUserNormalizer.php delete mode 100644 lib/Normalizer/PublicSSOUsersResultsNormalizer.php delete mode 100644 lib/Normalizer/PublicValidateNormalizer.php delete mode 100644 lib/Normalizer/PurchaseBSDNormalizer.php delete mode 100644 lib/Normalizer/PurchaseBSDResponseNormalizer.php delete mode 100644 lib/Normalizer/QRCodeCornerResponseItemNormalizer.php delete mode 100644 lib/Normalizer/QRCodeCustomizationOptionsResponseNormalizer.php delete mode 100644 lib/Normalizer/QRCodeCustomizationsNormalizer.php delete mode 100644 lib/Normalizer/QRCodeDotPatternNormalizer.php delete mode 100644 lib/Normalizer/QRCodeDynamicNormalizer.php delete mode 100644 lib/Normalizer/QRCodeEmailNormalizer.php delete mode 100644 lib/Normalizer/QRCodeFrameColorsNormalizer.php delete mode 100644 lib/Normalizer/QRCodeFrameNormalizer.php delete mode 100644 lib/Normalizer/QRCodeFrameResponseItemNormalizer.php delete mode 100644 lib/Normalizer/QRCodeFrameTextNormalizer.php delete mode 100644 lib/Normalizer/QRCodeFullListResponseNormalizer.php delete mode 100644 lib/Normalizer/QRCodeFullResponseNormalizer.php delete mode 100644 lib/Normalizer/QRCodeHistoryEntryNormalizer.php delete mode 100644 lib/Normalizer/QRCodeHistoryNormalizer.php delete mode 100644 lib/Normalizer/QRCodeImageResponseNormalizer.php delete mode 100644 lib/Normalizer/QRCodeLogoCropNormalizer.php delete mode 100644 lib/Normalizer/QRCodeLogoImageNormalizer.php delete mode 100644 lib/Normalizer/QRCodeLogoNormalizer.php delete mode 100644 lib/Normalizer/QRCodeNormalizer.php delete mode 100644 lib/Normalizer/QRCodePhoneNumberNormalizer.php delete mode 100644 lib/Normalizer/QRCodeSpecSettingsNormalizer.php delete mode 100644 lib/Normalizer/QRCodeTemplateNormalizer.php delete mode 100644 lib/Normalizer/QRCodeTemplateRequestNormalizer.php delete mode 100644 lib/Normalizer/QRCodeTemplateResponseNormalizer.php delete mode 100644 lib/Normalizer/QRCodeTemplatesResponseNormalizer.php delete mode 100644 lib/Normalizer/QRCodeTextMessageNormalizer.php delete mode 100644 lib/Normalizer/QRCodeTypeItemNormalizer.php delete mode 100644 lib/Normalizer/QRCodeTypeResponseNormalizer.php delete mode 100644 lib/Normalizer/QRCodeURINormalizer.php delete mode 100644 lib/Normalizer/QRCodeVirtualCardNormalizer.php delete mode 100644 lib/Normalizer/QRCodeWifiNormalizer.php delete mode 100644 lib/Normalizer/QRCodesNormalizer.php delete mode 100644 lib/Normalizer/QRCustomizationsNormalizer.php delete mode 100644 lib/Normalizer/QRLogoImagesNormalizer.php delete mode 100644 lib/Normalizer/QRLogoImagesResponseNormalizer.php delete mode 100644 lib/Normalizer/RedirectQRCodeRequestNormalizer.php delete mode 100644 lib/Normalizer/RegionNormalizer.php delete mode 100644 lib/Normalizer/RegionsNormalizer.php delete mode 100644 lib/Normalizer/ReportFiltersNormalizer.php delete mode 100644 lib/Normalizer/ReportSettingsNormalizer.php delete mode 100644 lib/Normalizer/RetainedEntitiesAfterDowngradeNormalizer.php delete mode 100644 lib/Normalizer/SSOSettingsNormalizer.php delete mode 100644 lib/Normalizer/SSOSlugNormalizer.php delete mode 100644 lib/Normalizer/SSOVerifySlugNormalizer.php delete mode 100644 lib/Normalizer/ScansNormalizer.php delete mode 100644 lib/Normalizer/ScansSummaryNormalizer.php delete mode 100644 lib/Normalizer/SetupIntentNormalizer.php delete mode 100644 lib/Normalizer/ShareableReportNormalizer.php delete mode 100644 lib/Normalizer/ShopifyDomainDetailsResponseNormalizer.php delete mode 100644 lib/Normalizer/ShopifyTokenExchangeRequestNormalizer.php delete mode 100644 lib/Normalizer/SiteBlockCommonNormalizer.php delete mode 100644 lib/Normalizer/SiteBlockContainerRequestNormalizer.php delete mode 100644 lib/Normalizer/SiteBlockContentNormalizer.php delete mode 100644 lib/Normalizer/SiteBlockNormalizer.php delete mode 100644 lib/Normalizer/SiteButtonRequestNormalizer.php delete mode 100644 lib/Normalizer/SiteCityViewMetricsNormalizer.php delete mode 100644 lib/Normalizer/SiteClicksNormalizer.php delete mode 100644 lib/Normalizer/SiteCloneRequestNormalizer.php delete mode 100644 lib/Normalizer/SiteContentRequestNormalizer.php delete mode 100644 lib/Normalizer/SiteImageUploadNormalizer.php delete mode 100644 lib/Normalizer/SiteLinkPerformanceNormalizer.php delete mode 100644 lib/Normalizer/SiteRedirectsNormalizer.php delete mode 100644 lib/Normalizer/SiteThemeNormalizer.php delete mode 100644 lib/Normalizer/SiteThemesNormalizer.php delete mode 100644 lib/Normalizer/SiteViewMetricsNormalizer.php delete mode 100644 lib/Normalizer/SiteViewsSummaryNormalizer.php delete mode 100644 lib/Normalizer/SitesPaginationNormalizer.php delete mode 100644 lib/Normalizer/SocialContentNormalizer.php delete mode 100644 lib/Normalizer/SortedButtonsButtonsItemNormalizer.php delete mode 100644 lib/Normalizer/SortedButtonsNormalizer.php delete mode 100644 lib/Normalizer/SortedButtonsPageViewsItemNormalizer.php delete mode 100644 lib/Normalizer/SortedEngagementsNormalizer.php delete mode 100644 lib/Normalizer/StripeAddressNormalizer.php delete mode 100644 lib/Normalizer/StripeCustomerInvoiceSettingsNormalizer.php delete mode 100644 lib/Normalizer/StripeCustomerNormalizer.php delete mode 100644 lib/Normalizer/StripeOrganizationInfoNormalizer.php delete mode 100644 lib/Normalizer/StripeUpgradeOrgBodyNormalizer.php delete mode 100644 lib/Normalizer/SubregionNormalizer.php delete mode 100644 lib/Normalizer/SubscriptionCancelledDateNormalizer.php delete mode 100644 lib/Normalizer/SubscriptionDiscountNormalizer.php delete mode 100644 lib/Normalizer/SupportedCurrencyNormalizer.php delete mode 100644 lib/Normalizer/SurveyResponseNormalizer.php delete mode 100644 lib/Normalizer/TemplateNormalizer.php delete mode 100644 lib/Normalizer/TemplatesRequestNormalizer.php delete mode 100644 lib/Normalizer/TemplatesResponseNormalizer.php delete mode 100644 lib/Normalizer/TextBlockAppearanceNormalizer.php delete mode 100644 lib/Normalizer/TextBlockAppearanceRequestNormalizer.php delete mode 100644 lib/Normalizer/TextBlockAppearanceResponseNormalizer.php delete mode 100644 lib/Normalizer/TextBlockContentNormalizer.php delete mode 100644 lib/Normalizer/TextBlockStyleNormalizer.php delete mode 100644 lib/Normalizer/ThirdPartyAppDataNormalizer.php delete mode 100644 lib/Normalizer/TierNormalizer.php delete mode 100644 lib/Normalizer/TimeComparisonDetailsNormalizer.php delete mode 100644 lib/Normalizer/TimePeriodNormalizer.php delete mode 100644 lib/Normalizer/TimeoutNormalizer.php delete mode 100644 lib/Normalizer/TitleResponseNormalizer.php delete mode 100644 lib/Normalizer/TooManyRequestsNormalizer.php delete mode 100644 lib/Normalizer/TotalEngagementsNormalizer.php delete mode 100644 lib/Normalizer/TotalEngagementsSummaryNormalizer.php delete mode 100644 lib/Normalizer/TrackRequestNormalizer.php delete mode 100644 lib/Normalizer/TranslationRequestNormalizer.php delete mode 100644 lib/Normalizer/TwoFactorCodeNormalizer.php delete mode 100644 lib/Normalizer/TwoFactorNormalizer.php delete mode 100644 lib/Normalizer/TwoFactorVerifyNormalizer.php delete mode 100644 lib/Normalizer/UMGroupPreferencesNormalizer.php delete mode 100644 lib/Normalizer/UnauthorizedNormalizer.php delete mode 100644 lib/Normalizer/UpcomingSubscriptionNormalizer.php delete mode 100644 lib/Normalizer/UpdateAnalyticsModuleNormalizer.php delete mode 100644 lib/Normalizer/UpdateAnalyticsReportNormalizer.php delete mode 100644 lib/Normalizer/UpdateAppNormalizer.php delete mode 100644 lib/Normalizer/UpdateButtonSortOrderNormalizer.php delete mode 100644 lib/Normalizer/UpdateCanvaUserBrandNormalizer.php delete mode 100644 lib/Normalizer/UpdateLaunchpadNormalizer.php delete mode 100644 lib/Normalizer/UpdateOverrideRulesNormalizer.php delete mode 100644 lib/Normalizer/UpdateQRCodeRequestNormalizer.php delete mode 100644 lib/Normalizer/UpdateRetainedDowngradeEntitiesNormalizer.php delete mode 100644 lib/Normalizer/UpdateStripeCustomerBodyNormalizer.php delete mode 100644 lib/Normalizer/UpgradeOrgBodyNormalizer.php delete mode 100644 lib/Normalizer/UserInternalNormalizer.php delete mode 100644 lib/Normalizer/UserOnboardingSurveyNormalizer.php delete mode 100644 lib/Normalizer/UserPasswordChangeNormalizer.php delete mode 100644 lib/Normalizer/UserPreferenceBodyNormalizer.php delete mode 100644 lib/Normalizer/UserPreferencesNormalizer.php delete mode 100644 lib/Normalizer/UserRoleNormalizer.php delete mode 100644 lib/Normalizer/UserRoleReferenceNormalizer.php delete mode 100644 lib/Normalizer/UserRoleReferencesNormalizer.php delete mode 100644 lib/Normalizer/UsersNormalizer.php delete mode 100644 lib/Normalizer/UsersPaginationNormalizer.php delete mode 100644 lib/Normalizer/ViewMetricNormalizer.php delete mode 100644 lib/Normalizer/ViewsNormalizer.php delete mode 100644 lib/Normalizer/ViewsSummaryNormalizer.php delete mode 100644 lib/Normalizer/YoutubeVideoRequestNormalizer.php delete mode 100644 lib/Normalizer/YoutubeVideoResponseNormalizer.php diff --git a/lib/Client.php b/lib/Client.php index 0b09e44..70c7e25 100644 --- a/lib/Client.php +++ b/lib/Client.php @@ -32,53 +32,6 @@ public function createBitlink(Model\Shorten $requestBody, string $fetch = self:: return $this->executeEndpoint(new Endpoint\CreateBitlink($requestBody), $fetch); } - /** - * Converts a long url to a Bitlink and sets additional parameters. You may see errors returned from this endpoint - "BRANDED_LINK_MONTHLY_LIMIT_EXCEEDED" occurs if you have shortened more links than your account is configured for for the month, and "DNS_CONFIGURATION_ERROR" occurs if you are attempting to shorten links against a custom domain which doesn't have DNS properly configured. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LinkBody|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateLinkBadRequestException - * @throws Exception\CreateLinkPaymentRequiredException - * @throws Exception\CreateLinkForbiddenException - * @throws Exception\CreateLinkNotFoundException - * @throws Exception\CreateLinkConflictException - * @throws Exception\CreateLinkExpectationFailedException - * @throws Exception\CreateLinkUnprocessableEntityException - * @throws Exception\CreateLinkTooManyRequestsException - * @throws Exception\CreateLinkInternalServerErrorException - * @throws Exception\CreateLinkServiceUnavailableException - */ - public function createLink(Model\FullLink $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateLink($requestBody), $fetch); - } - - /** - * Updates the destination of a bitlink. You may see errors returned from this endpoint - "BRANDED_LINK_MONTHLY_LIMIT_EXCEEDED" occurs if you have shortened more links than your account is configured for for the month, and "DNS_CONFIGURATION_ERROR" occurs if you are attempting to shorten links against a custom domain which doesn't have DNS properly configured. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LinkBody|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateLinkBadRequestException - * @throws Exception\UpdateLinkPaymentRequiredException - * @throws Exception\UpdateLinkForbiddenException - * @throws Exception\UpdateLinkNotFoundException - * @throws Exception\UpdateLinkConflictException - * @throws Exception\UpdateLinkExpectationFailedException - * @throws Exception\UpdateLinkUnprocessableEntityException - * @throws Exception\UpdateLinkTooManyRequestsException - * @throws Exception\UpdateLinkInternalServerErrorException - * @throws Exception\UpdateLinkServiceUnavailableException - */ - public function updateLink(string $bitlink, Model\LinksBitlinkDestinationsPutBody $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateLink($bitlink, $requestBody), $fetch); - } - /** * Converts a long url to a Bitlink and sets additional parameters. You may see errors returned from this endpoint - "BRANDED_LINK_MONTHLY_LIMIT_EXCEEDED" occurs if you have shortened more links than your account is configured for for the month, and "DNS_CONFIGURATION_ERROR" occurs if you are attempting to shorten links against a custom domain which doesn't have DNS properly configured. * @@ -184,30 +137,6 @@ public function expandBitlink(Model\ExpandBitlink $requestBody, string $fetch = return $this->executeEndpoint(new Endpoint\ExpandBitlink($requestBody), $fetch); } - /** - * Retrieves batched click counts for the specified link. - * - * @param array $queryParameters { - * - * @var array $bitlink_id The query parameter used to get clicks for a Bitlink - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ClicksForBitlinks|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetBitlinkClickCountsBadRequestException - * @throws Exception\GetBitlinkClickCountsNotFoundException - * @throws Exception\GetBitlinkClickCountsGoneException - * @throws Exception\GetBitlinkClickCountsUnprocessableEntityException - * @throws Exception\GetBitlinkClickCountsInternalServerErrorException - * @throws Exception\GetBitlinkClickCountsServiceUnavailableException - */ - public function getBitlinkClickCounts(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetBitlinkClickCounts($queryParameters), $fetch); - } - /** * Returns the click counts for the specified link in an array based on a date. * @@ -262,116 +191,99 @@ public function getClicksSummaryForBitlink(string $bitlink, array $queryParamete } /** - * Returns the scan counts for the specified link in an array based on a date. + * Returns the country origins of click traffic for the specified link. * * @param string $bitlink A Bitlink made of the domain and hash * @param array $queryParameters { * * @var string $unit A unit of time * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time + * @var int $size The quantity of items to be be returned * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/json|text/csv * - * @return Model\Scans|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetScansForBitlinkBadRequestException - * @throws Exception\GetScansForBitlinkForbiddenException - * @throws Exception\GetScansForBitlinkNotFoundException - * @throws Exception\GetScansForBitlinkGoneException - * @throws Exception\GetScansForBitlinkInternalServerErrorException - * @throws Exception\GetScansForBitlinkServiceUnavailableException - */ - public function getScansForBitlink(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetScansForBitlink($bitlink, $queryParameters, $accept), $fetch); - } - - /** - * Returns the scan counts for the specified link rolled up into a single field. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ScansSummary|\Psr\Http\Message\ResponseInterface|null + * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetScansSummaryForBitlinkBadRequestException - * @throws Exception\GetScansSummaryForBitlinkForbiddenException - * @throws Exception\GetScansSummaryForBitlinkNotFoundException - * @throws Exception\GetScansSummaryForBitlinkGoneException - * @throws Exception\GetScansSummaryForBitlinkInternalServerErrorException - * @throws Exception\GetScansSummaryForBitlinkServiceUnavailableException + * @throws Exception\GetMetricsForBitlinkByCountriesBadRequestException + * @throws Exception\GetMetricsForBitlinkByCountriesForbiddenException + * @throws Exception\GetMetricsForBitlinkByCountriesNotFoundException + * @throws Exception\GetMetricsForBitlinkByCountriesGoneException + * @throws Exception\GetMetricsForBitlinkByCountriesTooManyRequestsException + * @throws Exception\GetMetricsForBitlinkByCountriesInternalServerErrorException + * @throws Exception\GetMetricsForBitlinkByCountriesServiceUnavailableException */ - public function getScansSummaryForBitlink(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getMetricsForBitlinkByCountries(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new Endpoint\GetScansSummaryForBitlink($bitlink, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetMetricsForBitlinkByCountries($bitlink, $queryParameters, $accept), $fetch); } /** - * Returns an array of bitlink click counts for the specified link. The array is comprised of click counts for each time window, where the window is based on the provided unit. + * Returns the city origins of click traffic for the specified link. * * @param string $bitlink A Bitlink made of the domain and hash * @param array $queryParameters { * * @var string $unit A unit of time * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time + * @var int $size The quantity of items to be be returned * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) * } * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/json|text/csv * - * @return Model\BitlinkClicks|\Psr\Http\Message\ResponseInterface|null + * @return Model\CityMetrics|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetBitlinkClicksBadRequestException - * @throws Exception\GetBitlinkClicksForbiddenException - * @throws Exception\GetBitlinkClicksNotFoundException - * @throws Exception\GetBitlinkClicksGoneException - * @throws Exception\GetBitlinkClicksInternalServerErrorException - * @throws Exception\GetBitlinkClicksServiceUnavailableException + * @throws Exception\GetMetricsForBitlinkByCitiesBadRequestException + * @throws Exception\GetMetricsForBitlinkByCitiesPaymentRequiredException + * @throws Exception\GetMetricsForBitlinkByCitiesForbiddenException + * @throws Exception\GetMetricsForBitlinkByCitiesNotFoundException + * @throws Exception\GetMetricsForBitlinkByCitiesGoneException + * @throws Exception\GetMetricsForBitlinkByCitiesTooManyRequestsException + * @throws Exception\GetMetricsForBitlinkByCitiesInternalServerErrorException + * @throws Exception\GetMetricsForBitlinkByCitiesServiceUnavailableException */ - public function getBitlinkClicks(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getMetricsForBitlinkByCities(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new Endpoint\GetBitlinkClicks($bitlink, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetMetricsForBitlinkByCities($bitlink, $queryParameters, $accept), $fetch); } /** - * Returns the bitlink click counts for the specified link rolled up into a single field. + * Returns the device types generating click traffic to the specified link. * * @param string $bitlink A Bitlink made of the domain and hash * @param array $queryParameters { * * @var string $unit A unit of time * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time + * @var int $size The quantity of items to be be returned * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) * } * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/json|text/csv * - * @return Model\BitlinkClicksSummary|\Psr\Http\Message\ResponseInterface|null + * @return Model\DeviceMetrics|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetBitlinkClicksSummaryBadRequestException - * @throws Exception\GetBitlinkClicksSummaryForbiddenException - * @throws Exception\GetBitlinkClicksSummaryNotFoundException - * @throws Exception\GetBitlinkClicksSummaryGoneException - * @throws Exception\GetBitlinkClicksSummaryInternalServerErrorException - * @throws Exception\GetBitlinkClicksSummaryServiceUnavailableException + * @throws Exception\GetMetricsForBitlinkByDevicesBadRequestException + * @throws Exception\GetMetricsForBitlinkByDevicesPaymentRequiredException + * @throws Exception\GetMetricsForBitlinkByDevicesForbiddenException + * @throws Exception\GetMetricsForBitlinkByDevicesNotFoundException + * @throws Exception\GetMetricsForBitlinkByDevicesGoneException + * @throws Exception\GetMetricsForBitlinkByDevicesTooManyRequestsException + * @throws Exception\GetMetricsForBitlinkByDevicesInternalServerErrorException + * @throws Exception\GetMetricsForBitlinkByDevicesServiceUnavailableException */ - public function getBitlinkClicksSummary(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getMetricsForBitlinkByDevices(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new Endpoint\GetBitlinkClicksSummary($bitlink, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetMetricsForBitlinkByDevices($bitlink, $queryParameters, $accept), $fetch); } /** - * Returns the country origins of click traffic and their counts for the specified link. + * Returns referrer click counts for the specified link. * * @param string $bitlink A Bitlink made of the domain and hash * @param array $queryParameters { @@ -385,23 +297,23 @@ public function getBitlinkClicksSummary(string $bitlink, array $queryParameters * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/json|text/csv * - * @return Model\BitlinkClicksMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByCountriesBadRequestException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByCountriesPaymentRequiredException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByCountriesForbiddenException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByCountriesNotFoundException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByCountriesGoneException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByCountriesInternalServerErrorException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByCountriesServiceUnavailableException + * @throws Exception\GetMetricsForBitlinkByReferrersBadRequestException + * @throws Exception\GetMetricsForBitlinkByReferrersForbiddenException + * @throws Exception\GetMetricsForBitlinkByReferrersNotFoundException + * @throws Exception\GetMetricsForBitlinkByReferrersGoneException + * @throws Exception\GetMetricsForBitlinkByReferrersTooManyRequestsException + * @throws Exception\GetMetricsForBitlinkByReferrersInternalServerErrorException + * @throws Exception\GetMetricsForBitlinkByReferrersServiceUnavailableException */ - public function getBitlinkClicksMetricsForBitlinkByCountries(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + public function getMetricsForBitlinkByReferrers(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new Endpoint\GetBitlinkClicksMetricsForBitlinkByCountries($bitlink, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetMetricsForBitlinkByReferrers($bitlink, $queryParameters, $accept), $fetch); } /** - * Returns the city origins of click traffic and their counts for the specified link. + * Returns referrer click counts for the specified link. * * @param string $bitlink A Bitlink made of the domain and hash * @param array $queryParameters { @@ -415,23 +327,22 @@ public function getBitlinkClicksMetricsForBitlinkByCountries(string $bitlink, ar * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * @param array $accept Accept content header application/json|text/csv * - * @return Model\CityBitlinkClicksMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByCitiesBadRequestException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByCitiesPaymentRequiredException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByCitiesForbiddenException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByCitiesNotFoundException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByCitiesGoneException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByCitiesInternalServerErrorException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByCitiesServiceUnavailableException + * @throws Exception\GetMetricsForBitlinkByReferrerNameBadRequestException + * @throws Exception\GetMetricsForBitlinkByReferrerNameForbiddenException + * @throws Exception\GetMetricsForBitlinkByReferrerNameNotFoundException + * @throws Exception\GetMetricsForBitlinkByReferrerNameGoneException + * @throws Exception\GetMetricsForBitlinkByReferrerNameInternalServerErrorException + * @throws Exception\GetMetricsForBitlinkByReferrerNameServiceUnavailableException */ - public function getBitlinkClicksMetricsForBitlinkByCities(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + public function getMetricsForBitlinkByReferrerName(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new Endpoint\GetBitlinkClicksMetricsForBitlinkByCities($bitlink, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetMetricsForBitlinkByReferrerName($bitlink, $queryParameters, $accept), $fetch); } /** - * Returns the device os generating clicks traffic to the specified link. + * Returns the referring domain click counts for the specified link. * * @param string $bitlink A Bitlink made of the domain and hash * @param array $queryParameters { @@ -442,26 +353,25 @@ public function getBitlinkClicksMetricsForBitlinkByCities(string $bitlink, array * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) * } * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\BitlinkClicksMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSBadRequestException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSPaymentRequiredException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSForbiddenException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSNotFoundException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSGoneException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSInternalServerErrorException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSServiceUnavailableException + * @throws Exception\GetMetricsForBitlinkByReferringDomainsBadRequestException + * @throws Exception\GetMetricsForBitlinkByReferringDomainsForbiddenException + * @throws Exception\GetMetricsForBitlinkByReferringDomainsNotFoundException + * @throws Exception\GetMetricsForBitlinkByReferringDomainsGoneException + * @throws Exception\GetMetricsForBitlinkByReferringDomainsTooManyRequestsException + * @throws Exception\GetMetricsForBitlinkByReferringDomainsInternalServerErrorException + * @throws Exception\GetMetricsForBitlinkByReferringDomainsServiceUnavailableException */ - public function getBitlinkClicksMetricsForBitlinkByDevicesOS(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + public function getMetricsForBitlinkByReferringDomains(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetBitlinkClicksMetricsForBitlinkByDevicesOS($bitlink, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetMetricsForBitlinkByReferringDomains($bitlink, $queryParameters), $fetch); } /** - * Returns the browsers generating click traffic to the specified link as well as their counts. + * Returns click metrics grouped by referrers for the specified link. * * @param string $bitlink A Bitlink made of the domain and hash * @param array $queryParameters { @@ -472,110 +382,92 @@ public function getBitlinkClicksMetricsForBitlinkByDevicesOS(string $bitlink, ar * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) * } * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\BitlinkClicksMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\ReferrersByDomains|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByBrowserBadRequestException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByBrowserPaymentRequiredException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByBrowserForbiddenException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByBrowserNotFoundException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByBrowserGoneException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByBrowserInternalServerErrorException - * @throws Exception\GetBitlinkClicksMetricsForBitlinkByBrowserServiceUnavailableException + * @throws Exception\GetMetricsForBitlinkByReferrersByDomainsBadRequestException + * @throws Exception\GetMetricsForBitlinkByReferrersByDomainsForbiddenException + * @throws Exception\GetMetricsForBitlinkByReferrersByDomainsNotFoundException + * @throws Exception\GetMetricsForBitlinkByReferrersByDomainsGoneException + * @throws Exception\GetMetricsForBitlinkByReferrersByDomainsTooManyRequestsException + * @throws Exception\GetMetricsForBitlinkByReferrersByDomainsInternalServerErrorException + * @throws Exception\GetMetricsForBitlinkByReferrersByDomainsServiceUnavailableException */ - public function getBitlinkClicksMetricsForBitlinkByBrowser(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + public function getMetricsForBitlinkByReferrersByDomains(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetBitlinkClicksMetricsForBitlinkByBrowser($bitlink, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\GetMetricsForBitlinkByReferrersByDomains($bitlink, $queryParameters), $fetch); } /** - * Returns an array of button click counts for the specified link. The array is comprised of button click counts for each time window, where the window is based on the provided unit. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } + * Add a keyword (or "custom back-half") to a Bitlink with a Custom Domain (domains must match). This endpoint can also be used for initial redirects to a link. * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\ButtonClicks|\Psr\Http\Message\ResponseInterface|null + * @return Model\CustomBitlink|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetButtonClicksBadRequestException - * @throws Exception\GetButtonClicksForbiddenException - * @throws Exception\GetButtonClicksNotFoundException - * @throws Exception\GetButtonClicksGoneException - * @throws Exception\GetButtonClicksInternalServerErrorException - * @throws Exception\GetButtonClicksServiceUnavailableException + * @throws Exception\AddCustomBitlinkBadRequestException + * @throws Exception\AddCustomBitlinkPaymentRequiredException + * @throws Exception\AddCustomBitlinkForbiddenException + * @throws Exception\AddCustomBitlinkNotFoundException + * @throws Exception\AddCustomBitlinkConflictException + * @throws Exception\AddCustomBitlinkUnprocessableEntityException + * @throws Exception\AddCustomBitlinkTooManyRequestsException + * @throws Exception\AddCustomBitlinkInternalServerErrorException + * @throws Exception\AddCustomBitlinkServiceUnavailableException */ - public function getButtonClicks(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function addCustomBitlink(Model\AddCustomBitlink $requestBody, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetButtonClicks($bitlink, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\AddCustomBitlink($requestBody), $fetch); } /** - * Returns the button click counts for the specified link rolled up into a single field. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } + * Returns the details and history of the specified link. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $customBitlink A Custom Bitlink made of the domain and keyword + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\ButtonClicksSummary|\Psr\Http\Message\ResponseInterface|null + * @return Model\CustomBitlink|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetButtonClicksSummaryBadRequestException - * @throws Exception\GetButtonClicksSummaryForbiddenException - * @throws Exception\GetButtonClicksSummaryNotFoundException - * @throws Exception\GetButtonClicksSummaryGoneException - * @throws Exception\GetButtonClicksSummaryInternalServerErrorException - * @throws Exception\GetButtonClicksSummaryServiceUnavailableException + * @throws Exception\GetCustomBitlinkPaymentRequiredException + * @throws Exception\GetCustomBitlinkForbiddenException + * @throws Exception\GetCustomBitlinkNotFoundException + * @throws Exception\GetCustomBitlinkGoneException + * @throws Exception\GetCustomBitlinkTooManyRequestsException + * @throws Exception\GetCustomBitlinkInternalServerErrorException + * @throws Exception\GetCustomBitlinkServiceUnavailableException */ - public function getButtonClicksSummary(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getCustomBitlink(string $customBitlink, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetButtonClicksSummary($bitlink, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetCustomBitlink($customBitlink), $fetch); } /** - * Returns an array of engagement counts for the specified link. The array is comprised of button click, click and scan counts for each time window, where the window is based on the provided unit. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } + * Move a keyword (or custom back-half) to a different Bitlink (domains must match). * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv + * @param string $customBitlink A Custom Bitlink made of the domain and keyword + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\TotalEngagements|\Psr\Http\Message\ResponseInterface|null + * @return Model\CustomBitlink|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetEngagementsBadRequestException - * @throws Exception\GetEngagementsForbiddenException - * @throws Exception\GetEngagementsNotFoundException - * @throws Exception\GetEngagementsGoneException - * @throws Exception\GetEngagementsInternalServerErrorException - * @throws Exception\GetEngagementsServiceUnavailableException + * @throws Exception\UpdateCustomBitlinkBadRequestException + * @throws Exception\UpdateCustomBitlinkPaymentRequiredException + * @throws Exception\UpdateCustomBitlinkForbiddenException + * @throws Exception\UpdateCustomBitlinkNotFoundException + * @throws Exception\UpdateCustomBitlinkUnprocessableEntityException + * @throws Exception\UpdateCustomBitlinkTooManyRequestsException + * @throws Exception\UpdateCustomBitlinkInternalServerErrorException + * @throws Exception\UpdateCustomBitlinkServiceUnavailableException */ - public function getEngagements(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) + public function updateCustomBitlink(string $customBitlink, Model\UpdateCustomBitlink $requestBody, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetEngagements($bitlink, $queryParameters, $accept), $fetch); + return $this->executeEndpoint(new Endpoint\UpdateCustomBitlink($customBitlink, $requestBody), $fetch); } /** - * Returns the engagement counts for the specified link rolled up into a single field. + * Returns click metrics for the specified link by its historical destinations. * - * @param string $bitlink A Bitlink made of the domain and hash + * @param string $customBitlink A Custom Bitlink made of the domain and keyword * @param array $queryParameters { * * @var string $unit A unit of time @@ -585,24 +477,25 @@ public function getEngagements(string $bitlink, array $queryParameters = [], str * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\TotalEngagementsSummary|\Psr\Http\Message\ResponseInterface|null + * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetEngagementsSummaryBadRequestException - * @throws Exception\GetEngagementsSummaryForbiddenException - * @throws Exception\GetEngagementsSummaryNotFoundException - * @throws Exception\GetEngagementsSummaryGoneException - * @throws Exception\GetEngagementsSummaryInternalServerErrorException - * @throws Exception\GetEngagementsSummaryServiceUnavailableException + * @throws Exception\GetCustomBitlinkMetricsByDestinationPaymentRequiredException + * @throws Exception\GetCustomBitlinkMetricsByDestinationForbiddenException + * @throws Exception\GetCustomBitlinkMetricsByDestinationNotFoundException + * @throws Exception\GetCustomBitlinkMetricsByDestinationGoneException + * @throws Exception\GetCustomBitlinkMetricsByDestinationTooManyRequestsException + * @throws Exception\GetCustomBitlinkMetricsByDestinationInternalServerErrorException + * @throws Exception\GetCustomBitlinkMetricsByDestinationServiceUnavailableException */ - public function getEngagementsSummary(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getCustomBitlinkMetricsByDestination(string $customBitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetEngagementsSummary($bitlink, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetCustomBitlinkMetricsByDestination($customBitlink, $queryParameters), $fetch); } /** - * Returns an array of bitlink click counts for the specified link. The array is comprised of click counts for each time window, where the window is based on the provided unit. + * Returns the click counts for the specified link. This returns an array with clicks based on a date. * - * @param string $bitlink A Bitlink made of the domain and hash + * @param string $customBitlink A Custom Bitlink made of the domain and keyword * @param array $queryParameters { * * @var string $unit A unit of time @@ -612,8186 +505,258 @@ public function getEngagementsSummary(string $bitlink, array $queryParameters = * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\BitlinkScans|\Psr\Http\Message\ResponseInterface|null + * @return Model\Clicks|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetBitlinkScansBadRequestException - * @throws Exception\GetBitlinkScansForbiddenException - * @throws Exception\GetBitlinkScansNotFoundException - * @throws Exception\GetBitlinkScansGoneException - * @throws Exception\GetBitlinkScansInternalServerErrorException - * @throws Exception\GetBitlinkScansServiceUnavailableException + * @throws Exception\GetClicksForCustomBitlinkBadRequestException + * @throws Exception\GetClicksForCustomBitlinkPaymentRequiredException + * @throws Exception\GetClicksForCustomBitlinkForbiddenException + * @throws Exception\GetClicksForCustomBitlinkNotFoundException + * @throws Exception\GetClicksForCustomBitlinkGoneException + * @throws Exception\GetClicksForCustomBitlinkTooManyRequestsException + * @throws Exception\GetClicksForCustomBitlinkInternalServerErrorException + * @throws Exception\GetClicksForCustomBitlinkServiceUnavailableException */ - public function getBitlinkScans(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getClicksForCustomBitlink(string $customBitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetBitlinkScans($bitlink, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetClicksForCustomBitlink($customBitlink, $queryParameters), $fetch); } /** - * Returns the bitlink click counts for the specified link rolled up into a single field. + * Returns a list of groups in the organization. * - * @param string $bitlink A Bitlink made of the domain and hash - * @param array $queryParameters { + * @param array $queryParameters { * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) + * @var string $organization_guid A GUID for a Bitly organization * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\BitlinkScansSummary|\Psr\Http\Message\ResponseInterface|null + * @return Model\Groups|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetBitlinkScansSummaryBadRequestException - * @throws Exception\GetBitlinkScansSummaryForbiddenException - * @throws Exception\GetBitlinkScansSummaryNotFoundException - * @throws Exception\GetBitlinkScansSummaryGoneException - * @throws Exception\GetBitlinkScansSummaryInternalServerErrorException - * @throws Exception\GetBitlinkScansSummaryServiceUnavailableException + * @throws Exception\GetGroupsBadRequestException + * @throws Exception\GetGroupsForbiddenException + * @throws Exception\GetGroupsNotFoundException + * @throws Exception\GetGroupsUnprocessableEntityException + * @throws Exception\GetGroupsTooManyRequestsException + * @throws Exception\GetGroupsInternalServerErrorException + * @throws Exception\GetGroupsServiceUnavailableException */ - public function getBitlinkScansSummary(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getGroups(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetBitlinkScansSummary($bitlink, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetGroups($queryParameters), $fetch); } /** - * Returns the country origins of click traffic for the specified link. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv - * - * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetMetricsForBitlinkByCountriesBadRequestException - * @throws Exception\GetMetricsForBitlinkByCountriesForbiddenException - * @throws Exception\GetMetricsForBitlinkByCountriesNotFoundException - * @throws Exception\GetMetricsForBitlinkByCountriesGoneException - * @throws Exception\GetMetricsForBitlinkByCountriesTooManyRequestsException - * @throws Exception\GetMetricsForBitlinkByCountriesInternalServerErrorException - * @throws Exception\GetMetricsForBitlinkByCountriesServiceUnavailableException - */ - public function getMetricsForBitlinkByCountries(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetMetricsForBitlinkByCountries($bitlink, $queryParameters, $accept), $fetch); - } - - /** - * Returns the city origins of click traffic for the specified link. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv - * - * @return Model\CityMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetMetricsForBitlinkByCitiesBadRequestException - * @throws Exception\GetMetricsForBitlinkByCitiesPaymentRequiredException - * @throws Exception\GetMetricsForBitlinkByCitiesForbiddenException - * @throws Exception\GetMetricsForBitlinkByCitiesNotFoundException - * @throws Exception\GetMetricsForBitlinkByCitiesGoneException - * @throws Exception\GetMetricsForBitlinkByCitiesTooManyRequestsException - * @throws Exception\GetMetricsForBitlinkByCitiesInternalServerErrorException - * @throws Exception\GetMetricsForBitlinkByCitiesServiceUnavailableException - */ - public function getMetricsForBitlinkByCities(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetMetricsForBitlinkByCities($bitlink, $queryParameters, $accept), $fetch); - } - - /** - * Returns the device types generating click traffic to the specified link. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv - * - * @return Model\DeviceMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetMetricsForBitlinkByDevicesBadRequestException - * @throws Exception\GetMetricsForBitlinkByDevicesPaymentRequiredException - * @throws Exception\GetMetricsForBitlinkByDevicesForbiddenException - * @throws Exception\GetMetricsForBitlinkByDevicesNotFoundException - * @throws Exception\GetMetricsForBitlinkByDevicesGoneException - * @throws Exception\GetMetricsForBitlinkByDevicesTooManyRequestsException - * @throws Exception\GetMetricsForBitlinkByDevicesInternalServerErrorException - * @throws Exception\GetMetricsForBitlinkByDevicesServiceUnavailableException - */ - public function getMetricsForBitlinkByDevices(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetMetricsForBitlinkByDevices($bitlink, $queryParameters, $accept), $fetch); - } - - /** - * Returns referrer click counts for the specified link. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv - * - * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetMetricsForBitlinkByReferrersBadRequestException - * @throws Exception\GetMetricsForBitlinkByReferrersForbiddenException - * @throws Exception\GetMetricsForBitlinkByReferrersNotFoundException - * @throws Exception\GetMetricsForBitlinkByReferrersGoneException - * @throws Exception\GetMetricsForBitlinkByReferrersTooManyRequestsException - * @throws Exception\GetMetricsForBitlinkByReferrersInternalServerErrorException - * @throws Exception\GetMetricsForBitlinkByReferrersServiceUnavailableException - */ - public function getMetricsForBitlinkByReferrers(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetMetricsForBitlinkByReferrers($bitlink, $queryParameters, $accept), $fetch); - } - - /** - * Returns referrer click counts for the specified link. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv - * - * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetMetricsForBitlinkByReferrerNameBadRequestException - * @throws Exception\GetMetricsForBitlinkByReferrerNameForbiddenException - * @throws Exception\GetMetricsForBitlinkByReferrerNameNotFoundException - * @throws Exception\GetMetricsForBitlinkByReferrerNameGoneException - * @throws Exception\GetMetricsForBitlinkByReferrerNameInternalServerErrorException - * @throws Exception\GetMetricsForBitlinkByReferrerNameServiceUnavailableException - */ - public function getMetricsForBitlinkByReferrerName(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetMetricsForBitlinkByReferrerName($bitlink, $queryParameters, $accept), $fetch); - } - - /** - * Returns the referring domain click counts for the specified link. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetMetricsForBitlinkByReferringDomainsBadRequestException - * @throws Exception\GetMetricsForBitlinkByReferringDomainsForbiddenException - * @throws Exception\GetMetricsForBitlinkByReferringDomainsNotFoundException - * @throws Exception\GetMetricsForBitlinkByReferringDomainsGoneException - * @throws Exception\GetMetricsForBitlinkByReferringDomainsTooManyRequestsException - * @throws Exception\GetMetricsForBitlinkByReferringDomainsInternalServerErrorException - * @throws Exception\GetMetricsForBitlinkByReferringDomainsServiceUnavailableException - */ - public function getMetricsForBitlinkByReferringDomains(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetMetricsForBitlinkByReferringDomains($bitlink, $queryParameters), $fetch); - } - - /** - * Returns click metrics grouped by referrers for the specified link. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ReferrersByDomains|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetMetricsForBitlinkByReferrersByDomainsBadRequestException - * @throws Exception\GetMetricsForBitlinkByReferrersByDomainsForbiddenException - * @throws Exception\GetMetricsForBitlinkByReferrersByDomainsNotFoundException - * @throws Exception\GetMetricsForBitlinkByReferrersByDomainsGoneException - * @throws Exception\GetMetricsForBitlinkByReferrersByDomainsTooManyRequestsException - * @throws Exception\GetMetricsForBitlinkByReferrersByDomainsInternalServerErrorException - * @throws Exception\GetMetricsForBitlinkByReferrersByDomainsServiceUnavailableException - */ - public function getMetricsForBitlinkByReferrersByDomains(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetMetricsForBitlinkByReferrersByDomains($bitlink, $queryParameters), $fetch); - } - - /** - * Returns the country origins of scan traffic for the specified link. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv - * - * @return Model\ScanMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetScanMetricsForBitlinkByCountriesBadRequestException - * @throws Exception\GetScanMetricsForBitlinkByCountriesForbiddenException - * @throws Exception\GetScanMetricsForBitlinkByCountriesNotFoundException - * @throws Exception\GetScanMetricsForBitlinkByCountriesGoneException - * @throws Exception\GetScanMetricsForBitlinkByCountriesInternalServerErrorException - * @throws Exception\GetScanMetricsForBitlinkByCountriesServiceUnavailableException - */ - public function getScanMetricsForBitlinkByCountries(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetScanMetricsForBitlinkByCountries($bitlink, $queryParameters, $accept), $fetch); - } - - /** - * Gets a descending sorted list of metrics (scans) for a list of links by unit of time for a specific period of time - maximum 100 links. By default returns top 10. - * - * @param array $queryParameters { - * - * @var int $size The quantity of items to be be returned - * @var array $bitlink Filter by given bitlinks - * @var string $unit A unit of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SortedEngagements|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetSortedScansBadRequestException - * @throws Exception\GetSortedScansPaymentRequiredException - * @throws Exception\GetSortedScansForbiddenException - * @throws Exception\GetSortedScansNotFoundException - * @throws Exception\GetSortedScansGoneException - * @throws Exception\GetSortedScansInternalServerErrorException - * @throws Exception\GetSortedScansServiceUnavailableException - */ - public function getSortedScans(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetSortedScans($queryParameters), $fetch); - } - - /** - * Returns the city origins of scan traffic for the specified link. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv - * - * @return Model\CityScanMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetScanMetricsForBitlinkByCitiesBadRequestException - * @throws Exception\GetScanMetricsForBitlinkByCitiesPaymentRequiredException - * @throws Exception\GetScanMetricsForBitlinkByCitiesForbiddenException - * @throws Exception\GetScanMetricsForBitlinkByCitiesNotFoundException - * @throws Exception\GetScanMetricsForBitlinkByCitiesGoneException - * @throws Exception\GetScanMetricsForBitlinkByCitiesInternalServerErrorException - * @throws Exception\GetScanMetricsForBitlinkByCitiesServiceUnavailableException - */ - public function getScanMetricsForBitlinkByCities(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetScanMetricsForBitlinkByCities($bitlink, $queryParameters, $accept), $fetch); - } - - /** - * Returns the device os generating scan traffic to the specified link. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv - * - * @return Model\ScanMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetScanMetricsForBitlinkByDevicesOSBadRequestException - * @throws Exception\GetScanMetricsForBitlinkByDevicesOSPaymentRequiredException - * @throws Exception\GetScanMetricsForBitlinkByDevicesOSForbiddenException - * @throws Exception\GetScanMetricsForBitlinkByDevicesOSNotFoundException - * @throws Exception\GetScanMetricsForBitlinkByDevicesOSGoneException - * @throws Exception\GetScanMetricsForBitlinkByDevicesOSInternalServerErrorException - * @throws Exception\GetScanMetricsForBitlinkByDevicesOSServiceUnavailableException - */ - public function getScanMetricsForBitlinkByDevicesOS(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetScanMetricsForBitlinkByDevicesOS($bitlink, $queryParameters, $accept), $fetch); - } - - /** - * Returns the browsers generating scan traffic to the specified link. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv - * - * @return Model\ScanMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetScanMetricsForBitlinkByBrowserBadRequestException - * @throws Exception\GetScanMetricsForBitlinkByBrowserPaymentRequiredException - * @throws Exception\GetScanMetricsForBitlinkByBrowserForbiddenException - * @throws Exception\GetScanMetricsForBitlinkByBrowserNotFoundException - * @throws Exception\GetScanMetricsForBitlinkByBrowserGoneException - * @throws Exception\GetScanMetricsForBitlinkByBrowserInternalServerErrorException - * @throws Exception\GetScanMetricsForBitlinkByBrowserServiceUnavailableException - */ - public function getScanMetricsForBitlinkByBrowser(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetScanMetricsForBitlinkByBrowser($bitlink, $queryParameters, $accept), $fetch); - } - - /** - * Gets a descending sorted list of scans for bitlinks in a group filtered by unit of time for a specific period of time. By default returns top 10. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SortedEngagements|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetSortedScansForGroupBadRequestException - * @throws Exception\GetSortedScansForGroupPaymentRequiredException - * @throws Exception\GetSortedScansForGroupForbiddenException - * @throws Exception\GetSortedScansForGroupNotFoundException - * @throws Exception\GetSortedScansForGroupGoneException - * @throws Exception\GetSortedScansForGroupInternalServerErrorException - * @throws Exception\GetSortedScansForGroupServiceUnavailableException - */ - public function getSortedScansForGroup(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetSortedScansForGroup($groupGuid, $queryParameters), $fetch); - } - - /** - * Gets an aggregate of all link engagements for a list of links by unit of time for a specific period of time (accepts bitlinks or a tag, or both). - * - * @param array $queryParameters { - * - * @var array $bitlink Filter by given bitlinks - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AggregateClicksForBitlinks|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAggregateEngagementsForBitlinksBadRequestException - * @throws Exception\GetAggregateEngagementsForBitlinksPaymentRequiredException - * @throws Exception\GetAggregateEngagementsForBitlinksForbiddenException - * @throws Exception\GetAggregateEngagementsForBitlinksNotFoundException - * @throws Exception\GetAggregateEngagementsForBitlinksGoneException - * @throws Exception\GetAggregateEngagementsForBitlinksInternalServerErrorException - * @throws Exception\GetAggregateEngagementsForBitlinksServiceUnavailableException - */ - public function getAggregateEngagementsForBitlinks(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAggregateEngagementsForBitlinks($queryParameters), $fetch); - } - - /** - * Gets an aggregate of all link engagements by cities facet for a list of links by unit of time for a specific period of time (accepts a list of bitlinks). - * - * @param array $queryParameters { - * - * @var array $bitlink Filter by given bitlinks - * @var string $unit A unit of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $report_guid - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AggregateClicksForBitlinksByCitiesFacet|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAggregateEngagementsForBitlinksByCitiesFacetBadRequestException - * @throws Exception\GetAggregateEngagementsForBitlinksByCitiesFacetPaymentRequiredException - * @throws Exception\GetAggregateEngagementsForBitlinksByCitiesFacetForbiddenException - * @throws Exception\GetAggregateEngagementsForBitlinksByCitiesFacetNotFoundException - * @throws Exception\GetAggregateEngagementsForBitlinksByCitiesFacetGoneException - * @throws Exception\GetAggregateEngagementsForBitlinksByCitiesFacetInternalServerErrorException - * @throws Exception\GetAggregateEngagementsForBitlinksByCitiesFacetServiceUnavailableException - */ - public function getAggregateEngagementsForBitlinksByCitiesFacet(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAggregateEngagementsForBitlinksByCitiesFacet($queryParameters), $fetch); - } - - /** - * Gets an aggregate of all link engagements by facet (available facets are countries, devices, referrers) for a list of links by unit of time for a specific period of time (accepts a list of bitlinks). - * - * @param array $queryParameters { - * - * @var array $bitlink Filter by given bitlinks - * @var string $unit A unit of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $report_guid - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AggregateClicksForBitlinksByFacet|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAggregateEngagementsForBitlinksByFacetBadRequestException - * @throws Exception\GetAggregateEngagementsForBitlinksByFacetPaymentRequiredException - * @throws Exception\GetAggregateEngagementsForBitlinksByFacetForbiddenException - * @throws Exception\GetAggregateEngagementsForBitlinksByFacetNotFoundException - * @throws Exception\GetAggregateEngagementsForBitlinksByFacetGoneException - * @throws Exception\GetAggregateEngagementsForBitlinksByFacetInternalServerErrorException - * @throws Exception\GetAggregateEngagementsForBitlinksByFacetServiceUnavailableException - */ - public function getAggregateEngagementsForBitlinksByFacet(string $facet, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAggregateEngagementsForBitlinksByFacet($facet, $queryParameters), $fetch); - } - - /** - * Gets a descending sorted list of metrics (scans + clicks) for a list of links by unit of time for a specific period of time - maximum 100 links. By default returns top 10. - * - * @param array $queryParameters { - * - * @var int $size The quantity of items to be be returned - * @var array $bitlink Filter by given bitlinks - * @var string $unit A unit of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $report_guid - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SortedEngagements|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetSortedEngagementsBadRequestException - * @throws Exception\GetSortedEngagementsPaymentRequiredException - * @throws Exception\GetSortedEngagementsForbiddenException - * @throws Exception\GetSortedEngagementsNotFoundException - * @throws Exception\GetSortedEngagementsGoneException - * @throws Exception\GetSortedEngagementsInternalServerErrorException - * @throws Exception\GetSortedEngagementsServiceUnavailableException - */ - public function getSortedEngagements(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetSortedEngagements($queryParameters), $fetch); - } - - /** - * Gets a descending sorted list of metrics clicks for a list of links by unit of time for a specific period of time - maximum 100 links. By default returns top 10. - * - * @param array $queryParameters { - * - * @var int $size The quantity of items to be be returned - * @var array $bitlink Filter by given bitlinks - * @var string $unit A unit of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SortedEngagements|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetTopSortedBitlinksBadRequestException - * @throws Exception\GetTopSortedBitlinksPaymentRequiredException - * @throws Exception\GetTopSortedBitlinksForbiddenException - * @throws Exception\GetTopSortedBitlinksNotFoundException - * @throws Exception\GetTopSortedBitlinksGoneException - * @throws Exception\GetTopSortedBitlinksInternalServerErrorException - * @throws Exception\GetTopSortedBitlinksServiceUnavailableException - */ - public function getTopSortedBitlinks(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetTopSortedBitlinks($queryParameters), $fetch); - } - - /** - * Returns the override rules for the specified link. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BitlinkOverrides|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOverridesForBitlinkPaymentRequiredException - * @throws Exception\GetOverridesForBitlinkForbiddenException - * @throws Exception\GetOverridesForBitlinkNotFoundException - * @throws Exception\GetOverridesForBitlinkGoneException - * @throws Exception\GetOverridesForBitlinkInternalServerErrorException - * @throws Exception\GetOverridesForBitlinkServiceUnavailableException - */ - public function getOverridesForBitlink(string $bitlink, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOverridesForBitlink($bitlink), $fetch); - } - - /** - * Creates the override rules for the specified link. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BitlinkOverrides|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateOverridesForBitlinkBadRequestException - * @throws Exception\CreateOverridesForBitlinkPaymentRequiredException - * @throws Exception\CreateOverridesForBitlinkForbiddenException - * @throws Exception\CreateOverridesForBitlinkNotFoundException - * @throws Exception\CreateOverridesForBitlinkConflictException - * @throws Exception\CreateOverridesForBitlinkUnprocessableEntityException - * @throws Exception\CreateOverridesForBitlinkTooManyRequestsException - * @throws Exception\CreateOverridesForBitlinkInternalServerErrorException - * @throws Exception\CreateOverridesForBitlinkServiceUnavailableException - */ - public function createOverridesForBitlink(string $bitlink, Model\CreateOverrideRules $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateOverridesForBitlink($bitlink, $requestBody), $fetch); - } - - /** - * Updates the override rules for the specified link. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BitlinkOverrides|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateOverridesForBitlinkBadRequestException - * @throws Exception\UpdateOverridesForBitlinkPaymentRequiredException - * @throws Exception\UpdateOverridesForBitlinkForbiddenException - * @throws Exception\UpdateOverridesForBitlinkNotFoundException - * @throws Exception\UpdateOverridesForBitlinkUnprocessableEntityException - * @throws Exception\UpdateOverridesForBitlinkTooManyRequestsException - * @throws Exception\UpdateOverridesForBitlinkInternalServerErrorException - * @throws Exception\UpdateOverridesForBitlinkServiceUnavailableException - */ - public function updateOverridesForBitlink(string $bitlink, Model\UpdateOverrideRules $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateOverridesForBitlink($bitlink, $requestBody), $fetch); - } - - /** - * Returns the history of redirects for the specified link. A redirect is when the destination URL is changed. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param array $queryParameters { - * - * @var int $limit limit the amount of results returned - * @var int $offset set the starting index of the result set - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BitlinkOverrideHistory|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOverrideHistoryForBitlinkPaymentRequiredException - * @throws Exception\GetOverrideHistoryForBitlinkForbiddenException - * @throws Exception\GetOverrideHistoryForBitlinkNotFoundException - * @throws Exception\GetOverrideHistoryForBitlinkTooManyRequestsException - * @throws Exception\GetOverrideHistoryForBitlinkInternalServerErrorException - * @throws Exception\GetOverrideHistoryForBitlinkServiceUnavailableException - */ - public function getOverrideHistoryForBitlink(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOverrideHistoryForBitlink($bitlink, $queryParameters), $fetch); - } - - /** - * Returns click metrics for the specified link by its override versions. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOverrideMetricsByVersionBadRequestException - * @throws Exception\GetOverrideMetricsByVersionPaymentRequiredException - * @throws Exception\GetOverrideMetricsByVersionForbiddenException - * @throws Exception\GetOverrideMetricsByVersionNotFoundException - * @throws Exception\GetOverrideMetricsByVersionGoneException - * @throws Exception\GetOverrideMetricsByVersionInternalServerErrorException - * @throws Exception\GetOverrideMetricsByVersionServiceUnavailableException - */ - public function getOverrideMetricsByVersion(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOverrideMetricsByVersion($bitlink, $queryParameters), $fetch); - } - - /** - * retrieves all account overrides matching specified group_guid and bsd query filters. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var array $group_guid GUIDs for a Bitly group - * @var int $created_after Timestamp as an integer unix epoch (seconds only) - * @var int $limit limit the amount of results returned - * @var int $offset set the starting index of the result set - * @var array $bsd a branded short domains to filter results - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BitlinkOverridesData|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOverridesForGroupsBadRequestException - * @throws Exception\GetOverridesForGroupsPaymentRequiredException - * @throws Exception\GetOverridesForGroupsForbiddenException - * @throws Exception\GetOverridesForGroupsNotFoundException - * @throws Exception\GetOverridesForGroupsInternalServerErrorException - * @throws Exception\GetOverridesForGroupsServiceUnavailableException - */ - public function getOverridesForGroups(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOverridesForGroups($groupGuid, $queryParameters), $fetch); - } - - /** - * Add a keyword (or "custom back-half") to a Bitlink with a Custom Domain (domains must match). This endpoint can also be used for initial redirects to a link. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\CustomBitlink|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\AddCustomBitlinkBadRequestException - * @throws Exception\AddCustomBitlinkPaymentRequiredException - * @throws Exception\AddCustomBitlinkForbiddenException - * @throws Exception\AddCustomBitlinkNotFoundException - * @throws Exception\AddCustomBitlinkConflictException - * @throws Exception\AddCustomBitlinkUnprocessableEntityException - * @throws Exception\AddCustomBitlinkTooManyRequestsException - * @throws Exception\AddCustomBitlinkInternalServerErrorException - * @throws Exception\AddCustomBitlinkServiceUnavailableException - */ - public function addCustomBitlink(Model\AddCustomBitlink $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\AddCustomBitlink($requestBody), $fetch); - } - - /** - * Returns the details and history of the specified link. - * - * @param string $customBitlink A Custom Bitlink made of the domain and keyword - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\CustomBitlink|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetCustomBitlinkPaymentRequiredException - * @throws Exception\GetCustomBitlinkForbiddenException - * @throws Exception\GetCustomBitlinkNotFoundException - * @throws Exception\GetCustomBitlinkGoneException - * @throws Exception\GetCustomBitlinkTooManyRequestsException - * @throws Exception\GetCustomBitlinkInternalServerErrorException - * @throws Exception\GetCustomBitlinkServiceUnavailableException - */ - public function getCustomBitlink(string $customBitlink, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetCustomBitlink($customBitlink), $fetch); - } - - /** - * Move a keyword (or custom back-half) to a different Bitlink (domains must match). - * - * @param string $customBitlink A Custom Bitlink made of the domain and keyword - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\CustomBitlink|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateCustomBitlinkBadRequestException - * @throws Exception\UpdateCustomBitlinkPaymentRequiredException - * @throws Exception\UpdateCustomBitlinkForbiddenException - * @throws Exception\UpdateCustomBitlinkNotFoundException - * @throws Exception\UpdateCustomBitlinkUnprocessableEntityException - * @throws Exception\UpdateCustomBitlinkTooManyRequestsException - * @throws Exception\UpdateCustomBitlinkInternalServerErrorException - * @throws Exception\UpdateCustomBitlinkServiceUnavailableException - */ - public function updateCustomBitlink(string $customBitlink, Model\UpdateCustomBitlink $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateCustomBitlink($customBitlink, $requestBody), $fetch); - } - - /** - * Returns click metrics for the specified link by its historical destinations. - * - * @param string $customBitlink A Custom Bitlink made of the domain and keyword - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetCustomBitlinkMetricsByDestinationPaymentRequiredException - * @throws Exception\GetCustomBitlinkMetricsByDestinationForbiddenException - * @throws Exception\GetCustomBitlinkMetricsByDestinationNotFoundException - * @throws Exception\GetCustomBitlinkMetricsByDestinationGoneException - * @throws Exception\GetCustomBitlinkMetricsByDestinationTooManyRequestsException - * @throws Exception\GetCustomBitlinkMetricsByDestinationInternalServerErrorException - * @throws Exception\GetCustomBitlinkMetricsByDestinationServiceUnavailableException - */ - public function getCustomBitlinkMetricsByDestination(string $customBitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetCustomBitlinkMetricsByDestination($customBitlink, $queryParameters), $fetch); - } - - /** - * Returns the click counts for the specified link. This returns an array with clicks based on a date. - * - * @param string $customBitlink A Custom Bitlink made of the domain and keyword - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Clicks|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetClicksForCustomBitlinkBadRequestException - * @throws Exception\GetClicksForCustomBitlinkPaymentRequiredException - * @throws Exception\GetClicksForCustomBitlinkForbiddenException - * @throws Exception\GetClicksForCustomBitlinkNotFoundException - * @throws Exception\GetClicksForCustomBitlinkGoneException - * @throws Exception\GetClicksForCustomBitlinkTooManyRequestsException - * @throws Exception\GetClicksForCustomBitlinkInternalServerErrorException - * @throws Exception\GetClicksForCustomBitlinkServiceUnavailableException - */ - public function getClicksForCustomBitlink(string $customBitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetClicksForCustomBitlink($customBitlink, $queryParameters), $fetch); - } - - /** - * Returns a list of groups in the organization. - * - * @param array $queryParameters { - * - * @var string $organization_guid A GUID for a Bitly organization - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Groups|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupsBadRequestException - * @throws Exception\GetGroupsForbiddenException - * @throws Exception\GetGroupsNotFoundException - * @throws Exception\GetGroupsUnprocessableEntityException - * @throws Exception\GetGroupsTooManyRequestsException - * @throws Exception\GetGroupsInternalServerErrorException - * @throws Exception\GetGroupsServiceUnavailableException - */ - public function getGroups(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroups($queryParameters), $fetch); - } - - /** - * Creates a new group in the organization. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Group|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateGroupBadRequestException - * @throws Exception\CreateGroupForbiddenException - * @throws Exception\CreateGroupUnprocessableEntityException - * @throws Exception\CreateGroupTooManyRequestsException - * @throws Exception\CreateGroupInternalServerErrorException - */ - public function createGroup(Model\GroupUpdate $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateGroup($requestBody), $fetch); - } - - /** - * Deletes a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteGroupForbiddenException - * @throws Exception\DeleteGroupNotFoundException - * @throws Exception\DeleteGroupTooManyRequestsException - * @throws Exception\DeleteGroupInternalServerErrorException - * @throws Exception\DeleteGroupServiceUnavailableException - */ - public function deleteGroup(string $groupGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteGroup($groupGuid), $fetch); - } - - /** - * Returns details for a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Group|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupForbiddenException - * @throws Exception\GetGroupNotFoundException - * @throws Exception\GetGroupTooManyRequestsException - * @throws Exception\GetGroupInternalServerErrorException - * @throws Exception\GetGroupServiceUnavailableException - */ - public function getGroup(string $groupGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroup($groupGuid), $fetch); - } - - /** - * Updates the details of a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Group|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateGroupBadRequestException - * @throws Exception\UpdateGroupForbiddenException - * @throws Exception\UpdateGroupNotFoundException - * @throws Exception\UpdateGroupUnprocessableEntityException - * @throws Exception\UpdateGroupInternalServerErrorException - * @throws Exception\UpdateGroupServiceUnavailableException - */ - public function updateGroup(string $groupGuid, Model\GroupUpdate $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateGroup($groupGuid, $requestBody), $fetch); - } - - /** - * Retrieve a list of users for Group GUID and optionally query by user's login, display name, or primary email. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var int $page Integer specifying the numbered result at which to start - * @var int $size The quantity of items to be be returned - * @var string $query A string used for fuzzy searching user's login, display name, or primary email. - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\UserRoleReferences|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\SearchGroupUserRolesBadRequestException - * @throws Exception\SearchGroupUserRolesForbiddenException - * @throws Exception\SearchGroupUserRolesNotFoundException - * @throws Exception\SearchGroupUserRolesInternalServerErrorException - */ - public function searchGroupUserRoles(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\SearchGroupUserRoles($groupGuid, $queryParameters), $fetch); - } - - /** - * Returns the tags currently used in the specified group. Maximum 1000. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Tags|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupTagsForbiddenException - * @throws Exception\GetGroupTagsNotFoundException - * @throws Exception\GetGroupTagsTooManyRequestsException - * @throws Exception\GetGroupTagsInternalServerErrorException - * @throws Exception\GetGroupTagsServiceUnavailableException - */ - public function getGroupTags(string $groupGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupTags($groupGuid), $fetch); - } - - /** - * Returns a paginated collection of Bitlinks for a group. The list of custom bitlinks has newest entries first. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var int $size The quantity of items to be be returned - * @var string $search_after token used to search next batch, only use response from API as input value - * @var string $query The value that you would like to search - * @var string $hostname_path_query The hostname and/or path you would like to search (case-insensitive). Subdomains included; query params and fragment ignored. - * @var int $created_before Timestamp as an integer unix epoch (seconds only) - * @var int $created_after Timestamp as an integer unix epoch (seconds only) - * @var string $archived Whether or not to include archived resources - * @var string $deeplinks Filter to only Bitlinks that contain deeplinks - * @var string $domain_deeplinks Filter to only Bitlinks that contain deeplinks configured with a custom domain - * @var string $campaign_guid Filter to return only links for the given campaign GUID, can be provided - * @var string $channel_guid Filter to return only links for the given channel GUID, can be provided, overrides all other parameters - * @var string $custom_bitlink - * @var string $has_qr_codes a filter value if the resource has any QR codes - * @var array $tags Filter by given tags - * @var array $launchpad_ids Filter by launchpad id - * @var array $encoding_login Filter by the login of the authenticated user that created the Bitlink - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Bitlinks|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetBitlinksByGroupForbiddenException - * @throws Exception\GetBitlinksByGroupNotFoundException - * @throws Exception\GetBitlinksByGroupInternalServerErrorException - * @throws Exception\GetBitlinksByGroupServiceUnavailableException - */ - public function getBitlinksByGroup(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetBitlinksByGroup($groupGuid, $queryParameters), $fetch); - } - - /** - * Bulk update can add or remove tags or archive up to 100 links at a time; The response includes a list of bitlink ids that were updated. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BulkUpdate|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateBitlinksByGroupBadRequestException - * @throws Exception\UpdateBitlinksByGroupForbiddenException - * @throws Exception\UpdateBitlinksByGroupNotFoundException - * @throws Exception\UpdateBitlinksByGroupUnprocessableEntityException - * @throws Exception\UpdateBitlinksByGroupInternalServerErrorException - * @throws Exception\UpdateBitlinksByGroupServiceUnavailableException - */ - public function updateBitlinksByGroup(string $groupGuid, Model\BulkUpdateRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateBitlinksByGroup($groupGuid, $requestBody), $fetch); - } - - /** - * get number of bitlinks encoded in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\GroupBitlinksCount|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupBitlinksCountBadRequestException - * @throws Exception\GetGroupBitlinksCountPaymentRequiredException - * @throws Exception\GetGroupBitlinksCountForbiddenException - * @throws Exception\GetGroupBitlinksCountInternalServerErrorException - */ - public function getGroupBitlinksCount(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupBitlinksCount($groupGuid, $queryParameters), $fetch); - } - - /** - * Gets all templates for the group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\QRCodeTemplatesResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetQRCodeTemplatesBadRequestException - * @throws Exception\GetQRCodeTemplatesPaymentRequiredException - * @throws Exception\GetQRCodeTemplatesForbiddenException - * @throws Exception\GetQRCodeTemplatesNotFoundException - * @throws Exception\GetQRCodeTemplatesGoneException - * @throws Exception\GetQRCodeTemplatesInternalServerErrorException - */ - public function getQRCodeTemplates(string $groupGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetQRCodeTemplates($groupGuid), $fetch); - } - - /** - * Creates a template of a QR Code customization. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\QRCodeTemplateResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateQRCodeTemplateBadRequestException - * @throws Exception\CreateQRCodeTemplatePaymentRequiredException - * @throws Exception\CreateQRCodeTemplateForbiddenException - * @throws Exception\CreateQRCodeTemplateNotFoundException - * @throws Exception\CreateQRCodeTemplateGoneException - * @throws Exception\CreateQRCodeTemplateInternalServerErrorException - */ - public function createQRCodeTemplate(string $groupGuid, Model\QRCodeTemplateRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateQRCodeTemplate($groupGuid, $requestBody), $fetch); - } - - /** - * Deletes a specific template by id. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteQRCodeTemplateForbiddenException - * @throws Exception\DeleteQRCodeTemplateNotFoundException - * @throws Exception\DeleteQRCodeTemplateInternalServerErrorException - * @throws Exception\DeleteQRCodeTemplateServiceUnavailableException - */ - public function deleteQRCodeTemplate(string $groupGuid, string $templateId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteQRCodeTemplate($groupGuid, $templateId), $fetch); - } - - /** - * Returns a list of Bitlinks sorted by group. The list of custom bitlinks has newest entries first. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $sort The type of sorting that you would like to do - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time. - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var int $size The quantity of items to be be returned - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SortedLinks|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetSortedBitlinksForbiddenException - * @throws Exception\GetSortedBitlinksNotFoundException - * @throws Exception\GetSortedBitlinksTooManyRequestsException - * @throws Exception\GetSortedBitlinksInternalServerErrorException - * @throws Exception\GetSortedBitlinksServiceUnavailableException - */ - public function getSortedBitlinks(string $groupGuid, string $sort, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetSortedBitlinks($groupGuid, $sort, $queryParameters), $fetch); - } - - /** - * Returns preferences for the specified group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\GroupPreferences|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupPreferencesForbiddenException - * @throws Exception\GetGroupPreferencesNotFoundException - * @throws Exception\GetGroupPreferencesInternalServerErrorException - * @throws Exception\GetGroupPreferencesServiceUnavailableException - */ - public function getGroupPreferences(string $groupGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupPreferences($groupGuid), $fetch); - } - - /** - * Updates preferences for a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\GroupPreferences|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateGroupPreferencesBadRequestException - * @throws Exception\UpdateGroupPreferencesForbiddenException - * @throws Exception\UpdateGroupPreferencesNotFoundException - * @throws Exception\UpdateGroupPreferencesUnprocessableEntityException - * @throws Exception\UpdateGroupPreferencesTooManyRequestsException - * @throws Exception\UpdateGroupPreferencesInternalServerErrorException - * @throws Exception\UpdateGroupPreferencesServiceUnavailableException - */ - public function updateGroupPreferences(string $groupGuid, Model\GroupPreferences $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateGroupPreferences($groupGuid, $requestBody), $fetch); - } - - /** - * Returns preferences for the specified group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\UMGroupPreferences|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetUMGroupPreferencesForbiddenException - * @throws Exception\GetUMGroupPreferencesNotFoundException - * @throws Exception\GetUMGroupPreferencesUnprocessableEntityException - * @throws Exception\GetUMGroupPreferencesInternalServerErrorException - */ - public function getUMGroupPreferences(string $groupGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetUMGroupPreferences($groupGuid), $fetch); - } - - /** - * Update or add new preferences for the specified group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\PatchUMGroupPreferencesBadRequestException - * @throws Exception\PatchUMGroupPreferencesForbiddenException - * @throws Exception\PatchUMGroupPreferencesNotFoundException - * @throws Exception\PatchUMGroupPreferencesUnprocessableEntityException - * @throws Exception\PatchUMGroupPreferencesInternalServerErrorException - */ - public function patchUMGroupPreferences(string $groupGuid, \stdClass $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\PatchUMGroupPreferences($groupGuid, $requestBody), $fetch); - } - - /** - * Returns site themes preference for the specified group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SiteThemes|\Psr\Http\Message\ResponseInterface|null - */ - public function getUMGroupSiteThemes(string $groupGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetUMGroupSiteThemes($groupGuid), $fetch); - } - - /** - * Upserts new site theme for the specified group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - */ - public function putUMGroupSiteTheme(string $groupGuid, Model\SiteThemes $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\PutUMGroupSiteTheme($groupGuid, $requestBody), $fetch); - } - - /** - * Returns all the shorten counts for a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Metrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupShortenCountsForbiddenException - * @throws Exception\GetGroupShortenCountsNotFoundException - * @throws Exception\GetGroupShortenCountsTooManyRequestsException - * @throws Exception\GetGroupShortenCountsInternalServerErrorException - * @throws Exception\GetGroupShortenCountsServiceUnavailableException - */ - public function getGroupShortenCounts(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupShortenCounts($groupGuid, $queryParameters), $fetch); - } - - /** - * Returns the geographic origins of click traffic by country for the specified group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv - * - * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupMetricsByCountriesForbiddenException - * @throws Exception\GetGroupMetricsByCountriesNotFoundException - * @throws Exception\GetGroupMetricsByCountriesTooManyRequestsException - * @throws Exception\GetGroupMetricsByCountriesInternalServerErrorException - * @throws Exception\GetGroupMetricsByCountriesServiceUnavailableException - */ - public function getGroupMetricsByCountries(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetGroupMetricsByCountries($groupGuid, $queryParameters, $accept), $fetch); - } - - /** - * Returns the geographic origins of click traffic by city for the specified group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv - * - * @return Model\CityMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupMetricsByCitiesPaymentRequiredException - * @throws Exception\GetGroupMetricsByCitiesForbiddenException - * @throws Exception\GetGroupMetricsByCitiesNotFoundException - * @throws Exception\GetGroupMetricsByCitiesTooManyRequestsException - * @throws Exception\GetGroupMetricsByCitiesInternalServerErrorException - * @throws Exception\GetGroupMetricsByCitiesServiceUnavailableException - */ - public function getGroupMetricsByCities(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetGroupMetricsByCities($groupGuid, $queryParameters, $accept), $fetch); - } - - /** - * Returns the device types generating click traffic to the specified group's links. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv - * - * @return Model\DeviceMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupMetricsByDevicesPaymentRequiredException - * @throws Exception\GetGroupMetricsByDevicesForbiddenException - * @throws Exception\GetGroupMetricsByDevicesNotFoundException - * @throws Exception\GetGroupMetricsByDevicesTooManyRequestsException - * @throws Exception\GetGroupMetricsByDevicesInternalServerErrorException - * @throws Exception\GetGroupMetricsByDevicesServiceUnavailableException - */ - public function getGroupMetricsByDevices(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetGroupMetricsByDevices($groupGuid, $queryParameters, $accept), $fetch); - } - - /** - * Returns metrics by referring networks for the specified group's links. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupMetricsByReferringNetworksForbiddenException - * @throws Exception\GetGroupMetricsByReferringNetworksNotFoundException - * @throws Exception\GetGroupMetricsByReferringNetworksInternalServerErrorException - * @throws Exception\GetGroupMetricsByReferringNetworksServiceUnavailableException - */ - public function getGroupMetricsByReferringNetworks(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupMetricsByReferringNetworks($groupGuid, $queryParameters), $fetch); - } - - /** - * Returns metrics by referrer for the specified group's links. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv - * - * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupMetricsByReferrerForbiddenException - * @throws Exception\GetGroupMetricsByReferrerNotFoundException - * @throws Exception\GetGroupMetricsByReferrerTooManyRequestsException - * @throws Exception\GetGroupMetricsByReferrerInternalServerErrorException - * @throws Exception\GetGroupMetricsByReferrerServiceUnavailableException - */ - public function getGroupMetricsByReferrer(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetGroupMetricsByReferrer($groupGuid, $queryParameters, $accept), $fetch); - } - - /** - * get number of bitlinks encoded in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\GroupBitlinksCountRollup|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupBitlinksCountRollupBadRequestException - * @throws Exception\GetGroupBitlinksCountRollupPaymentRequiredException - * @throws Exception\GetGroupBitlinksCountRollupForbiddenException - * @throws Exception\GetGroupBitlinksCountRollupTooManyRequestsException - * @throws Exception\GetGroupBitlinksCountRollupInternalServerErrorException - * @throws Exception\GetGroupBitlinksCountRollupServiceUnavailableException - */ - public function getGroupBitlinksCountRollup(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupBitlinksCountRollup($groupGuid, $queryParameters), $fetch); - } - - /** - * get number of clicks on bitlinks in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\GroupClicks|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupClicksBadRequestException - * @throws Exception\GetGroupClicksPaymentRequiredException - * @throws Exception\GetGroupClicksForbiddenException - * @throws Exception\GetGroupClicksTooManyRequestsException - * @throws Exception\GetGroupClicksInternalServerErrorException - * @throws Exception\GetGroupClicksServiceUnavailableException - */ - public function getGroupClicks(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupClicks($groupGuid, $queryParameters), $fetch); - } - - /** - * get number of clicks on bitlinks in a group by facet. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $facet A facet of metrics (e.g. country, referrer, ...) - * @param array $queryParameters { - * - * @var int $limit only return this number of facet values (subtotal only) - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\GroupClicksByFacet|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupClicksByFacetBadRequestException - * @throws Exception\GetGroupClicksByFacetPaymentRequiredException - * @throws Exception\GetGroupClicksByFacetForbiddenException - * @throws Exception\GetGroupClicksByFacetInternalServerErrorException - * @throws Exception\GetGroupClicksByFacetServiceUnavailableException - */ - public function getGroupClicksByFacet(string $groupGuid, string $facet, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupClicksByFacet($groupGuid, $facet, $queryParameters), $fetch); - } - - /** - * get number of clicks on bitlinks in a group by facet, rolled up by facet. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $facet A facet of metrics (e.g. country, referrer, ...) - * @param array $queryParameters { - * - * @var int $limit only return this number of facet values (subtotal only) - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\GroupClicksByFacetRollup|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupClicksByFacetRollupBadRequestException - * @throws Exception\GetGroupClicksByFacetRollupPaymentRequiredException - * @throws Exception\GetGroupClicksByFacetRollupForbiddenException - * @throws Exception\GetGroupClicksByFacetRollupInternalServerErrorException - * @throws Exception\GetGroupClicksByFacetRollupServiceUnavailableException - */ - public function getGroupClicksByFacetRollup(string $groupGuid, string $facet, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupClicksByFacetRollup($groupGuid, $facet, $queryParameters), $fetch); - } - - /** - * get number of engagements in a group limited up to a months worth of engagements. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\GroupClicks|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetEngagementsSampleBadRequestException - * @throws Exception\GetEngagementsSampleForbiddenException - * @throws Exception\GetEngagementsSampleInternalServerErrorException - */ - public function getEngagementsSample(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetEngagementsSample($groupGuid, $queryParameters), $fetch); - } - - /** - * post to queue a group data export job. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\PostGroupDataExportBadRequestException - * @throws Exception\PostGroupDataExportForbiddenException - * @throws Exception\PostGroupDataExportUnprocessableEntityException - * @throws Exception\PostGroupDataExportInternalServerErrorException - * @throws Exception\PostGroupDataExportServiceUnavailableException - */ - public function postGroupDataExport(string $groupGuid, Model\DataExportQuery $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\PostGroupDataExport($groupGuid, $requestBody), $fetch); - } - - /** - * post to build a links report. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv - * - * @return Model\LinksReportRequestResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\PostGetLinksReportBadRequestException - * @throws Exception\PostGetLinksReportPaymentRequiredException - * @throws Exception\PostGetLinksReportForbiddenException - * @throws Exception\PostGetLinksReportUnprocessableEntityException - * @throws Exception\PostGetLinksReportInternalServerErrorException - * @throws Exception\PostGetLinksReportServiceUnavailableException - */ - public function postGetLinksReport(string $groupGuid, Model\LinksReportRequestBody $requestBody, string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\PostGetLinksReport($groupGuid, $requestBody, $accept), $fetch); - } - - /** - * capture user submitted form data. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\FormCaptureBadRequestException - * @throws Exception\FormCaptureForbiddenException - * @throws Exception\FormCaptureUnprocessableEntityException - * @throws Exception\FormCaptureInternalServerErrorException - * @throws Exception\FormCaptureServiceUnavailableException - */ - public function formCapture(Model\FormCapturePayload $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\FormCapture($requestBody), $fetch); - } - - /** - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Organizations|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOrganizationsForbiddenException - * @throws Exception\GetOrganizationsNotFoundException - * @throws Exception\GetOrganizationsInternalServerErrorException - * @throws Exception\GetOrganizationsServiceUnavailableException - */ - public function getOrganizations(string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOrganizations(), $fetch); - } - - /** - * Retrive details for the specified organization. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Organization|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOrganizationForbiddenException - * @throws Exception\GetOrganizationNotFoundException - * @throws Exception\GetOrganizationInternalServerErrorException - * @throws Exception\GetOrganizationServiceUnavailableException - */ - public function getOrganization(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOrganization($organizationGuid), $fetch); - } - - /** - * Update an Organization. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Organization|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateOrganizationForbiddenException - * @throws Exception\UpdateOrganizationNotFoundException - * @throws Exception\UpdateOrganizationInternalServerErrorException - * @throws Exception\UpdateOrganizationServiceUnavailableException - */ - public function updateOrganization(string $organizationGuid, Model\OrganizationUpdate $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateOrganization($organizationGuid, $requestBody), $fetch); - } - - /** - * post to queue an organization users data export job. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\PostOrgUsersDataExportBadRequestException - * @throws Exception\PostOrgUsersDataExportPaymentRequiredException - * @throws Exception\PostOrgUsersDataExportForbiddenException - * @throws Exception\PostOrgUsersDataExportUnprocessableEntityException - * @throws Exception\PostOrgUsersDataExportInternalServerErrorException - */ - public function postOrgUsersDataExport(string $organizationGuid, Model\OrgUsersDataExportQuery $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\PostOrgUsersDataExport($organizationGuid, $requestBody), $fetch); - } - - /** - * creates a stripe subscription. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\CreateSubscriptionResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateSubscriptionBadRequestException - * @throws Exception\CreateSubscriptionForbiddenException - * @throws Exception\CreateSubscriptionUnprocessableEntityException - * @throws Exception\CreateSubscriptionInternalServerErrorException - */ - public function createSubscription(Model\CreateSubscriptionBody $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateSubscription($requestBody), $fetch); - } - - /** - * creates a stripe customer and setup intent. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\CreateCustomerResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateCustomerBadRequestException - * @throws Exception\CreateCustomerForbiddenException - * @throws Exception\CreateCustomerUnprocessableEntityException - * @throws Exception\CreateCustomerInternalServerErrorException - */ - public function createCustomer(Model\CreateCustomerBody $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateCustomer($requestBody), $fetch); - } - - /** - * updates a stripe customer and setup intent. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $stripeCustomerId Stripe customer id that starts with cus_ - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\StripeCustomer|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateStripeCustomerBadRequestException - * @throws Exception\UpdateStripeCustomerForbiddenException - * @throws Exception\UpdateStripeCustomerUnprocessableEntityException - * @throws Exception\UpdateStripeCustomerInternalServerErrorException - */ - public function updateStripeCustomer(string $organizationGuid, string $stripeCustomerId, Model\UpdateStripeCustomerBody $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateStripeCustomer($organizationGuid, $stripeCustomerId, $requestBody), $fetch); - } - - /** - * upgrade the organization with Stripe subscription. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Organization|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpgradeOrganizationWithStripeSubscriptionBadRequestException - * @throws Exception\UpgradeOrganizationWithStripeSubscriptionForbiddenException - * @throws Exception\UpgradeOrganizationWithStripeSubscriptionUnprocessableEntityException - * @throws Exception\UpgradeOrganizationWithStripeSubscriptionInternalServerErrorException - */ - public function upgradeOrganizationWithStripeSubscription(string $organizationGuid, Model\StripeUpgradeOrgBody $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpgradeOrganizationWithStripeSubscription($organizationGuid, $requestBody), $fetch); - } - - /** - * schedule an account to be downgraded in billing and user management. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SubscriptionCancelledDate|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\ScheduleOrgDowngradeStripeBadRequestException - * @throws Exception\ScheduleOrgDowngradeStripeForbiddenException - * @throws Exception\ScheduleOrgDowngradeStripeInternalServerErrorException - */ - public function scheduleOrgDowngradeStripe(string $organizationGuid, Model\BillingDowngrade $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\ScheduleOrgDowngradeStripe($organizationGuid, $requestBody), $fetch); - } - - /** - * Cancel a downgrade that is currently pending for stripe subscription. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CancelPendingDowngradeStripeNotFoundException - * @throws Exception\CancelPendingDowngradeStripeForbiddenException - * @throws Exception\CancelPendingDowngradeStripeInternalServerErrorException - */ - public function cancelPendingDowngradeStripe(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CancelPendingDowngradeStripe($organizationGuid), $fetch); - } - - /** - * upgrade the organization. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpgradeOrganizationBadRequestException - * @throws Exception\UpgradeOrganizationForbiddenException - * @throws Exception\UpgradeOrganizationUnprocessableEntityException - * @throws Exception\UpgradeOrganizationInternalServerErrorException - */ - public function upgradeOrganization(Model\UpgradeOrgBody $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpgradeOrganization($requestBody), $fetch); - } - - /** - * get all the active organization preferences for an org. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\OrganizationPreferences|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOrgPreferencesInternalServerErrorException - */ - public function getOrgPreferences(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOrgPreferences($organizationGuid), $fetch); - } - - /** - * create or update an organization preference. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\SetOrgPreferenceBadRequestException - * @throws Exception\SetOrgPreferenceForbiddenException - * @throws Exception\SetOrgPreferenceUnprocessableEntityException - * @throws Exception\SetOrgPreferenceInternalServerErrorException - */ - public function setOrgPreference(string $organizationGuid, Model\OrganizationPreferenceSet $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\SetOrgPreference($organizationGuid, $requestBody), $fetch); - } - - /** - * downgrade the organization. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DowngradeOrganizationUnprocessableEntityException - * @throws Exception\DowngradeOrganizationInternalServerErrorException - */ - public function downgradeOrganization(Model\DowngradeOrgBody $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DowngradeOrganization($requestBody), $fetch); - } - - /** - * get org emails by user or org. - * - * @param array $queryParameters { - * - * @var string $login The login for a Bitly user - * @var string $organization_guid A GUID for a Bitly organization - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\OrgEmails|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOrgEmailsForbiddenException - * @throws Exception\GetOrgEmailsNotFoundException - * @throws Exception\GetOrgEmailsInternalServerErrorException - * @throws Exception\GetOrgEmailsServiceUnavailableException - */ - public function getOrgEmails(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOrgEmails($queryParameters), $fetch); - } - - /** - * create or update an org email. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\OrgEmail|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpsertOrgEmailForbiddenException - * @throws Exception\UpsertOrgEmailNotFoundException - * @throws Exception\UpsertOrgEmailInternalServerErrorException - * @throws Exception\UpsertOrgEmailServiceUnavailableException - */ - public function upsertOrgEmail(Model\OrgEmailBody $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpsertOrgEmail($requestBody), $fetch); - } - - /** - * Returns all relevant data about a promo code and associated discount. - * - * @param string $promoCode A promo code string - * @param string $tierName The name of a pricing plan - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\PromoCode|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\ValidatePromoCodeBadRequestException - * @throws Exception\ValidatePromoCodeNotFoundException - * @throws Exception\ValidatePromoCodeInternalServerErrorException - * @throws Exception\ValidatePromoCodeServiceUnavailableException - */ - public function validatePromoCode(string $promoCode, string $tierName, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\ValidatePromoCode($promoCode, $tierName), $fetch); - } - - /** - * Returns all relevant data about a stripe promo code and associated discount. - * - * @param string $promoCode A promo code string - * @param string $tierName The name of a pricing plan - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\PromoCode|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\ValidateStripePromoCodeBadRequestException - * @throws Exception\ValidateStripePromoCodeNotFoundException - * @throws Exception\ValidateStripePromoCodeInternalServerErrorException - * @throws Exception\ValidateStripePromoCodeServiceUnavailableException - */ - public function validateStripePromoCode(string $promoCode, string $tierName, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\ValidateStripePromoCode($promoCode, $tierName), $fetch); - } - - /** - * Returns a list of strings of all valid plans for a promo code, regardless of if that promo code is active/expired. - * - * @param string $promoCode A promo code string - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\PromoCodeValidPlans|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetPromoCodeValidPlansInternalServerErrorException - * @throws Exception\GetPromoCodeValidPlansServiceUnavailableException - */ - public function getPromoCodeValidPlans(string $promoCode, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetPromoCodeValidPlans($promoCode), $fetch); - } - - /** - * Applies a discount via a stripe promo code to an existing subscription. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\ApplyStripeDiscountBadRequestException - * @throws Exception\ApplyStripeDiscountForbiddenException - * @throws Exception\ApplyStripeDiscountNotFoundException - * @throws Exception\ApplyStripeDiscountUnprocessableEntityException - * @throws Exception\ApplyStripeDiscountInternalServerErrorException - * @throws Exception\ApplyStripeDiscountServiceUnavailableException - */ - public function applyStripeDiscount(string $organizationGuid, Model\ApplyDiscount $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\ApplyStripeDiscount($organizationGuid, $requestBody), $fetch); - } - - /** - * Applies a discount via a promo code to an existing subscription. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\ApplyDiscountBadRequestException - * @throws Exception\ApplyDiscountForbiddenException - * @throws Exception\ApplyDiscountNotFoundException - * @throws Exception\ApplyDiscountUnprocessableEntityException - * @throws Exception\ApplyDiscountInternalServerErrorException - * @throws Exception\ApplyDiscountServiceUnavailableException - */ - public function applyDiscount(string $organizationGuid, Model\ApplyDiscount $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\ApplyDiscount($organizationGuid, $requestBody), $fetch); - } - - /** - * Endpoint to purchase add on entitlements for an account. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\PurchaseAddOnsBadRequestException - * @throws Exception\PurchaseAddOnsForbiddenException - * @throws Exception\PurchaseAddOnsNotFoundException - * @throws Exception\PurchaseAddOnsUnprocessableEntityException - * @throws Exception\PurchaseAddOnsInternalServerErrorException - * @throws Exception\PurchaseAddOnsServiceUnavailableException - */ - public function purchaseAddOns(string $organizationGuid, Model\AddOns $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\PurchaseAddOns($organizationGuid, $requestBody), $fetch); - } - - /** - * Endpoint to purchase add on entitlements for an account using Stripe. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\PurchaseStripeAddOnsBadRequestException - * @throws Exception\PurchaseStripeAddOnsForbiddenException - * @throws Exception\PurchaseStripeAddOnsNotFoundException - * @throws Exception\PurchaseStripeAddOnsUnprocessableEntityException - * @throws Exception\PurchaseStripeAddOnsInternalServerErrorException - * @throws Exception\PurchaseStripeAddOnsServiceUnavailableException - */ - public function purchaseStripeAddOns(string $organizationGuid, Model\AddOns $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\PurchaseStripeAddOns($organizationGuid, $requestBody), $fetch); - } - - /** - * get deeplink apps for an organization. - * - * @param array $queryParameters { - * - * @var string $organization_guid A GUID for a Bitly organization - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\DeeplinkApps|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetDeeplinkAppsForbiddenException - * @throws Exception\GetDeeplinkAppsInternalServerErrorException - * @throws Exception\GetDeeplinkAppsServiceUnavailableException - */ - public function getDeeplinkApps(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetDeeplinkApps($queryParameters), $fetch); - } - - /** - * create a new deeplink app. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\DeeplinkApp|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateDeeplinkAppBadRequestException - * @throws Exception\CreateDeeplinkAppForbiddenException - * @throws Exception\CreateDeeplinkAppExpectationFailedException - * @throws Exception\CreateDeeplinkAppUnprocessableEntityException - * @throws Exception\CreateDeeplinkAppInternalServerErrorException - * @throws Exception\CreateDeeplinkAppServiceUnavailableException - */ - public function createDeeplinkApp(Model\DeeplinkApp $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateDeeplinkApp($requestBody), $fetch); - } - - /** - * deactivate a deeplink app. - * - * @param string $deeplinkAppGuid the guid reference to a deeplink app - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeactivateDeeplinkAppPaymentRequiredException - * @throws Exception\DeactivateDeeplinkAppForbiddenException - * @throws Exception\DeactivateDeeplinkAppNotFoundException - * @throws Exception\DeactivateDeeplinkAppInternalServerErrorException - * @throws Exception\DeactivateDeeplinkAppServiceUnavailableException - */ - public function deactivateDeeplinkApp(string $deeplinkAppGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeactivateDeeplinkApp($deeplinkAppGuid), $fetch); - } - - /** - * get a single deeplink app that belongs to an organization. - * - * @param string $deeplinkAppGuid the guid reference to a deeplink app - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\DeeplinkApp|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetDeeplinkAppForbiddenException - * @throws Exception\GetDeeplinkAppNotFoundException - * @throws Exception\GetDeeplinkAppInternalServerErrorException - * @throws Exception\GetDeeplinkAppServiceUnavailableException - */ - public function getDeeplinkApp(string $deeplinkAppGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetDeeplinkApp($deeplinkAppGuid), $fetch); - } - - /** - * update a deeplink app. - * - * @param string $deeplinkAppGuid the guid reference to a deeplink app - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\DeeplinkApp|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateDeeplinkAppPaymentRequiredException - * @throws Exception\UpdateDeeplinkAppForbiddenException - * @throws Exception\UpdateDeeplinkAppNotFoundException - * @throws Exception\UpdateDeeplinkAppUnprocessableEntityException - * @throws Exception\UpdateDeeplinkAppInternalServerErrorException - * @throws Exception\UpdateDeeplinkAppServiceUnavailableException - */ - public function updateDeeplinkApp(string $deeplinkAppGuid, Model\DeeplinkApp $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateDeeplinkApp($deeplinkAppGuid, $requestBody), $fetch); - } - - /** - * get third party app data for a given third party app id. - * - * @param array $queryParameters { - * - * @var string $organization_guid A GUID for a Bitly organization - * @var string $third_party_app_id the third party app id describing a specific ios/android app - * @var string $os the os of a specific ios/android app - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ThirdPartyAppData|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\ThirdPartyAppLookupPaymentRequiredException - * @throws Exception\ThirdPartyAppLookupForbiddenException - * @throws Exception\ThirdPartyAppLookupNotFoundException - * @throws Exception\ThirdPartyAppLookupInternalServerErrorException - * @throws Exception\ThirdPartyAppLookupServiceUnavailableException - */ - public function thirdPartyAppLookup(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\ThirdPartyAppLookup($queryParameters), $fetch); - } - - /** - * get all deeplink rules for a bitlink. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\DeeplinkRules|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetDeeplinkRulesPaymentRequiredException - * @throws Exception\GetDeeplinkRulesForbiddenException - * @throws Exception\GetDeeplinkRulesNotFoundException - * @throws Exception\GetDeeplinkRulesTooManyRequestsException - * @throws Exception\GetDeeplinkRulesInternalServerErrorException - * @throws Exception\GetDeeplinkRulesServiceUnavailableException - */ - public function getDeeplinkRules(string $bitlink, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetDeeplinkRules($bitlink), $fetch); - } - - /** - * create deeplink rule for a bitlink. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\DeeplinkRule|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateDeeplinkRulePaymentRequiredException - * @throws Exception\CreateDeeplinkRuleForbiddenException - * @throws Exception\CreateDeeplinkRuleNotFoundException - * @throws Exception\CreateDeeplinkRuleInternalServerErrorException - */ - public function createDeeplinkRule(Model\DeeplinkRule $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateDeeplinkRule($requestBody), $fetch); - } - - /** - * delete a deeplink rule for a bitlink. - * - * @param string $deeplinkRuleGuid the guid of a deeplink rule - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteDeeplinkRulePaymentRequiredException - * @throws Exception\DeleteDeeplinkRuleForbiddenException - * @throws Exception\DeleteDeeplinkRuleNotFoundException - * @throws Exception\DeleteDeeplinkRuleInternalServerErrorException - * @throws Exception\DeleteDeeplinkRuleServiceUnavailableException - */ - public function deleteDeeplinkRule(string $deeplinkRuleGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteDeeplinkRule($deeplinkRuleGuid), $fetch); - } - - /** - * update deeplink rule for a bitlink. - * - * @param string $deeplinkRuleGuid the guid of a deeplink rule - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\DeeplinkRule|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateDeeplinkRulePaymentRequiredException - * @throws Exception\UpdateDeeplinkRuleForbiddenException - * @throws Exception\UpdateDeeplinkRuleNotFoundException - * @throws Exception\UpdateDeeplinkRuleUnprocessableEntityException - * @throws Exception\UpdateDeeplinkRuleInternalServerErrorException - * @throws Exception\UpdateDeeplinkRuleServiceUnavailableException - */ - public function updateDeeplinkRule(string $deeplinkRuleGuid, Model\DeeplinkRule $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateDeeplinkRule($deeplinkRuleGuid, $requestBody), $fetch); - } - - /** - * get rolled up deeplink metrics for a bitlink. - * - * @param string $bitlink A Bitlink made of the domain and hash - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\DeeplinkMetricsRollup|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetDeeplinkMetricsRollupPaymentRequiredException - * @throws Exception\GetDeeplinkMetricsRollupForbiddenException - * @throws Exception\GetDeeplinkMetricsRollupNotFoundException - * @throws Exception\GetDeeplinkMetricsRollupGoneException - * @throws Exception\GetDeeplinkMetricsRollupInternalServerErrorException - * @throws Exception\GetDeeplinkMetricsRollupServiceUnavailableException - */ - public function getDeeplinkMetricsRollup(string $bitlink, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetDeeplinkMetricsRollup($bitlink, $queryParameters), $fetch); - } - - /** - * validate shareable report URL. - * - * @param array $queryParameters { - * - * @var string $shareable_report Shareable Report URL to validate - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ShareableReport|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CheckShareableReportBadRequestException - * @throws Exception\CheckShareableReportForbiddenException - * @throws Exception\CheckShareableReportNotFoundException - * @throws Exception\CheckShareableReportInternalServerErrorException - * @throws Exception\CheckShareableReportServiceUnavailableException - */ - public function checkShareableReport(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CheckShareableReport($queryParameters), $fetch); - } - - /** - * create shareable report URL. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ShareableReport|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateShareableReportBadRequestException - * @throws Exception\CreateShareableReportForbiddenException - * @throws Exception\CreateShareableReportNotFoundException - * @throws Exception\CreateShareableReportInternalServerErrorException - * @throws Exception\CreateShareableReportServiceUnavailableException - */ - public function createShareableReport(Model\ShareableReport $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateShareableReport($requestBody), $fetch); - } - - /** - * Returns the shorten counts for a specific organization over a specified time period. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Metrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOrganizationShortenCountsForbiddenException - * @throws Exception\GetOrganizationShortenCountsNotFoundException - * @throws Exception\GetOrganizationShortenCountsInternalServerErrorException - * @throws Exception\GetOrganizationShortenCountsServiceUnavailableException - */ - public function getOrganizationShortenCounts(string $organizationGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOrganizationShortenCounts($organizationGuid, $queryParameters), $fetch); - } - - /** - * Returns the shorten counts for a specific organization by group for the current month. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Metrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOrganizationShortenCountsByGroupForbiddenException - * @throws Exception\GetOrganizationShortenCountsByGroupNotFoundException - * @throws Exception\GetOrganizationShortenCountsByGroupInternalServerErrorException - * @throws Exception\GetOrganizationShortenCountsByGroupServiceUnavailableException - */ - public function getOrganizationShortenCountsByGroup(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOrganizationShortenCountsByGroup($organizationGuid), $fetch); - } - - /** - * update org's default payment method in billing provider. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\SetPaymentMethodDefaultBadRequestException - * @throws Exception\SetPaymentMethodDefaultForbiddenException - * @throws Exception\SetPaymentMethodDefaultUnprocessableEntityException - * @throws Exception\SetPaymentMethodDefaultInternalServerErrorException - * @throws Exception\SetPaymentMethodDefaultServiceUnavailableException - */ - public function setPaymentMethodDefault(string $organizationGuid, string $paymentMethodId, Model\BillingAddress $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\SetPaymentMethodDefault($organizationGuid, $paymentMethodId, $requestBody), $fetch); - } - - /** - * calls the billing provider to get a payment method. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\PaymentMethod|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreatePaymentMethodBadRequestException - * @throws Exception\CreatePaymentMethodForbiddenException - * @throws Exception\CreatePaymentMethodUnprocessableEntityException - * @throws Exception\CreatePaymentMethodInternalServerErrorException - * @throws Exception\CreatePaymentMethodServiceUnavailableException - */ - public function createPaymentMethod(string $organizationGuid, Model\CreatePaymentMethod $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreatePaymentMethod($organizationGuid, $requestBody), $fetch); - } - - /** - * calls the stripe billing provider and returns the client secret. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SetupIntent|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateStripeSetupIntentBadRequestException - * @throws Exception\CreateStripeSetupIntentForbiddenException - * @throws Exception\CreateStripeSetupIntentUnprocessableEntityException - * @throws Exception\CreateStripeSetupIntentInternalServerErrorException - * @throws Exception\CreateStripeSetupIntentServiceUnavailableException - */ - public function createStripeSetupIntent(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateStripeSetupIntent($organizationGuid), $fetch); - } - - /** - * sets payment method as default for the organization in stripe. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $paymentMethodId A Stripe payment method ID - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\SetStripeDefaultPaymentMethodBadRequestException - * @throws Exception\SetStripeDefaultPaymentMethodForbiddenException - * @throws Exception\SetStripeDefaultPaymentMethodUnprocessableEntityException - * @throws Exception\SetStripeDefaultPaymentMethodInternalServerErrorException - * @throws Exception\SetStripeDefaultPaymentMethodServiceUnavailableException - */ - public function setStripeDefaultPaymentMethod(string $organizationGuid, string $paymentMethodId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\SetStripeDefaultPaymentMethod($organizationGuid, $paymentMethodId), $fetch); - } - - /** - * make a call to billing provider to get a payment invoice summary. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\PaymentInvoices|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetPaymentInvoicesForbiddenException - * @throws Exception\GetPaymentInvoicesInternalServerErrorException - */ - public function getPaymentInvoices(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetPaymentInvoices($organizationGuid), $fetch); - } - - /** - * make a call to billing provider to get a single payment invoice. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\PaymentInvoiceDetail|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetPaymentInvoiceForbiddenException - * @throws Exception\GetPaymentInvoiceInternalServerErrorException - */ - public function getPaymentInvoice(string $organizationGuid, string $invoiceID, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetPaymentInvoice($organizationGuid, $invoiceID), $fetch); - } - - /** - * make a call to billing provider to get a single payment invoice in PDF format. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/pdf|application/json - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetPaymentInvoiceFileForbiddenException - * @throws Exception\GetPaymentInvoiceFileNotFoundException - * @throws Exception\GetPaymentInvoiceFileInternalServerErrorException - */ - public function getPaymentInvoiceFile(string $organizationGuid, string $invoiceID, string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetPaymentInvoiceFile($organizationGuid, $invoiceID, $accept), $fetch); - } - - /** - * Trigger the generation of an updated version of an invoice PDF. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\RegeneratePaymentInvoiceFileForbiddenException - * @throws Exception\RegeneratePaymentInvoiceFileInternalServerErrorException - */ - public function regeneratePaymentInvoiceFile(string $organizationGuid, string $invoiceID, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\RegeneratePaymentInvoiceFile($organizationGuid, $invoiceID), $fetch); - } - - /** - * Update user preferences to payment failure and cancel subscription. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\NotifyPaymentFailureBadRequestException - * @throws Exception\NotifyPaymentFailureUnprocessableEntityException - * @throws Exception\NotifyPaymentFailureInternalServerErrorException - * @throws Exception\NotifyPaymentFailureServiceUnavailableException - */ - public function notifyPaymentFailure(Model\OrganizationGUID $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\NotifyPaymentFailure($requestBody), $fetch); - } - - /** - * Sends an annual renewal email to billing contact on an account. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\AnnualRenewalReminderBadRequestException - * @throws Exception\AnnualRenewalReminderUnprocessableEntityException - * @throws Exception\AnnualRenewalReminderInternalServerErrorException - * @throws Exception\AnnualRenewalReminderServiceUnavailableException - */ - public function annualRenewalReminder(Model\AnnualRenewalReminderRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\AnnualRenewalReminder($requestBody), $fetch); - } - - /** - * make a call to billing provider to update a billing info. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateBillingInfoBadRequestException - * @throws Exception\UpdateBillingInfoForbiddenException - * @throws Exception\UpdateBillingInfoUnprocessableEntityException - * @throws Exception\UpdateBillingInfoInternalServerErrorException - */ - public function updateBillingInfo(string $organizationGuid, Model\BillingInfo $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateBillingInfo($organizationGuid, $requestBody), $fetch); - } - - /** - * Update the contact tied to an account's payment method. This also appears as the "sold to contact" on the account invoices. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ContactInfo|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdatePaymentContactInfoBadRequestException - * @throws Exception\UpdatePaymentContactInfoForbiddenException - * @throws Exception\UpdatePaymentContactInfoNotFoundException - * @throws Exception\UpdatePaymentContactInfoUnprocessableEntityException - * @throws Exception\UpdatePaymentContactInfoInternalServerErrorException - */ - public function updatePaymentContactInfo(string $organizationGuid, Model\ContactInfo $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdatePaymentContactInfo($organizationGuid, $requestBody), $fetch); - } - - /** - * make a call to billing provider to get an org's billing account. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BillingAccount|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetBillingAccountForbiddenException - * @throws Exception\GetBillingAccountInternalServerErrorException - */ - public function getBillingAccount(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetBillingAccount($organizationGuid), $fetch); - } - - /** - * Get the currency and Stripe Instance associated with the org if they have an existing Stripe account. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\StripeOrganizationInfo|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOrganizationStripeInfoBadRequestException - * @throws Exception\GetOrganizationStripeInfoForbiddenException - * @throws Exception\GetOrganizationStripeInfoInternalServerErrorException - */ - public function getOrganizationStripeInfo(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOrganizationStripeInfo($organizationGuid), $fetch); - } - - /** - * determine the billing provider (stripe or zuora) for an account. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BillingProvider|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetBillingProviderBadRequestException - * @throws Exception\GetBillingProviderForbiddenException - * @throws Exception\GetBillingProviderInternalServerErrorException - */ - public function getBillingProvider(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetBillingProvider($organizationGuid), $fetch); - } - - /** - * make a call to billing API to get an org's main billing accout ID. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BillingAccountID|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetBillingAccountIDForbiddenException - * @throws Exception\GetBillingAccountIDInternalServerErrorException - */ - public function getBillingAccountID(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetBillingAccountID($organizationGuid), $fetch); - } - - /** - * schedule an account to be downgraded in billing and user management. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SubscriptionCancelledDate|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\ScheduleOrganizationDowngradeBadRequestException - * @throws Exception\ScheduleOrganizationDowngradeForbiddenException - * @throws Exception\ScheduleOrganizationDowngradeInternalServerErrorException - */ - public function scheduleOrganizationDowngrade(string $organizationGuid, Model\BillingDowngrade $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\ScheduleOrganizationDowngrade($organizationGuid, $requestBody), $fetch); - } - - /** - * makes a call to billing provider to generate a unique signature. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BillingSignature|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GenerateBillingSignatureForbiddenException - * @throws Exception\GenerateBillingSignatureInternalServerErrorException - */ - public function generateBillingSignature(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GenerateBillingSignature($organizationGuid), $fetch); - } - - /** - * Creates a billing agreement token to be used with PayPal. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\PayPalToken|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreatePayPalBillingAgreementTokenBadRequestException - * @throws Exception\CreatePayPalBillingAgreementTokenForbiddenException - * @throws Exception\CreatePayPalBillingAgreementTokenUnprocessableEntityException - * @throws Exception\CreatePayPalBillingAgreementTokenInternalServerErrorException - */ - public function createPayPalBillingAgreementToken(Model\PayPalTokenRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreatePayPalBillingAgreementToken($requestBody), $fetch); - } - - /** - * make a call to user management to check for a pending tier change. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\OrgTierHistory|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetPendingTierForOrgForbiddenException - * @throws Exception\GetPendingTierForOrgNotFoundException - * @throws Exception\GetPendingTierForOrgInternalServerErrorException - */ - public function getPendingTierForOrg(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetPendingTierForOrg($organizationGuid), $fetch); - } - - /** - * Cancel a downgrade that is currently pending. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CancelPendingDowngradeNotFoundException - * @throws Exception\CancelPendingDowngradeForbiddenException - * @throws Exception\CancelPendingDowngradeInternalServerErrorException - */ - public function cancelPendingDowngrade(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CancelPendingDowngrade($organizationGuid), $fetch); - } - - /** - * Update the entities (currently users) that will retain access to account on downgrade. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateEntitiesRetainedOnDowngradeBadRequestException - * @throws Exception\UpdateEntitiesRetainedOnDowngradeForbiddenException - * @throws Exception\UpdateEntitiesRetainedOnDowngradeUnprocessableEntityException - * @throws Exception\UpdateEntitiesRetainedOnDowngradeInternalServerErrorException - */ - public function updateEntitiesRetainedOnDowngrade(string $organizationGuid, Model\UpdateRetainedDowngradeEntities $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateEntitiesRetainedOnDowngrade($organizationGuid, $requestBody), $fetch); - } - - /** - * get an organization's feature limits and current usage. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\FeatureUsage|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOrganizationFeatureUsageForbiddenException - * @throws Exception\GetOrganizationFeatureUsageInternalServerErrorException - * @throws Exception\GetOrganizationFeatureUsageServiceUnavailableException - */ - public function getOrganizationFeatureUsage(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOrganizationFeatureUsage($organizationGuid), $fetch); - } - - /** - * get an organization's current feature usage for all groups. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param array $queryParameters { - * - * @var array $name The limit name you would like usage for - * @var array $group_guid GUIDs for a Bitly group - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\OrgFeatureUsageByGroup|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOrganizationFeatureUsageByGroupBadRequestException - * @throws Exception\GetOrganizationFeatureUsageByGroupForbiddenException - * @throws Exception\GetOrganizationFeatureUsageByGroupInternalServerErrorException - */ - public function getOrganizationFeatureUsageByGroup(string $organizationGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOrganizationFeatureUsageByGroup($organizationGuid, $queryParameters), $fetch); - } - - /** - * get an organization's activity log. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param array $queryParameters { - * - * @var string $next_page - * @var string $after_ts - * @var string $before_ts - * @var int $limit - * @var array $actions - * @var array $user_filter - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ActivityLogs|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOrganizationActivityLogForbiddenException - * @throws Exception\GetOrganizationActivityLogInternalServerErrorException - * @throws Exception\GetOrganizationActivityLogServiceUnavailableException - */ - public function getOrganizationActivityLog(string $organizationGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOrganizationActivityLog($organizationGuid, $queryParameters), $fetch); - } - - /** - * export an organization's activity log as csv. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param array $queryParameters { - * - * @var array $actions - * @var array $user_filter - * @var string $after_ts - * @var string $before_ts - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - */ - public function getOrganizationActivityLogExport(string $organizationGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOrganizationActivityLogExport($organizationGuid, $queryParameters), $fetch); - } - - /** - * get a single log from aorganization's activity log. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ActivityLog|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOrganizationActivityLogEntryForbiddenException - * @throws Exception\GetOrganizationActivityLogEntryInternalServerErrorException - * @throws Exception\GetOrganizationActivityLogEntryServiceUnavailableException - */ - public function getOrganizationActivityLogEntry(string $organizationGuid, string $action, string $timestamp, string $id, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOrganizationActivityLogEntry($organizationGuid, $action, $timestamp, $id), $fetch); - } - - /** - * This returns all of the attributes for all of the tiers. - * - * @param array $queryParameters { - * - * @var string $organization_guid A GUID for a Bitly organization - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Tier[]|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetTiersForbiddenException - * @throws Exception\GetTiersInternalServerErrorException - * @throws Exception\GetTiersServiceUnavailableException - */ - public function getTiers(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetTiers($queryParameters), $fetch); - } - - /** - * Returns all attributes for experiment-based user available tiers. - * - * @param array $queryParameters { - * - * @var string $organization_guid A GUID for a Bitly organization - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Tier[]|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetUserAvailableTiersForbiddenException - * @throws Exception\GetUserAvailableTiersInternalServerErrorException - * @throws Exception\GetUserAvailableTiersServiceUnavailableException - */ - public function getUserAvailableTiers(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetUserAvailableTiers($queryParameters), $fetch); - } - - /** - * This returns all of the attributes for the requested tier. - * - * @param string $tierName The name of a pricing plan - * @param array $queryParameters { - * - * @var string $organization_guid A GUID for a Bitly organization - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Tier|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetTierForbiddenException - * @throws Exception\GetTierNotFoundException - * @throws Exception\GetTierInternalServerErrorException - * @throws Exception\GetTierServiceUnavailableException - */ - public function getTier(string $tierName, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetTier($tierName, $queryParameters), $fetch); - } - - /** - * delete passed in domain. - * - * @param string $customDomain find out more about your custom domain - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteCustomDomainForbiddenException - * @throws Exception\DeleteCustomDomainUnprocessableEntityException - * @throws Exception\DeleteCustomDomainInternalServerErrorException - */ - public function deleteCustomDomain(string $customDomain, Model\OrganizationGUID $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteCustomDomain($customDomain, $requestBody), $fetch); - } - - /** - * find out more about your custom domain. - * - * @param string $customDomain find out more about your custom domain - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\CustomDomainBody|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetCustomDomainForbiddenException - * @throws Exception\GetCustomDomainNotFoundException - * @throws Exception\GetCustomDomainInternalServerErrorException - * @throws Exception\GetCustomDomainServiceUnavailableException - */ - public function getCustomDomain(string $customDomain, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetCustomDomain($customDomain), $fetch); - } - - /** - * edit custom domain settings. - * - * @param string $customDomain find out more about your custom domain - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\EditCustomDomainForbiddenException - * @throws Exception\EditCustomDomainInternalServerErrorException - */ - public function editCustomDomain(string $customDomain, Model\DomainUpdate $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\EditCustomDomain($customDomain, $requestBody), $fetch); - } - - /** - * get custom domain data for an organization, including validation state. - * - * @param array $queryParameters { - * - * @var string $organization_guid A GUID for a Bitly organization - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\CustomDomains|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetCustomDomainsForbiddenException - * @throws Exception\GetCustomDomainsUnprocessableEntityException - * @throws Exception\GetCustomDomainsInternalServerErrorException - * @throws Exception\GetCustomDomainsServiceUnavailableException - */ - public function getCustomDomains(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetCustomDomains($queryParameters), $fetch); - } - - /** - * validate custom domain and organization. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\DomainValidate|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\ValidateCustomDomainBadRequestException - * @throws Exception\ValidateCustomDomainForbiddenException - * @throws Exception\ValidateCustomDomainNotFoundException - * @throws Exception\ValidateCustomDomainUnprocessableEntityException - * @throws Exception\ValidateCustomDomainInternalServerErrorException - * @throws Exception\ValidateCustomDomainServiceUnavailableException - */ - public function validateCustomDomain(Model\DomainValidateBody $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\ValidateCustomDomain($requestBody), $fetch); - } - - /** - * get deeplink app associations for a custom domain. - * - * @param string $customDomain find out more about your custom domain - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AppAssociations|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAppAssociationsPaymentRequiredException - * @throws Exception\GetAppAssociationsForbiddenException - * @throws Exception\GetAppAssociationsNotFoundException - * @throws Exception\GetAppAssociationsInternalServerErrorException - * @throws Exception\GetAppAssociationsServiceUnavailableException - */ - public function getAppAssociations(string $customDomain, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAppAssociations($customDomain), $fetch); - } - - /** - * update deeplink app associations for a custom domain. - * - * @param string $customDomain find out more about your custom domain - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AppAssociations|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateAppAssociationsBadRequestException - * @throws Exception\UpdateAppAssociationsPaymentRequiredException - * @throws Exception\UpdateAppAssociationsForbiddenException - * @throws Exception\UpdateAppAssociationsNotFoundException - * @throws Exception\UpdateAppAssociationsInternalServerErrorException - * @throws Exception\UpdateAppAssociationsServiceUnavailableException - */ - public function updateAppAssociations(string $customDomain, Model\AppAssociations $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateAppAssociations($customDomain, $requestBody), $fetch); - } - - /** - * Retrieve SSO Settings, if any exist, for a given organization. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SSOSettings|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOrganizationSSOSettingsPaymentRequiredException - * @throws Exception\GetOrganizationSSOSettingsForbiddenException - * @throws Exception\GetOrganizationSSOSettingsNotFoundException - * @throws Exception\GetOrganizationSSOSettingsInternalServerErrorException - * @throws Exception\GetOrganizationSSOSettingsServiceUnavailableException - */ - public function getOrganizationSSOSettings(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOrganizationSSOSettings($organizationGuid), $fetch); - } - - /** - * Update an Organization's SSO Settings. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SSOSettings|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateOrganizationSSOSettingsPaymentRequiredException - * @throws Exception\UpdateOrganizationSSOSettingsForbiddenException - * @throws Exception\UpdateOrganizationSSOSettingsNotFoundException - * @throws Exception\UpdateOrganizationSSOSettingsUnprocessableEntityException - * @throws Exception\UpdateOrganizationSSOSettingsInternalServerErrorException - * @throws Exception\UpdateOrganizationSSOSettingsServiceUnavailableException - */ - public function updateOrganizationSSOSettings(string $organizationGuid, Model\SSOSettings $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateOrganizationSSOSettings($organizationGuid, $requestBody), $fetch); - } - - /** - * Create an Organization's SSO Settings. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SSOSettings|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateOrganizationSSOSettingsBadRequestException - * @throws Exception\CreateOrganizationSSOSettingsPaymentRequiredException - * @throws Exception\CreateOrganizationSSOSettingsForbiddenException - * @throws Exception\CreateOrganizationSSOSettingsUnprocessableEntityException - * @throws Exception\CreateOrganizationSSOSettingsInternalServerErrorException - * @throws Exception\CreateOrganizationSSOSettingsServiceUnavailableException - */ - public function createOrganizationSSOSettings(string $organizationGuid, Model\SSOSlug $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateOrganizationSSOSettings($organizationGuid, $requestBody), $fetch); - } - - /** - * Check to see if the SSO Slug is available. - * - * @param string $urlSlug A potential slug for SSO - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SSOVerifySlug|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\VerifySSOSlugPaymentRequiredException - * @throws Exception\VerifySSOSlugForbiddenException - * @throws Exception\VerifySSOSlugNotFoundException - * @throws Exception\VerifySSOSlugInternalServerErrorException - * @throws Exception\VerifySSOSlugServiceUnavailableException - */ - public function verifySSOSlug(string $urlSlug, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\VerifySSOSlug($urlSlug), $fetch); - } - - /** - * Retrieve all country calling codes optionally sorted by property. - * - * @param array $queryParameters { - * - * @var string $sort_by Country code property you would like to sort country codes by - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\CountryCode[]|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetCountryCallingCodesBadRequestException - * @throws Exception\GetCountryCallingCodesInternalServerErrorException - */ - public function getCountryCallingCodes(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetCountryCallingCodes($queryParameters), $fetch); - } - - /** - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\User|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetUserForbiddenException - * @throws Exception\GetUserNotFoundException - * @throws Exception\GetUserInternalServerErrorException - * @throws Exception\GetUserServiceUnavailableException - */ - public function getUser(string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetUser(), $fetch); - } - - /** - * Update fields in the user. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\User|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateUserBadRequestException - * @throws Exception\UpdateUserForbiddenException - * @throws Exception\UpdateUserNotFoundException - * @throws Exception\UpdateUserUnprocessableEntityException - * @throws Exception\UpdateUserInternalServerErrorException - * @throws Exception\UpdateUserServiceUnavailableException - */ - public function updateUser(Model\UserUpdate $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateUser($requestBody), $fetch); - } - - /** - * Request SAR Report. - * - * @param mixed|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\RequestUserSARForbiddenException - * @throws Exception\RequestUserSARInternalServerErrorException - * @throws Exception\RequestUserSARServiceUnavailableException - */ - public function requestUserSAR($requestBody = null, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\RequestUserSAR($requestBody), $fetch); - } - - /** - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\ForgetUserForbiddenException - * @throws Exception\ForgetUserInternalServerErrorException - * @throws Exception\ForgetUserServiceUnavailableException - */ - public function forgetUser(string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\ForgetUser(), $fetch); - } - - /** - * Disable 2FA for a user. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\Disable2FABadRequestException - * @throws Exception\Disable2FAUnauthorizedException - * @throws Exception\Disable2FAForbiddenException - * @throws Exception\Disable2FANotFoundException - * @throws Exception\Disable2FAUnprocessableEntityException - * @throws Exception\Disable2FAInternalServerErrorException - * @throws Exception\Disable2FAServiceUnavailableException - */ - public function disable2FA(Model\TwoFactorCode $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\Disable2FA($requestBody), $fetch); - } - - /** - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\TwoFactor|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetTwoFARecordNotFoundException - * @throws Exception\GetTwoFARecordInternalServerErrorException - * @throws Exception\GetTwoFARecordServiceUnavailableException - */ - public function getTwoFARecord(string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetTwoFARecord(), $fetch); - } - - /** - * Set a phone number for 2FA via sms. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\TwoFactor|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\SetPhoneNumberBadRequestException - * @throws Exception\SetPhoneNumberForbiddenException - * @throws Exception\SetPhoneNumberUnprocessableEntityException - * @throws Exception\SetPhoneNumberInternalServerErrorException - * @throws Exception\SetPhoneNumberServiceUnavailableException - */ - public function setPhoneNumber(Model\TwoFactor $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\SetPhoneNumber($requestBody), $fetch); - } - - /** - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\TwoFactor|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\SendVerificationCodeBadRequestException - * @throws Exception\SendVerificationCodeUnauthorizedException - * @throws Exception\SendVerificationCodeForbiddenException - * @throws Exception\SendVerificationCodeNotFoundException - * @throws Exception\SendVerificationCodeInternalServerErrorException - * @throws Exception\SendVerificationCodeServiceUnavailableException - */ - public function sendVerificationCode(string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\SendVerificationCode(), $fetch); - } - - /** - * Verify a 2FA code and see if record is valid or expired. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\TwoFactorVerify|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\VerifyTwoFactorCodeBadRequestException - * @throws Exception\VerifyTwoFactorCodeNotFoundException - * @throws Exception\VerifyTwoFactorCodeInternalServerErrorException - * @throws Exception\VerifyTwoFactorCodeServiceUnavailableException - */ - public function verifyTwoFactorCode(Model\TwoFactorCode $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\VerifyTwoFactorCode($requestBody), $fetch); - } - - /** - * Remove a user from Bitly. - * - * @param string $login The login for a Bitly user - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteUserBadRequestException - * @throws Exception\DeleteUserForbiddenException - * @throws Exception\DeleteUserInternalServerErrorException - */ - public function deleteUser(string $login, Model\DeactivateUser $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteUser($login, $requestBody), $fetch); - } - - /** - * Retrieve a list of users for the provided scope. - * - * @param array $queryParameters { - * - * @var string $organization_guid A GUID for a Bitly organization - * @var int $page Integer specifying the numbered result at which to start - * @var int $size The quantity of items to be be returned - * @var string $group_guid A GUID for a Bitly group - * @var array $logins The logins for Bitly users - * @var string $full_name_search A partial string that will be compared to the full name of a user - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Users|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetUsersForbiddenException - * @throws Exception\GetUsersNotFoundException - * @throws Exception\GetUsersInternalServerErrorException - * @throws Exception\GetUsersServiceUnavailableException - */ - public function getUsers(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetUsers($queryParameters), $fetch); - } - - /** - * Create a user. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\PublicOAuthUser|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateUserBadRequestException - * @throws Exception\CreateUserUnprocessableEntityException - * @throws Exception\CreateUserTooManyRequestsException - * @throws Exception\CreateUserInternalServerErrorException - */ - public function createUser(Model\CreateUserBody $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateUser($requestBody), $fetch); - } - - /** - * Retrieve a list of Groups by a User Login. - * - * @param string $login The login for a Bitly user - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Groups|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupsByLoginForbiddenException - * @throws Exception\GetGroupsByLoginInternalServerErrorException - */ - public function getGroupsByLogin(string $login, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupsByLogin($login), $fetch); - } - - /** - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\UserPreferences|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetUserPreferencesBadRequestException - * @throws Exception\GetUserPreferencesInternalServerErrorException - */ - public function getUserPreferences(string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetUserPreferences(), $fetch); - } - - /** - * Set a user preference. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\SetUserPreferenceBadRequestException - * @throws Exception\SetUserPreferenceUnprocessableEntityException - * @throws Exception\SetUserPreferenceInternalServerErrorException - */ - public function setUserPreference(Model\UserPreferenceBody $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\SetUserPreference($requestBody), $fetch); - } - - /** - * gets all invitations for a given login. - * - * @param string $login The login for a Bitly user - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\InvitationsForLogin|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetInvitationsByLoginBadRequestException - * @throws Exception\GetInvitationsByLoginForbiddenException - * @throws Exception\GetInvitationsByLoginInternalServerErrorException - */ - public function getInvitationsByLogin(string $login, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetInvitationsByLogin($login), $fetch); - } - - /** - * accepts an invitation for a user and adds them to invited organizations and groups. - * - * @param string $login The login for a Bitly user - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Organizations|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UserAcceptInviteBadRequestException - * @throws Exception\UserAcceptInviteForbiddenException - * @throws Exception\UserAcceptInviteUnprocessableEntityException - * @throws Exception\UserAcceptInviteInternalServerErrorException - */ - public function userAcceptInvite(string $login, Model\InvitationsAccept $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UserAcceptInvite($login, $requestBody), $fetch); - } - - /** - * Get a user's activity log. - * - * @param array $queryParameters { - * - * @var string $next_page - * @var int $limit - * @var array $action - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ActivityLogs|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetUserActivityLogForbiddenException - * @throws Exception\GetUserActivityLogInternalServerErrorException - * @throws Exception\GetUserActivityLogServiceUnavailableException - */ - public function getUserActivityLog(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetUserActivityLog($queryParameters), $fetch); - } - - /** - * Change the stored password for a user. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\ChangeUserPasswordBadRequestException - * @throws Exception\ChangeUserPasswordForbiddenException - * @throws Exception\ChangeUserPasswordNotFoundException - * @throws Exception\ChangeUserPasswordUnprocessableEntityException - * @throws Exception\ChangeUserPasswordInternalServerErrorException - */ - public function changeUserPassword(Model\UserPasswordChange $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\ChangeUserPassword($requestBody), $fetch); - } - - /** - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\UserOnboardingSurvey|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetUserOnboardingSurveyResultsForbiddenException - * @throws Exception\GetUserOnboardingSurveyResultsInternalServerErrorException - */ - public function getUserOnboardingSurveyResults(string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetUserOnboardingSurveyResults(), $fetch); - } - - /** - * adds a new email to an existing user. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\EmailBody|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\AddEmailToUserBadRequestException - * @throws Exception\AddEmailToUserForbiddenException - * @throws Exception\AddEmailToUserNotFoundException - * @throws Exception\AddEmailToUserUnprocessableEntityException - * @throws Exception\AddEmailToUserInternalServerErrorException - */ - public function addEmailToUser(Model\EmailBody $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\AddEmailToUser($requestBody), $fetch); - } - - /** - * Delete an existing email. - * - * @param string $email An email address - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteEmailBadRequestException - * @throws Exception\DeleteEmailForbiddenException - * @throws Exception\DeleteEmailNotFoundException - * @throws Exception\DeleteEmailInternalServerErrorException - * @throws Exception\DeleteEmailServiceUnavailableException - */ - public function deleteEmail(string $email, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteEmail($email), $fetch); - } - - /** - * Update an email. - * - * @param string $email An email address - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\EmailBody|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateEmailBadRequestException - * @throws Exception\UpdateEmailForbiddenException - * @throws Exception\UpdateEmailNotFoundException - * @throws Exception\UpdateEmailInternalServerErrorException - * @throws Exception\UpdateEmailServiceUnavailableException - */ - public function updateEmail(string $email, Model\EmailBody $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateEmail($email, $requestBody), $fetch); - } - - /** - * Send a verification for an email to a user. - * - * @param string $email An email address - * @param mixed|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\SendEmailVerificationBadRequestException - * @throws Exception\SendEmailVerificationNotFoundException - * @throws Exception\SendEmailVerificationInternalServerErrorException - * @throws Exception\SendEmailVerificationServiceUnavailableException - */ - public function sendEmailVerification(string $email, $requestBody = null, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\SendEmailVerification($email, $requestBody), $fetch); - } - - /** - * Returns the campaigns for the current authenticated user. - * - * @param array $queryParameters { - * - * @var string $group_guid A GUID for a Bitly group - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Campaigns|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetCampaignsBadRequestException - * @throws Exception\GetCampaignsPaymentRequiredException - * @throws Exception\GetCampaignsForbiddenException - * @throws Exception\GetCampaignsNotFoundException - * @throws Exception\GetCampaignsInternalServerErrorException - * @throws Exception\GetCampaignsBadGatewayException - * @throws Exception\GetCampaignsServiceUnavailableException - */ - public function getCampaigns(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetCampaigns($queryParameters), $fetch); - } - - /** - * Creates a new campaign. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Campaign|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateCampaignBadRequestException - * @throws Exception\CreateCampaignPaymentRequiredException - * @throws Exception\CreateCampaignForbiddenException - * @throws Exception\CreateCampaignNotFoundException - * @throws Exception\CreateCampaignUnprocessableEntityException - * @throws Exception\CreateCampaignTooManyRequestsException - * @throws Exception\CreateCampaignInternalServerErrorException - * @throws Exception\CreateCampaignServiceUnavailableException - */ - public function createCampaign(Model\CampaignModify $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateCampaign($requestBody), $fetch); - } - - /** - * Deletes a campaign. - * - * @param string $campaignGuid A GUID for a Bitly campaign - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteCampaignPaymentRequiredException - * @throws Exception\DeleteCampaignForbiddenException - * @throws Exception\DeleteCampaignNotFoundException - * @throws Exception\DeleteCampaignInternalServerErrorException - * @throws Exception\DeleteCampaignServiceUnavailableException - */ - public function deleteCampaign(string $campaignGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteCampaign($campaignGuid), $fetch); - } - - /** - * Returns details for a campaign. - * - * @param string $campaignGuid A GUID for a Bitly campaign - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Campaign|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetCampaignPaymentRequiredException - * @throws Exception\GetCampaignForbiddenException - * @throws Exception\GetCampaignNotFoundException - * @throws Exception\GetCampaignTooManyRequestsException - * @throws Exception\GetCampaignInternalServerErrorException - * @throws Exception\GetCampaignServiceUnavailableException - */ - public function getCampaign(string $campaignGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetCampaign($campaignGuid), $fetch); - } - - /** - * Updates a campaign's details. - * - * @param string $campaignGuid A GUID for a Bitly campaign - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Campaign|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateCampaignBadRequestException - * @throws Exception\UpdateCampaignPaymentRequiredException - * @throws Exception\UpdateCampaignForbiddenException - * @throws Exception\UpdateCampaignNotFoundException - * @throws Exception\UpdateCampaignUnprocessableEntityException - * @throws Exception\UpdateCampaignTooManyRequestsException - * @throws Exception\UpdateCampaignInternalServerErrorException - * @throws Exception\UpdateCampaignServiceUnavailableException - */ - public function updateCampaign(string $campaignGuid, Model\CampaignModify $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateCampaign($campaignGuid, $requestBody), $fetch); - } - - /** - * Returns the number of clicks for all channels within a campaign. - * - * @param string $campaignGuid A GUID for a Bitly campaign - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv - * - * @return Model\CampaignClicks|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetCampaignClicksPaymentRequiredException - * @throws Exception\GetCampaignClicksForbiddenException - * @throws Exception\GetCampaignClicksNotFoundException - * @throws Exception\GetCampaignClicksInternalServerErrorException - * @throws Exception\GetCampaignClicksServiceUnavailableException - */ - public function getCampaignClicks(string $campaignGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetCampaignClicks($campaignGuid, $queryParameters, $accept), $fetch); - } - - /** - * bulk add bitlinks to multiple campaign channels. - * - * @param string $campaignGuid A GUID for a Bitly campaign - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BulkAddResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\BulkAddBadRequestException - * @throws Exception\BulkAddForbiddenException - * @throws Exception\BulkAddNotFoundException - * @throws Exception\BulkAddInternalServerErrorException - */ - public function bulkAdd(string $campaignGuid, Model\CampaignsCampaignGuidAddURLsPostBody $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\BulkAdd($campaignGuid, $requestBody), $fetch); - } - - /** - * add a url to a channel for a brand and campaign. - * - * @param string $campaignGuid A GUID for a Bitly campaign - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\CampaignAddBitlinkResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CampaignAddBitlinkBadRequestException - * @throws Exception\CampaignAddBitlinkPaymentRequiredException - * @throws Exception\CampaignAddBitlinkForbiddenException - * @throws Exception\CampaignAddBitlinkNotFoundException - * @throws Exception\CampaignAddBitlinkUnprocessableEntityException - * @throws Exception\CampaignAddBitlinkInternalServerErrorException - * @throws Exception\CampaignAddBitlinkServiceUnavailableException - */ - public function campaignAddBitlink(string $campaignGuid, Model\CampaignAddBitlink $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CampaignAddBitlink($campaignGuid, $requestBody), $fetch); - } - - /** - * Returns the channels available to a user. - * - * @param array $queryParameters { - * - * @var string $group_guid A GUID for a Bitly group - * @var string $campaign_guid A GUID for a Bitly campaign - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Channels|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetChannelsPaymentRequiredException - * @throws Exception\GetChannelsForbiddenException - * @throws Exception\GetChannelsNotFoundException - * @throws Exception\GetChannelsInternalServerErrorException - * @throws Exception\GetChannelsServiceUnavailableException - */ - public function getChannels(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetChannels($queryParameters), $fetch); - } - - /** - * Creates a new channel. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Channel|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateChannelBadRequestException - * @throws Exception\CreateChannelPaymentRequiredException - * @throws Exception\CreateChannelForbiddenException - * @throws Exception\CreateChannelNotFoundException - * @throws Exception\CreateChannelUnprocessableEntityException - * @throws Exception\CreateChannelTooManyRequestsException - * @throws Exception\CreateChannelInternalServerErrorException - * @throws Exception\CreateChannelServiceUnavailableException - */ - public function createChannel(Model\ChannelModify $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateChannel($requestBody), $fetch); - } - - /** - * Deletes a channel. - * - * @param string $channelGuid A GUID for a Bitly Channel - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteChannelPaymentRequiredException - * @throws Exception\DeleteChannelForbiddenException - * @throws Exception\DeleteChannelNotFoundException - * @throws Exception\DeleteChannelInternalServerErrorException - * @throws Exception\DeleteChannelServiceUnavailableException - */ - public function deleteChannel(string $channelGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteChannel($channelGuid), $fetch); - } - - /** - * Returns a channel's details. - * - * @param string $channelGuid A GUID for a Bitly Channel - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Channel|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetChannelPaymentRequiredException - * @throws Exception\GetChannelForbiddenException - * @throws Exception\GetChannelNotFoundException - * @throws Exception\GetChannelTooManyRequestsException - * @throws Exception\GetChannelInternalServerErrorException - * @throws Exception\GetChannelServiceUnavailableException - */ - public function getChannel(string $channelGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetChannel($channelGuid), $fetch); - } - - /** - * Updates an existing channel. - * - * @param string $channelGuid A GUID for a Bitly Channel - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Channel|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateChannelBadRequestException - * @throws Exception\UpdateChannelPaymentRequiredException - * @throws Exception\UpdateChannelForbiddenException - * @throws Exception\UpdateChannelNotFoundException - * @throws Exception\UpdateChannelUnprocessableEntityException - * @throws Exception\UpdateChannelTooManyRequestsException - * @throws Exception\UpdateChannelInternalServerErrorException - * @throws Exception\UpdateChannelServiceUnavailableException - */ - public function updateChannel(string $channelGuid, Model\ChannelModify $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateChannel($channelGuid, $requestBody), $fetch); - } - - /** - * Retrieve the details for the provided OAuth App client ID. - * - * @param string $clientId The client ID of an OAuth app - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\OAuthApp|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOAuthAppForbiddenException - * @throws Exception\GetOAuthAppNotFoundException - * @throws Exception\GetOAuthAppInternalServerErrorException - * @throws Exception\GetOAuthAppServiceUnavailableException - */ - public function getOAuthApp(string $clientId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOAuthApp($clientId), $fetch); - } - - /** - * Update the details for the provided OAuth App client ID. - * - * @param string $clientId The client ID of an OAuth app - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\OAuthAppFull|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateOAuthAppBadRequestException - * @throws Exception\UpdateOAuthAppForbiddenException - * @throws Exception\UpdateOAuthAppNotFoundException - * @throws Exception\UpdateOAuthAppInternalServerErrorException - * @throws Exception\UpdateOAuthAppServiceUnavailableException - */ - public function updateOAuthApp(string $clientId, Model\UpdateApp $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateOAuthApp($clientId, $requestBody), $fetch); - } - - /** - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\OAuthApps|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOAuthAppsBadRequestException - * @throws Exception\GetOAuthAppsNotFoundException - * @throws Exception\GetOAuthAppsInternalServerErrorException - * @throws Exception\GetOAuthAppsServiceUnavailableException - */ - public function getOAuthApps(string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOAuthApps(), $fetch); - } - - /** - * Creates an OAuth App for the user. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\OAuthAppFull|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateOAuthAppBadRequestException - * @throws Exception\CreateOAuthAppForbiddenException - * @throws Exception\CreateOAuthAppInternalServerErrorException - */ - public function createOAuthApp(Model\CreateOAuthAppReq $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateOAuthApp($requestBody), $fetch); - } - - /** - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Authorizations|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOAuthAuthorizationsNotFoundException - * @throws Exception\GetOAuthAuthorizationsInternalServerErrorException - * @throws Exception\GetOAuthAuthorizationsServiceUnavailableException - */ - public function getOAuthAuthorizations(string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOAuthAuthorizations(), $fetch); - } - - /** - * Creates a generic access token for the user. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\GenericAccessToken|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateGenericAccessTokenBadRequestException - * @throws Exception\CreateGenericAccessTokenUnauthorizedException - * @throws Exception\CreateGenericAccessTokenForbiddenException - * @throws Exception\CreateGenericAccessTokenNotFoundException - * @throws Exception\CreateGenericAccessTokenInternalServerErrorException - */ - public function createGenericAccessToken(Model\GenericAccessTokenReq $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateGenericAccessToken($requestBody), $fetch); - } - - /** - * Delete the oauth authorization for a user. - * - * @param string $authorizationId A ID for an oAuth authorization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\ExpireOAuthAuthorizationBadRequestException - * @throws Exception\ExpireOAuthAuthorizationNotFoundException - * @throws Exception\ExpireOAuthAuthorizationInternalServerErrorException - * @throws Exception\ExpireOAuthAuthorizationServiceUnavailableException - */ - public function expireOAuthAuthorization(string $authorizationId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\ExpireOAuthAuthorization($authorizationId), $fetch); - } - - /** - * Finds the OAuth App associated with the param clientID, and updates the client secret for that app. - * - * @param string $clientId The client ID of an OAuth app - * @param mixed|null $requestBody - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\OAuthAppFull|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateOAuthAppClientSecretForbiddenException - * @throws Exception\UpdateOAuthAppClientSecretNotFoundException - * @throws Exception\UpdateOAuthAppClientSecretInternalServerErrorException - * @throws Exception\UpdateOAuthAppClientSecretServiceUnavailableException - */ - public function updateOAuthAppClientSecret(string $clientId, $requestBody = null, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateOAuthAppClientSecret($clientId, $requestBody), $fetch); - } - - /** - * Retrieve the Integration OAuths matching a given clientID. - * - * @param array $queryParameters { - * - * @var string $client_id The client_id is a required search param partially matching the integration oauth composite key - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\IntegrationOAuths|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetIntegrationOAuthsByClientIDBadRequestException - * @throws Exception\GetIntegrationOAuthsByClientIDInternalServerErrorException - * @throws Exception\GetIntegrationOAuthsByClientIDServiceUnavailableException - */ - public function getIntegrationOAuthsByClientID(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetIntegrationOAuthsByClientID($queryParameters), $fetch); - } - - /** - * delete a Integration OAuth matching a given clientID and Organization GUID. - * - * @param string $clientId The client ID of an OAuth app - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteIntegrationOAuthBadRequestException - * @throws Exception\DeleteIntegrationOAuthForbiddenException - * @throws Exception\DeleteIntegrationOAuthInternalServerErrorException - * @throws Exception\DeleteIntegrationOAuthServiceUnavailableException - */ - public function deleteIntegrationOAuth(string $clientId, string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteIntegrationOAuth($clientId, $organizationGuid), $fetch); - } - - /** - * Creates a new Shopify Integration OAuth for the given Organization GUID. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateShopifyIntegrationOAuthBadRequestException - * @throws Exception\CreateShopifyIntegrationOAuthForbiddenException - * @throws Exception\CreateShopifyIntegrationOAuthConflictException - * @throws Exception\CreateShopifyIntegrationOAuthUnprocessableEntityException - * @throws Exception\CreateShopifyIntegrationOAuthInternalServerErrorException - * @throws Exception\CreateShopifyIntegrationOAuthServiceUnavailableException - */ - public function createShopifyIntegrationOAuth(string $organizationGuid, Model\ShopifyTokenExchangeRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateShopifyIntegrationOAuth($organizationGuid, $requestBody), $fetch); - } - - /** - * Retrieves shopify domain details for a organization guid and client id. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $clientId The client ID of an OAuth app - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ShopifyDomainDetailsResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetShopifyShopDomainDetailsBadRequestException - * @throws Exception\GetShopifyShopDomainDetailsForbiddenException - * @throws Exception\GetShopifyShopDomainDetailsNotFoundException - * @throws Exception\GetShopifyShopDomainDetailsInternalServerErrorException - * @throws Exception\GetShopifyShopDomainDetailsServiceUnavailableException - */ - public function getShopifyShopDomainDetails(string $organizationGuid, string $clientId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetShopifyShopDomainDetails($organizationGuid, $clientId), $fetch); - } - - /** - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BSDsResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetBSDsBadRequestException - * @throws Exception\GetBSDsForbiddenException - * @throws Exception\GetBSDsInternalServerErrorException - * @throws Exception\GetBSDsServiceUnavailableException - */ - public function getBSDs(string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetBSDs(), $fetch); - } - - /** - * Fetch a list of domains based on a query. - * - * @param array $queryParameters { - * - * @var int $limit limit the amount of results returned - * @var string $query The value that you would like to search - * @var string $organization_guid A GUID for a Bitly organization - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BSDSearchResults|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\SearchDomainsForbiddenException - * @throws Exception\SearchDomainsInternalServerErrorException - */ - public function searchDomains(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\SearchDomains($queryParameters), $fetch); - } - - /** - * Fetch AI-generated branded short domains based on a natural language prompt. - * - * @param array $queryParameters { - * - * @var int $limit limit the amount of results returned - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BSDSearchResults|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\AiDomainSearchBadRequestException - * @throws Exception\AiDomainSearchForbiddenException - * @throws Exception\AiDomainSearchInternalServerErrorException - */ - public function aiDomainSearch(Model\BSDAISearchPrompt $requestBody, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\AiDomainSearch($requestBody, $queryParameters), $fetch); - } - - /** - * Fetches autobranded domain for urls. - * - * @param array $queryParameters { - * - * @var array $long_url - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AutobrandedDomain|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAutobrandedDomainBadRequestException - * @throws Exception\GetAutobrandedDomainInternalServerErrorException - */ - public function getAutobrandedDomain(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAutobrandedDomain($queryParameters), $fetch); - } - - /** - * Buy a BSD for a user. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\PurchaseBSDResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\PurchaseBsdForbiddenException - * @throws Exception\PurchaseBsdInternalServerErrorException - */ - public function purchaseBsd(Model\PurchaseBSD $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\PurchaseBsd($requestBody), $fetch); - } - - /** - * Get domain details from registrar. - * - * @param string $domain a web domain - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\DomainRegistrarInfo|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetDomainRegistrarInfoInternalServerErrorException - */ - public function getDomainRegistrarInfo(string $domain, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetDomainRegistrarInfo($domain), $fetch); - } - - /** - * Get agreements from registrar to purchase a domain. - * - * @param string $domain a web domain - * @param array $queryParameters { - * - * @var string $organization_guid A GUID for a Bitly organization - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\DomainAgreements|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\FetchDomainAgreementsInternalServerErrorException - */ - public function fetchDomainAgreements(string $domain, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\FetchDomainAgreements($domain, $queryParameters), $fetch); - } - - /** - * Get DNS provider, DNS record type (A or CNAME), values (where DNS points), and whether the DNS values are valid. - * - * @param string $domain a web domain - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\DomainDNS|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CheckDomainDNSInternalServerErrorException - */ - public function checkDomainDNS(string $domain, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CheckDomainDNS($domain), $fetch); - } - - /** - * Fetch the status of available domain. - * - * @param string $domain a web domain - * @param array $queryParameters { - * - * @var string $organization_guid A GUID for a Bitly organization - * @var bool $fetch_price Include pricing information for a domain - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\DomainStatus|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\FetchDomainStatusForbiddenException - * @throws Exception\FetchDomainStatusInternalServerErrorException - * @throws Exception\FetchDomainStatusGatewayTimeoutException - */ - public function fetchDomainStatus(string $domain, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\FetchDomainStatus($domain, $queryParameters), $fetch); - } - - /** - * Fetch all information around a complimentary domain purchase for a specific domain. - * - * @param string $domain a web domain - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\DomainPurchase|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\FetchCompDomainPurchaseForbiddenException - * @throws Exception\FetchCompDomainPurchaseInternalServerErrorException - * @throws Exception\FetchCompDomainPurchaseGatewayTimeoutException - */ - public function fetchCompDomainPurchase(string $domain, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\FetchCompDomainPurchase($domain), $fetch); - } - - /** - * Fetch all Access Features available for an Organization. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AccessFeatures|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAccessFeaturesForbiddenException - * @throws Exception\GetAccessFeaturesInternalServerErrorException - */ - public function getAccessFeatures(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAccessFeatures($organizationGuid), $fetch); - } - - /** - * allows us to capture user events. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CaptureEventForbiddenException - * @throws Exception\CaptureEventInternalServerErrorException - */ - public function captureEvent(Model\Event $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CaptureEvent($requestBody), $fetch); - } - - /** - * Fetch all Consumable Features available for an Organization. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ConsumableFeatures|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetConsumableFeaturesForbiddenException - * @throws Exception\GetConsumableFeaturesConflictException - * @throws Exception\GetConsumableFeaturesInternalServerErrorException - */ - public function getConsumableFeatures(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetConsumableFeatures($organizationGuid), $fetch); - } - - /** - * Fetch all invitations available for an Organization. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Invitations|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetInvitationsForbiddenException - * @throws Exception\GetInvitationsInternalServerErrorException - */ - public function getInvitations(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetInvitations($organizationGuid), $fetch); - } - - /** - * Create invitaitons for an Organization. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Invitations|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateOrganizationInvitationsBadRequestException - * @throws Exception\CreateOrganizationInvitationsPaymentRequiredException - * @throws Exception\CreateOrganizationInvitationsForbiddenException - * @throws Exception\CreateOrganizationInvitationsTooManyRequestsException - * @throws Exception\CreateOrganizationInvitationsInternalServerErrorException - * @throws Exception\CreateOrganizationInvitationsServiceUnavailableException - */ - public function createOrganizationInvitations(string $organizationGuid, Model\InvitationsCreate $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateOrganizationInvitations($organizationGuid, $requestBody), $fetch); - } - - /** - * Fetch all invitations available for an Organization. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $email An email address - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Invitation|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\ResendInvitationForbiddenException - * @throws Exception\ResendInvitationNotFoundException - * @throws Exception\ResendInvitationTooManyRequestsException - * @throws Exception\ResendInvitationInternalServerErrorException - */ - public function resendInvitation(string $organizationGuid, string $email, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\ResendInvitation($organizationGuid, $email), $fetch); - } - - /** - * Deletes an invitation for a given organization and email address. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $email An email address - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteInvitationForbiddenException - * @throws Exception\DeleteInvitationNotFoundException - * @throws Exception\DeleteInvitationTooManyRequestsException - * @throws Exception\DeleteInvitationInternalServerErrorException - */ - public function deleteInvitation(string $organizationGuid, string $email, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteInvitation($organizationGuid, $email), $fetch); - } - - /** - * Fetch all webhooks available for an Organization. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Webhooks|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetWebhooksPaymentRequiredException - * @throws Exception\GetWebhooksForbiddenException - * @throws Exception\GetWebhooksNotFoundException - * @throws Exception\GetWebhooksTooManyRequestsException - * @throws Exception\GetWebhooksInternalServerErrorException - * @throws Exception\GetWebhooksServiceUnavailableException - */ - public function getWebhooks(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetWebhooks($organizationGuid), $fetch); - } - - /** - * Creates a webhook. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Webhook|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateWebhookBadRequestException - * @throws Exception\CreateWebhookPaymentRequiredException - * @throws Exception\CreateWebhookForbiddenException - * @throws Exception\CreateWebhookNotFoundException - * @throws Exception\CreateWebhookUnprocessableEntityException - * @throws Exception\CreateWebhookTooManyRequestsException - * @throws Exception\CreateWebhookInternalServerErrorException - * @throws Exception\CreateWebhookServiceUnavailableException - */ - public function createWebhook(Model\WebhookCreate $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateWebhook($requestBody), $fetch); - } - - /** - * Deletes a webhook. - * - * @param string $webhookGuid A GUID for a Bitly webhook - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteWebhookBadRequestException - * @throws Exception\DeleteWebhookPaymentRequiredException - * @throws Exception\DeleteWebhookForbiddenException - * @throws Exception\DeleteWebhookNotFoundException - * @throws Exception\DeleteWebhookInternalServerErrorException - * @throws Exception\DeleteWebhookServiceUnavailableException - */ - public function deleteWebhook(string $webhookGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteWebhook($webhookGuid), $fetch); - } - - /** - * Returns a webhook. - * - * @param string $webhookGuid A GUID for a Bitly webhook - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Webhook|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetWebhookBadRequestException - * @throws Exception\GetWebhookPaymentRequiredException - * @throws Exception\GetWebhookForbiddenException - * @throws Exception\GetWebhookNotFoundException - * @throws Exception\GetWebhookTooManyRequestsException - * @throws Exception\GetWebhookInternalServerErrorException - * @throws Exception\GetWebhookServiceUnavailableException - */ - public function getWebhook(string $webhookGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetWebhook($webhookGuid), $fetch); - } - - /** - * Update a webhook. - * - * @param string $webhookGuid A GUID for a Bitly webhook - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Webhook|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateWebhookBadRequestException - * @throws Exception\UpdateWebhookPaymentRequiredException - * @throws Exception\UpdateWebhookForbiddenException - * @throws Exception\UpdateWebhookNotFoundException - * @throws Exception\UpdateWebhookUnprocessableEntityException - * @throws Exception\UpdateWebhookTooManyRequestsException - * @throws Exception\UpdateWebhookInternalServerErrorException - * @throws Exception\UpdateWebhookServiceUnavailableException - */ - public function updateWebhook(string $webhookGuid, Model\WebhookUpdate $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateWebhook($webhookGuid, $requestBody), $fetch); - } - - /** - * Sends ping event to test webhook configuration. - * - * @param string $webhookGuid A GUID for a Bitly webhook - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Webhook|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\VerifyWebhookBadRequestException - * @throws Exception\VerifyWebhookPaymentRequiredException - * @throws Exception\VerifyWebhookForbiddenException - * @throws Exception\VerifyWebhookNotFoundException - * @throws Exception\VerifyWebhookInternalServerErrorException - * @throws Exception\VerifyWebhookServiceUnavailableException - */ - public function verifyWebhook(string $webhookGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\VerifyWebhook($webhookGuid), $fetch); - } - - /** - * Returns all plan limits and counts available for an organization. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\PlanLimits|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetPlanLimitsForbiddenException - * @throws Exception\GetPlanLimitsInternalServerErrorException - * @throws Exception\GetPlanLimitsServiceUnavailableException - */ - public function getPlanLimits(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetPlanLimits($organizationGuid), $fetch); - } - - /** - * Fetch all platform limits and counts available for an organization. - * - * @param array $queryParameters { - * - * @var string $path The specific path for which information is requested - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\PlatformLimits|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetPlatformLimitsForbiddenException - * @throws Exception\GetPlatformLimitsNotFoundException - * @throws Exception\GetPlatformLimitsInternalServerErrorException - * @throws Exception\GetPlatformLimitsServiceUnavailableException - */ - public function getPlatformLimits(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetPlatformLimits($queryParameters), $fetch); - } - - /** - * validate bulk upload. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BulkUploadData|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\ValidateBulkUploadBadRequestException - * @throws Exception\ValidateBulkUploadPaymentRequiredException - * @throws Exception\ValidateBulkUploadForbiddenException - * @throws Exception\ValidateBulkUploadNotFoundException - * @throws Exception\ValidateBulkUploadUnprocessableEntityException - * @throws Exception\ValidateBulkUploadInternalServerErrorException - * @throws Exception\ValidateBulkUploadServiceUnavailableException - */ - public function validateBulkUpload(Model\BulkUploadValidate $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\ValidateBulkUpload($requestBody), $fetch); - } - - /** - * Returns all bulk uploads for an organization. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param array $queryParameters { - * - * @var string $upload_type Return uploads specific to the action being performed. - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BulkUploads|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetBulkUploadsBadRequestException - * @throws Exception\GetBulkUploadsPaymentRequiredException - * @throws Exception\GetBulkUploadsForbiddenException - * @throws Exception\GetBulkUploadsNotFoundException - * @throws Exception\GetBulkUploadsInternalServerErrorException - * @throws Exception\GetBulkUploadsServiceUnavailableException - */ - public function getBulkUploads(string $organizationGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetBulkUploads($organizationGuid, $queryParameters), $fetch); - } - - /** - * Deletes an existing Link Launchpad. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteLaunchpadBadRequestException - * @throws Exception\DeleteLaunchpadForbiddenException - * @throws Exception\DeleteLaunchpadNotFoundException - * @throws Exception\DeleteLaunchpadInternalServerErrorException - * @throws Exception\DeleteLaunchpadServiceUnavailableException - */ - public function deleteLaunchpad(string $launchpadId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteLaunchpad($launchpadId), $fetch); - } - - /** - * Returns all relevant data to render a specific link launchpad. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Launchpad|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetLaunchpadForbiddenException - * @throws Exception\GetLaunchpadNotFoundException - * @throws Exception\GetLaunchpadInternalServerErrorException - * @throws Exception\GetLaunchpadServiceUnavailableException - */ - public function getLaunchpad(string $launchpadId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetLaunchpad($launchpadId), $fetch); - } - - /** - * Updates an existing link launchpad. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Launchpad|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateLaunchpadBadRequestException - * @throws Exception\UpdateLaunchpadForbiddenException - * @throws Exception\UpdateLaunchpadNotFoundException - * @throws Exception\UpdateLaunchpadTooManyRequestsException - * @throws Exception\UpdateLaunchpadInternalServerErrorException - * @throws Exception\UpdateLaunchpadServiceUnavailableException - */ - public function updateLaunchpad(string $launchpadId, Model\UpdateLaunchpad $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateLaunchpad($launchpadId, $requestBody), $fetch); - } - - /** - * Creates an empty link launchpad for a group using default appearance settings. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Launchpad|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateLaunchpadBadRequestException - * @throws Exception\CreateLaunchpadForbiddenException - * @throws Exception\CreateLaunchpadInternalServerErrorException - * @throws Exception\CreateLaunchpadServiceUnavailableException - */ - public function createLaunchpad(Model\CreateLaunchpad $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateLaunchpad($requestBody), $fetch); - } - - /** - * Creates an empty Bitly Site for a group using default appearance settings. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateSiteBadRequestException - * @throws Exception\CreateSitePaymentRequiredException - * @throws Exception\CreateSiteForbiddenException - * @throws Exception\CreateSiteUnprocessableEntityException - * @throws Exception\CreateSiteInternalServerErrorException - * @throws Exception\CreateSiteServiceUnavailableException - */ - public function createSite(Model\CreateLaunchpad $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateSite($requestBody), $fetch); - } - - /** - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BitlySiteLayout[]|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetSiteLayoutsBadRequestException - * @throws Exception\GetSiteLayoutsForbiddenException - * @throws Exception\GetSiteLayoutsNotFoundException - * @throws Exception\GetSiteLayoutsInternalServerErrorException - * @throws Exception\GetSiteLayoutsServiceUnavailableException - */ - public function getSiteLayouts(string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetSiteLayouts(), $fetch); - } - - /** - * Deletes an existing Site. - * - * @param string $siteId A GUID for a Bitly Site - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteSiteBadRequestException - * @throws Exception\DeleteSiteForbiddenException - * @throws Exception\DeleteSiteNotFoundException - * @throws Exception\DeleteSiteInternalServerErrorException - * @throws Exception\DeleteSiteServiceUnavailableException - */ - public function deleteSite(string $siteId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteSite($siteId), $fetch); - } - - /** - * Retrieves a Bitly Site by ID. - * - * @param string $siteId A GUID for a Bitly Site - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetSiteBadRequestException - * @throws Exception\GetSiteForbiddenException - * @throws Exception\GetSiteNotFoundException - * @throws Exception\GetSiteInternalServerErrorException - * @throws Exception\GetSiteServiceUnavailableException - */ - public function getSite(string $siteId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetSite($siteId), $fetch); - } - - /** - * Creates a new Bitly site by cloning content and appearance from an existing site. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CloneSiteBadRequestException - * @throws Exception\CloneSitePaymentRequiredException - * @throws Exception\CloneSiteForbiddenException - * @throws Exception\CloneSiteInternalServerErrorException - * @throws Exception\CloneSiteServiceUnavailableException - */ - public function cloneSite(string $siteId, Model\SiteCloneRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CloneSite($siteId, $requestBody), $fetch); - } - - /** - * Discards a given site's in-progress draft. - * - * @param string $siteId A GUID for a Bitly Site - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DiscardSiteDraftBadRequestException - * @throws Exception\DiscardSiteDraftForbiddenException - * @throws Exception\DiscardSiteDraftNotFoundException - * @throws Exception\DiscardSiteDraftUnprocessableEntityException - * @throws Exception\DiscardSiteDraftInternalServerErrorException - */ - public function discardSiteDraft(string $siteId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DiscardSiteDraft($siteId), $fetch); - } - - /** - * Discards a launchpad draft copy of production launchpad. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Launchpad|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DiscardDraftLaunchpadBadRequestException - * @throws Exception\DiscardDraftLaunchpadForbiddenException - * @throws Exception\DiscardDraftLaunchpadInternalServerErrorException - * @throws Exception\DiscardDraftLaunchpadServiceUnavailableException - */ - public function discardDraftLaunchpad(string $launchpadId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DiscardDraftLaunchpad($launchpadId), $fetch); - } - - /** - * Replaces a production launchpad with its draft launchpad if changes are made. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Launchpad|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\PublishDraftLaunchpadBadRequestException - * @throws Exception\PublishDraftLaunchpadForbiddenException - * @throws Exception\PublishDraftLaunchpadInternalServerErrorException - * @throws Exception\PublishDraftLaunchpadServiceUnavailableException - */ - public function publishDraftLaunchpad(string $launchpadId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\PublishDraftLaunchpad($launchpadId), $fetch); - } - - /** - * Fully deletes a link launchpad button - does not deactivate. Does not delete link tied to button. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $buttonId A GUID for a Bitly Link Launchpad button - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteLaunchpadButtonForbiddenException - * @throws Exception\DeleteLaunchpadButtonNotFoundException - * @throws Exception\DeleteLaunchpadButtonInternalServerErrorException - * @throws Exception\DeleteLaunchpadButtonServiceUnavailableException - */ - public function deleteLaunchpadButton(string $launchpadId, string $buttonId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteLaunchpadButton($launchpadId, $buttonId), $fetch); - } - - /** - * Updates a provided button on a provided link launchpad. - * - * @param string $buttonId A GUID for a Bitly Link Launchpad button - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadButton|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateLaunchpadButtonBadRequestException - * @throws Exception\UpdateLaunchpadButtonForbiddenException - * @throws Exception\UpdateLaunchpadButtonNotFoundException - * @throws Exception\UpdateLaunchpadButtonInternalServerErrorException - * @throws Exception\UpdateLaunchpadButtonServiceUnavailableException - */ - public function updateLaunchpadButton(string $buttonId, string $launchpadId, Model\LaunchpadButtonRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateLaunchpadButton($buttonId, $launchpadId, $requestBody), $fetch); - } - - /** - * Updates a provided social icon on a provided link launchpad. - * - * @param string $buttonId A GUID for a Bitly Link Launchpad button - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadSocial|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateLaunchpadSocialBadRequestException - * @throws Exception\UpdateLaunchpadSocialForbiddenException - * @throws Exception\UpdateLaunchpadSocialNotFoundException - * @throws Exception\UpdateLaunchpadSocialInternalServerErrorException - * @throws Exception\UpdateLaunchpadSocialServiceUnavailableException - */ - public function updateLaunchpadSocial(string $buttonId, string $launchpadId, Model\LaunchpadSocialRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateLaunchpadSocial($buttonId, $launchpadId, $requestBody), $fetch); - } - - /** - * Updates a provided youtube embed on a provided link launchpad. - * - * @param string $buttonId A GUID for a Bitly Link Launchpad button - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadContentYouTubeResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateLaunchpadYoutubeVideoBadRequestException - * @throws Exception\UpdateLaunchpadYoutubeVideoForbiddenException - * @throws Exception\UpdateLaunchpadYoutubeVideoNotFoundException - * @throws Exception\UpdateLaunchpadYoutubeVideoInternalServerErrorException - * @throws Exception\UpdateLaunchpadYoutubeVideoServiceUnavailableException - */ - public function updateLaunchpadYoutubeVideo(string $buttonId, string $launchpadId, Model\LaunchpadContentYouTubeRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateLaunchpadYoutubeVideo($buttonId, $launchpadId, $requestBody), $fetch); - } - - /** - * Updates a provided image on a provided link launchpad. - * - * @param string $buttonId A GUID for a Bitly Link Launchpad button - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadContentImage|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateLaunchpadImageContentBadRequestException - * @throws Exception\UpdateLaunchpadImageContentForbiddenException - * @throws Exception\UpdateLaunchpadImageContentNotFoundException - * @throws Exception\UpdateLaunchpadImageContentInternalServerErrorException - * @throws Exception\UpdateLaunchpadImageContentServiceUnavailableException - */ - public function updateLaunchpadImageContent(string $buttonId, string $launchpadId, Model\LaunchpadContentImageRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateLaunchpadImageContent($buttonId, $launchpadId, $requestBody), $fetch); - } - - /** - * Updates a provided grid on a provided link launchpad. - * - * @param string $buttonId A GUID for a Bitly Link Launchpad button - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadContainerResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateLaunchpadGridContentBadRequestException - * @throws Exception\UpdateLaunchpadGridContentForbiddenException - * @throws Exception\UpdateLaunchpadGridContentNotFoundException - * @throws Exception\UpdateLaunchpadGridContentUnprocessableEntityException - * @throws Exception\UpdateLaunchpadGridContentInternalServerErrorException - * @throws Exception\UpdateLaunchpadGridContentServiceUnavailableException - */ - public function updateLaunchpadGridContent(string $buttonId, string $launchpadId, Model\LaunchpadContainerRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateLaunchpadGridContent($buttonId, $launchpadId, $requestBody), $fetch); - } - - /** - * Updates a provided carousel on a provided link launchpad. - * - * @param string $buttonId A GUID for a Bitly Link Launchpad button - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadContainerResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateLaunchpadCarouselContentBadRequestException - * @throws Exception\UpdateLaunchpadCarouselContentForbiddenException - * @throws Exception\UpdateLaunchpadCarouselContentNotFoundException - * @throws Exception\UpdateLaunchpadCarouselContentUnprocessableEntityException - * @throws Exception\UpdateLaunchpadCarouselContentInternalServerErrorException - * @throws Exception\UpdateLaunchpadCarouselContentServiceUnavailableException - */ - public function updateLaunchpadCarouselContent(string $buttonId, string $launchpadId, Model\LaunchpadContainerRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateLaunchpadCarouselContent($buttonId, $launchpadId, $requestBody), $fetch); - } - - /** - * Updates a provided bitlink on a provided link launchpad. - * - * @param string $buttonId A GUID for a Bitly Link Launchpad button - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadButton|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateLaunchpadBitlinkContentBadRequestException - * @throws Exception\UpdateLaunchpadBitlinkContentForbiddenException - * @throws Exception\UpdateLaunchpadBitlinkContentNotFoundException - * @throws Exception\UpdateLaunchpadBitlinkContentInternalServerErrorException - * @throws Exception\UpdateLaunchpadBitlinkContentServiceUnavailableException - */ - public function updateLaunchpadBitlinkContent(string $buttonId, string $launchpadId, Model\LaunchpadContentBitlinkRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateLaunchpadBitlinkContent($buttonId, $launchpadId, $requestBody), $fetch); - } - - /** - * Updates the sort order for all buttons associated with a launchpad. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\UpdateButtonSortOrder|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateLaunchpadButtonSortOrderBadRequestException - * @throws Exception\UpdateLaunchpadButtonSortOrderForbiddenException - * @throws Exception\UpdateLaunchpadButtonSortOrderNotFoundException - * @throws Exception\UpdateLaunchpadButtonSortOrderInternalServerErrorException - * @throws Exception\UpdateLaunchpadButtonSortOrderServiceUnavailableException - */ - public function updateLaunchpadButtonSortOrder(string $launchpadId, Model\UpdateButtonSortOrder $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateLaunchpadButtonSortOrder($launchpadId, $requestBody), $fetch); - } - - /** - * Creates a button on a provided link launchpad. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadButton|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateLaunchpadButtonBadRequestException - * @throws Exception\CreateLaunchpadButtonForbiddenException - * @throws Exception\CreateLaunchpadButtonNotFoundException - * @throws Exception\CreateLaunchpadButtonInternalServerErrorException - * @throws Exception\CreateLaunchpadButtonServiceUnavailableException - */ - public function createLaunchpadButton(string $launchpadId, Model\LaunchpadButtonRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateLaunchpadButton($launchpadId, $requestBody), $fetch); - } - - /** - * Creates a content of given type on the provided launchpad ID. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadButton|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateLaunchpadContentBitlinkBadRequestException - * @throws Exception\CreateLaunchpadContentBitlinkForbiddenException - * @throws Exception\CreateLaunchpadContentBitlinkNotFoundException - * @throws Exception\CreateLaunchpadContentBitlinkInternalServerErrorException - * @throws Exception\CreateLaunchpadContentBitlinkServiceUnavailableException - */ - public function createLaunchpadContentBitlink(string $launchpadId, Model\LaunchpadContentBitlinkRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateLaunchpadContentBitlink($launchpadId, $requestBody), $fetch); - } - - /** - * Creates a content of given type on the provided launchpad ID. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadSocial|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateLaunchpadContentSocialBadRequestException - * @throws Exception\CreateLaunchpadContentSocialForbiddenException - * @throws Exception\CreateLaunchpadContentSocialNotFoundException - * @throws Exception\CreateLaunchpadContentSocialInternalServerErrorException - * @throws Exception\CreateLaunchpadContentSocialServiceUnavailableException - */ - public function createLaunchpadContentSocial(string $launchpadId, Model\LaunchpadContentSocialRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateLaunchpadContentSocial($launchpadId, $requestBody), $fetch); - } - - /** - * Creates a content of given type on the provided launchpad ID. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadContentYouTubeResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateLaunchpadContentYoutubeVideoBadRequestException - * @throws Exception\CreateLaunchpadContentYoutubeVideoForbiddenException - * @throws Exception\CreateLaunchpadContentYoutubeVideoNotFoundException - * @throws Exception\CreateLaunchpadContentYoutubeVideoInternalServerErrorException - * @throws Exception\CreateLaunchpadContentYoutubeVideoServiceUnavailableException - */ - public function createLaunchpadContentYoutubeVideo(string $launchpadId, Model\LaunchpadContentYouTubeRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateLaunchpadContentYoutubeVideo($launchpadId, $requestBody), $fetch); - } - - /** - * Creates a content of given type on the provided launchpad ID. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadContentImage|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateLaunchpadContentImageBadRequestException - * @throws Exception\CreateLaunchpadContentImageForbiddenException - * @throws Exception\CreateLaunchpadContentImageNotFoundException - * @throws Exception\CreateLaunchpadContentImageInternalServerErrorException - * @throws Exception\CreateLaunchpadContentImageServiceUnavailableException - */ - public function createLaunchpadContentImage(string $launchpadId, Model\LaunchpadContentImageRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateLaunchpadContentImage($launchpadId, $requestBody), $fetch); - } - - /** - * Creates a content of given type on the provided launchpad ID. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadContentDigitalBusinessCardResponse|\Psr\Http\Message\ResponseInterface|null - */ - public function createLaunchpadContentDigitalBusinessCard(string $launchpadId, Model\LaunchpadContentDigitalBusinessCardRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateLaunchpadContentDigitalBusinessCard($launchpadId, $requestBody), $fetch); - } - - /** - * Updates a digital business card on a provided link launchpad. - * - * @param string $buttonId A GUID for a Bitly Link Launchpad button - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadContentDigitalBusinessCardResponse|\Psr\Http\Message\ResponseInterface|null - */ - public function updateLaunchpadContentDigitalBusinessCard(string $buttonId, string $launchpadId, Model\LaunchpadContentDigitalBusinessCardRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateLaunchpadContentDigitalBusinessCard($buttonId, $launchpadId, $requestBody), $fetch); - } - - /** - * Creates a content of given type on the provided launchpad ID. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadContentTextBlockResponse|\Psr\Http\Message\ResponseInterface|null - */ - public function createLaunchpadTextBlockContent(string $launchpadId, Model\LaunchpadContentTextBlockRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateLaunchpadTextBlockContent($launchpadId, $requestBody), $fetch); - } - - /** - * Updates a content of given type on the provided launchpad ID and button ID. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $buttonId A GUID for a Bitly Link Launchpad button - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadContentTextBlockResponse|\Psr\Http\Message\ResponseInterface|null - */ - public function updateLaunchpadTextBlockContent(string $launchpadId, string $buttonId, Model\LaunchpadContentTextBlockRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateLaunchpadTextBlockContent($launchpadId, $buttonId, $requestBody), $fetch); - } - - /** - * Allows for the upload of an image for use on a launchpad. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ImageUploadResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UploadLaunchpadImageBadRequestException - * @throws Exception\UploadLaunchpadImageForbiddenException - * @throws Exception\UploadLaunchpadImageNotFoundException - * @throws Exception\UploadLaunchpadImageInternalServerErrorException - * @throws Exception\UploadLaunchpadImageServiceUnavailableException - */ - public function uploadLaunchpadImage(string $launchpadId, Model\LaunchpadImageUpload $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UploadLaunchpadImage($launchpadId, $requestBody), $fetch); - } - - /** - * Deletes an image associated with a launchpad. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $imageUse An image use for an image uploaded to Bitly - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadImageUpload|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteLaunchpadImageByImageUseForbiddenException - * @throws Exception\DeleteLaunchpadImageByImageUseNotFoundException - * @throws Exception\DeleteLaunchpadImageByImageUseInternalServerErrorException - * @throws Exception\DeleteLaunchpadImageByImageUseServiceUnavailableException - */ - public function deleteLaunchpadImageByImageUse(string $launchpadId, string $imageUse, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteLaunchpadImageByImageUse($launchpadId, $imageUse), $fetch); - } - - /** - * this endpoint is authenticated so that only the launchpad admin can see the original image. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $imageUse An image use for an image uploaded to Bitly - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header image/*|application/json - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetLaunchpadImageByImageUseBadRequestException - * @throws Exception\GetLaunchpadImageByImageUseForbiddenException - * @throws Exception\GetLaunchpadImageByImageUseNotFoundException - * @throws Exception\GetLaunchpadImageByImageUseInternalServerErrorException - * @throws Exception\GetLaunchpadImageByImageUseServiceUnavailableException - */ - public function getLaunchpadImageByImageUse(string $launchpadId, string $imageUse, string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetLaunchpadImageByImageUse($launchpadId, $imageUse, $accept), $fetch); - } - - /** - * the public version of an image can be recropped without reuploading the original image. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $imageUse An image use for an image uploaded to Bitly - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadImageUpdate|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateLaunchpadImageByImageUseBadRequestException - * @throws Exception\UpdateLaunchpadImageByImageUseForbiddenException - * @throws Exception\UpdateLaunchpadImageByImageUseNotFoundException - * @throws Exception\UpdateLaunchpadImageByImageUseInternalServerErrorException - * @throws Exception\UpdateLaunchpadImageByImageUseServiceUnavailableException - */ - public function updateLaunchpadImageByImageUse(string $launchpadId, string $imageUse, Model\ImageCrop $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateLaunchpadImageByImageUse($launchpadId, $imageUse, $requestBody), $fetch); - } - - /** - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadPresetTheme[]|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetLaunchpadPresetThemesInternalServerErrorException - * @throws Exception\GetLaunchpadPresetThemesServiceUnavailableException - */ - public function getLaunchpadPresetThemes(string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetLaunchpadPresetThemes(), $fetch); - } - - /** - * Retrieves All Link Launchpads Associated with a Provided Group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Launchpads|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetLaunchpadsForGroupForbiddenException - * @throws Exception\GetLaunchpadsForGroupNotFoundException - * @throws Exception\GetLaunchpadsForGroupInternalServerErrorException - * @throws Exception\GetLaunchpadsForGroupServiceUnavailableException - */ - public function getLaunchpadsForGroup(string $groupGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetLaunchpadsForGroup($groupGuid), $fetch); - } - - /** - * Returns the view counts for the specified launchpad rolled up into a single field. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ViewsSummary|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetViewsSummaryForLaunchpadForbiddenException - * @throws Exception\GetViewsSummaryForLaunchpadNotFoundException - * @throws Exception\GetViewsSummaryForLaunchpadInternalServerErrorException - * @throws Exception\GetViewsSummaryForLaunchpadServiceUnavailableException - */ - public function getViewsSummaryForLaunchpad(string $launchpadId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetViewsSummaryForLaunchpad($launchpadId, $queryParameters), $fetch); - } - - /** - * Returns the country origins of view traffic for the specified launchpad. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Views|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetMetricsForLaunchpadByCountriesBadRequestException - * @throws Exception\GetMetricsForLaunchpadByCountriesForbiddenException - * @throws Exception\GetMetricsForLaunchpadByCountriesNotFoundException - * @throws Exception\GetMetricsForLaunchpadByCountriesInternalServerErrorException - * @throws Exception\GetMetricsForLaunchpadByCountriesServiceUnavailableException - */ - public function getMetricsForLaunchpadByCountries(string $launchpadId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetMetricsForLaunchpadByCountries($launchpadId, $queryParameters), $fetch); - } - - /** - * Returns the city origins of view traffic for the specified Launchpad. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\CityViewMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetMetricsForLaunchpadByCitiesBadRequestException - * @throws Exception\GetMetricsForLaunchpadByCitiesPaymentRequiredException - * @throws Exception\GetMetricsForLaunchpadByCitiesForbiddenException - * @throws Exception\GetMetricsForLaunchpadByCitiesNotFoundException - * @throws Exception\GetMetricsForLaunchpadByCitiesInternalServerErrorException - * @throws Exception\GetMetricsForLaunchpadByCitiesServiceUnavailableException - */ - public function getMetricsForLaunchpadByCities(string $launchpadId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetMetricsForLaunchpadByCities($launchpadId, $queryParameters), $fetch); - } - - /** - * Returns the device types generating view traffic to the specified launchpad. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Views|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetMetricsForLaunchpadByDevicesBadRequestException - * @throws Exception\GetMetricsForLaunchpadByDevicesPaymentRequiredException - * @throws Exception\GetMetricsForLaunchpadByDevicesForbiddenException - * @throws Exception\GetMetricsForLaunchpadByDevicesNotFoundException - * @throws Exception\GetMetricsForLaunchpadByDevicesInternalServerErrorException - * @throws Exception\GetMetricsForLaunchpadByDevicesServiceUnavailableException - */ - public function getMetricsForLaunchpadByDevices(string $launchpadId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetMetricsForLaunchpadByDevices($launchpadId, $queryParameters), $fetch); - } - - /** - * Returns referrer view counts for the specified launchpad. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Views|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetMetricsForLaunchpadByReferrersBadRequestException - * @throws Exception\GetMetricsForLaunchpadByReferrersForbiddenException - * @throws Exception\GetMetricsForLaunchpadByReferrersNotFoundException - * @throws Exception\GetMetricsForLaunchpadByReferrersInternalServerErrorException - * @throws Exception\GetMetricsForLaunchpadByReferrersServiceUnavailableException - */ - public function getMetricsForLaunchpadByReferrers(string $launchpadId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetMetricsForLaunchpadByReferrers($launchpadId, $queryParameters), $fetch); - } - - /** - * Returns the view counts for the specified link in an array based on a date. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Views|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetViewsForLaunchpadForbiddenException - * @throws Exception\GetViewsForLaunchpadNotFoundException - * @throws Exception\GetViewsForLaunchpadInternalServerErrorException - * @throws Exception\GetViewsForLaunchpadServiceUnavailableException - */ - public function getViewsForLaunchpad(string $launchpadId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetViewsForLaunchpad($launchpadId, $queryParameters), $fetch); - } - - /** - * Returns the click counts for all active and inactive links that were associated with a launchpad. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var int $page Integer specifying the numbered result at which to start - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\LaunchpadLinkPerformance|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetLinkPerformanceForLaunchpadForbiddenException - * @throws Exception\GetLinkPerformanceForLaunchpadNotFoundException - * @throws Exception\GetLinkPerformanceForLaunchpadInternalServerErrorException - * @throws Exception\GetLinkPerformanceForLaunchpadServiceUnavailableException - */ - public function getLinkPerformanceForLaunchpad(string $launchpadId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetLinkPerformanceForLaunchpad($launchpadId, $queryParameters), $fetch); - } - - /** - * Gets all active Bitly Sites owned by the provided Group GUID. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $search_after token used to search next batch, only use response from API as input value - * @var int $size The quantity of items to be be returned - * @var string $sites_url_param - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BitlySites|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetSitesForGroupBadRequestException - * @throws Exception\GetSitesForGroupForbiddenException - * @throws Exception\GetSitesForGroupInternalServerErrorException - */ - public function getSitesForGroup(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetSitesForGroup($groupGuid, $queryParameters), $fetch); - } - - /** - * Update which sites to keep upon tier downgrade. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateSitesToKeepBadRequestException - * @throws Exception\UpdateSitesToKeepForbiddenException - * @throws Exception\UpdateSitesToKeepUnprocessableEntityException - * @throws Exception\UpdateSitesToKeepInternalServerErrorException - */ - public function updateSitesToKeep(string $organizationGuid, Model\KeepSitesRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateSitesToKeep($organizationGuid, $requestBody), $fetch); - } - - /** - * Deletes a button from a given site - does not deactivate. Does not delete link tied to button. - * - * @param string $siteId A GUID for a Bitly Site - * @param string $buttonId A GUID for a Bitly Site button - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteSiteButtonBadRequestException - * @throws Exception\DeleteSiteButtonForbiddenException - * @throws Exception\DeleteSiteButtonNotFoundException - * @throws Exception\DeleteSiteButtonInternalServerErrorException - * @throws Exception\DeleteSiteButtonServiceUnavailableException - */ - public function deleteSiteButton(string $siteId, string $buttonId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteSiteButton($siteId, $buttonId), $fetch); - } - - /** - * Updates a provided button on a provided site. - * - * @param string $siteId A GUID for a Bitly Site - * @param string $buttonId A GUID for a Bitly Site button - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateSiteButtonBadRequestException - * @throws Exception\UpdateSiteButtonForbiddenException - * @throws Exception\UpdateSiteButtonNotFoundException - * @throws Exception\UpdateSiteButtonExpectationFailedException - * @throws Exception\UpdateSiteButtonUnprocessableEntityException - * @throws Exception\UpdateSiteButtonTooManyRequestsException - * @throws Exception\UpdateSiteButtonInternalServerErrorException - */ - public function updateSiteButton(string $siteId, string $buttonId, Model\SiteButtonRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateSiteButton($siteId, $buttonId, $requestBody), $fetch); - } - - /** - * constructs the content blob required to create a YouTube video button. - * - * @param string $launchpadId A GUID for a Bitly Link Launchpad - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\YoutubeVideoRequest|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\PrevalidateYouTubeVideoButtonBadRequestException - * @throws Exception\PrevalidateYouTubeVideoButtonForbiddenException - * @throws Exception\PrevalidateYouTubeVideoButtonUnprocessableEntityException - * @throws Exception\PrevalidateYouTubeVideoButtonInternalServerErrorException - */ - public function prevalidateYouTubeVideoButton(string $launchpadId, Model\PrevalidateYouTubeVideoRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\PrevalidateYouTubeVideoButton($launchpadId, $requestBody), $fetch); - } - - /** - * Retrieves all content that are children of a block (i.e carousel or grid). - * - * @param string $siteId A GUID for a Bitly Site - * @param string $containerId A GUID for a Bitly Container - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SiteBlock[]|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetChildrenForBlockForbiddenException - * @throws Exception\GetChildrenForBlockNotFoundException - * @throws Exception\GetChildrenForBlockInternalServerErrorException - * @throws Exception\GetChildrenForBlockServiceUnavailableException - */ - public function getChildrenForBlock(string $siteId, string $containerId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetChildrenForBlock($siteId, $containerId), $fetch); - } - - /** - * Updates the order of all blocks within the container. Container can be root, social, or a grid/carousel GUID. - * - * @param string $siteId A GUID for a Bitly Site - * @param string $containerId A GUID for a Bitly Container - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\ReorderBlocksByContainerBadRequestException - * @throws Exception\ReorderBlocksByContainerForbiddenException - * @throws Exception\ReorderBlocksByContainerNotFoundException - * @throws Exception\ReorderBlocksByContainerUnprocessableEntityException - * @throws Exception\ReorderBlocksByContainerInternalServerErrorException - * @throws Exception\ReorderBlocksByContainerServiceUnavailableException - */ - public function reorderBlocksByContainer(string $siteId, string $containerId, Model\BlockOrders $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\ReorderBlocksByContainer($siteId, $containerId, $requestBody), $fetch); - } - - /** - * Retrieves all templates optionally sorted by a Site's onboarding category. - * - * @param array $queryParameters { - * - * @var string $category A filter option for template categories - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Template[]|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetTemplatesForbiddenException - * @throws Exception\GetTemplatesNotFoundException - * @throws Exception\GetTemplatesInternalServerErrorException - * @throws Exception\GetTemplatesServiceUnavailableException - */ - public function getTemplates(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetTemplates($queryParameters), $fetch); - } - - /** - * Applies a template's appearance and optionally sample content to a Bitly Site. - * - * @param string $siteId A GUID for a Bitly Site - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\ApplyTemplateForbiddenException - * @throws Exception\ApplyTemplateNotFoundException - * @throws Exception\ApplyTemplateUnprocessableEntityException - * @throws Exception\ApplyTemplateInternalServerErrorException - * @throws Exception\ApplyTemplateServiceUnavailableException - */ - public function applyTemplate(string $siteId, ?Model\ApplyTemplateRequest $requestBody = null, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\ApplyTemplate($siteId, $requestBody), $fetch); - } - - /** - * Creates a container which contains a set of other content. - * - * @param string $siteId A GUID for a Bitly Site - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SiteBlock|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateContainerBadRequestException - * @throws Exception\CreateContainerForbiddenException - * @throws Exception\CreateContainerNotFoundException - * @throws Exception\CreateContainerUnprocessableEntityException - * @throws Exception\CreateContainerInternalServerErrorException - * @throws Exception\CreateContainerServiceUnavailableException - */ - public function createContainer(string $siteId, Model\SiteBlockContainerRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateContainer($siteId, $requestBody), $fetch); - } - - /** - * Replaces a production Site with its draft Site if changes are made. - * - * @param string $siteId A GUID for a Bitly Site - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\PublishSiteBadRequestException - * @throws Exception\PublishSiteForbiddenException - * @throws Exception\PublishSiteInternalServerErrorException - * @throws Exception\PublishSiteServiceUnavailableException - */ - public function publishSite(string $siteId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\PublishSite($siteId), $fetch); - } - - /** - * Returns the country origins of view traffic for the specified Site. - * - * @param string $siteId A GUID for a Bitly Site - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SiteViewMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetMetricsForSitesByCountriesBadRequestException - * @throws Exception\GetMetricsForSitesByCountriesForbiddenException - * @throws Exception\GetMetricsForSitesByCountriesNotFoundException - * @throws Exception\GetMetricsForSitesByCountriesInternalServerErrorException - * @throws Exception\GetMetricsForSitesByCountriesServiceUnavailableException - */ - public function getMetricsForSitesByCountries(string $siteId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetMetricsForSitesByCountries($siteId, $queryParameters), $fetch); - } - - /** - * Returns the city origins of view traffic for the specified Site. - * - * @param string $siteId A GUID for a Bitly Site - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SiteCityViewMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetMetricsForSiteByCitiesBadRequestException - * @throws Exception\GetMetricsForSiteByCitiesPaymentRequiredException - * @throws Exception\GetMetricsForSiteByCitiesForbiddenException - * @throws Exception\GetMetricsForSiteByCitiesNotFoundException - * @throws Exception\GetMetricsForSiteByCitiesInternalServerErrorException - * @throws Exception\GetMetricsForSiteByCitiesServiceUnavailableException - */ - public function getMetricsForSiteByCities(string $siteId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetMetricsForSiteByCities($siteId, $queryParameters), $fetch); - } - - /** - * Returns the device types generating view traffic to the specified site. - * - * @param string $siteId A GUID for a Bitly Site - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SiteViewMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetMetricsForSiteByDevicesBadRequestException - * @throws Exception\GetMetricsForSiteByDevicesPaymentRequiredException - * @throws Exception\GetMetricsForSiteByDevicesForbiddenException - * @throws Exception\GetMetricsForSiteByDevicesNotFoundException - * @throws Exception\GetMetricsForSiteByDevicesInternalServerErrorException - * @throws Exception\GetMetricsForSiteByDevicesServiceUnavailableException - */ - public function getMetricsForSiteByDevices(string $siteId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetMetricsForSiteByDevices($siteId, $queryParameters), $fetch); - } - - /** - * Returns referrer view counts for the specified site. - * - * @param string $siteId A GUID for a Bitly Site - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SiteViewMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetMetricsForSiteByReferrersBadRequestException - * @throws Exception\GetMetricsForSiteByReferrersForbiddenException - * @throws Exception\GetMetricsForSiteByReferrersNotFoundException - * @throws Exception\GetMetricsForSiteByReferrersInternalServerErrorException - * @throws Exception\GetMetricsForSiteByReferrersServiceUnavailableException - */ - public function getMetricsForSiteByReferrers(string $siteId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetMetricsForSiteByReferrers($siteId, $queryParameters), $fetch); - } - - /** - * add a user with role to a brand or organization. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\UserInternal|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\AddUserWithRoleBadRequestException - * @throws Exception\AddUserWithRoleForbiddenException - * @throws Exception\AddUserWithRoleUnprocessableEntityException - * @throws Exception\AddUserWithRoleInternalServerErrorException - * @throws Exception\AddUserWithRoleServiceUnavailableException - */ - public function addUserWithRole(Model\UserRole $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\AddUserWithRole($requestBody), $fetch); - } - - /** - * delete a user with role from a brand or organization. - * - * @param string $roleName The role specified for a user - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteUserWithRoleBadRequestException - * @throws Exception\DeleteUserWithRoleForbiddenException - * @throws Exception\DeleteUserWithRoleUnprocessableEntityException - * @throws Exception\DeleteUserWithRoleInternalServerErrorException - * @throws Exception\DeleteUserWithRoleServiceUnavailableException - */ - public function deleteUserWithRole(string $roleName, Model\UserRole $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteUserWithRole($roleName, $requestBody), $fetch); - } - - /** - * delete a user with role for a brand or organization. - * - * @param string $roleName The role specified for a user - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateUserWithRoleBadRequestException - * @throws Exception\UpdateUserWithRoleForbiddenException - * @throws Exception\UpdateUserWithRoleUnprocessableEntityException - * @throws Exception\UpdateUserWithRoleInternalServerErrorException - * @throws Exception\UpdateUserWithRoleServiceUnavailableException - */ - public function updateUserWithRole(string $roleName, Model\UserRole $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateUserWithRole($roleName, $requestBody), $fetch); - } - - /** - * Crawls the web to return the webpages title for a long URL. - * - * @param array $queryParameters { - * - * @var string $url - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\TitleResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetTitleForLongURLForbiddenException - * @throws Exception\GetTitleForLongURLNotFoundException - * @throws Exception\GetTitleForLongURLInternalServerErrorException - * @throws Exception\GetTitleForLongURLServiceUnavailableException - */ - public function getTitleForLongURL(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetTitleForLongURL($queryParameters), $fetch); - } - - /** - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\HandleWebhookForbiddenException - * @throws Exception\HandleWebhookUnprocessableEntityException - * @throws Exception\HandleWebhookInternalServerErrorException - */ - public function handleWebhook(string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\HandleWebhook(), $fetch); - } - - /** - * Evaluates an intervention and returns the appropriate promo code. - * - * @param string $intervention the type of intervention (e.g. downgrade, upgrade, etc) - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\EvaluateInterventionResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\EvaluateInterventionBadRequestException - * @throws Exception\EvaluateInterventionForbiddenException - * @throws Exception\EvaluateInterventionUnprocessableEntityException - * @throws Exception\EvaluateInterventionInternalServerErrorException - * @throws Exception\EvaluateInterventionServiceUnavailableException - */ - public function evaluateIntervention(string $intervention, Model\EvaluateInterventionRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\EvaluateIntervention($intervention, $requestBody), $fetch); - } - - /** - * Creates an intervention for the org. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Intervention|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateInterventionBadRequestException - * @throws Exception\CreateInterventionForbiddenException - * @throws Exception\CreateInterventionUnprocessableEntityException - * @throws Exception\CreateInterventionInternalServerErrorException - * @throws Exception\CreateInterventionServiceUnavailableException - */ - public function createIntervention(Model\Intervention $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateIntervention($requestBody), $fetch); - } - - /** - * Decides the variant for an entity in a given optimizely experiment. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\DecideResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\ExperimentDecideBadRequestException - * @throws Exception\ExperimentDecideForbiddenException - * @throws Exception\ExperimentDecideUnprocessableEntityException - * @throws Exception\ExperimentDecideInternalServerErrorException - */ - public function experimentDecide(Model\DecideRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\ExperimentDecide($requestBody), $fetch); - } - - /** - * Track captures an Optimizely event on an entity in a given experiment. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\ExperimentTrackForbiddenException - * @throws Exception\ExperimentTrackUnprocessableEntityException - * @throws Exception\ExperimentTrackInternalServerErrorException - */ - public function experimentTrack(Model\TrackRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\ExperimentTrack($requestBody), $fetch); - } - - /** - * Upload an image for use in a QR code. Specify optional "use" parameter to store image as a default group preference. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ImageUploadResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UploadImageBadRequestException - * @throws Exception\UploadImageForbiddenException - * @throws Exception\UploadImageNotFoundException - * @throws Exception\UploadImageInternalServerErrorException - * @throws Exception\UploadImageServiceUnavailableException - */ - public function uploadImage(Model\ImageUpload $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UploadImage($requestBody), $fetch); - } - - /** - * Fetches the original image associated with the provided image_guid for use when cropping. - * - * @param string $imageGuid A GUID for an image uploaded to Bitly - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header image/*|application/json - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetImageByGUIDBadRequestException - * @throws Exception\GetImageByGUIDForbiddenException - * @throws Exception\GetImageByGUIDNotFoundException - * @throws Exception\GetImageByGUIDInternalServerErrorException - * @throws Exception\GetImageByGUIDServiceUnavailableException - */ - public function getImageByGUID(string $imageGuid, string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetImageByGUID($imageGuid, $accept), $fetch); - } - - /** - * the public version of an image can be recropped without reuploading the original image. - * - * @param string $imageGuid A GUID for an image uploaded to Bitly - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\PublicImageURL|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateImageBadRequestException - * @throws Exception\UpdateImageForbiddenException - * @throws Exception\UpdateImageNotFoundException - * @throws Exception\UpdateImageInternalServerErrorException - * @throws Exception\UpdateImageServiceUnavailableException - */ - public function updateImage(string $imageGuid, Model\ImageUpdate $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateImage($imageGuid, $requestBody), $fetch); - } - - /** - * Gets the QR code with a matching id. - * - * @param string $id The QR code ID - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\QRCodeFullResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetQRCodeByIdBadRequestException - * @throws Exception\GetQRCodeByIdForbiddenException - * @throws Exception\GetQRCodeByIdNotFoundException - * @throws Exception\GetQRCodeByIdGoneException - * @throws Exception\GetQRCodeByIdInternalServerErrorException - */ - public function getQRCodeById(string $id, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetQRCodeById($id), $fetch); - } - - /** - * Create a new QR Code and return its metadata. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\QRCodeMinimal|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateQRCodePublicBadRequestException - * @throws Exception\CreateQRCodePublicPaymentRequiredException - * @throws Exception\CreateQRCodePublicForbiddenException - * @throws Exception\CreateQRCodePublicNotFoundException - * @throws Exception\CreateQRCodePublicTooManyRequestsException - * @throws Exception\CreateQRCodePublicGoneException - * @throws Exception\CreateQRCodePublicInternalServerErrorException - */ - public function createQRCodePublic(Model\PublicCreateQRCodeRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateQRCodePublic($requestBody), $fetch); - } - - /** - * Get the image of a given QR Code. The Accept header controls how this is returned (options are "application/json", "image/svg+xml", and "image/png"). - * If the Accept header is "application/json" the format query parameter will determine the image format inside of the json (which will be base64 encoded and prefixed with its mime type as would be suitable for a HTML image src tag). - * To Return the QR Code image itself, set the Accept header to "image/svg+xml" or "image/png", or remove the Accept header and set the format query parameter to “svg” or “png” (if no format is specified the default will be “svg”). - * - * @param string $qrcodeId The QR Code ID - * @param array $queryParameters { - * - * @var string $format The format type of the image. If there is an image format in the header it takes precedence. - * } - * - * @param array $headerParameters { - * - * @var string $Accept The file format for the QR code's image. If the accept header is application/json the image data will be wrapped in a json object, base64 encoded and prefixed with its mime type as would be suitable for a HTML image src tag. - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|image/svg+xml|image/png - * - * @return Model\PublicQRCodeImageResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetQRCodeImagePublicBadRequestException - * @throws Exception\GetQRCodeImagePublicForbiddenException - * @throws Exception\GetQRCodeImagePublicNotFoundException - * @throws Exception\GetQRCodeImagePublicGoneException - * @throws Exception\GetQRCodeImagePublicInternalServerErrorException - */ - public function getQRCodeImagePublic(string $qrcodeId, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetQRCodeImagePublic($qrcodeId, $queryParameters, $headerParameters, $accept), $fetch); - } - - /** - * Delete a QR Code that has not been redirected and is not for a custom link. Also deletes the associated link (if applicable). - * - * @param string $qrcodeId The QR Code ID - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\PublicDeleteQRCodeResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteQRCodeBadRequestException - * @throws Exception\DeleteQRCodeForbiddenException - * @throws Exception\DeleteQRCodeNotFoundException - * @throws Exception\DeleteQRCodeGoneException - * @throws Exception\DeleteQRCodeTooManyRequestsException - * @throws Exception\DeleteQRCodeInternalServerErrorException - */ - public function deleteQRCode(string $qrcodeId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteQRCode($qrcodeId), $fetch); - } - - /** - * Gets the QR code with a matching id. - * - * @param string $qrcodeId The QR Code ID - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\QRCodeDetails|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetQRCodeByIdPublicBadRequestException - * @throws Exception\GetQRCodeByIdPublicForbiddenException - * @throws Exception\GetQRCodeByIdPublicNotFoundException - * @throws Exception\GetQRCodeByIdPublicGoneException - * @throws Exception\GetQRCodeByIdPublicInternalServerErrorException - */ - public function getQRCodeByIdPublic(string $qrcodeId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetQRCodeByIdPublic($qrcodeId), $fetch); - } - - /** - * Updates the QR code with a matching id and returns it. - * - * @param string $qrcodeId The QR code ID - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\QRCodeMinimal|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateQRCodePublicBadRequestException - * @throws Exception\UpdateQRCodePublicForbiddenException - * @throws Exception\UpdateQRCodePublicNotFoundException - * @throws Exception\UpdateQRCodePublicGoneException - * @throws Exception\UpdateQRCodePublicInternalServerErrorException - */ - public function updateQRCodePublic(string $qrcodeId, Model\PublicUpdateQRCodeRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateQRCodePublic($qrcodeId, $requestBody), $fetch); - } - - /** - * Returns the history of redirects for the specified QR Code. A redirect is when the destination URL is changed. - * - * @param string $qrcodeId The QR code ID - * @param array $queryParameters { - * - * @var int $limit limit the amount of results returned - * @var int $offset set the starting index of the result set - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\QRCodeHistory|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetQRCHistoryBadRequestException - * @throws Exception\GetQRCHistoryForbiddenException - * @throws Exception\GetQRCHistoryTooManyRequestsException - * @throws Exception\GetQRCHistoryInternalServerErrorException - */ - public function getQRCHistory(string $qrcodeId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetQRCHistory($qrcodeId, $queryParameters), $fetch); - } - - /** - * Retrieves a list of QR codes matching the filter settings. Values are in reverse chronological order. - * The pagination occurs by calling the next link in the pagination response object. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $has_render_customizations Whether or not QRCode has any render customizations (like color or shape changes) - * @var int $size The quantity of items to be be returned - * @var string $search_after token used to search next batch of qr codes, only use response from API as input value - * @var string $query The value that you would like to search - * @var string $hostname_path_query The hostname and/or path you would like to search (case-insensitive). Subdomains included; query params and fragment ignored. - * @var int $created_before Timestamp as an integer unix epoch (seconds only) - * @var int $created_after Timestamp as an integer unix epoch (seconds only) - * @var string $archived Whether or not to include archived resources - * @var array $creating_login Filter by the login of the authenticated user that created the QR Code - * @var array $qrc_type - * @var string $is_gs1 a filter value if the resource is a GS1 QR code - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\QRCodesMinimal|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\ListQRMinimalForbiddenException - * @throws Exception\ListQRMinimalTooManyRequestsException - * @throws Exception\ListQRMinimalInternalServerErrorException - */ - public function listQRMinimal(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\ListQRMinimal($groupGuid, $queryParameters), $fetch); - } - - /** - * Returns an array of scan counts for the specified QR code. The array is comprised of scan counts for each time window, where the window is based on the provided unit. - * - * @param string $qrcodeId The QR Code ID - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BitlinkScans|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetScanMetricsForQRCodeBadRequestException - * @throws Exception\GetScanMetricsForQRCodeForbiddenException - * @throws Exception\GetScanMetricsForQRCodeNotFoundException - * @throws Exception\GetScanMetricsForQRCodeGoneException - * @throws Exception\GetScanMetricsForQRCodeInternalServerErrorException - * @throws Exception\GetScanMetricsForQRCodeServiceUnavailableException - */ - public function getScanMetricsForQRCode(string $qrcodeId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetScanMetricsForQRCode($qrcodeId, $queryParameters), $fetch); - } - - /** - * Returns the scan counts for a QR Code rolled up into a single field for a specified time window, where the window is based on the provided unit. - * - * @param string $qrcodeId The QR Code ID - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BitlinkScansSummary|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetScanMetricsSummaryForQRCodeBadRequestException - * @throws Exception\GetScanMetricsSummaryForQRCodeForbiddenException - * @throws Exception\GetScanMetricsSummaryForQRCodeNotFoundException - * @throws Exception\GetScanMetricsSummaryForQRCodeGoneException - * @throws Exception\GetScanMetricsSummaryForQRCodeInternalServerErrorException - * @throws Exception\GetScanMetricsSummaryForQRCodeServiceUnavailableException - */ - public function getScanMetricsSummaryForQRCode(string $qrcodeId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetScanMetricsSummaryForQRCode($qrcodeId, $queryParameters), $fetch); - } - - /** - * Returns the country origins of scan traffic for the specified QR Code. - * - * @param string $qrcodeId The QR Code ID - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv - * - * @return Model\ScanMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetScanMetricsForQRCodeByCountriesBadRequestException - * @throws Exception\GetScanMetricsForQRCodeByCountriesForbiddenException - * @throws Exception\GetScanMetricsForQRCodeByCountriesNotFoundException - * @throws Exception\GetScanMetricsForQRCodeByCountriesGoneException - * @throws Exception\GetScanMetricsForQRCodeByCountriesInternalServerErrorException - * @throws Exception\GetScanMetricsForQRCodeByCountriesServiceUnavailableException - */ - public function getScanMetricsForQRCodeByCountries(string $qrcodeId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetScanMetricsForQRCodeByCountries($qrcodeId, $queryParameters, $accept), $fetch); - } - - /** - * Returns the city origins of scan traffic for the specified QR Code. - * - * @param string $qrcodeId The QR Code ID - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv - * - * @return Model\CityScanMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetScanMetricsForQRCodeByCitiesBadRequestException - * @throws Exception\GetScanMetricsForQRCodeByCitiesPaymentRequiredException - * @throws Exception\GetScanMetricsForQRCodeByCitiesForbiddenException - * @throws Exception\GetScanMetricsForQRCodeByCitiesNotFoundException - * @throws Exception\GetScanMetricsForQRCodeByCitiesGoneException - * @throws Exception\GetScanMetricsForQRCodeByCitiesInternalServerErrorException - * @throws Exception\GetScanMetricsForQRCodeByCitiesServiceUnavailableException - */ - public function getScanMetricsForQRCodeByCities(string $qrcodeId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetScanMetricsForQRCodeByCities($qrcodeId, $queryParameters, $accept), $fetch); - } - - /** - * Returns the device os generating scan traffic for the specified QR Code. - * - * @param string $qrcodeId The QR Code ID - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv - * - * @return Model\ScanMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetScanMetricsForQRCodeByDevicesOSBadRequestException - * @throws Exception\GetScanMetricsForQRCodeByDevicesOSPaymentRequiredException - * @throws Exception\GetScanMetricsForQRCodeByDevicesOSForbiddenException - * @throws Exception\GetScanMetricsForQRCodeByDevicesOSNotFoundException - * @throws Exception\GetScanMetricsForQRCodeByDevicesOSGoneException - * @throws Exception\GetScanMetricsForQRCodeByDevicesOSInternalServerErrorException - * @throws Exception\GetScanMetricsForQRCodeByDevicesOSServiceUnavailableException - */ - public function getScanMetricsForQRCodeByDevicesOS(string $qrcodeId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetScanMetricsForQRCodeByDevicesOS($qrcodeId, $queryParameters, $accept), $fetch); - } - - /** - * Returns the browsers generating scan traffic to the specified QR Code. - * - * @param string $qrcodeId The QR Code ID - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header application/json|text/csv - * - * @return Model\ScanMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetScanMetricsForQRCodeByBrowserBadRequestException - * @throws Exception\GetScanMetricsForQRCodeByBrowserPaymentRequiredException - * @throws Exception\GetScanMetricsForQRCodeByBrowserForbiddenException - * @throws Exception\GetScanMetricsForQRCodeByBrowserNotFoundException - * @throws Exception\GetScanMetricsForQRCodeByBrowserGoneException - * @throws Exception\GetScanMetricsForQRCodeByBrowserInternalServerErrorException - * @throws Exception\GetScanMetricsForQRCodeByBrowserServiceUnavailableException - */ - public function getScanMetricsForQRCodeByBrowser(string $qrcodeId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetScanMetricsForQRCodeByBrowser($qrcodeId, $queryParameters, $accept), $fetch); - } - - /** - * Gets the QR code with a matching bitlink id. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\QRCodeFullResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetQRCodeByBitlinkIdBadRequestException - * @throws Exception\GetQRCodeByBitlinkIdForbiddenException - * @throws Exception\GetQRCodeByBitlinkIdNotFoundException - * @throws Exception\GetQRCodeByBitlinkIdGoneException - * @throws Exception\GetQRCodeByBitlinkIdInternalServerErrorException - */ - public function getQRCodeByBitlinkId(string $bitlinkId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetQRCodeByBitlinkId($bitlinkId), $fetch); - } - - /** - * Get the list of QR code customization options including metadata, id, and thumbnails. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\QRCodeCustomizationOptionsResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetQRCodeCustomizationOptionsBadRequestException - * @throws Exception\GetQRCodeCustomizationOptionsForbiddenException - * @throws Exception\GetQRCodeCustomizationOptionsNotFoundException - * @throws Exception\GetQRCodeCustomizationOptionsInternalServerErrorException - */ - public function getQRCodeCustomizationOptions(string $groupGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetQRCodeCustomizationOptions($groupGuid), $fetch); - } - - /** - * Creates a preview of a QR Code with an interstitial link. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\QRCodeFullResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateQRCodePreviewBadRequestException - * @throws Exception\CreateQRCodePreviewPaymentRequiredException - * @throws Exception\CreateQRCodePreviewForbiddenException - * @throws Exception\CreateQRCodePreviewNotFoundException - * @throws Exception\CreateQRCodePreviewGoneException - * @throws Exception\CreateQRCodePreviewInternalServerErrorException - */ - public function createQRCodePreview(string $groupGuid, Model\PreviewQRCodeRequestV2 $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateQRCodePreview($groupGuid, $requestBody), $fetch); - } - - /** - * Preview changes on an existing QR Code but don't save the result to the DB. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $id The QR code ID - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\QRCodeFullResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\EditQRCodePreviewBadRequestException - * @throws Exception\EditQRCodePreviewPaymentRequiredException - * @throws Exception\EditQRCodePreviewForbiddenException - * @throws Exception\EditQRCodePreviewNotFoundException - * @throws Exception\EditQRCodePreviewGoneException - * @throws Exception\EditQRCodePreviewInternalServerErrorException - */ - public function editQRCodePreview(string $groupGuid, string $id, Model\PreviewQRCodeRequestV2 $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\EditQRCodePreview($groupGuid, $id, $requestBody), $fetch); - } - - /** - * Upgrade a QR code to a bitlink. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BitlinkBody|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpgradeQRCodeToBitlinkBadRequestException - * @throws Exception\UpgradeQRCodeToBitlinkForbiddenException - * @throws Exception\UpgradeQRCodeToBitlinkNotFoundException - * @throws Exception\UpgradeQRCodeToBitlinkTooManyRequestsException - * @throws Exception\UpgradeQRCodeToBitlinkInternalServerErrorException - */ - public function upgradeQRCodeToBitlink(string $id, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpgradeQRCodeToBitlink($id), $fetch); - } - - /** - * Redirect the destination URL of a QR Code. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\QRCodeMinimal|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\RedirectQRCodeDestinationBadRequestException - * @throws Exception\RedirectQRCodeDestinationForbiddenException - * @throws Exception\RedirectQRCodeDestinationNotFoundException - * @throws Exception\RedirectQRCodeDestinationTooManyRequestsException - * @throws Exception\RedirectQRCodeDestinationInternalServerErrorException - */ - public function redirectQRCodeDestination(string $id, Model\RedirectQRCodeRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\RedirectQRCodeDestination($id, $requestBody), $fetch); - } - - /** - * Returns metrics for the specified qrcode by its override versions. - * - * @param string $qrcodeId The QR Code ID - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetQRCodeOverrideMetricsByVersionBadRequestException - * @throws Exception\GetQRCodeOverrideMetricsByVersionPaymentRequiredException - * @throws Exception\GetQRCodeOverrideMetricsByVersionForbiddenException - * @throws Exception\GetQRCodeOverrideMetricsByVersionNotFoundException - * @throws Exception\GetQRCodeOverrideMetricsByVersionGoneException - * @throws Exception\GetQRCodeOverrideMetricsByVersionInternalServerErrorException - * @throws Exception\GetQRCodeOverrideMetricsByVersionServiceUnavailableException - */ - public function getQRCodeOverrideMetricsByVersion(string $qrcodeId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetQRCodeOverrideMetricsByVersion($qrcodeId, $queryParameters), $fetch); - } - - /** - * Determines if a group has utilized the Links, QR Codes, the Analytics Dashboard and Link-in-bio products. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ProductUtilizationResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetProductUtilizationBadRequestException - * @throws Exception\GetProductUtilizationForbiddenException - * @throws Exception\GetProductUtilizationInternalServerErrorException - */ - public function getProductUtilization(string $groupGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetProductUtilization($groupGuid), $fetch); - } - - /** - * Get a group's current feature limit usage, optionally provide limit name(s) for usage on specific limit(s). - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var array $name The limit name you would like usage for - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\GroupFeatureUsage|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupFeatureUsageBadRequestException - * @throws Exception\GetGroupFeatureUsageForbiddenException - * @throws Exception\GetGroupFeatureUsageTooManyRequestsException - * @throws Exception\GetGroupFeatureUsageInternalServerErrorException - */ - public function getGroupFeatureUsage(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupFeatureUsage($groupGuid, $queryParameters), $fetch); - } - - /** - * Get an organization's groups' historical usage totals for specific feature(s) and date range. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param array $queryParameters { - * - * @var array $name The limit name you would like usage for - * @var string $start_date The start date for the date range - * @var string $end_date The end date for the date range - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\OrganizationHistoricalUsageTotals|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOrganizationHistoricalUsageTotalsByGroupBadRequestException - * @throws Exception\GetOrganizationHistoricalUsageTotalsByGroupForbiddenException - * @throws Exception\GetOrganizationHistoricalUsageTotalsByGroupInternalServerErrorException - */ - public function getOrganizationHistoricalUsageTotalsByGroup(string $organizationGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOrganizationHistoricalUsageTotalsByGroup($organizationGuid, $queryParameters), $fetch); - } - - /** - * Get a group's historical usage for specific limit(s) and date range. Refer to GET /v4/groups/{group_guid}/feature_usage endpoint response for available limit names. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var array $name The limit name you would like usage for - * @var string $start_date The start date for the date range - * @var string $end_date The end date for the date range - * @var string $unit A unit of time (day, week, or month) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\GroupHistoricalUsage|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupHistoricalUsageBadRequestException - * @throws Exception\GetGroupHistoricalUsageForbiddenException - * @throws Exception\GetGroupHistoricalUsageTooManyRequestsException - * @throws Exception\GetGroupHistoricalUsageInternalServerErrorException - */ - public function getGroupHistoricalUsage(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupHistoricalUsage($groupGuid, $queryParameters), $fetch); - } - - /** - * Deletes an analytics report by ID. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $reportId A GUID for a Bitly Analytics Report - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteAnalyticsReportBadRequestException - * @throws Exception\DeleteAnalyticsReportPaymentRequiredException - * @throws Exception\DeleteAnalyticsReportForbiddenException - * @throws Exception\DeleteAnalyticsReportNotFoundException - * @throws Exception\DeleteAnalyticsReportInternalServerErrorException - * @throws Exception\DeleteAnalyticsReportServiceUnavailableException - */ - public function deleteAnalyticsReport(string $groupGuid, string $reportId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteAnalyticsReport($groupGuid, $reportId), $fetch); - } - - /** - * Retrieves an analytics report by ID. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $reportId A GUID for a Bitly Analytics Report - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AnalyticsReport|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAnalyticsReportForbiddenException - * @throws Exception\GetAnalyticsReportNotFoundException - * @throws Exception\GetAnalyticsReportInternalServerErrorException - * @throws Exception\GetAnalyticsReportServiceUnavailableException - */ - public function getAnalyticsReport(string $groupGuid, string $reportId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAnalyticsReport($groupGuid, $reportId), $fetch); - } - - /** - * Updates an existing Analytics Report. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $reportId A GUID for a Bitly Analytics Report - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AnalyticsReport|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateAnalyticsReportBadRequestException - * @throws Exception\UpdateAnalyticsReportForbiddenException - * @throws Exception\UpdateAnalyticsReportNotFoundException - * @throws Exception\UpdateAnalyticsReportInternalServerErrorException - * @throws Exception\UpdateAnalyticsReportServiceUnavailableException - */ - public function updateAnalyticsReport(string $groupGuid, string $reportId, Model\UpdateAnalyticsReport $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateAnalyticsReport($groupGuid, $reportId, $requestBody), $fetch); - } - - /** - * Duplicate an analytics report by ID. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $reportId A GUID for a Bitly Analytics Report - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AnalyticsReport|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DuplicateAnalyticsReportBadRequestException - * @throws Exception\DuplicateAnalyticsReportForbiddenException - * @throws Exception\DuplicateAnalyticsReportNotFoundException - * @throws Exception\DuplicateAnalyticsReportInternalServerErrorException - * @throws Exception\DuplicateAnalyticsReportServiceUnavailableException - */ - public function duplicateAnalyticsReport(string $groupGuid, string $reportId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DuplicateAnalyticsReport($groupGuid, $reportId), $fetch); - } - - /** - * Retrieves many paginated analytics report by group ID. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var int $page Integer specifying the numbered result at which to start - * @var int $size The quantity of items to be be returned - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\PaginatedAnalyticsReports|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAnalyticsReportsByGroupPaginatedBadRequestException - * @throws Exception\GetAnalyticsReportsByGroupPaginatedPaymentRequiredException - * @throws Exception\GetAnalyticsReportsByGroupPaginatedForbiddenException - * @throws Exception\GetAnalyticsReportsByGroupPaginatedInternalServerErrorException - * @throws Exception\GetAnalyticsReportsByGroupPaginatedServiceUnavailableException - */ - public function getAnalyticsReportsByGroupPaginated(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAnalyticsReportsByGroupPaginated($groupGuid, $queryParameters), $fetch); - } - - /** - * Creates a new analytics report. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AnalyticsReport|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateAnalyticsReportBadRequestException - * @throws Exception\CreateAnalyticsReportForbiddenException - * @throws Exception\CreateAnalyticsReportNotFoundException - * @throws Exception\CreateAnalyticsReportInternalServerErrorException - * @throws Exception\CreateAnalyticsReportServiceUnavailableException - */ - public function createAnalyticsReport(string $groupGuid, Model\CreateAnalyticsReport $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateAnalyticsReport($groupGuid, $requestBody), $fetch); - } - - /** - * Retrieves all analytics reports by group ID. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AnalyticsReports|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAnalyticsReportsListByGroupBadRequestException - * @throws Exception\GetAnalyticsReportsListByGroupPaymentRequiredException - * @throws Exception\GetAnalyticsReportsListByGroupForbiddenException - * @throws Exception\GetAnalyticsReportsListByGroupInternalServerErrorException - * @throws Exception\GetAnalyticsReportsListByGroupServiceUnavailableException - */ - public function getAnalyticsReportsListByGroup(string $groupGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAnalyticsReportsListByGroup($groupGuid), $fetch); - } - - /** - * Creates a default analytics report for a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var bool $is_custom Allows for granular control over default analytics report creation - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AnalyticsReport|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateDefaultAnalyticsReportForGroupBadRequestException - * @throws Exception\CreateDefaultAnalyticsReportForGroupForbiddenException - * @throws Exception\CreateDefaultAnalyticsReportForGroupNotFoundException - * @throws Exception\CreateDefaultAnalyticsReportForGroupInternalServerErrorException - * @throws Exception\CreateDefaultAnalyticsReportForGroupServiceUnavailableException - */ - public function createDefaultAnalyticsReportForGroup(string $groupGuid, ?Model\CreateAnalyticsReport $requestBody = null, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateDefaultAnalyticsReportForGroup($groupGuid, $requestBody, $queryParameters), $fetch); - } - - /** - * Deletes an analytics module and updates the associated modules for the supplied report ID. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $reportId A GUID for a Bitly Analytics Report - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteAnalyticsModuleByReportPaymentRequiredException - * @throws Exception\DeleteAnalyticsModuleByReportForbiddenException - * @throws Exception\DeleteAnalyticsModuleByReportNotFoundException - * @throws Exception\DeleteAnalyticsModuleByReportInternalServerErrorException - */ - public function deleteAnalyticsModuleByReport(string $groupGuid, string $moduleGuid, string $reportId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteAnalyticsModuleByReport($groupGuid, $moduleGuid, $reportId), $fetch); - } - - /** - * Deletes an analytics module by ID. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteAnalyticsModulePaymentRequiredException - * @throws Exception\DeleteAnalyticsModuleForbiddenException - * @throws Exception\DeleteAnalyticsModuleNotFoundException - * @throws Exception\DeleteAnalyticsModuleInternalServerErrorException - */ - public function deleteAnalyticsModule(string $groupGuid, string $moduleGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteAnalyticsModule($groupGuid, $moduleGuid), $fetch); - } - - /** - * Retrieves an analytics module by ID. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Module|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAnalyticsModuleForbiddenException - * @throws Exception\GetAnalyticsModuleNotFoundException - * @throws Exception\GetAnalyticsModuleInternalServerErrorException - * @throws Exception\GetAnalyticsModuleServiceUnavailableException - */ - public function getAnalyticsModule(string $groupGuid, string $moduleGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAnalyticsModule($groupGuid, $moduleGuid), $fetch); - } - - /** - * Updates an existing Analytics Module. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Module|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\UpdateAnalyticsModuleBadRequestException - * @throws Exception\UpdateAnalyticsModuleForbiddenException - * @throws Exception\UpdateAnalyticsModuleNotFoundException - * @throws Exception\UpdateAnalyticsModuleInternalServerErrorException - * @throws Exception\UpdateAnalyticsModuleServiceUnavailableException - */ - public function updateAnalyticsModule(string $groupGuid, string $moduleGuid, Model\UpdateAnalyticsModule $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\UpdateAnalyticsModule($groupGuid, $moduleGuid, $requestBody), $fetch); - } - - /** - * Creates a new analytics module. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Module|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateAnalyticsModuleBadRequestException - * @throws Exception\CreateAnalyticsModuleForbiddenException - * @throws Exception\CreateAnalyticsModuleNotFoundException - * @throws Exception\CreateAnalyticsModuleInternalServerErrorException - * @throws Exception\CreateAnalyticsModuleServiceUnavailableException - */ - public function createAnalyticsModule(string $groupGuid, Model\CreateAnalyticsModule $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateAnalyticsModule($groupGuid, $requestBody), $fetch); - } - - /** - * Retrieves an organization's analytics usage. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\GroupAnalyticsUsage[]|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAnalyticsUsageBadRequestException - * @throws Exception\GetAnalyticsUsageForbiddenException - * @throws Exception\GetAnalyticsUsageInternalServerErrorException - * @throws Exception\GetAnalyticsUsageServiceUnavailableException - */ - public function getAnalyticsUsage(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAnalyticsUsage($organizationGuid), $fetch); - } - - /** - * Get a daily summary of engagements for a report. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $reportId A GUID for a Bitly Analytics Report - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\EngagementsDailySummary|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetLinkEngagementsDailySummaryBadRequestException - * @throws Exception\GetLinkEngagementsDailySummaryForbiddenException - * @throws Exception\GetLinkEngagementsDailySummaryNotFoundException - * @throws Exception\GetLinkEngagementsDailySummaryUnprocessableEntityException - * @throws Exception\GetLinkEngagementsDailySummaryInternalServerErrorException - * @throws Exception\GetLinkEngagementsDailySummaryServiceUnavailableException - */ - public function getLinkEngagementsDailySummary(string $groupGuid, string $reportId, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetLinkEngagementsDailySummary($groupGuid, $reportId), $fetch); - } - - /** - * Returns a csv file download or queues an email export job. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $reportId A GUID for a Bitly Analytics Report - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * @param array $accept Accept content header text/csv|application/json - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetLinkEngagementsReportBadRequestException - * @throws Exception\GetLinkEngagementsReportForbiddenException - * @throws Exception\GetLinkEngagementsReportNotFoundException - * @throws Exception\GetLinkEngagementsReportUnprocessableEntityException - * @throws Exception\GetLinkEngagementsReportInternalServerErrorException - * @throws Exception\GetLinkEngagementsReportServiceUnavailableException - */ - public function getLinkEngagementsReport(string $groupGuid, string $reportId, string $fetch = self::FETCH_OBJECT, array $accept = []) - { - return $this->executeEndpoint(new Endpoint\GetLinkEngagementsReport($groupGuid, $reportId, $accept), $fetch); - } - - /** - * Get a single day's link-level engagements for a report. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $reportId A GUID for a Bitly Analytics Report - * @param array $queryParameters { - * - * @var string $sort - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\EngagementsDayDrillDown|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetLinkEngagementsDayDrillDownBadRequestException - * @throws Exception\GetLinkEngagementsDayDrillDownForbiddenException - * @throws Exception\GetLinkEngagementsDayDrillDownNotFoundException - * @throws Exception\GetLinkEngagementsDayDrillDownUnprocessableEntityException - * @throws Exception\GetLinkEngagementsDayDrillDownInternalServerErrorException - * @throws Exception\GetLinkEngagementsDayDrillDownServiceUnavailableException - */ - public function getLinkEngagementsDayDrillDown(string $groupGuid, string $reportId, string $timestamp, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetLinkEngagementsDayDrillDown($groupGuid, $reportId, $timestamp, $queryParameters), $fetch); - } - - /** - * Retrieves a Canva UserBrand record matching the Canva UserID and BrandID. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\PublicCanvaUserBrand|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetCanvaUserBrandBadRequestException - * @throws Exception\GetCanvaUserBrandNotFoundException - * @throws Exception\GetCanvaUserBrandInternalServerErrorException - */ - public function getCanvaUserBrand(string $canvaUserID, string $canvaBrandID, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetCanvaUserBrand($canvaUserID, $canvaBrandID), $fetch); - } - - /** - * Patches a Canva UserBrand record's Brand GUID, and inferred Org GUID matching the Canva UserID and BrandID. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\PatchCanvaUserBrandBadRequestException - * @throws Exception\PatchCanvaUserBrandNotFoundException - * @throws Exception\PatchCanvaUserBrandInternalServerErrorException - */ - public function patchCanvaUserBrand(string $canvaUserID, string $canvaBrandID, Model\UpdateCanvaUserBrand $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\PatchCanvaUserBrand($canvaUserID, $canvaBrandID, $requestBody), $fetch); - } - - /** - * Deletes all Canva UserBrand record's matching the Bitly user's login. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteCanvaUserBrandsByLoginBadRequestException - * @throws Exception\DeleteCanvaUserBrandsByLoginInternalServerErrorException - */ - public function deleteCanvaUserBrandsByLogin(string $login, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteCanvaUserBrandsByLogin($login), $fetch); - } - - /** - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\GetFocusResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetFocusInternalServerErrorException - */ - public function getFocus(string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetFocus(), $fetch); - } - - /** - * Store Focus record with Bitly login key to memcache. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\CreateFocusResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateFocusBadRequestException - * @throws Exception\CreateFocusForbiddenException - * @throws Exception\CreateFocusInternalServerErrorException - */ - public function createFocus(Model\CreateFocusRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateFocus($requestBody), $fetch); - } - - /** - * Validates an admins request to control a domain, upserts a non-expired org domain verification and sends a verification email to the admin. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\OrgDomainVerification|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateOrgDomainVerificationEmailBadRequestException - * @throws Exception\CreateOrgDomainVerificationEmailPaymentRequiredException - * @throws Exception\CreateOrgDomainVerificationEmailForbiddenException - * @throws Exception\CreateOrgDomainVerificationEmailInternalServerErrorException - */ - public function createOrgDomainVerificationEmail(Model\CreateOrgDomainVerificationEmailRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateOrgDomainVerificationEmail($requestBody), $fetch); - } - - /** - * This will update the status of a controlled domain for an org and deactivate any other controlled domain for that org that are active. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $domain a web domain - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\PatchOrgControlledDomainBadRequestException - * @throws Exception\PatchOrgControlledDomainPaymentRequiredException - * @throws Exception\PatchOrgControlledDomainForbiddenException - * @throws Exception\PatchOrgControlledDomainUnprocessableEntityException - * @throws Exception\PatchOrgControlledDomainInternalServerErrorException - */ - public function patchOrgControlledDomain(string $organizationGuid, string $domain, Model\PatchOrgControlledDomain $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\PatchOrgControlledDomain($organizationGuid, $domain, $requestBody), $fetch); - } - - /** - * This returns all domains that an org can claim as well as domains that are already controlled by the org. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\OrgDomainsStatus|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOrgDomainsStatusBadRequestException - * @throws Exception\GetOrgDomainsStatusForbiddenException - * @throws Exception\GetOrgDomainsStatusTooManyRequestsException - * @throws Exception\GetOrgDomainsStatusInternalServerErrorException - */ - public function getOrgDomainsStatus(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOrgDomainsStatus($organizationGuid), $fetch); - } - - /** - * Fetch all org invitation requests to an Organization. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\OrgInvitationRequests|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetOrgInvitationRequestsBadRequestException - * @throws Exception\GetOrgInvitationRequestsForbiddenException - * @throws Exception\GetOrgInvitationRequestsInternalServerErrorException - */ - public function getOrgInvitationRequests(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetOrgInvitationRequests($organizationGuid), $fetch); - } - - /** - * This will update the status of an org invitation request for a user. Only 'denied' status allowed for this endpoint--approving a request follows the create organization invitation flow. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\PatchOrgInvitationRequestBadRequestException - * @throws Exception\PatchOrgInvitationRequestForbiddenException - * @throws Exception\PatchOrgInvitationRequestUnprocessableEntityException - * @throws Exception\PatchOrgInvitationRequestInternalServerErrorException - */ - public function patchOrgInvitationRequest(string $organizationGuid, Model\PatchOrgInvitationRequest $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\PatchOrgInvitationRequest($organizationGuid, $requestBody), $fetch); - } - - /** - * This will get a list of logins for entities that have preserved_status after a scheduled downgrade. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\RetainedEntitiesAfterDowngrade|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetRetainedEntitiesAfterDowngradeForbiddenException - * @throws Exception\GetRetainedEntitiesAfterDowngradeInternalServerErrorException - */ - public function getRetainedEntitiesAfterDowngrade(string $organizationGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetRetainedEntitiesAfterDowngrade($organizationGuid), $fetch); - } - - /** - * Retrieve a list of users for Organization GUID and optionally query by user's login, display name, or primary email. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param array $queryParameters { - * - * @var int $page Integer specifying the numbered result at which to start - * @var int $size The quantity of items to be be returned - * @var string $query A string used for fuzzy searching user's login, display name, or primary email. - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\UserRoleReferences|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\SearchOrgUserRolesBadRequestException - * @throws Exception\SearchOrgUserRolesForbiddenException - * @throws Exception\SearchOrgUserRolesNotFoundException - * @throws Exception\SearchOrgUserRolesInternalServerErrorException - */ - public function searchOrgUserRoles(string $organizationGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\SearchOrgUserRoles($organizationGuid, $queryParameters), $fetch); - } - - /** - * Retrieve a list of SSO users, and optionally query by sso username or login. - * - * @param string $organizationGuid A GUID for a Bitly organization - * @param array $queryParameters { - * - * @var int $page Integer specifying the numbered result at which to start - * @var int $size The quantity of items to be be returned - * @var string $sso_username a string used for searching sso users by sso username - * @var string $login The login for a Bitly user - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\PublicSSOUsersResults|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetSSOUsersBadRequestException - * @throws Exception\GetSSOUsersForbiddenException - * @throws Exception\GetSSOUsersInternalServerErrorException - */ - public function getSSOUsers(string $organizationGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetSSOUsers($organizationGuid, $queryParameters), $fetch); - } - - /** - * Creates a valid PayPal billing agreement using a token. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BillingAgreement|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreatePayPalBillingAgreementBadRequestException - * @throws Exception\CreatePayPalBillingAgreementForbiddenException - * @throws Exception\CreatePayPalBillingAgreementUnprocessableEntityException - * @throws Exception\CreatePayPalBillingAgreementInternalServerErrorException - */ - public function createPayPalBillingAgreement(Model\BillingAgreementToken $requestBody, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreatePayPalBillingAgreement($requestBody), $fetch); - } - - /** - * get all campaigns for a brand. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var int $limit limit the amount of results returned - * @var int $offset set the starting index of the result set - * @var string $query The value that you would like to search - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BrandCampaignsResponse|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAllBrandCampaignsBadRequestException - * @throws Exception\GetAllBrandCampaignsUnprocessableEntityException - * @throws Exception\GetAllBrandCampaignsInternalServerErrorException - */ - public function getAllBrandCampaigns(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAllBrandCampaigns($groupGuid, $queryParameters), $fetch); - } - - /** - * get a single campaigns for a brand. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $campaignGuid A GUID for a Bitly campaign - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\BrandCampaign|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetBrandCampaignBadRequestException - * @throws Exception\GetBrandCampaignUnprocessableEntityException - * @throws Exception\GetBrandCampaignInternalServerErrorException - */ - public function getBrandCampaign(string $groupGuid, string $campaignGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetBrandCampaign($groupGuid, $campaignGuid), $fetch); - } - - /** - * delete a bitlink id from a campaign channel. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $campaignGuid A GUID for a Bitly campaign - * @param string $channelGuid A GUID for a Bitly Channel - * @param string $bitlink A Bitlink made of the domain and hash - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\DeleteChannelBitlinkBadRequestException - * @throws Exception\DeleteChannelBitlinkUnprocessableEntityException - * @throws Exception\DeleteChannelBitlinkInternalServerErrorException - */ - public function deleteChannelBitlink(string $groupGuid, string $campaignGuid, string $channelGuid, string $bitlink, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\DeleteChannelBitlink($groupGuid, $campaignGuid, $channelGuid, $bitlink), $fetch); - } - - /** - * add a bitlink id to a campaign channel. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $campaignGuid A GUID for a Bitly campaign - * @param string $channelGuid A GUID for a Bitly Channel - * @param string $bitlink A Bitlink made of the domain and hash - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateChannelBitlinkBadRequestException - * @throws Exception\CreateChannelBitlinkUnprocessableEntityException - * @throws Exception\CreateChannelBitlinkInternalServerErrorException - */ - public function createChannelBitlink(string $groupGuid, string $campaignGuid, string $channelGuid, string $bitlink, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateChannelBitlink($groupGuid, $campaignGuid, $channelGuid, $bitlink), $fetch); - } - - /** - * associate an already existing channel to a campaign for a brand guid. - * - * @param string $groupGuid A GUID for a Bitly group - * @param string $campaignGuid A GUID for a Bitly campaign - * @param string $channelGuid A GUID for a Bitly Channel - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return \Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\CreateCampaignChannelBadRequestException - * @throws Exception\CreateCampaignChannelUnprocessableEntityException - * @throws Exception\CreateCampaignChannelInternalServerErrorException - */ - public function createCampaignChannel(string $groupGuid, string $campaignGuid, string $channelGuid, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\CreateCampaignChannel($groupGuid, $campaignGuid, $channelGuid), $fetch); - } - - /** - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\GeoIP|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetPrivateGeoInternalServerErrorException - */ - public function getPrivateGeo(string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetPrivateGeo(), $fetch); - } - - /** - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\CurrencyList|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetCurrencyListInternalServerErrorException - */ - public function getCurrencyList(string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetCurrencyList(), $fetch); - } - - /** - * Checks if the given currency is supported. - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SupportedCurrency|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetCurrencyInternalServerErrorException - */ - public function getCurrency(string $currency, string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetCurrency($currency), $fetch); - } - - /** - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\Regions|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetRegionsListInternalServerErrorException - */ - public function getRegionsList(string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetRegionsList(), $fetch); - } - - /** - * get link clicks over time for all links in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\GroupClicks|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupLinkClicksOverTimeBadRequestException - * @throws Exception\GetGroupLinkClicksOverTimeForbiddenException - * @throws Exception\GetGroupLinkClicksOverTimeInternalServerErrorException - * @throws Exception\GetGroupLinkClicksOverTimeServiceUnavailableException - */ - public function getGroupLinkClicksOverTime(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupLinkClicksOverTime($groupGuid, $queryParameters), $fetch); - } - - /** - * get link clicks by device for all links in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\GroupsGroupGuidLinksClicksDevicesGetResponse200|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupLinkClicksByDeviceBadRequestException - * @throws Exception\GetGroupLinkClicksByDeviceForbiddenException - * @throws Exception\GetGroupLinkClicksByDeviceInternalServerErrorException - * @throws Exception\GetGroupLinkClicksByDeviceServiceUnavailableException - */ - public function getGroupLinkClicksByDevice(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupLinkClicksByDevice($groupGuid, $queryParameters), $fetch); - } - - /** - * get link clicks by referrer for all links in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupLinkClicksByReferrerBadRequestException - * @throws Exception\GetGroupLinkClicksByReferrerForbiddenException - * @throws Exception\GetGroupLinkClicksByReferrerInternalServerErrorException - * @throws Exception\GetGroupLinkClicksByReferrerServiceUnavailableException - */ - public function getGroupLinkClicksByReferrer(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupLinkClicksByReferrer($groupGuid, $queryParameters), $fetch); - } - - /** - * get link clicks by country for all links in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupLinkClicksByCountryBadRequestException - * @throws Exception\GetGroupLinkClicksByCountryForbiddenException - * @throws Exception\GetGroupLinkClicksByCountryInternalServerErrorException - * @throws Exception\GetGroupLinkClicksByCountryServiceUnavailableException - */ - public function getGroupLinkClicksByCountry(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupLinkClicksByCountry($groupGuid, $queryParameters), $fetch); - } - - /** - * get link clicks by city for all links in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\CityMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupLinkClicksByCityBadRequestException - * @throws Exception\GetGroupLinkClicksByCityForbiddenException - * @throws Exception\GetGroupLinkClicksByCityInternalServerErrorException - * @throws Exception\GetGroupLinkClicksByCityServiceUnavailableException - */ - public function getGroupLinkClicksByCity(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupLinkClicksByCity($groupGuid, $queryParameters), $fetch); - } - - /** - * get top performing links by click for all links in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SortedLinks|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupTopLinkClicksBadRequestException - * @throws Exception\GetGroupTopLinkClicksForbiddenException - * @throws Exception\GetGroupTopLinkClicksInternalServerErrorException - * @throws Exception\GetGroupTopLinkClicksServiceUnavailableException - */ - public function getGroupTopLinkClicks(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupTopLinkClicks($groupGuid, $queryParameters), $fetch); - } - - /** - * get code scans over time for all qr codes in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\GroupClicks|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupCodeScansOverTimeBadRequestException - * @throws Exception\GetGroupCodeScansOverTimeForbiddenException - * @throws Exception\GetGroupCodeScansOverTimeInternalServerErrorException - * @throws Exception\GetGroupCodeScansOverTimeServiceUnavailableException - */ - public function getGroupCodeScansOverTime(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupCodeScansOverTime($groupGuid, $queryParameters), $fetch); - } - - /** - * get code scans by country for all qr codes in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupCodeScansByCountryBadRequestException - * @throws Exception\GetGroupCodeScansByCountryForbiddenException - * @throws Exception\GetGroupCodeScansByCountryInternalServerErrorException - * @throws Exception\GetGroupCodeScansByCountryServiceUnavailableException - */ - public function getGroupCodeScansByCountry(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupCodeScansByCountry($groupGuid, $queryParameters), $fetch); - } - - /** - * get code scans by city for all qr codes in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\CityMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupCodeScansByCityBadRequestException - * @throws Exception\GetGroupCodeScansByCityForbiddenException - * @throws Exception\GetGroupCodeScansByCityInternalServerErrorException - * @throws Exception\GetGroupCodeScansByCityServiceUnavailableException - */ - public function getGroupCodeScansByCity(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupCodeScansByCity($groupGuid, $queryParameters), $fetch); - } - - /** - * get top performing codes by scan for all qr codes in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SortedLinks|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupTopCodeScansBadRequestException - * @throws Exception\GetGroupTopCodeScansForbiddenException - * @throws Exception\GetGroupTopCodeScansInternalServerErrorException - * @throws Exception\GetGroupTopCodeScansServiceUnavailableException - */ - public function getGroupTopCodeScans(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupTopCodeScans($groupGuid, $queryParameters), $fetch); - } - - /** - * get link clicks over time for requested links. - * - * @param array $queryParameters { - * - * @var array $bitlink Filter by given bitlinks - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AggregateClicksForBitlinks|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAggregateLinkClicksOverTimeBadRequestException - * @throws Exception\GetAggregateLinkClicksOverTimeForbiddenException - * @throws Exception\GetAggregateLinkClicksOverTimeInternalServerErrorException - * @throws Exception\GetAggregateLinkClicksOverTimeServiceUnavailableException - */ - public function getAggregateLinkClicksOverTime(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAggregateLinkClicksOverTime($queryParameters), $fetch); - } - - /** - * get link clicks by device for requested links. - * - * @param array $queryParameters { - * - * @var array $bitlink Filter by given bitlinks - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AggregateClicksForBitlinksByFacet|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAggregateLinkClicksByDeviceBadRequestException - * @throws Exception\GetAggregateLinkClicksByDeviceForbiddenException - * @throws Exception\GetAggregateLinkClicksByDeviceInternalServerErrorException - * @throws Exception\GetAggregateLinkClicksByDeviceServiceUnavailableException - */ - public function getAggregateLinkClicksByDevice(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAggregateLinkClicksByDevice($queryParameters), $fetch); - } - - /** - * get link clicks by referrer for requested links. - * - * @param array $queryParameters { - * - * @var array $bitlink Filter by given bitlinks - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AggregateClicksForBitlinksByFacet|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAggregateLinkClicksByReferrerBadRequestException - * @throws Exception\GetAggregateLinkClicksByReferrerForbiddenException - * @throws Exception\GetAggregateLinkClicksByReferrerInternalServerErrorException - * @throws Exception\GetAggregateLinkClicksByReferrerServiceUnavailableException - */ - public function getAggregateLinkClicksByReferrer(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAggregateLinkClicksByReferrer($queryParameters), $fetch); - } - - /** - * get link clicks by country for requested links. - * - * @param array $queryParameters { - * - * @var array $bitlink Filter by given bitlinks - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AggregateClicksForBitlinksByFacet|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAggregateLinkClicksByCountryBadRequestException - * @throws Exception\GetAggregateLinkClicksByCountryForbiddenException - * @throws Exception\GetAggregateLinkClicksByCountryInternalServerErrorException - * @throws Exception\GetAggregateLinkClicksByCountryServiceUnavailableException - */ - public function getAggregateLinkClicksByCountry(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAggregateLinkClicksByCountry($queryParameters), $fetch); - } - - /** - * get link clicks by city for requested links. - * - * @param array $queryParameters { - * - * @var array $bitlink Filter by given bitlinks - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AggregateClicksForBitlinksByCitiesFacet|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAggregateLinkClicksByCityBadRequestException - * @throws Exception\GetAggregateLinkClicksByCityForbiddenException - * @throws Exception\GetAggregateLinkClicksByCityInternalServerErrorException - * @throws Exception\GetAggregateLinkClicksByCityServiceUnavailableException - */ - public function getAggregateLinkClicksByCity(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAggregateLinkClicksByCity($queryParameters), $fetch); - } - - /** - * get top performing links by click for requested links. - * - * @param array $queryParameters { - * - * @var array $bitlink Filter by given bitlinks - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SortedLinks|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAggregateTopLinkClicksBadRequestException - * @throws Exception\GetAggregateTopLinkClicksForbiddenException - * @throws Exception\GetAggregateTopLinkClicksInternalServerErrorException - * @throws Exception\GetAggregateTopLinkClicksServiceUnavailableException - */ - public function getAggregateTopLinkClicks(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAggregateTopLinkClicks($queryParameters), $fetch); - } - - /** - * get code scans over time for requested qr codes. - * - * @param array $queryParameters { - * - * @var array $bitlink Filter by given bitlinks - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AggregateClicksForBitlinks|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAggregateCodeScansOverTimeBadRequestException - * @throws Exception\GetAggregateCodeScansOverTimeForbiddenException - * @throws Exception\GetAggregateCodeScansOverTimeInternalServerErrorException - * @throws Exception\GetAggregateCodeScansOverTimeServiceUnavailableException - */ - public function getAggregateCodeScansOverTime(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAggregateCodeScansOverTime($queryParameters), $fetch); - } - - /** - * get code scans by country for requested codes. - * - * @param array $queryParameters { - * - * @var array $bitlink Filter by given bitlinks - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AggregateClicksForBitlinksByFacet|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAggregateCodeScansByCountryBadRequestException - * @throws Exception\GetAggregateCodeScansByCountryForbiddenException - * @throws Exception\GetAggregateCodeScansByCountryInternalServerErrorException - * @throws Exception\GetAggregateCodeScansByCountryServiceUnavailableException - */ - public function getAggregateCodeScansByCountry(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAggregateCodeScansByCountry($queryParameters), $fetch); - } - - /** - * get code scans by city for requested codes. - * - * @param array $queryParameters { - * - * @var array $bitlink Filter by given bitlinks - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\AggregateClicksForBitlinksByCitiesFacet|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAggregateCodeScansByCityBadRequestException - * @throws Exception\GetAggregateCodeScansByCityForbiddenException - * @throws Exception\GetAggregateCodeScansByCityInternalServerErrorException - * @throws Exception\GetAggregateCodeScansByCityServiceUnavailableException - */ - public function getAggregateCodeScansByCity(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAggregateCodeScansByCity($queryParameters), $fetch); - } - - /** - * get top performing codes by scan for requested codes. - * - * @param array $queryParameters { - * - * @var array $bitlink Filter by given bitlinks - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\SortedLinks|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetAggregateTopCodeScansBadRequestException - * @throws Exception\GetAggregateTopCodeScansForbiddenException - * @throws Exception\GetAggregateTopCodeScansInternalServerErrorException - * @throws Exception\GetAggregateTopCodeScansServiceUnavailableException - */ - public function getAggregateTopCodeScans(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetAggregateTopCodeScans($queryParameters), $fetch); - } - - /** - * get page views over time for all pages in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\GroupClicks|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupPageViewsOverTimeBadRequestException - * @throws Exception\GetGroupPageViewsOverTimeForbiddenException - * @throws Exception\GetGroupPageViewsOverTimeInternalServerErrorException - * @throws Exception\GetGroupPageViewsOverTimeServiceUnavailableException - */ - public function getGroupPageViewsOverTime(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupPageViewsOverTime($groupGuid, $queryParameters), $fetch); - } - - /** - * get page views by device for all pages in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\DeviceMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupPageViewsByDeviceBadRequestException - * @throws Exception\GetGroupPageViewsByDeviceForbiddenException - * @throws Exception\GetGroupPageViewsByDeviceInternalServerErrorException - * @throws Exception\GetGroupPageViewsByDeviceServiceUnavailableException - */ - public function getGroupPageViewsByDevice(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupPageViewsByDevice($groupGuid, $queryParameters), $fetch); - } - - /** - * get page views by referrer for all pages in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupPageViewsByReferrerBadRequestException - * @throws Exception\GetGroupPageViewsByReferrerForbiddenException - * @throws Exception\GetGroupPageViewsByReferrerInternalServerErrorException - * @throws Exception\GetGroupPageViewsByReferrerServiceUnavailableException - */ - public function getGroupPageViewsByReferrer(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupPageViewsByReferrer($groupGuid, $queryParameters), $fetch); - } - - /** - * get page views by country for all pages in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupPageViewsByCountryBadRequestException - * @throws Exception\GetGroupPageViewsByCountryForbiddenException - * @throws Exception\GetGroupPageViewsByCountryInternalServerErrorException - * @throws Exception\GetGroupPageViewsByCountryServiceUnavailableException - */ - public function getGroupPageViewsByCountry(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupPageViewsByCountry($groupGuid, $queryParameters), $fetch); - } - - /** - * get page views by city for all pages in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\CityMetrics|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupPageViewsByCityBadRequestException - * @throws Exception\GetGroupPageViewsByCityForbiddenException - * @throws Exception\GetGroupPageViewsByCityInternalServerErrorException - * @throws Exception\GetGroupPageViewsByCityServiceUnavailableException - */ - public function getGroupPageViewsByCity(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupPageViewsByCity($groupGuid, $queryParameters), $fetch); - } - - /** - * get button clicks over time for all pages in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } + * Returns details for a group. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $groupGuid A GUID for a Bitly group + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\GroupClicks|\Psr\Http\Message\ResponseInterface|null + * @return Model\Group|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetGroupButtonClicksOverTimeBadRequestException - * @throws Exception\GetGroupButtonClicksOverTimeForbiddenException - * @throws Exception\GetGroupButtonClicksOverTimeInternalServerErrorException - * @throws Exception\GetGroupButtonClicksOverTimeServiceUnavailableException + * @throws Exception\GetGroupForbiddenException + * @throws Exception\GetGroupNotFoundException + * @throws Exception\GetGroupTooManyRequestsException + * @throws Exception\GetGroupInternalServerErrorException + * @throws Exception\GetGroupServiceUnavailableException */ - public function getGroupButtonClicksOverTime(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getGroup(string $groupGuid, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetGroupButtonClicksOverTime($groupGuid, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetGroup($groupGuid), $fetch); } /** - * get button clicks by device for all pages in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } + * Updates the details of a group. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $groupGuid A GUID for a Bitly group + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\DeviceMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\Group|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetGroupButtonClicksByDeviceBadRequestException - * @throws Exception\GetGroupButtonClicksByDeviceForbiddenException - * @throws Exception\GetGroupButtonClicksByDeviceInternalServerErrorException - * @throws Exception\GetGroupButtonClicksByDeviceServiceUnavailableException + * @throws Exception\UpdateGroupBadRequestException + * @throws Exception\UpdateGroupForbiddenException + * @throws Exception\UpdateGroupNotFoundException + * @throws Exception\UpdateGroupUnprocessableEntityException + * @throws Exception\UpdateGroupInternalServerErrorException + * @throws Exception\UpdateGroupServiceUnavailableException */ - public function getGroupButtonClicksByDevice(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function updateGroup(string $groupGuid, Model\GroupUpdate $requestBody, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetGroupButtonClicksByDevice($groupGuid, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UpdateGroup($groupGuid, $requestBody), $fetch); } /** - * get button clicks by country for all pages in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } + * Returns the tags currently used in the specified group. Maximum 1000. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $groupGuid A GUID for a Bitly group + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\Tags|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetGroupButtonClicksByCountryBadRequestException - * @throws Exception\GetGroupButtonClicksByCountryForbiddenException - * @throws Exception\GetGroupButtonClicksByCountryInternalServerErrorException - * @throws Exception\GetGroupButtonClicksByCountryServiceUnavailableException + * @throws Exception\GetGroupTagsForbiddenException + * @throws Exception\GetGroupTagsNotFoundException + * @throws Exception\GetGroupTagsTooManyRequestsException + * @throws Exception\GetGroupTagsInternalServerErrorException + * @throws Exception\GetGroupTagsServiceUnavailableException */ - public function getGroupButtonClicksByCountry(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getGroupTags(string $groupGuid, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetGroupButtonClicksByCountry($groupGuid, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetGroupTags($groupGuid), $fetch); } /** - * get button clicks by city for all pages in a group. + * Returns a paginated collection of Bitlinks for a group. The list of custom bitlinks has newest entries first. * * @param string $groupGuid A GUID for a Bitly group * @param array $queryParameters { * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) + * @var int $size The quantity of items to be be returned + * @var string $search_after token used to search next batch, only use response from API as input value + * @var string $query The value that you would like to search + * @var string $hostname_path_query The hostname and/or path you would like to search (case-insensitive). Subdomains included; query params and fragment ignored. + * @var int $created_before Timestamp as an integer unix epoch (seconds only) + * @var int $created_after Timestamp as an integer unix epoch (seconds only) + * @var string $archived Whether or not to include archived resources + * @var string $deeplinks Filter to only Bitlinks that contain deeplinks + * @var string $domain_deeplinks Filter to only Bitlinks that contain deeplinks configured with a custom domain + * @var string $campaign_guid Filter to return only links for the given campaign GUID, can be provided + * @var string $channel_guid Filter to return only links for the given channel GUID, can be provided, overrides all other parameters + * @var string $custom_bitlink + * @var string $has_qr_codes a filter value if the resource has any QR codes + * @var array $tags Filter by given tags + * @var array $launchpad_ids Filter by launchpad id + * @var array $encoding_login Filter by the login of the authenticated user that created the Bitlink * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\CityMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\Bitlinks|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetGroupButtonClicksByCityBadRequestException - * @throws Exception\GetGroupButtonClicksByCityForbiddenException - * @throws Exception\GetGroupButtonClicksByCityInternalServerErrorException - * @throws Exception\GetGroupButtonClicksByCityServiceUnavailableException + * @throws Exception\GetBitlinksByGroupForbiddenException + * @throws Exception\GetBitlinksByGroupNotFoundException + * @throws Exception\GetBitlinksByGroupInternalServerErrorException + * @throws Exception\GetBitlinksByGroupServiceUnavailableException */ - public function getGroupButtonClicksByCity(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getBitlinksByGroup(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetGroupButtonClicksByCity($groupGuid, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetBitlinksByGroup($groupGuid, $queryParameters), $fetch); } /** - * get top performing buttons by click for all pages in a group. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } + * Bulk update can add or remove tags or archive up to 100 links at a time; The response includes a list of bitlink ids that were updated. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $groupGuid A GUID for a Bitly group + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\SortedButtons|\Psr\Http\Message\ResponseInterface|null + * @return Model\BulkUpdate|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetGroupTopButtonClicksBadRequestException - * @throws Exception\GetGroupTopButtonClicksForbiddenException - * @throws Exception\GetGroupTopButtonClicksInternalServerErrorException - * @throws Exception\GetGroupTopButtonClicksServiceUnavailableException + * @throws Exception\UpdateBitlinksByGroupBadRequestException + * @throws Exception\UpdateBitlinksByGroupForbiddenException + * @throws Exception\UpdateBitlinksByGroupNotFoundException + * @throws Exception\UpdateBitlinksByGroupUnprocessableEntityException + * @throws Exception\UpdateBitlinksByGroupInternalServerErrorException + * @throws Exception\UpdateBitlinksByGroupServiceUnavailableException */ - public function getGroupTopButtonClicks(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function updateBitlinksByGroup(string $groupGuid, Model\BulkUpdateRequest $requestBody, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetGroupTopButtonClicks($groupGuid, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UpdateBitlinksByGroup($groupGuid, $requestBody), $fetch); } /** - * get pages overview (total button clicks and page views) for all pages in a group. + * Returns a list of Bitlinks sorted by group. The list of custom bitlinks has newest entries first. * * @param string $groupGuid A GUID for a Bitly group + * @param string $sort The type of sorting that you would like to do * @param array $queryParameters { * * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time + * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time. * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) - * - * @return Model\GroupsGroupGuidPagesOverviewGetResponse200|\Psr\Http\Message\ResponseInterface|null - * - * @throws Exception\GetGroupPagesOverviewBadRequestException - * @throws Exception\GetGroupPagesOverviewForbiddenException - * @throws Exception\GetGroupPagesOverviewInternalServerErrorException - * @throws Exception\GetGroupPagesOverviewServiceUnavailableException - */ - public function getGroupPagesOverview(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) - { - return $this->executeEndpoint(new Endpoint\GetGroupPagesOverview($groupGuid, $queryParameters), $fetch); - } - - /** - * group DBC downloads over time. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\DownloadsOverTime|\Psr\Http\Message\ResponseInterface|null + * @return Model\SortedLinks|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetGroupDigitalBusinessCardDownloadsOverTimeBadRequestException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsOverTimeForbiddenException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsOverTimeNotFoundException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsOverTimeInternalServerErrorException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsOverTimeServiceUnavailableException + * @throws Exception\GetSortedBitlinksForbiddenException + * @throws Exception\GetSortedBitlinksNotFoundException + * @throws Exception\GetSortedBitlinksTooManyRequestsException + * @throws Exception\GetSortedBitlinksInternalServerErrorException + * @throws Exception\GetSortedBitlinksServiceUnavailableException */ - public function getGroupDigitalBusinessCardDownloadsOverTime(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getSortedBitlinks(string $groupGuid, string $sort, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetGroupDigitalBusinessCardDownloadsOverTime($groupGuid, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetSortedBitlinks($groupGuid, $sort, $queryParameters), $fetch); } /** - * group DBC downloads by device. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } + * Returns preferences for the specified group. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $groupGuid A GUID for a Bitly group + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\DeviceDownloadMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\GroupPreferences|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByDevicesBadRequestException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByDevicesForbiddenException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByDevicesNotFoundException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByDevicesInternalServerErrorException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByDevicesServiceUnavailableException + * @throws Exception\GetGroupPreferencesForbiddenException + * @throws Exception\GetGroupPreferencesNotFoundException + * @throws Exception\GetGroupPreferencesInternalServerErrorException + * @throws Exception\GetGroupPreferencesServiceUnavailableException */ - public function getGroupDigitalBusinessCardDownloadsByDevices(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getGroupPreferences(string $groupGuid, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetGroupDigitalBusinessCardDownloadsByDevices($groupGuid, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetGroupPreferences($groupGuid), $fetch); } /** - * group DBC downloads by country. - * - * @param string $groupGuid A GUID for a Bitly group - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } + * Updates preferences for a group. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $groupGuid A GUID for a Bitly group + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\DownloadMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\GroupPreferences|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByCountriesBadRequestException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByCountriesForbiddenException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByCountriesNotFoundException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByCountriesInternalServerErrorException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByCountriesServiceUnavailableException + * @throws Exception\UpdateGroupPreferencesBadRequestException + * @throws Exception\UpdateGroupPreferencesForbiddenException + * @throws Exception\UpdateGroupPreferencesNotFoundException + * @throws Exception\UpdateGroupPreferencesUnprocessableEntityException + * @throws Exception\UpdateGroupPreferencesTooManyRequestsException + * @throws Exception\UpdateGroupPreferencesInternalServerErrorException + * @throws Exception\UpdateGroupPreferencesServiceUnavailableException */ - public function getGroupDigitalBusinessCardDownloadsByCountries(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function updateGroupPreferences(string $groupGuid, Model\GroupPreferences $requestBody, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetGroupDigitalBusinessCardDownloadsByCountries($groupGuid, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UpdateGroupPreferences($groupGuid, $requestBody), $fetch); } /** - * group DBC downloads by city. + * Returns all the shorten counts for a group. * * @param string $groupGuid A GUID for a Bitly group * @param array $queryParameters { * * @var string $unit A unit of time * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\CityDownloadMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\Metrics|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByCitiesBadRequestException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByCitiesForbiddenException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByCitiesNotFoundException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByCitiesInternalServerErrorException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByCitiesServiceUnavailableException + * @throws Exception\GetGroupShortenCountsForbiddenException + * @throws Exception\GetGroupShortenCountsNotFoundException + * @throws Exception\GetGroupShortenCountsTooManyRequestsException + * @throws Exception\GetGroupShortenCountsInternalServerErrorException + * @throws Exception\GetGroupShortenCountsServiceUnavailableException */ - public function getGroupDigitalBusinessCardDownloadsByCities(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getGroupShortenCounts(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetGroupDigitalBusinessCardDownloadsByCities($groupGuid, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetGroupShortenCounts($groupGuid, $queryParameters), $fetch); } /** - * group DBC downloads by Page. + * Returns the geographic origins of click traffic by country for the specified group. * * @param string $groupGuid A GUID for a Bitly group * @param array $queryParameters { @@ -8802,23 +767,24 @@ public function getGroupDigitalBusinessCardDownloadsByCities(string $groupGuid, * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) * } * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/json|text/csv * - * @return Model\DownloadMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByMicrositesBadRequestException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByMicrositesForbiddenException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByMicrositesNotFoundException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByMicrositesInternalServerErrorException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByMicrositesServiceUnavailableException + * @throws Exception\GetGroupMetricsByCountriesForbiddenException + * @throws Exception\GetGroupMetricsByCountriesNotFoundException + * @throws Exception\GetGroupMetricsByCountriesTooManyRequestsException + * @throws Exception\GetGroupMetricsByCountriesInternalServerErrorException + * @throws Exception\GetGroupMetricsByCountriesServiceUnavailableException */ - public function getGroupDigitalBusinessCardDownloadsByMicrosites(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getGroupMetricsByCountries(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new Endpoint\GetGroupDigitalBusinessCardDownloadsByMicrosites($groupGuid, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetGroupMetricsByCountries($groupGuid, $queryParameters, $accept), $fetch); } /** - * group DBC downloads by block. + * Returns the geographic origins of click traffic by city for the specified group. * * @param string $groupGuid A GUID for a Bitly group * @param array $queryParameters { @@ -8829,25 +795,27 @@ public function getGroupDigitalBusinessCardDownloadsByMicrosites(string $groupGu * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) * } * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/json|text/csv * - * @return Model\DownloadMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\CityMetrics|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByBlocksBadRequestException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByBlocksForbiddenException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByBlocksNotFoundException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByBlocksInternalServerErrorException - * @throws Exception\GetGroupDigitalBusinessCardDownloadsByBlocksServiceUnavailableException + * @throws Exception\GetGroupMetricsByCitiesPaymentRequiredException + * @throws Exception\GetGroupMetricsByCitiesForbiddenException + * @throws Exception\GetGroupMetricsByCitiesNotFoundException + * @throws Exception\GetGroupMetricsByCitiesTooManyRequestsException + * @throws Exception\GetGroupMetricsByCitiesInternalServerErrorException + * @throws Exception\GetGroupMetricsByCitiesServiceUnavailableException */ - public function getGroupDigitalBusinessCardDownloadsByBlocks(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getGroupMetricsByCities(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new Endpoint\GetGroupDigitalBusinessCardDownloadsByBlocks($groupGuid, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetGroupMetricsByCities($groupGuid, $queryParameters, $accept), $fetch); } /** - * site DBC downloads over time. + * Returns the device types generating click traffic to the specified group's links. * - * @param string $siteId A GUID for a Bitly Site + * @param string $groupGuid A GUID for a Bitly group * @param array $queryParameters { * * @var string $unit A unit of time @@ -8856,25 +824,27 @@ public function getGroupDigitalBusinessCardDownloadsByBlocks(string $groupGuid, * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) * } * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/json|text/csv * - * @return Model\DownloadsOverTime|\Psr\Http\Message\ResponseInterface|null + * @return Model\DeviceMetrics|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetSiteDigitalBusinessCardDownloadsOverTimeBadRequestException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsOverTimeForbiddenException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsOverTimeNotFoundException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsOverTimeInternalServerErrorException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsOverTimeServiceUnavailableException + * @throws Exception\GetGroupMetricsByDevicesPaymentRequiredException + * @throws Exception\GetGroupMetricsByDevicesForbiddenException + * @throws Exception\GetGroupMetricsByDevicesNotFoundException + * @throws Exception\GetGroupMetricsByDevicesTooManyRequestsException + * @throws Exception\GetGroupMetricsByDevicesInternalServerErrorException + * @throws Exception\GetGroupMetricsByDevicesServiceUnavailableException */ - public function getSiteDigitalBusinessCardDownloadsOverTime(string $siteId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getGroupMetricsByDevices(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new Endpoint\GetSiteDigitalBusinessCardDownloadsOverTime($siteId, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetGroupMetricsByDevices($groupGuid, $queryParameters, $accept), $fetch); } /** - * site DBC downloads by device. + * Returns metrics by referring networks for the specified group's links. * - * @param string $siteId A GUID for a Bitly Site + * @param string $groupGuid A GUID for a Bitly group * @param array $queryParameters { * * @var string $unit A unit of time @@ -8885,23 +855,22 @@ public function getSiteDigitalBusinessCardDownloadsOverTime(string $siteId, arra * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\DeviceDownloadMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByDevicesBadRequestException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByDevicesForbiddenException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByDevicesNotFoundException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByDevicesInternalServerErrorException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByDevicesServiceUnavailableException + * @throws Exception\GetGroupMetricsByReferringNetworksForbiddenException + * @throws Exception\GetGroupMetricsByReferringNetworksNotFoundException + * @throws Exception\GetGroupMetricsByReferringNetworksInternalServerErrorException + * @throws Exception\GetGroupMetricsByReferringNetworksServiceUnavailableException */ - public function getSiteDigitalBusinessCardDownloadsByDevices(string $siteId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getGroupMetricsByReferringNetworks(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetSiteDigitalBusinessCardDownloadsByDevices($siteId, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetGroupMetricsByReferringNetworks($groupGuid, $queryParameters), $fetch); } /** - * site DBC downloads by country. + * Returns metrics by referrer for the specified group's links. * - * @param string $siteId A GUID for a Bitly Site + * @param string $groupGuid A GUID for a Bitly group * @param array $queryParameters { * * @var string $unit A unit of time @@ -8910,967 +879,893 @@ public function getSiteDigitalBusinessCardDownloadsByDevices(string $siteId, arr * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) * } * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/json|text/csv * - * @return Model\DownloadMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\ClickMetrics|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByCountriesBadRequestException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByCountriesForbiddenException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByCountriesNotFoundException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByCountriesInternalServerErrorException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByCountriesServiceUnavailableException + * @throws Exception\GetGroupMetricsByReferrerForbiddenException + * @throws Exception\GetGroupMetricsByReferrerNotFoundException + * @throws Exception\GetGroupMetricsByReferrerTooManyRequestsException + * @throws Exception\GetGroupMetricsByReferrerInternalServerErrorException + * @throws Exception\GetGroupMetricsByReferrerServiceUnavailableException */ - public function getSiteDigitalBusinessCardDownloadsByCountries(string $siteId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getGroupMetricsByReferrer(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new Endpoint\GetSiteDigitalBusinessCardDownloadsByCountries($siteId, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetGroupMetricsByReferrer($groupGuid, $queryParameters, $accept), $fetch); } /** - * site DBC downloads by city. + * get number of clicks on bitlinks in a group. * - * @param string $siteId A GUID for a Bitly Site + * @param string $groupGuid A GUID for a Bitly group * @param array $queryParameters { * * @var string $unit A unit of time * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\CityDownloadMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\GroupClicks|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByCitiesBadRequestException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByCitiesForbiddenException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByCitiesNotFoundException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByCitiesInternalServerErrorException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByCitiesServiceUnavailableException + * @throws Exception\GetGroupClicksBadRequestException + * @throws Exception\GetGroupClicksPaymentRequiredException + * @throws Exception\GetGroupClicksForbiddenException + * @throws Exception\GetGroupClicksTooManyRequestsException + * @throws Exception\GetGroupClicksInternalServerErrorException + * @throws Exception\GetGroupClicksServiceUnavailableException */ - public function getSiteDigitalBusinessCardDownloadsByCities(string $siteId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getGroupClicks(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetSiteDigitalBusinessCardDownloadsByCities($siteId, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetGroupClicks($groupGuid, $queryParameters), $fetch); } /** - * site DBC downloads by block. - * - * @param string $siteId A GUID for a Bitly Site - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } - * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\DownloadMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\Organizations|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByBlocksBadRequestException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByBlocksForbiddenException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByBlocksNotFoundException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByBlocksInternalServerErrorException - * @throws Exception\GetSiteDigitalBusinessCardDownloadsByBlocksServiceUnavailableException + * @throws Exception\GetOrganizationsForbiddenException + * @throws Exception\GetOrganizationsNotFoundException + * @throws Exception\GetOrganizationsInternalServerErrorException + * @throws Exception\GetOrganizationsServiceUnavailableException */ - public function getSiteDigitalBusinessCardDownloadsByBlocks(string $siteId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getOrganizations(string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetSiteDigitalBusinessCardDownloadsByBlocks($siteId, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetOrganizations(), $fetch); } /** - * a DBC's downloads over time. - * - * @param string $siteId A GUID for a Bitly Site - * @param string $blockId A GUID for a Bitly Site Block - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } + * Retrive details for the specified organization. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $organizationGuid A GUID for a Bitly organization + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\DownloadsOverTime|\Psr\Http\Message\ResponseInterface|null + * @return Model\Organization|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetBlockDigitalBusinessCardDownloadsOverTimeBadRequestException - * @throws Exception\GetBlockDigitalBusinessCardDownloadsOverTimeForbiddenException - * @throws Exception\GetBlockDigitalBusinessCardDownloadsOverTimeNotFoundException - * @throws Exception\GetBlockDigitalBusinessCardDownloadsOverTimeInternalServerErrorException - * @throws Exception\GetBlockDigitalBusinessCardDownloadsOverTimeServiceUnavailableException + * @throws Exception\GetOrganizationForbiddenException + * @throws Exception\GetOrganizationNotFoundException + * @throws Exception\GetOrganizationInternalServerErrorException + * @throws Exception\GetOrganizationServiceUnavailableException */ - public function getBlockDigitalBusinessCardDownloadsOverTime(string $siteId, string $blockId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getOrganization(string $organizationGuid, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetBlockDigitalBusinessCardDownloadsOverTime($siteId, $blockId, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetOrganization($organizationGuid), $fetch); } /** - * a DBC's downloads by device. + * Returns the shorten counts for a specific organization over a specified time period. * - * @param string $siteId A GUID for a Bitly Site - * @param string $blockId A GUID for a Bitly Site Block - * @param array $queryParameters { + * @param string $organizationGuid A GUID for a Bitly organization + * @param array $queryParameters { * * @var string $unit A unit of time * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\DeviceDownloadMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\Metrics|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetBlockDigitalBusinessCardDownloadsByDevicesBadRequestException - * @throws Exception\GetBlockDigitalBusinessCardDownloadsByDevicesForbiddenException - * @throws Exception\GetBlockDigitalBusinessCardDownloadsByDevicesNotFoundException - * @throws Exception\GetBlockDigitalBusinessCardDownloadsByDevicesInternalServerErrorException - * @throws Exception\GetBlockDigitalBusinessCardDownloadsByDevicesServiceUnavailableException + * @throws Exception\GetOrganizationShortenCountsForbiddenException + * @throws Exception\GetOrganizationShortenCountsNotFoundException + * @throws Exception\GetOrganizationShortenCountsInternalServerErrorException + * @throws Exception\GetOrganizationShortenCountsServiceUnavailableException */ - public function getBlockDigitalBusinessCardDownloadsByDevices(string $siteId, string $blockId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getOrganizationShortenCounts(string $organizationGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetBlockDigitalBusinessCardDownloadsByDevices($siteId, $blockId, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetOrganizationShortenCounts($organizationGuid, $queryParameters), $fetch); } /** - * a DBC's downloads by country. + * Returns the shorten counts for a specific organization by group for the current month. * - * @param string $siteId A GUID for a Bitly Site - * @param string $blockId A GUID for a Bitly Site Block - * @param array $queryParameters { + * @param string $organizationGuid A GUID for a Bitly organization + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } + * @return Model\Metrics|\Psr\Http\Message\ResponseInterface|null * + * @throws Exception\GetOrganizationShortenCountsByGroupForbiddenException + * @throws Exception\GetOrganizationShortenCountsByGroupNotFoundException + * @throws Exception\GetOrganizationShortenCountsByGroupInternalServerErrorException + * @throws Exception\GetOrganizationShortenCountsByGroupServiceUnavailableException + */ + public function getOrganizationShortenCountsByGroup(string $organizationGuid, string $fetch = self::FETCH_OBJECT) + { + return $this->executeEndpoint(new Endpoint\GetOrganizationShortenCountsByGroup($organizationGuid), $fetch); + } + + /** * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\DownloadMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\User|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetBlockDigitalBusinessCardDownloadsByCountriesBadRequestException - * @throws Exception\GetBlockDigitalBusinessCardDownloadsByCountriesForbiddenException - * @throws Exception\GetBlockDigitalBusinessCardDownloadsByCountriesNotFoundException - * @throws Exception\GetBlockDigitalBusinessCardDownloadsByCountriesInternalServerErrorException - * @throws Exception\GetBlockDigitalBusinessCardDownloadsByCountriesServiceUnavailableException + * @throws Exception\GetUserForbiddenException + * @throws Exception\GetUserNotFoundException + * @throws Exception\GetUserInternalServerErrorException + * @throws Exception\GetUserServiceUnavailableException */ - public function getBlockDigitalBusinessCardDownloadsByCountries(string $siteId, string $blockId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getUser(string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetBlockDigitalBusinessCardDownloadsByCountries($siteId, $blockId, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetUser(), $fetch); } /** - * a DBC's downloads by city. - * - * @param string $siteId A GUID for a Bitly Site - * @param string $blockId A GUID for a Bitly Site Block - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } + * Update fields in the user. * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\CityDownloadMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\User|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetBlockDigitalBusinessCardDownloadsByCitiesBadRequestException - * @throws Exception\GetBlockDigitalBusinessCardDownloadsByCitiesForbiddenException - * @throws Exception\GetBlockDigitalBusinessCardDownloadsByCitiesNotFoundException - * @throws Exception\GetBlockDigitalBusinessCardDownloadsByCitiesInternalServerErrorException - * @throws Exception\GetBlockDigitalBusinessCardDownloadsByCitiesServiceUnavailableException + * @throws Exception\UpdateUserBadRequestException + * @throws Exception\UpdateUserForbiddenException + * @throws Exception\UpdateUserNotFoundException + * @throws Exception\UpdateUserUnprocessableEntityException + * @throws Exception\UpdateUserInternalServerErrorException + * @throws Exception\UpdateUserServiceUnavailableException */ - public function getBlockDigitalBusinessCardDownloadsByCities(string $siteId, string $blockId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function updateUser(Model\UserUpdate $requestBody, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetBlockDigitalBusinessCardDownloadsByCities($siteId, $blockId, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UpdateUser($requestBody), $fetch); } /** - * Returns the click counts for all active and inactive links that were associated with a site. + * Returns the campaigns for the current authenticated user. * - * @param string $siteId A GUID for a Bitly Site - * @param array $queryParameters { + * @param array $queryParameters { * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var int $page Integer specifying the numbered result at which to start + * @var string $group_guid A GUID for a Bitly group * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\SiteLinkPerformance|\Psr\Http\Message\ResponseInterface|null + * @return Model\Campaigns|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetLinkPerformanceForSiteForbiddenException - * @throws Exception\GetLinkPerformanceForSiteNotFoundException - * @throws Exception\GetLinkPerformanceForSiteInternalServerErrorException - * @throws Exception\GetLinkPerformanceForSiteServiceUnavailableException + * @throws Exception\GetCampaignsBadRequestException + * @throws Exception\GetCampaignsPaymentRequiredException + * @throws Exception\GetCampaignsForbiddenException + * @throws Exception\GetCampaignsNotFoundException + * @throws Exception\GetCampaignsInternalServerErrorException + * @throws Exception\GetCampaignsBadGatewayException + * @throws Exception\GetCampaignsServiceUnavailableException */ - public function getLinkPerformanceForSite(string $siteId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getCampaigns(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetLinkPerformanceForSite($siteId, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetCampaigns($queryParameters), $fetch); } /** - * Returns the view counts for the specified link in an array based on a date. - * - * @param string $siteId A GUID for a Bitly Site - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } + * Creates a new campaign. * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\SiteViewMetrics|\Psr\Http\Message\ResponseInterface|null + * @return Model\Campaign|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetViewsForSiteForbiddenException - * @throws Exception\GetViewsForSiteNotFoundException - * @throws Exception\GetViewsForSiteInternalServerErrorException - * @throws Exception\GetViewsForSiteServiceUnavailableException + * @throws Exception\CreateCampaignBadRequestException + * @throws Exception\CreateCampaignPaymentRequiredException + * @throws Exception\CreateCampaignForbiddenException + * @throws Exception\CreateCampaignNotFoundException + * @throws Exception\CreateCampaignUnprocessableEntityException + * @throws Exception\CreateCampaignTooManyRequestsException + * @throws Exception\CreateCampaignInternalServerErrorException + * @throws Exception\CreateCampaignServiceUnavailableException */ - public function getViewsForSite(string $siteId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function createCampaign(Model\CampaignModify $requestBody, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetViewsForSite($siteId, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\CreateCampaign($requestBody), $fetch); } /** - * Returns the view counts for the specified site rolled up into a single field. - * - * @param string $siteId A GUID for a Bitly Site - * @param array $queryParameters { - * - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var int $size The quantity of items to be be returned - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * } + * Returns details for a campaign. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $campaignGuid A GUID for a Bitly campaign + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\SiteViewsSummary|\Psr\Http\Message\ResponseInterface|null + * @return Model\Campaign|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetViewsSummaryForSiteForbiddenException - * @throws Exception\GetViewsSummaryForSiteNotFoundException - * @throws Exception\GetViewsSummaryForSiteInternalServerErrorException - * @throws Exception\GetViewsSummaryForSiteServiceUnavailableException + * @throws Exception\GetCampaignPaymentRequiredException + * @throws Exception\GetCampaignForbiddenException + * @throws Exception\GetCampaignNotFoundException + * @throws Exception\GetCampaignTooManyRequestsException + * @throws Exception\GetCampaignInternalServerErrorException + * @throws Exception\GetCampaignServiceUnavailableException */ - public function getViewsSummaryForSite(string $siteId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getCampaign(string $campaignGuid, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetViewsSummaryForSite($siteId, $queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetCampaign($campaignGuid), $fetch); } /** - * Takes a previously uploaded image and attaches it to a site. + * Updates a campaign's details. * - * @param string $siteId A GUID for a Bitly Site - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $campaignGuid A GUID for a Bitly campaign + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * + * @return Model\Campaign|\Psr\Http\Message\ResponseInterface|null * - * @return Model\ImageUploadResponse|\Psr\Http\Message\ResponseInterface|null + * @throws Exception\UpdateCampaignBadRequestException + * @throws Exception\UpdateCampaignPaymentRequiredException + * @throws Exception\UpdateCampaignForbiddenException + * @throws Exception\UpdateCampaignNotFoundException + * @throws Exception\UpdateCampaignUnprocessableEntityException + * @throws Exception\UpdateCampaignTooManyRequestsException + * @throws Exception\UpdateCampaignInternalServerErrorException + * @throws Exception\UpdateCampaignServiceUnavailableException */ - public function createSiteImage(string $siteId, Model\SiteImageUpload $requestBody, string $fetch = self::FETCH_OBJECT) + public function updateCampaign(string $campaignGuid, Model\CampaignModify $requestBody, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\CreateSiteImage($siteId, $requestBody), $fetch); + return $this->executeEndpoint(new Endpoint\UpdateCampaign($campaignGuid, $requestBody), $fetch); } /** - * Deletes a redirect for a site. + * Returns the channels available to a user. + * + * @param array $queryParameters { + * + * @var string $group_guid A GUID for a Bitly group + * @var string $campaign_guid A GUID for a Bitly campaign + * } * - * @param string $siteId A GUID for a Bitly Site - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Psr\Http\Message\ResponseInterface|null + * @return Model\Channels|\Psr\Http\Message\ResponseInterface|null + * + * @throws Exception\GetChannelsPaymentRequiredException + * @throws Exception\GetChannelsForbiddenException + * @throws Exception\GetChannelsNotFoundException + * @throws Exception\GetChannelsInternalServerErrorException + * @throws Exception\GetChannelsServiceUnavailableException */ - public function deleteSiteRedirect(string $siteId, string $domain, string $keyword, string $fetch = self::FETCH_OBJECT) + public function getChannels(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\DeleteSiteRedirect($siteId, $domain, $keyword), $fetch); + return $this->executeEndpoint(new Endpoint\GetChannels($queryParameters), $fetch); } /** - * Updates the appearance of a Bitly Site. + * Creates a new channel. * - * @param string $siteId A GUID for a Bitly Site - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Psr\Http\Message\ResponseInterface|null + * @return Model\Channel|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\UpdateSiteAppearanceBadRequestException - * @throws Exception\UpdateSiteAppearanceForbiddenException - * @throws Exception\UpdateSiteAppearanceNotFoundException - * @throws Exception\UpdateSiteAppearanceInternalServerErrorException - * @throws Exception\UpdateSiteAppearanceServiceUnavailableException + * @throws Exception\CreateChannelBadRequestException + * @throws Exception\CreateChannelPaymentRequiredException + * @throws Exception\CreateChannelForbiddenException + * @throws Exception\CreateChannelNotFoundException + * @throws Exception\CreateChannelUnprocessableEntityException + * @throws Exception\CreateChannelTooManyRequestsException + * @throws Exception\CreateChannelInternalServerErrorException + * @throws Exception\CreateChannelServiceUnavailableException */ - public function updateSiteAppearance(string $siteId, Model\BitlySiteAppearance $requestBody, string $fetch = self::FETCH_OBJECT) + public function createChannel(Model\ChannelModify $requestBody, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\UpdateSiteAppearance($siteId, $requestBody), $fetch); + return $this->executeEndpoint(new Endpoint\CreateChannel($requestBody), $fetch); } /** - * Creates a content of given type on the provided Site ID. + * Returns a channel's details. * - * @param string $siteId A GUID for a Bitly Site - * @param string $contentType Type of microsite content + * @param string $channelGuid A GUID for a Bitly Channel * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\SiteBlock|\Psr\Http\Message\ResponseInterface|null + * @return Model\Channel|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\CreateSiteContentBadRequestException - * @throws Exception\CreateSiteContentForbiddenException - * @throws Exception\CreateSiteContentNotFoundException - * @throws Exception\CreateSiteContentInternalServerErrorException - * @throws Exception\CreateSiteContentServiceUnavailableException + * @throws Exception\GetChannelPaymentRequiredException + * @throws Exception\GetChannelForbiddenException + * @throws Exception\GetChannelNotFoundException + * @throws Exception\GetChannelTooManyRequestsException + * @throws Exception\GetChannelInternalServerErrorException + * @throws Exception\GetChannelServiceUnavailableException */ - public function createSiteContent(string $siteId, string $contentType, Model\SiteContentRequest $requestBody, string $fetch = self::FETCH_OBJECT) + public function getChannel(string $channelGuid, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\CreateSiteContent($siteId, $contentType, $requestBody), $fetch); + return $this->executeEndpoint(new Endpoint\GetChannel($channelGuid), $fetch); } /** - * get sites overview (total button clicks and page views) for requested bitly page. - * - * @param array $queryParameters { - * - * @var array $site Filter by given Bitly Site guids - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } + * Updates an existing channel. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $channelGuid A GUID for a Bitly Channel + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\AggregateSitesOverviewGetResponse200|\Psr\Http\Message\ResponseInterface|null + * @return Model\Channel|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetAggregateSitesOverviewBadRequestException - * @throws Exception\GetAggregateSitesOverviewForbiddenException - * @throws Exception\GetAggregateSitesOverviewInternalServerErrorException - * @throws Exception\GetAggregateSitesOverviewServiceUnavailableException + * @throws Exception\UpdateChannelBadRequestException + * @throws Exception\UpdateChannelPaymentRequiredException + * @throws Exception\UpdateChannelForbiddenException + * @throws Exception\UpdateChannelNotFoundException + * @throws Exception\UpdateChannelUnprocessableEntityException + * @throws Exception\UpdateChannelTooManyRequestsException + * @throws Exception\UpdateChannelInternalServerErrorException + * @throws Exception\UpdateChannelServiceUnavailableException */ - public function getAggregateSitesOverview(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function updateChannel(string $channelGuid, Model\ChannelModify $requestBody, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetAggregateSitesOverview($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UpdateChannel($channelGuid, $requestBody), $fetch); } /** - * get site views over time for requested sites. - * - * @param array $queryParameters { - * - * @var array $site Filter by given Bitly Site guids - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } + * Retrieve the details for the provided OAuth App client ID. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $clientId The client ID of an OAuth app + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\AggregateClicksForBitlinks|\Psr\Http\Message\ResponseInterface|null + * @return Model\OAuthApp|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetAggregateSiteViewsOverTimeBadRequestException - * @throws Exception\GetAggregateSiteViewsOverTimeForbiddenException - * @throws Exception\GetAggregateSiteViewsOverTimeInternalServerErrorException - * @throws Exception\GetAggregateSiteViewsOverTimeServiceUnavailableException + * @throws Exception\GetOAuthAppForbiddenException + * @throws Exception\GetOAuthAppNotFoundException + * @throws Exception\GetOAuthAppInternalServerErrorException + * @throws Exception\GetOAuthAppServiceUnavailableException */ - public function getAggregateSiteViewsOverTime(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getOAuthApp(string $clientId, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetAggregateSiteViewsOverTime($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetOAuthApp($clientId), $fetch); } /** - * get site views by device for requested sites. - * - * @param array $queryParameters { - * - * @var array $site Filter by given Bitly Site guids - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } - * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\AggregateClicksForBitlinksByFacet|\Psr\Http\Message\ResponseInterface|null + * @return Model\BSDsResponse|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetAggregateSiteViewsByDeviceBadRequestException - * @throws Exception\GetAggregateSiteViewsByDeviceForbiddenException - * @throws Exception\GetAggregateSiteViewsByDeviceInternalServerErrorException - * @throws Exception\GetAggregateSiteViewsByDeviceServiceUnavailableException + * @throws Exception\GetBSDsBadRequestException + * @throws Exception\GetBSDsForbiddenException + * @throws Exception\GetBSDsInternalServerErrorException + * @throws Exception\GetBSDsServiceUnavailableException */ - public function getAggregateSiteViewsByDevice(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getBSDs(string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetAggregateSiteViewsByDevice($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetBSDs(), $fetch); } /** - * get site views by referrer for requested sites. - * - * @param array $queryParameters { - * - * @var array $site Filter by given Bitly Site guids - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } + * Fetch all webhooks available for an Organization. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $organizationGuid A GUID for a Bitly organization + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\AggregateClicksForBitlinksByFacet|\Psr\Http\Message\ResponseInterface|null + * @return Model\Webhooks|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetAggregateSiteViewsByReferrerBadRequestException - * @throws Exception\GetAggregateSiteViewsByReferrerForbiddenException - * @throws Exception\GetAggregateSiteViewsByReferrerInternalServerErrorException - * @throws Exception\GetAggregateSiteViewsByReferrerServiceUnavailableException + * @throws Exception\GetWebhooksPaymentRequiredException + * @throws Exception\GetWebhooksForbiddenException + * @throws Exception\GetWebhooksNotFoundException + * @throws Exception\GetWebhooksTooManyRequestsException + * @throws Exception\GetWebhooksInternalServerErrorException + * @throws Exception\GetWebhooksServiceUnavailableException */ - public function getAggregateSiteViewsByReferrer(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getWebhooks(string $organizationGuid, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetAggregateSiteViewsByReferrer($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetWebhooks($organizationGuid), $fetch); } /** - * get site views by country for requested sites. - * - * @param array $queryParameters { - * - * @var array $site Filter by given Bitly Site guids - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } + * Creates a webhook. * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\AggregateClicksForBitlinksByFacet|\Psr\Http\Message\ResponseInterface|null + * @return Model\Webhook|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetAggregateSiteViewsByCountryBadRequestException - * @throws Exception\GetAggregateSiteViewsByCountryForbiddenException - * @throws Exception\GetAggregateSiteViewsByCountryInternalServerErrorException - * @throws Exception\GetAggregateSiteViewsByCountryServiceUnavailableException + * @throws Exception\CreateWebhookBadRequestException + * @throws Exception\CreateWebhookPaymentRequiredException + * @throws Exception\CreateWebhookForbiddenException + * @throws Exception\CreateWebhookNotFoundException + * @throws Exception\CreateWebhookUnprocessableEntityException + * @throws Exception\CreateWebhookTooManyRequestsException + * @throws Exception\CreateWebhookInternalServerErrorException + * @throws Exception\CreateWebhookServiceUnavailableException */ - public function getAggregateSiteViewsByCountry(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function createWebhook(Model\WebhookCreate $requestBody, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetAggregateSiteViewsByCountry($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\CreateWebhook($requestBody), $fetch); } /** - * get site views by city for requested sites. - * - * @param array $queryParameters { - * - * @var array $site Filter by given Bitly Site guids - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } + * Deletes a webhook. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $webhookGuid A GUID for a Bitly webhook + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\AggregateClicksForBitlinksByCitiesFacet|\Psr\Http\Message\ResponseInterface|null + * @return \Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetAggregateSiteViewsByCityBadRequestException - * @throws Exception\GetAggregateSiteViewsByCityForbiddenException - * @throws Exception\GetAggregateSiteViewsByCityInternalServerErrorException - * @throws Exception\GetAggregateSiteViewsByCityServiceUnavailableException + * @throws Exception\DeleteWebhookBadRequestException + * @throws Exception\DeleteWebhookPaymentRequiredException + * @throws Exception\DeleteWebhookForbiddenException + * @throws Exception\DeleteWebhookNotFoundException + * @throws Exception\DeleteWebhookInternalServerErrorException + * @throws Exception\DeleteWebhookServiceUnavailableException */ - public function getAggregateSiteViewsByCity(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function deleteWebhook(string $webhookGuid, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetAggregateSiteViewsByCity($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\DeleteWebhook($webhookGuid), $fetch); } /** - * get page views over time for requested pages. - * - * @param array $queryParameters { - * - * @var array $launchpad Filter by given launchpad (Bitly Page) guids - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } + * Returns a webhook. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $webhookGuid A GUID for a Bitly webhook + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\AggregateClicksForBitlinks|\Psr\Http\Message\ResponseInterface|null + * @return Model\Webhook|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetAggregatePageViewsOverTimeBadRequestException - * @throws Exception\GetAggregatePageViewsOverTimeForbiddenException - * @throws Exception\GetAggregatePageViewsOverTimeInternalServerErrorException - * @throws Exception\GetAggregatePageViewsOverTimeServiceUnavailableException + * @throws Exception\GetWebhookBadRequestException + * @throws Exception\GetWebhookPaymentRequiredException + * @throws Exception\GetWebhookForbiddenException + * @throws Exception\GetWebhookNotFoundException + * @throws Exception\GetWebhookTooManyRequestsException + * @throws Exception\GetWebhookInternalServerErrorException + * @throws Exception\GetWebhookServiceUnavailableException */ - public function getAggregatePageViewsOverTime(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getWebhook(string $webhookGuid, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetAggregatePageViewsOverTime($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetWebhook($webhookGuid), $fetch); } /** - * get page views by device for requested pages. - * - * @param array $queryParameters { - * - * @var array $launchpad Filter by given launchpad (Bitly Page) guids - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } + * Update a webhook. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $webhookGuid A GUID for a Bitly webhook + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\AggregateClicksForBitlinksByFacet|\Psr\Http\Message\ResponseInterface|null + * @return Model\Webhook|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetAggregatePageViewsByDeviceBadRequestException - * @throws Exception\GetAggregatePageViewsByDeviceForbiddenException - * @throws Exception\GetAggregatePageViewsByDeviceInternalServerErrorException - * @throws Exception\GetAggregatePageViewsByDeviceServiceUnavailableException + * @throws Exception\UpdateWebhookBadRequestException + * @throws Exception\UpdateWebhookPaymentRequiredException + * @throws Exception\UpdateWebhookForbiddenException + * @throws Exception\UpdateWebhookNotFoundException + * @throws Exception\UpdateWebhookUnprocessableEntityException + * @throws Exception\UpdateWebhookTooManyRequestsException + * @throws Exception\UpdateWebhookInternalServerErrorException + * @throws Exception\UpdateWebhookServiceUnavailableException */ - public function getAggregatePageViewsByDevice(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function updateWebhook(string $webhookGuid, Model\WebhookUpdate $requestBody, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetAggregatePageViewsByDevice($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UpdateWebhook($webhookGuid, $requestBody), $fetch); } /** - * get page views by referrer for requested pages. - * - * @param array $queryParameters { - * - * @var array $launchpad Filter by given launchpad (Bitly Page) guids - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } + * Sends ping event to test webhook configuration. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $webhookGuid A GUID for a Bitly webhook + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\AggregateClicksForBitlinksByFacet|\Psr\Http\Message\ResponseInterface|null + * @return Model\Webhook|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetAggregatePageViewsByReferrerBadRequestException - * @throws Exception\GetAggregatePageViewsByReferrerForbiddenException - * @throws Exception\GetAggregatePageViewsByReferrerInternalServerErrorException - * @throws Exception\GetAggregatePageViewsByReferrerServiceUnavailableException + * @throws Exception\VerifyWebhookBadRequestException + * @throws Exception\VerifyWebhookPaymentRequiredException + * @throws Exception\VerifyWebhookForbiddenException + * @throws Exception\VerifyWebhookNotFoundException + * @throws Exception\VerifyWebhookInternalServerErrorException + * @throws Exception\VerifyWebhookServiceUnavailableException */ - public function getAggregatePageViewsByReferrer(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function verifyWebhook(string $webhookGuid, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetAggregatePageViewsByReferrer($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\VerifyWebhook($webhookGuid), $fetch); } /** - * get page views by country for requested pages. - * - * @param array $queryParameters { - * - * @var array $launchpad Filter by given launchpad (Bitly Page) guids - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } + * Returns all plan limits and counts available for an organization. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $organizationGuid A GUID for a Bitly organization + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\AggregateClicksForBitlinksByFacet|\Psr\Http\Message\ResponseInterface|null + * @return Model\PlanLimits|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetAggregatePageViewsByCountryBadRequestException - * @throws Exception\GetAggregatePageViewsByCountryForbiddenException - * @throws Exception\GetAggregatePageViewsByCountryInternalServerErrorException - * @throws Exception\GetAggregatePageViewsByCountryServiceUnavailableException + * @throws Exception\GetPlanLimitsForbiddenException + * @throws Exception\GetPlanLimitsInternalServerErrorException + * @throws Exception\GetPlanLimitsServiceUnavailableException */ - public function getAggregatePageViewsByCountry(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getPlanLimits(string $organizationGuid, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetAggregatePageViewsByCountry($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetPlanLimits($organizationGuid), $fetch); } /** - * get page views by city for requested pages. + * Fetch all platform limits and counts available for an organization. * * @param array $queryParameters { * - * @var array $launchpad Filter by given launchpad (Bitly Page) guids - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid + * @var string $path The specific path for which information is requested * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\AggregateClicksForBitlinksByCitiesFacet|\Psr\Http\Message\ResponseInterface|null + * @return Model\PlatformLimits|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetAggregatePageViewsByCityBadRequestException - * @throws Exception\GetAggregatePageViewsByCityForbiddenException - * @throws Exception\GetAggregatePageViewsByCityInternalServerErrorException - * @throws Exception\GetAggregatePageViewsByCityServiceUnavailableException + * @throws Exception\GetPlatformLimitsForbiddenException + * @throws Exception\GetPlatformLimitsNotFoundException + * @throws Exception\GetPlatformLimitsInternalServerErrorException + * @throws Exception\GetPlatformLimitsServiceUnavailableException */ - public function getAggregatePageViewsByCity(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getPlatformLimits(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetAggregatePageViewsByCity($queryParameters), $fetch); - } - - /** - * get button clicks over time for requested pages. - * - * @param array $queryParameters { - * - * @var array $launchpad Filter by given launchpad (Bitly Page) guids - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } + return $this->executeEndpoint(new Endpoint\GetPlatformLimits($queryParameters), $fetch); + } + + /** + * Create a new QR Code and return its metadata. * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\AggregateClicksForBitlinks|\Psr\Http\Message\ResponseInterface|null + * @return Model\QRCodeMinimal|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetAggregateButtonClicksOverTimeBadRequestException - * @throws Exception\GetAggregateButtonClicksOverTimeForbiddenException - * @throws Exception\GetAggregateButtonClicksOverTimeInternalServerErrorException - * @throws Exception\GetAggregateButtonClicksOverTimeServiceUnavailableException + * @throws Exception\CreateQRCodePublicBadRequestException + * @throws Exception\CreateQRCodePublicPaymentRequiredException + * @throws Exception\CreateQRCodePublicForbiddenException + * @throws Exception\CreateQRCodePublicNotFoundException + * @throws Exception\CreateQRCodePublicTooManyRequestsException + * @throws Exception\CreateQRCodePublicGoneException + * @throws Exception\CreateQRCodePublicInternalServerErrorException */ - public function getAggregateButtonClicksOverTime(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function createQRCodePublic(Model\PublicCreateQRCodeRequest $requestBody, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetAggregateButtonClicksOverTime($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\CreateQRCodePublic($requestBody), $fetch); } /** - * get button clicks by device for requested pages. + * Get the image of a given QR Code. The Accept header controls how this is returned (options are "application/json", "image/svg+xml", and "image/png"). + * If the Accept header is "application/json" the format query parameter will determine the image format inside of the json (which will be base64 encoded and prefixed with its mime type as would be suitable for a HTML image src tag). + * To Return the QR Code image itself, set the Accept header to "image/svg+xml" or "image/png", or remove the Accept header and set the format query parameter to “svg” or “png” (if no format is specified the default will be “svg”). * - * @param array $queryParameters { + * @param string $qrcodeId The QR Code ID + * @param array $queryParameters { * - * @var array $launchpad Filter by given launchpad (Bitly Page) guids - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid + * @var string $format The format type of the image. If there is an image format in the header it takes precedence. * } * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $headerParameters { + * + * @var string $Accept The file format for the QR code's image. If the accept header is application/json the image data will be wrapped in a json object, base64 encoded and prefixed with its mime type as would be suitable for a HTML image src tag. + * } + * + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/json|image/svg+xml|image/png * - * @return Model\AggregateClicksForBitlinksByFacet|\Psr\Http\Message\ResponseInterface|null + * @return Model\PublicQRCodeImageResponse|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetAggregateButtonClicksByDeviceBadRequestException - * @throws Exception\GetAggregateButtonClicksByDeviceForbiddenException - * @throws Exception\GetAggregateButtonClicksByDeviceInternalServerErrorException - * @throws Exception\GetAggregateButtonClicksByDeviceServiceUnavailableException + * @throws Exception\GetQRCodeImagePublicBadRequestException + * @throws Exception\GetQRCodeImagePublicForbiddenException + * @throws Exception\GetQRCodeImagePublicNotFoundException + * @throws Exception\GetQRCodeImagePublicGoneException + * @throws Exception\GetQRCodeImagePublicInternalServerErrorException */ - public function getAggregateButtonClicksByDevice(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getQRCodeImagePublic(string $qrcodeId, array $queryParameters = [], array $headerParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new Endpoint\GetAggregateButtonClicksByDevice($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetQRCodeImagePublic($qrcodeId, $queryParameters, $headerParameters, $accept), $fetch); } /** - * get button clicks by country for requested pages. - * - * @param array $queryParameters { - * - * @var array $launchpad Filter by given launchpad (Bitly Page) guids - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } + * Delete a QR Code that has not been redirected and is not for a custom link. Also deletes the associated link (if applicable). * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $qrcodeId The QR Code ID + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\AggregateClicksForBitlinksByFacet|\Psr\Http\Message\ResponseInterface|null + * @return Model\PublicDeleteQRCodeResponse|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetAggregateButtonClicksByCountryBadRequestException - * @throws Exception\GetAggregateButtonClicksByCountryForbiddenException - * @throws Exception\GetAggregateButtonClicksByCountryInternalServerErrorException - * @throws Exception\GetAggregateButtonClicksByCountryServiceUnavailableException + * @throws Exception\DeleteQRCodeBadRequestException + * @throws Exception\DeleteQRCodeForbiddenException + * @throws Exception\DeleteQRCodeNotFoundException + * @throws Exception\DeleteQRCodeGoneException + * @throws Exception\DeleteQRCodeTooManyRequestsException + * @throws Exception\DeleteQRCodeInternalServerErrorException */ - public function getAggregateButtonClicksByCountry(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function deleteQRCode(string $qrcodeId, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetAggregateButtonClicksByCountry($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\DeleteQRCode($qrcodeId), $fetch); } /** - * get button clicks by city for requested pages. - * - * @param array $queryParameters { - * - * @var array $launchpad Filter by given launchpad (Bitly Page) guids - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } + * Gets the QR code with a matching id. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $qrcodeId The QR Code ID + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\AggregateClicksForBitlinksByCitiesFacet|\Psr\Http\Message\ResponseInterface|null + * @return Model\QRCodeDetails|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetAggregateButtonClicksByCityBadRequestException - * @throws Exception\GetAggregateButtonClicksByCityForbiddenException - * @throws Exception\GetAggregateButtonClicksByCityInternalServerErrorException - * @throws Exception\GetAggregateButtonClicksByCityServiceUnavailableException + * @throws Exception\GetQRCodeByIdPublicBadRequestException + * @throws Exception\GetQRCodeByIdPublicForbiddenException + * @throws Exception\GetQRCodeByIdPublicNotFoundException + * @throws Exception\GetQRCodeByIdPublicGoneException + * @throws Exception\GetQRCodeByIdPublicInternalServerErrorException */ - public function getAggregateButtonClicksByCity(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getQRCodeByIdPublic(string $qrcodeId, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetAggregateButtonClicksByCity($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetQRCodeByIdPublic($qrcodeId), $fetch); } /** - * get top performing buttons by click for requested pages. - * - * @param array $queryParameters { - * - * @var array $launchpad Filter by given launchpad (Bitly Page) guids - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $brand_guid - * @var string $report_guid - * } + * Updates the QR code with a matching id and returns it. * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $qrcodeId The QR code ID + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\SortedButtons|\Psr\Http\Message\ResponseInterface|null + * @return Model\QRCodeMinimal|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetAggregateTopButtonClicksBadRequestException - * @throws Exception\GetAggregateTopButtonClicksForbiddenException - * @throws Exception\GetAggregateTopButtonClicksInternalServerErrorException - * @throws Exception\GetAggregateTopButtonClicksServiceUnavailableException + * @throws Exception\UpdateQRCodePublicBadRequestException + * @throws Exception\UpdateQRCodePublicForbiddenException + * @throws Exception\UpdateQRCodePublicNotFoundException + * @throws Exception\UpdateQRCodePublicGoneException + * @throws Exception\UpdateQRCodePublicInternalServerErrorException */ - public function getAggregateTopButtonClicks(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function updateQRCodePublic(string $qrcodeId, Model\PublicUpdateQRCodeRequest $requestBody, string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetAggregateTopButtonClicks($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\UpdateQRCodePublic($qrcodeId, $requestBody), $fetch); } /** - * get digital business card downloads over time for requested pages. + * Retrieves a list of QR codes matching the filter settings. Values are in reverse chronological order. + * The pagination occurs by calling the next link in the pagination response object. * - * @param array $queryParameters { + * @param string $groupGuid A GUID for a Bitly group + * @param array $queryParameters { * - * @var array $launchpad Filter by given launchpad (Bitly Page) guids - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid + * @var string $has_render_customizations Whether or not QRCode has any render customizations (like color or shape changes) + * @var int $size The quantity of items to be be returned + * @var string $search_after token used to search next batch of qr codes, only use response from API as input value + * @var string $query The value that you would like to search + * @var string $hostname_path_query The hostname and/or path you would like to search (case-insensitive). Subdomains included; query params and fragment ignored. + * @var int $created_before Timestamp as an integer unix epoch (seconds only) + * @var int $created_after Timestamp as an integer unix epoch (seconds only) + * @var string $archived Whether or not to include archived resources + * @var array $creating_login Filter by the login of the authenticated user that created the QR Code + * @var array $qrc_type + * @var string $is_gs1 a filter value if the resource is a GS1 QR code * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\AggregateClicksForBitlinks|\Psr\Http\Message\ResponseInterface|null + * @return Model\QRCodesMinimal|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetAggregateDigitalBusinessCardDownloadsOverTimeBadRequestException - * @throws Exception\GetAggregateDigitalBusinessCardDownloadsOverTimeForbiddenException - * @throws Exception\GetAggregateDigitalBusinessCardDownloadsOverTimeInternalServerErrorException - * @throws Exception\GetAggregateDigitalBusinessCardDownloadsOverTimeServiceUnavailableException + * @throws Exception\ListQRMinimalForbiddenException + * @throws Exception\ListQRMinimalTooManyRequestsException + * @throws Exception\ListQRMinimalInternalServerErrorException */ - public function getAggregateDigitalBusinessCardDownloadsOverTime(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function listQRMinimal(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetAggregateDigitalBusinessCardDownloadsOverTime($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\ListQRMinimal($groupGuid, $queryParameters), $fetch); } /** - * get button clicks over time for requested pages. + * Returns an array of scan counts for the specified QR code. The array is comprised of scan counts for each time window, where the window is based on the provided unit. * - * @param array $queryParameters { + * @param string $qrcodeId The QR Code ID + * @param array $queryParameters { * - * @var array $site Filter by given Bitly Site guids * @var string $unit A unit of time * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\AggregateClicksForBitlinks|\Psr\Http\Message\ResponseInterface|null + * @return Model\BitlinkScans|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetSiteClicksOverTimeBadRequestException - * @throws Exception\GetSiteClicksOverTimeForbiddenException - * @throws Exception\GetSiteClicksOverTimeInternalServerErrorException - * @throws Exception\GetSiteClicksOverTimeServiceUnavailableException + * @throws Exception\GetScanMetricsForQRCodeBadRequestException + * @throws Exception\GetScanMetricsForQRCodeForbiddenException + * @throws Exception\GetScanMetricsForQRCodeNotFoundException + * @throws Exception\GetScanMetricsForQRCodeGoneException + * @throws Exception\GetScanMetricsForQRCodeInternalServerErrorException + * @throws Exception\GetScanMetricsForQRCodeServiceUnavailableException */ - public function getSiteClicksOverTime(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getScanMetricsForQRCode(string $qrcodeId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetSiteClicksOverTime($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetScanMetricsForQRCode($qrcodeId, $queryParameters), $fetch); } /** - * get button clicks by device for requested pages. + * Returns the scan counts for a QR Code rolled up into a single field for a specified time window, where the window is based on the provided unit. * - * @param array $queryParameters { + * @param string $qrcodeId The QR Code ID + * @param array $queryParameters { * - * @var array $site Filter by given Bitly Site guids * @var string $unit A unit of time * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\AggregateClicksForBitlinksByFacet|\Psr\Http\Message\ResponseInterface|null + * @return Model\BitlinkScansSummary|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetSiteClicksByCitiesBadRequestException - * @throws Exception\GetSiteClicksByCitiesForbiddenException - * @throws Exception\GetSiteClicksByCitiesInternalServerErrorException - * @throws Exception\GetSiteClicksByCitiesServiceUnavailableException + * @throws Exception\GetScanMetricsSummaryForQRCodeBadRequestException + * @throws Exception\GetScanMetricsSummaryForQRCodeForbiddenException + * @throws Exception\GetScanMetricsSummaryForQRCodeNotFoundException + * @throws Exception\GetScanMetricsSummaryForQRCodeGoneException + * @throws Exception\GetScanMetricsSummaryForQRCodeInternalServerErrorException + * @throws Exception\GetScanMetricsSummaryForQRCodeServiceUnavailableException */ - public function getSiteClicksByCities(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getScanMetricsSummaryForQRCode(string $qrcodeId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetSiteClicksByCities($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetScanMetricsSummaryForQRCode($qrcodeId, $queryParameters), $fetch); } /** - * get top performing buttons by click for requested pages. + * Returns the country origins of scan traffic for the specified QR Code. * - * @param array $queryParameters { + * @param string $qrcodeId The QR Code ID + * @param array $queryParameters { * - * @var array $site Filter by given Bitly Site guids * @var string $unit A unit of time * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time + * @var int $size The quantity of items to be be returned * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $brand_guid - * @var string $report_guid * } * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/json|text/csv * - * @return Model\SortedButtons|\Psr\Http\Message\ResponseInterface|null + * @return Model\ScanMetrics|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetSiteFilteredTopPageButtonsBadRequestException - * @throws Exception\GetSiteFilteredTopPageButtonsForbiddenException - * @throws Exception\GetSiteFilteredTopPageButtonsInternalServerErrorException - * @throws Exception\GetSiteFilteredTopPageButtonsServiceUnavailableException + * @throws Exception\GetScanMetricsForQRCodeByCountriesBadRequestException + * @throws Exception\GetScanMetricsForQRCodeByCountriesForbiddenException + * @throws Exception\GetScanMetricsForQRCodeByCountriesNotFoundException + * @throws Exception\GetScanMetricsForQRCodeByCountriesGoneException + * @throws Exception\GetScanMetricsForQRCodeByCountriesInternalServerErrorException + * @throws Exception\GetScanMetricsForQRCodeByCountriesServiceUnavailableException */ - public function getSiteFilteredTopPageButtons(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getScanMetricsForQRCodeByCountries(string $qrcodeId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new Endpoint\GetSiteFilteredTopPageButtons($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetScanMetricsForQRCodeByCountries($qrcodeId, $queryParameters, $accept), $fetch); } /** - * get button clicks by country for requested pages. + * Returns the city origins of scan traffic for the specified QR Code. * - * @param array $queryParameters { + * @param string $qrcodeId The QR Code ID + * @param array $queryParameters { * - * @var array $site Filter by given Bitly Site guids * @var string $unit A unit of time * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time + * @var int $size The quantity of items to be be returned * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid * } * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/json|text/csv * - * @return Model\AggregateClicksForBitlinksByFacet|\Psr\Http\Message\ResponseInterface|null + * @return Model\CityScanMetrics|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetSiteClicksByCountriesBadRequestException - * @throws Exception\GetSiteClicksByCountriesForbiddenException - * @throws Exception\GetSiteClicksByCountriesInternalServerErrorException - * @throws Exception\GetSiteClicksByCountriesServiceUnavailableException + * @throws Exception\GetScanMetricsForQRCodeByCitiesBadRequestException + * @throws Exception\GetScanMetricsForQRCodeByCitiesPaymentRequiredException + * @throws Exception\GetScanMetricsForQRCodeByCitiesForbiddenException + * @throws Exception\GetScanMetricsForQRCodeByCitiesNotFoundException + * @throws Exception\GetScanMetricsForQRCodeByCitiesGoneException + * @throws Exception\GetScanMetricsForQRCodeByCitiesInternalServerErrorException + * @throws Exception\GetScanMetricsForQRCodeByCitiesServiceUnavailableException */ - public function getSiteClicksByCountries(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getScanMetricsForQRCodeByCities(string $qrcodeId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new Endpoint\GetSiteClicksByCountries($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetScanMetricsForQRCodeByCities($qrcodeId, $queryParameters, $accept), $fetch); } /** - * get button clicks by city for requested pages. + * Returns the device os generating scan traffic for the specified QR Code. * - * @param array $queryParameters { + * @param string $qrcodeId The QR Code ID + * @param array $queryParameters { * - * @var array $site Filter by given Bitly Site guids * @var string $unit A unit of time * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time + * @var int $size The quantity of items to be be returned * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid * } * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/json|text/csv * - * @return Model\AggregateClicksForBitlinksByCitiesFacet|\Psr\Http\Message\ResponseInterface|null + * @return Model\ScanMetrics|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetSiteClicksByDevicesBadRequestException - * @throws Exception\GetSiteClicksByDevicesForbiddenException - * @throws Exception\GetSiteClicksByDevicesInternalServerErrorException - * @throws Exception\GetSiteClicksByDevicesServiceUnavailableException + * @throws Exception\GetScanMetricsForQRCodeByDevicesOSBadRequestException + * @throws Exception\GetScanMetricsForQRCodeByDevicesOSPaymentRequiredException + * @throws Exception\GetScanMetricsForQRCodeByDevicesOSForbiddenException + * @throws Exception\GetScanMetricsForQRCodeByDevicesOSNotFoundException + * @throws Exception\GetScanMetricsForQRCodeByDevicesOSGoneException + * @throws Exception\GetScanMetricsForQRCodeByDevicesOSInternalServerErrorException + * @throws Exception\GetScanMetricsForQRCodeByDevicesOSServiceUnavailableException */ - public function getSiteClicksByDevices(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getScanMetricsForQRCodeByDevicesOS(string $qrcodeId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new Endpoint\GetSiteClicksByDevices($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetScanMetricsForQRCodeByDevicesOS($qrcodeId, $queryParameters, $accept), $fetch); } /** - * get button clicks over time for requested pages. + * Returns the browsers generating scan traffic to the specified QR Code. * - * @param array $queryParameters { + * @param string $qrcodeId The QR Code ID + * @param array $queryParameters { * - * @var array $site Filter by given Bitly Site guids * @var string $unit A unit of time * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time + * @var int $size The quantity of items to be be returned * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid * } * - * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) + * @param array $accept Accept content header application/json|text/csv * - * @return Model\AggregateClicksForBitlinks|\Psr\Http\Message\ResponseInterface|null + * @return Model\ScanMetrics|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetLaunchpadDigitalBusinessCardDownloadsOverTimeBadRequestException - * @throws Exception\GetLaunchpadDigitalBusinessCardDownloadsOverTimeForbiddenException - * @throws Exception\GetLaunchpadDigitalBusinessCardDownloadsOverTimeInternalServerErrorException - * @throws Exception\GetLaunchpadDigitalBusinessCardDownloadsOverTimeServiceUnavailableException + * @throws Exception\GetScanMetricsForQRCodeByBrowserBadRequestException + * @throws Exception\GetScanMetricsForQRCodeByBrowserPaymentRequiredException + * @throws Exception\GetScanMetricsForQRCodeByBrowserForbiddenException + * @throws Exception\GetScanMetricsForQRCodeByBrowserNotFoundException + * @throws Exception\GetScanMetricsForQRCodeByBrowserGoneException + * @throws Exception\GetScanMetricsForQRCodeByBrowserInternalServerErrorException + * @throws Exception\GetScanMetricsForQRCodeByBrowserServiceUnavailableException */ - public function getLaunchpadDigitalBusinessCardDownloadsOverTime(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getScanMetricsForQRCodeByBrowser(string $qrcodeId, array $queryParameters = [], string $fetch = self::FETCH_OBJECT, array $accept = []) { - return $this->executeEndpoint(new Endpoint\GetLaunchpadDigitalBusinessCardDownloadsOverTime($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetScanMetricsForQRCodeByBrowser($qrcodeId, $queryParameters, $accept), $fetch); } /** - * get pages overview (total button clicks and page views) for requested pages. + * Get a group's current feature limit usage, optionally provide limit name(s) for usage on specific limit(s). * - * @param array $queryParameters { + * @param string $groupGuid A GUID for a Bitly group + * @param array $queryParameters { * - * @var array $launchpad Filter by given launchpad (Bitly Page) guids - * @var string $unit A unit of time - * @var int $units An integer representing the time units to query data for. pass -1 to return all units of time - * @var string $unit_reference An ISO-8601 timestamp, indicating the most recent time for which to pull metrics. Will default to current time. Timestamp values should be url encoded (i.e. replace '+' with '%2B' and ':' with '%3A'; 2022-02-02T15:53:02+0000 becomes 2022-02-02T15%3A53%3A02%2B0000) - * @var string $report_guid - * } + * @var array $name The limit name you would like usage for + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return Model\AggregateLaunchpadsOverviewGetResponse200|\Psr\Http\Message\ResponseInterface|null + * @return Model\GroupFeatureUsage|\Psr\Http\Message\ResponseInterface|null * - * @throws Exception\GetAggregatePagesOverviewBadRequestException - * @throws Exception\GetAggregatePagesOverviewForbiddenException - * @throws Exception\GetAggregatePagesOverviewInternalServerErrorException - * @throws Exception\GetAggregatePagesOverviewServiceUnavailableException + * @throws Exception\GetGroupFeatureUsageBadRequestException + * @throws Exception\GetGroupFeatureUsageForbiddenException + * @throws Exception\GetGroupFeatureUsageTooManyRequestsException + * @throws Exception\GetGroupFeatureUsageInternalServerErrorException */ - public function getAggregatePagesOverview(array $queryParameters = [], string $fetch = self::FETCH_OBJECT) + public function getGroupFeatureUsage(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetAggregatePagesOverview($queryParameters), $fetch); + return $this->executeEndpoint(new Endpoint\GetGroupFeatureUsage($groupGuid, $queryParameters), $fetch); } /** - * Provides a way to do dynamic translation at runtime. + * Get a group's historical usage for specific limit(s) and date range. Refer to GET /v4/groups/{group_guid}/feature_usage endpoint response for available limit names. + * + * @param string $groupGuid A GUID for a Bitly group + * @param array $queryParameters { + * + * @var array $name The limit name you would like usage for + * @var string $start_date The start date for the date range + * @var string $end_date The end date for the date range + * @var string $unit A unit of time (day, week, or month) + * } * * @param string $fetch Fetch mode to use (can be OBJECT or RESPONSE) * - * @return \Psr\Http\Message\ResponseInterface|null + * @return Model\GroupHistoricalUsage|\Psr\Http\Message\ResponseInterface|null + * + * @throws Exception\GetGroupHistoricalUsageBadRequestException + * @throws Exception\GetGroupHistoricalUsageForbiddenException + * @throws Exception\GetGroupHistoricalUsageTooManyRequestsException + * @throws Exception\GetGroupHistoricalUsageInternalServerErrorException */ - public function getDynamicTranslation(Model\TranslationRequest $requestBody, string $fetch = self::FETCH_OBJECT) + public function getGroupHistoricalUsage(string $groupGuid, array $queryParameters = [], string $fetch = self::FETCH_OBJECT) { - return $this->executeEndpoint(new Endpoint\GetDynamicTranslation($requestBody), $fetch); + return $this->executeEndpoint(new Endpoint\GetGroupHistoricalUsage($groupGuid, $queryParameters), $fetch); } public static function create($httpClient = null, array $additionalPlugins = [], array $additionalNormalizers = []) diff --git a/lib/Endpoint/AddEmailToUser.php b/lib/Endpoint/AddEmailToUser.php deleted file mode 100644 index 667ecca..0000000 --- a/lib/Endpoint/AddEmailToUser.php +++ /dev/null @@ -1,86 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/emails'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\EmailBody) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\EmailBody|null - * - * @throws \Bitly\Exception\AddEmailToUserBadRequestException - * @throws \Bitly\Exception\AddEmailToUserForbiddenException - * @throws \Bitly\Exception\AddEmailToUserNotFoundException - * @throws \Bitly\Exception\AddEmailToUserUnprocessableEntityException - * @throws \Bitly\Exception\AddEmailToUserInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\EmailBody', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\AddEmailToUserBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\AddEmailToUserForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\AddEmailToUserNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\AddEmailToUserUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\AddEmailToUserInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/AddUserWithRole.php b/lib/Endpoint/AddUserWithRole.php deleted file mode 100644 index 475ec50..0000000 --- a/lib/Endpoint/AddUserWithRole.php +++ /dev/null @@ -1,89 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/roles'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\UserRole) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\UserInternal|null - * - * @throws \Bitly\Exception\AddUserWithRoleBadRequestException - * @throws \Bitly\Exception\AddUserWithRoleForbiddenException - * @throws \Bitly\Exception\AddUserWithRoleUnprocessableEntityException - * @throws \Bitly\Exception\AddUserWithRoleInternalServerErrorException - * @throws \Bitly\Exception\AddUserWithRoleServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\UserInternal', 'json'); - } - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\AddUserWithRoleBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\AddUserWithRoleForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\AddUserWithRoleUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\AddUserWithRoleInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\AddUserWithRoleServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/AiDomainSearch.php b/lib/Endpoint/AiDomainSearch.php deleted file mode 100644 index 230cf7a..0000000 --- a/lib/Endpoint/AiDomainSearch.php +++ /dev/null @@ -1,95 +0,0 @@ -body = $requestBody; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/bsds/ai_search'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\BSDAISearchPrompt) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['limit']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('limit', ['int']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\BSDSearchResults|null - * - * @throws \Bitly\Exception\AiDomainSearchBadRequestException - * @throws \Bitly\Exception\AiDomainSearchForbiddenException - * @throws \Bitly\Exception\AiDomainSearchInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BSDSearchResults', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\AiDomainSearchBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\AiDomainSearchForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\AiDomainSearchInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/AnnualRenewalReminder.php b/lib/Endpoint/AnnualRenewalReminder.php deleted file mode 100644 index ede0235..0000000 --- a/lib/Endpoint/AnnualRenewalReminder.php +++ /dev/null @@ -1,82 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/annual_renewal_reminder'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\AnnualRenewalReminderRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\AnnualRenewalReminderBadRequestException - * @throws \Bitly\Exception\AnnualRenewalReminderUnprocessableEntityException - * @throws \Bitly\Exception\AnnualRenewalReminderInternalServerErrorException - * @throws \Bitly\Exception\AnnualRenewalReminderServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\AnnualRenewalReminderBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\AnnualRenewalReminderUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\AnnualRenewalReminderInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\AnnualRenewalReminderServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/ApplyDiscount.php b/lib/Endpoint/ApplyDiscount.php deleted file mode 100644 index fb92296..0000000 --- a/lib/Endpoint/ApplyDiscount.php +++ /dev/null @@ -1,94 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/apply_discount'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\ApplyDiscount) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\ApplyDiscountBadRequestException - * @throws \Bitly\Exception\ApplyDiscountForbiddenException - * @throws \Bitly\Exception\ApplyDiscountNotFoundException - * @throws \Bitly\Exception\ApplyDiscountUnprocessableEntityException - * @throws \Bitly\Exception\ApplyDiscountInternalServerErrorException - * @throws \Bitly\Exception\ApplyDiscountServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ApplyDiscountBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ApplyDiscountForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ApplyDiscountNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ApplyDiscountUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ApplyDiscountInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ApplyDiscountServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/ApplyStripeDiscount.php b/lib/Endpoint/ApplyStripeDiscount.php deleted file mode 100644 index 4d8a796..0000000 --- a/lib/Endpoint/ApplyStripeDiscount.php +++ /dev/null @@ -1,94 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/private/stripe/organizations/{organization_guid}/apply_discount'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\ApplyDiscount) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\ApplyStripeDiscountBadRequestException - * @throws \Bitly\Exception\ApplyStripeDiscountForbiddenException - * @throws \Bitly\Exception\ApplyStripeDiscountNotFoundException - * @throws \Bitly\Exception\ApplyStripeDiscountUnprocessableEntityException - * @throws \Bitly\Exception\ApplyStripeDiscountInternalServerErrorException - * @throws \Bitly\Exception\ApplyStripeDiscountServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ApplyStripeDiscountBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ApplyStripeDiscountForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ApplyStripeDiscountNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ApplyStripeDiscountUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ApplyStripeDiscountInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ApplyStripeDiscountServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/ApplyTemplate.php b/lib/Endpoint/ApplyTemplate.php deleted file mode 100644 index 67875e2..0000000 --- a/lib/Endpoint/ApplyTemplate.php +++ /dev/null @@ -1,90 +0,0 @@ -site_id = $siteId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}/template'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\ApplyTemplateRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\ApplyTemplateForbiddenException - * @throws \Bitly\Exception\ApplyTemplateNotFoundException - * @throws \Bitly\Exception\ApplyTemplateUnprocessableEntityException - * @throws \Bitly\Exception\ApplyTemplateInternalServerErrorException - * @throws \Bitly\Exception\ApplyTemplateServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return json_decode($body); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ApplyTemplateForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ApplyTemplateNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ApplyTemplateUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ApplyTemplateInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ApplyTemplateServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/BulkAdd.php b/lib/Endpoint/BulkAdd.php deleted file mode 100644 index 12c3685..0000000 --- a/lib/Endpoint/BulkAdd.php +++ /dev/null @@ -1,93 +0,0 @@ -campaign_guid = $campaignGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{campaign_guid}'], [$this->campaign_guid], '/campaigns/{campaign_guid}/addURLs'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\CampaignsCampaignGuidAddURLsPostBody) { - $bodyBuilder = new \Http\Message\MultipartStream\MultipartStreamBuilder($streamFactory); - $formParameters = $serializer->normalize($this->body, 'json'); - foreach ($formParameters as $key => $value) { - $value = is_int($value) ? (string) $value : $value; - $bodyBuilder->addResource($key, $value); - } - - return [['Content-Type' => ['multipart/form-data; boundary="' . ($bodyBuilder->getBoundary() . '"')]], $bodyBuilder->build()]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\BulkAddResponse|null - * - * @throws \Bitly\Exception\BulkAddBadRequestException - * @throws \Bitly\Exception\BulkAddForbiddenException - * @throws \Bitly\Exception\BulkAddNotFoundException - * @throws \Bitly\Exception\BulkAddInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BulkAddResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\BulkAddBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\BulkAddForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\BulkAddNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\BulkAddInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CampaignAddBitlink.php b/lib/Endpoint/CampaignAddBitlink.php deleted file mode 100644 index 0e9e7d5..0000000 --- a/lib/Endpoint/CampaignAddBitlink.php +++ /dev/null @@ -1,98 +0,0 @@ -campaign_guid = $campaignGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{campaign_guid}'], [$this->campaign_guid], '/campaigns/{campaign_guid}/addURL'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\CampaignAddBitlink) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\CampaignAddBitlinkResponse|null - * - * @throws \Bitly\Exception\CampaignAddBitlinkBadRequestException - * @throws \Bitly\Exception\CampaignAddBitlinkPaymentRequiredException - * @throws \Bitly\Exception\CampaignAddBitlinkForbiddenException - * @throws \Bitly\Exception\CampaignAddBitlinkNotFoundException - * @throws \Bitly\Exception\CampaignAddBitlinkUnprocessableEntityException - * @throws \Bitly\Exception\CampaignAddBitlinkInternalServerErrorException - * @throws \Bitly\Exception\CampaignAddBitlinkServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\CampaignAddBitlinkResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CampaignAddBitlinkBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CampaignAddBitlinkPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CampaignAddBitlinkForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CampaignAddBitlinkNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CampaignAddBitlinkUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CampaignAddBitlinkInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CampaignAddBitlinkServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CancelPendingDowngrade.php b/lib/Endpoint/CancelPendingDowngrade.php deleted file mode 100644 index c5977df..0000000 --- a/lib/Endpoint/CancelPendingDowngrade.php +++ /dev/null @@ -1,77 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/cancel_pending_downgrade'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\CancelPendingDowngradeNotFoundException - * @throws \Bitly\Exception\CancelPendingDowngradeForbiddenException - * @throws \Bitly\Exception\CancelPendingDowngradeInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CancelPendingDowngradeNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CancelPendingDowngradeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CancelPendingDowngradeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CancelPendingDowngradeStripe.php b/lib/Endpoint/CancelPendingDowngradeStripe.php deleted file mode 100644 index 5107fc7..0000000 --- a/lib/Endpoint/CancelPendingDowngradeStripe.php +++ /dev/null @@ -1,77 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/private/stripe/organizations/{organization_guid}/subscriptions/cancel_downgrade'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\CancelPendingDowngradeStripeNotFoundException - * @throws \Bitly\Exception\CancelPendingDowngradeStripeForbiddenException - * @throws \Bitly\Exception\CancelPendingDowngradeStripeInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CancelPendingDowngradeStripeNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CancelPendingDowngradeStripeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CancelPendingDowngradeStripeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CaptureEvent.php b/lib/Endpoint/CaptureEvent.php deleted file mode 100644 index ef9589a..0000000 --- a/lib/Endpoint/CaptureEvent.php +++ /dev/null @@ -1,74 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/events'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\Event) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\CaptureEventForbiddenException - * @throws \Bitly\Exception\CaptureEventInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (201 === $status) { - return null; - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CaptureEventForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CaptureEventInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/ChangeUserPassword.php b/lib/Endpoint/ChangeUserPassword.php deleted file mode 100644 index cdf257b..0000000 --- a/lib/Endpoint/ChangeUserPassword.php +++ /dev/null @@ -1,86 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'PUT'; - } - - public function getUri(): string - { - return '/user/password'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\UserPasswordChange) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\ChangeUserPasswordBadRequestException - * @throws \Bitly\Exception\ChangeUserPasswordForbiddenException - * @throws \Bitly\Exception\ChangeUserPasswordNotFoundException - * @throws \Bitly\Exception\ChangeUserPasswordUnprocessableEntityException - * @throws \Bitly\Exception\ChangeUserPasswordInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ChangeUserPasswordBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ChangeUserPasswordForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ChangeUserPasswordNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ChangeUserPasswordUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ChangeUserPasswordInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CheckDomainDNS.php b/lib/Endpoint/CheckDomainDNS.php deleted file mode 100644 index 8ac2285..0000000 --- a/lib/Endpoint/CheckDomainDNS.php +++ /dev/null @@ -1,69 +0,0 @@ -domain = $domain; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{domain}'], [$this->domain], '/domains/{domain}/check_dns'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\DomainDNS|null - * - * @throws \Bitly\Exception\CheckDomainDNSInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DomainDNS', 'json'); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CheckDomainDNSInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CheckShareableReport.php b/lib/Endpoint/CheckShareableReport.php deleted file mode 100644 index e2536a3..0000000 --- a/lib/Endpoint/CheckShareableReport.php +++ /dev/null @@ -1,98 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/shareable_reports'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['shareable_report']); - $optionsResolver->setRequired(['shareable_report']); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('shareable_report', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ShareableReport|null - * - * @throws \Bitly\Exception\CheckShareableReportBadRequestException - * @throws \Bitly\Exception\CheckShareableReportForbiddenException - * @throws \Bitly\Exception\CheckShareableReportNotFoundException - * @throws \Bitly\Exception\CheckShareableReportInternalServerErrorException - * @throws \Bitly\Exception\CheckShareableReportServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ShareableReport', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CheckShareableReportBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CheckShareableReportForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CheckShareableReportNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CheckShareableReportInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CheckShareableReportServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CloneSite.php b/lib/Endpoint/CloneSite.php deleted file mode 100644 index c2d4782..0000000 --- a/lib/Endpoint/CloneSite.php +++ /dev/null @@ -1,88 +0,0 @@ -site_id = $siteId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}/clone'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\SiteCloneRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\CloneSiteBadRequestException - * @throws \Bitly\Exception\CloneSitePaymentRequiredException - * @throws \Bitly\Exception\CloneSiteForbiddenException - * @throws \Bitly\Exception\CloneSiteInternalServerErrorException - * @throws \Bitly\Exception\CloneSiteServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return json_decode($body); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CloneSiteBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CloneSitePaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CloneSiteForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CloneSiteInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CloneSiteServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateAnalyticsModule.php b/lib/Endpoint/CreateAnalyticsModule.php deleted file mode 100644 index 49c7ef1..0000000 --- a/lib/Endpoint/CreateAnalyticsModule.php +++ /dev/null @@ -1,90 +0,0 @@ -group_guid = $groupGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/analytics/groups/{group_guid}/modules'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\CreateAnalyticsModule) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\Module|null - * - * @throws \Bitly\Exception\CreateAnalyticsModuleBadRequestException - * @throws \Bitly\Exception\CreateAnalyticsModuleForbiddenException - * @throws \Bitly\Exception\CreateAnalyticsModuleNotFoundException - * @throws \Bitly\Exception\CreateAnalyticsModuleInternalServerErrorException - * @throws \Bitly\Exception\CreateAnalyticsModuleServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Module', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateAnalyticsModuleBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateAnalyticsModuleForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateAnalyticsModuleNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateAnalyticsModuleInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateAnalyticsModuleServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateAnalyticsReport.php b/lib/Endpoint/CreateAnalyticsReport.php deleted file mode 100644 index e87154c..0000000 --- a/lib/Endpoint/CreateAnalyticsReport.php +++ /dev/null @@ -1,90 +0,0 @@ -group_guid = $groupGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/analytics/groups/{group_guid}/reports'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\CreateAnalyticsReport) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\AnalyticsReport|null - * - * @throws \Bitly\Exception\CreateAnalyticsReportBadRequestException - * @throws \Bitly\Exception\CreateAnalyticsReportForbiddenException - * @throws \Bitly\Exception\CreateAnalyticsReportNotFoundException - * @throws \Bitly\Exception\CreateAnalyticsReportInternalServerErrorException - * @throws \Bitly\Exception\CreateAnalyticsReportServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AnalyticsReport', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateAnalyticsReportBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateAnalyticsReportForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateAnalyticsReportNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateAnalyticsReportInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateAnalyticsReportServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateCampaignChannel.php b/lib/Endpoint/CreateCampaignChannel.php deleted file mode 100644 index 74f147b..0000000 --- a/lib/Endpoint/CreateCampaignChannel.php +++ /dev/null @@ -1,83 +0,0 @@ -group_guid = $groupGuid; - $this->campaign_guid = $campaignGuid; - $this->channel_guid = $channelGuid; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}', '{campaign_guid}', '{channel_guid}'], [$this->group_guid, $this->campaign_guid, $this->channel_guid], '/private/groups/{group_guid}/campaigns/{campaign_guid}/channels/{channel_guid}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\CreateCampaignChannelBadRequestException - * @throws \Bitly\Exception\CreateCampaignChannelUnprocessableEntityException - * @throws \Bitly\Exception\CreateCampaignChannelInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateCampaignChannelBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateCampaignChannelUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateCampaignChannelInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateChannelBitlink.php b/lib/Endpoint/CreateChannelBitlink.php deleted file mode 100644 index bf93e74..0000000 --- a/lib/Endpoint/CreateChannelBitlink.php +++ /dev/null @@ -1,86 +0,0 @@ -group_guid = $groupGuid; - $this->campaign_guid = $campaignGuid; - $this->channel_guid = $channelGuid; - $this->bitlink = $bitlink; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}', '{campaign_guid}', '{channel_guid}', '{bitlink}'], [$this->group_guid, $this->campaign_guid, $this->channel_guid, $this->bitlink], '/private/groups/{group_guid}/campaigns/{campaign_guid}/channels/{channel_guid}/bitlinks/{bitlink}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\CreateChannelBitlinkBadRequestException - * @throws \Bitly\Exception\CreateChannelBitlinkUnprocessableEntityException - * @throws \Bitly\Exception\CreateChannelBitlinkInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateChannelBitlinkBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateChannelBitlinkUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateChannelBitlinkInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateContainer.php b/lib/Endpoint/CreateContainer.php deleted file mode 100644 index ad37606..0000000 --- a/lib/Endpoint/CreateContainer.php +++ /dev/null @@ -1,94 +0,0 @@ -site_id = $siteId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}/containers'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\SiteBlockContainerRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\SiteBlock|null - * - * @throws \Bitly\Exception\CreateContainerBadRequestException - * @throws \Bitly\Exception\CreateContainerForbiddenException - * @throws \Bitly\Exception\CreateContainerNotFoundException - * @throws \Bitly\Exception\CreateContainerUnprocessableEntityException - * @throws \Bitly\Exception\CreateContainerInternalServerErrorException - * @throws \Bitly\Exception\CreateContainerServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SiteBlock', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateContainerBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateContainerForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateContainerNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateContainerUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateContainerInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateContainerServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateCustomer.php b/lib/Endpoint/CreateCustomer.php deleted file mode 100644 index 524c122..0000000 --- a/lib/Endpoint/CreateCustomer.php +++ /dev/null @@ -1,82 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/private/stripe/customer'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\CreateCustomerBody) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\CreateCustomerResponse|null - * - * @throws \Bitly\Exception\CreateCustomerBadRequestException - * @throws \Bitly\Exception\CreateCustomerForbiddenException - * @throws \Bitly\Exception\CreateCustomerUnprocessableEntityException - * @throws \Bitly\Exception\CreateCustomerInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\CreateCustomerResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateCustomerBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateCustomerForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateCustomerUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateCustomerInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateDeeplinkApp.php b/lib/Endpoint/CreateDeeplinkApp.php deleted file mode 100644 index 85ccefa..0000000 --- a/lib/Endpoint/CreateDeeplinkApp.php +++ /dev/null @@ -1,90 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/deeplinks/apps'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\DeeplinkApp) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\DeeplinkApp|null - * - * @throws \Bitly\Exception\CreateDeeplinkAppBadRequestException - * @throws \Bitly\Exception\CreateDeeplinkAppForbiddenException - * @throws \Bitly\Exception\CreateDeeplinkAppExpectationFailedException - * @throws \Bitly\Exception\CreateDeeplinkAppUnprocessableEntityException - * @throws \Bitly\Exception\CreateDeeplinkAppInternalServerErrorException - * @throws \Bitly\Exception\CreateDeeplinkAppServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DeeplinkApp', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateDeeplinkAppBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateDeeplinkAppForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (417 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateDeeplinkAppExpectationFailedException($serializer->deserialize($body, 'Bitly\Model\ExpectationFailed', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateDeeplinkAppUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateDeeplinkAppInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateDeeplinkAppServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateDeeplinkRule.php b/lib/Endpoint/CreateDeeplinkRule.php deleted file mode 100644 index 1a6e5c0..0000000 --- a/lib/Endpoint/CreateDeeplinkRule.php +++ /dev/null @@ -1,82 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/deeplinks/rules'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\DeeplinkRule) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\DeeplinkRule|null - * - * @throws \Bitly\Exception\CreateDeeplinkRulePaymentRequiredException - * @throws \Bitly\Exception\CreateDeeplinkRuleForbiddenException - * @throws \Bitly\Exception\CreateDeeplinkRuleNotFoundException - * @throws \Bitly\Exception\CreateDeeplinkRuleInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DeeplinkRule', 'json'); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateDeeplinkRulePaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateDeeplinkRuleForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateDeeplinkRuleNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateDeeplinkRuleInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateDefaultAnalyticsReportForGroup.php b/lib/Endpoint/CreateDefaultAnalyticsReportForGroup.php deleted file mode 100644 index 56eb3e0..0000000 --- a/lib/Endpoint/CreateDefaultAnalyticsReportForGroup.php +++ /dev/null @@ -1,106 +0,0 @@ -group_guid = $groupGuid; - $this->body = $requestBody; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/analytics/groups/{group_guid}/create_default_report'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\CreateAnalyticsReport) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['is_custom']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('is_custom', ['bool']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AnalyticsReport|null - * - * @throws \Bitly\Exception\CreateDefaultAnalyticsReportForGroupBadRequestException - * @throws \Bitly\Exception\CreateDefaultAnalyticsReportForGroupForbiddenException - * @throws \Bitly\Exception\CreateDefaultAnalyticsReportForGroupNotFoundException - * @throws \Bitly\Exception\CreateDefaultAnalyticsReportForGroupInternalServerErrorException - * @throws \Bitly\Exception\CreateDefaultAnalyticsReportForGroupServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AnalyticsReport', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateDefaultAnalyticsReportForGroupBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateDefaultAnalyticsReportForGroupForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateDefaultAnalyticsReportForGroupNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateDefaultAnalyticsReportForGroupInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateDefaultAnalyticsReportForGroupServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateFocus.php b/lib/Endpoint/CreateFocus.php deleted file mode 100644 index f94f872..0000000 --- a/lib/Endpoint/CreateFocus.php +++ /dev/null @@ -1,78 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/canva/focus'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\CreateFocusRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\CreateFocusResponse|null - * - * @throws \Bitly\Exception\CreateFocusBadRequestException - * @throws \Bitly\Exception\CreateFocusForbiddenException - * @throws \Bitly\Exception\CreateFocusInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\CreateFocusResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateFocusBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateFocusForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateFocusInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateGenericAccessToken.php b/lib/Endpoint/CreateGenericAccessToken.php deleted file mode 100644 index de88053..0000000 --- a/lib/Endpoint/CreateGenericAccessToken.php +++ /dev/null @@ -1,86 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/oauth/authorizations'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\GenericAccessTokenReq) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\GenericAccessToken|null - * - * @throws \Bitly\Exception\CreateGenericAccessTokenBadRequestException - * @throws \Bitly\Exception\CreateGenericAccessTokenUnauthorizedException - * @throws \Bitly\Exception\CreateGenericAccessTokenForbiddenException - * @throws \Bitly\Exception\CreateGenericAccessTokenNotFoundException - * @throws \Bitly\Exception\CreateGenericAccessTokenInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\GenericAccessToken', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateGenericAccessTokenBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (401 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateGenericAccessTokenUnauthorizedException($serializer->deserialize($body, 'Bitly\Model\Unauthorized', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateGenericAccessTokenForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateGenericAccessTokenNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateGenericAccessTokenInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateGroup.php b/lib/Endpoint/CreateGroup.php deleted file mode 100644 index c8ed168..0000000 --- a/lib/Endpoint/CreateGroup.php +++ /dev/null @@ -1,86 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/groups'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\GroupUpdate) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\Group|null - * - * @throws \Bitly\Exception\CreateGroupBadRequestException - * @throws \Bitly\Exception\CreateGroupForbiddenException - * @throws \Bitly\Exception\CreateGroupUnprocessableEntityException - * @throws \Bitly\Exception\CreateGroupTooManyRequestsException - * @throws \Bitly\Exception\CreateGroupInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Group', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateGroupBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateGroupForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateGroupUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateGroupTooManyRequestsException($serializer->deserialize($body, 'Bitly\Model\MonthlyLimitExceeded', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateGroupInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateIntervention.php b/lib/Endpoint/CreateIntervention.php deleted file mode 100644 index fa71888..0000000 --- a/lib/Endpoint/CreateIntervention.php +++ /dev/null @@ -1,86 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/interventions'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\Intervention) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\Intervention|null - * - * @throws \Bitly\Exception\CreateInterventionBadRequestException - * @throws \Bitly\Exception\CreateInterventionForbiddenException - * @throws \Bitly\Exception\CreateInterventionUnprocessableEntityException - * @throws \Bitly\Exception\CreateInterventionInternalServerErrorException - * @throws \Bitly\Exception\CreateInterventionServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Intervention', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateInterventionBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateInterventionForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateInterventionUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateInterventionInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateInterventionServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateLaunchpad.php b/lib/Endpoint/CreateLaunchpad.php deleted file mode 100644 index cbe47f4..0000000 --- a/lib/Endpoint/CreateLaunchpad.php +++ /dev/null @@ -1,82 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/launchpads'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\CreateLaunchpad) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\Launchpad|null - * - * @throws \Bitly\Exception\CreateLaunchpadBadRequestException - * @throws \Bitly\Exception\CreateLaunchpadForbiddenException - * @throws \Bitly\Exception\CreateLaunchpadInternalServerErrorException - * @throws \Bitly\Exception\CreateLaunchpadServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Launchpad', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateLaunchpadButton.php b/lib/Endpoint/CreateLaunchpadButton.php deleted file mode 100644 index 25a3af7..0000000 --- a/lib/Endpoint/CreateLaunchpadButton.php +++ /dev/null @@ -1,90 +0,0 @@ -launchpad_id = $launchpadId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}/buttons'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\LaunchpadButtonRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LaunchpadButton|null - * - * @throws \Bitly\Exception\CreateLaunchpadButtonBadRequestException - * @throws \Bitly\Exception\CreateLaunchpadButtonForbiddenException - * @throws \Bitly\Exception\CreateLaunchpadButtonNotFoundException - * @throws \Bitly\Exception\CreateLaunchpadButtonInternalServerErrorException - * @throws \Bitly\Exception\CreateLaunchpadButtonServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadButton', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadButtonBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadButtonForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadButtonNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadButtonInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadButtonServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateLaunchpadContentBitlink.php b/lib/Endpoint/CreateLaunchpadContentBitlink.php deleted file mode 100644 index 7296fd2..0000000 --- a/lib/Endpoint/CreateLaunchpadContentBitlink.php +++ /dev/null @@ -1,90 +0,0 @@ -launchpad_id = $launchpadId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}/contents/bitlink'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\LaunchpadContentBitlinkRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LaunchpadButton|null - * - * @throws \Bitly\Exception\CreateLaunchpadContentBitlinkBadRequestException - * @throws \Bitly\Exception\CreateLaunchpadContentBitlinkForbiddenException - * @throws \Bitly\Exception\CreateLaunchpadContentBitlinkNotFoundException - * @throws \Bitly\Exception\CreateLaunchpadContentBitlinkInternalServerErrorException - * @throws \Bitly\Exception\CreateLaunchpadContentBitlinkServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadButton', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentBitlinkBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentBitlinkForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentBitlinkNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentBitlinkInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentBitlinkServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateLaunchpadContentDigitalBusinessCard.php b/lib/Endpoint/CreateLaunchpadContentDigitalBusinessCard.php deleted file mode 100644 index 6d95379..0000000 --- a/lib/Endpoint/CreateLaunchpadContentDigitalBusinessCard.php +++ /dev/null @@ -1,69 +0,0 @@ -launchpad_id = $launchpadId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}/contents/digital_business_card'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\LaunchpadContentDigitalBusinessCardRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LaunchpadContentDigitalBusinessCardResponse|null - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadContentDigitalBusinessCardResponse', 'json'); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateLaunchpadContentImage.php b/lib/Endpoint/CreateLaunchpadContentImage.php deleted file mode 100644 index 26a46c2..0000000 --- a/lib/Endpoint/CreateLaunchpadContentImage.php +++ /dev/null @@ -1,90 +0,0 @@ -launchpad_id = $launchpadId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}/contents/image'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\LaunchpadContentImageRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LaunchpadContentImage|null - * - * @throws \Bitly\Exception\CreateLaunchpadContentImageBadRequestException - * @throws \Bitly\Exception\CreateLaunchpadContentImageForbiddenException - * @throws \Bitly\Exception\CreateLaunchpadContentImageNotFoundException - * @throws \Bitly\Exception\CreateLaunchpadContentImageInternalServerErrorException - * @throws \Bitly\Exception\CreateLaunchpadContentImageServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadContentImage', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentImageBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentImageForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentImageNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentImageInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentImageServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateLaunchpadContentSocial.php b/lib/Endpoint/CreateLaunchpadContentSocial.php deleted file mode 100644 index 28c5794..0000000 --- a/lib/Endpoint/CreateLaunchpadContentSocial.php +++ /dev/null @@ -1,90 +0,0 @@ -launchpad_id = $launchpadId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}/contents/social'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\LaunchpadContentSocialRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LaunchpadSocial|null - * - * @throws \Bitly\Exception\CreateLaunchpadContentSocialBadRequestException - * @throws \Bitly\Exception\CreateLaunchpadContentSocialForbiddenException - * @throws \Bitly\Exception\CreateLaunchpadContentSocialNotFoundException - * @throws \Bitly\Exception\CreateLaunchpadContentSocialInternalServerErrorException - * @throws \Bitly\Exception\CreateLaunchpadContentSocialServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadSocial', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentSocialBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentSocialForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentSocialNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentSocialInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentSocialServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateLaunchpadContentYoutubeVideo.php b/lib/Endpoint/CreateLaunchpadContentYoutubeVideo.php deleted file mode 100644 index 0059eda..0000000 --- a/lib/Endpoint/CreateLaunchpadContentYoutubeVideo.php +++ /dev/null @@ -1,90 +0,0 @@ -launchpad_id = $launchpadId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}/contents/youtubeVideo'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\LaunchpadContentYouTubeRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LaunchpadContentYouTubeResponse|null - * - * @throws \Bitly\Exception\CreateLaunchpadContentYoutubeVideoBadRequestException - * @throws \Bitly\Exception\CreateLaunchpadContentYoutubeVideoForbiddenException - * @throws \Bitly\Exception\CreateLaunchpadContentYoutubeVideoNotFoundException - * @throws \Bitly\Exception\CreateLaunchpadContentYoutubeVideoInternalServerErrorException - * @throws \Bitly\Exception\CreateLaunchpadContentYoutubeVideoServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadContentYouTubeResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentYoutubeVideoBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentYoutubeVideoForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentYoutubeVideoNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentYoutubeVideoInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLaunchpadContentYoutubeVideoServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateLaunchpadTextBlockContent.php b/lib/Endpoint/CreateLaunchpadTextBlockContent.php deleted file mode 100644 index ab7f48f..0000000 --- a/lib/Endpoint/CreateLaunchpadTextBlockContent.php +++ /dev/null @@ -1,69 +0,0 @@ -launchpad_id = $launchpadId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}/contents/text_block'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\LaunchpadContentTextBlockRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LaunchpadContentTextBlockResponse|null - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadContentTextBlockResponse', 'json'); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateLink.php b/lib/Endpoint/CreateLink.php deleted file mode 100644 index 6ffa9ec..0000000 --- a/lib/Endpoint/CreateLink.php +++ /dev/null @@ -1,106 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/links'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\FullLink) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LinkBody|null - * - * @throws \Bitly\Exception\CreateLinkBadRequestException - * @throws \Bitly\Exception\CreateLinkPaymentRequiredException - * @throws \Bitly\Exception\CreateLinkForbiddenException - * @throws \Bitly\Exception\CreateLinkNotFoundException - * @throws \Bitly\Exception\CreateLinkConflictException - * @throws \Bitly\Exception\CreateLinkExpectationFailedException - * @throws \Bitly\Exception\CreateLinkUnprocessableEntityException - * @throws \Bitly\Exception\CreateLinkTooManyRequestsException - * @throws \Bitly\Exception\CreateLinkInternalServerErrorException - * @throws \Bitly\Exception\CreateLinkServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LinkBody', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLinkBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLinkPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLinkForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLinkNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (409 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLinkConflictException($serializer->deserialize($body, 'Bitly\Model\Conflict', 'json'), $response); - } - if (is_null($contentType) === false && (417 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLinkExpectationFailedException($serializer->deserialize($body, 'Bitly\Model\ExpectationFailed', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLinkUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLinkTooManyRequestsException($serializer->deserialize($body, 'Bitly\Model\MonthlyLimitExceeded', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLinkInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateLinkServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateOAuthApp.php b/lib/Endpoint/CreateOAuthApp.php deleted file mode 100644 index 3e8b99c..0000000 --- a/lib/Endpoint/CreateOAuthApp.php +++ /dev/null @@ -1,78 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/oauth/apps'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\CreateOAuthAppReq) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\OAuthAppFull|null - * - * @throws \Bitly\Exception\CreateOAuthAppBadRequestException - * @throws \Bitly\Exception\CreateOAuthAppForbiddenException - * @throws \Bitly\Exception\CreateOAuthAppInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\OAuthAppFull', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOAuthAppBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOAuthAppForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOAuthAppInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateOrgDomainVerificationEmail.php b/lib/Endpoint/CreateOrgDomainVerificationEmail.php deleted file mode 100644 index 58a5bb1..0000000 --- a/lib/Endpoint/CreateOrgDomainVerificationEmail.php +++ /dev/null @@ -1,82 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/org_domain_verifications'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\CreateOrgDomainVerificationEmailRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\OrgDomainVerification|null - * - * @throws \Bitly\Exception\CreateOrgDomainVerificationEmailBadRequestException - * @throws \Bitly\Exception\CreateOrgDomainVerificationEmailPaymentRequiredException - * @throws \Bitly\Exception\CreateOrgDomainVerificationEmailForbiddenException - * @throws \Bitly\Exception\CreateOrgDomainVerificationEmailInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\OrgDomainVerification', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOrgDomainVerificationEmailBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOrgDomainVerificationEmailPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOrgDomainVerificationEmailForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOrgDomainVerificationEmailInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateOrganizationInvitations.php b/lib/Endpoint/CreateOrganizationInvitations.php deleted file mode 100644 index b072883..0000000 --- a/lib/Endpoint/CreateOrganizationInvitations.php +++ /dev/null @@ -1,94 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/invitations'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\InvitationsCreate) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\Invitations|null - * - * @throws \Bitly\Exception\CreateOrganizationInvitationsBadRequestException - * @throws \Bitly\Exception\CreateOrganizationInvitationsPaymentRequiredException - * @throws \Bitly\Exception\CreateOrganizationInvitationsForbiddenException - * @throws \Bitly\Exception\CreateOrganizationInvitationsTooManyRequestsException - * @throws \Bitly\Exception\CreateOrganizationInvitationsInternalServerErrorException - * @throws \Bitly\Exception\CreateOrganizationInvitationsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Invitations', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOrganizationInvitationsBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOrganizationInvitationsPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOrganizationInvitationsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOrganizationInvitationsTooManyRequestsException($serializer->deserialize($body, 'Bitly\Model\MonthlyLimitExceeded', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOrganizationInvitationsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOrganizationInvitationsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateOrganizationSSOSettings.php b/lib/Endpoint/CreateOrganizationSSOSettings.php deleted file mode 100644 index 451a8c1..0000000 --- a/lib/Endpoint/CreateOrganizationSSOSettings.php +++ /dev/null @@ -1,94 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/sso/organizations/{organization_guid}/settings'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\SSOSlug) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\SSOSettings|null - * - * @throws \Bitly\Exception\CreateOrganizationSSOSettingsBadRequestException - * @throws \Bitly\Exception\CreateOrganizationSSOSettingsPaymentRequiredException - * @throws \Bitly\Exception\CreateOrganizationSSOSettingsForbiddenException - * @throws \Bitly\Exception\CreateOrganizationSSOSettingsUnprocessableEntityException - * @throws \Bitly\Exception\CreateOrganizationSSOSettingsInternalServerErrorException - * @throws \Bitly\Exception\CreateOrganizationSSOSettingsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SSOSettings', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOrganizationSSOSettingsBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOrganizationSSOSettingsPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOrganizationSSOSettingsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOrganizationSSOSettingsUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOrganizationSSOSettingsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOrganizationSSOSettingsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateOverridesForBitlink.php b/lib/Endpoint/CreateOverridesForBitlink.php deleted file mode 100644 index f524f86..0000000 --- a/lib/Endpoint/CreateOverridesForBitlink.php +++ /dev/null @@ -1,106 +0,0 @@ -bitlink = $bitlink; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/overrides'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\CreateOverrideRules) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\BitlinkOverrides|null - * - * @throws \Bitly\Exception\CreateOverridesForBitlinkBadRequestException - * @throws \Bitly\Exception\CreateOverridesForBitlinkPaymentRequiredException - * @throws \Bitly\Exception\CreateOverridesForBitlinkForbiddenException - * @throws \Bitly\Exception\CreateOverridesForBitlinkNotFoundException - * @throws \Bitly\Exception\CreateOverridesForBitlinkConflictException - * @throws \Bitly\Exception\CreateOverridesForBitlinkUnprocessableEntityException - * @throws \Bitly\Exception\CreateOverridesForBitlinkTooManyRequestsException - * @throws \Bitly\Exception\CreateOverridesForBitlinkInternalServerErrorException - * @throws \Bitly\Exception\CreateOverridesForBitlinkServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BitlinkOverrides', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOverridesForBitlinkBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOverridesForBitlinkPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOverridesForBitlinkForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOverridesForBitlinkNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (409 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOverridesForBitlinkConflictException($serializer->deserialize($body, 'Bitly\Model\Conflict', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOverridesForBitlinkUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOverridesForBitlinkTooManyRequestsException($serializer->deserialize($body, 'Bitly\Model\TooManyRequests', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOverridesForBitlinkInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateOverridesForBitlinkServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreatePayPalBillingAgreement.php b/lib/Endpoint/CreatePayPalBillingAgreement.php deleted file mode 100644 index d03e636..0000000 --- a/lib/Endpoint/CreatePayPalBillingAgreement.php +++ /dev/null @@ -1,82 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/paypal/billing_agreement'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\BillingAgreementToken) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\BillingAgreement|null - * - * @throws \Bitly\Exception\CreatePayPalBillingAgreementBadRequestException - * @throws \Bitly\Exception\CreatePayPalBillingAgreementForbiddenException - * @throws \Bitly\Exception\CreatePayPalBillingAgreementUnprocessableEntityException - * @throws \Bitly\Exception\CreatePayPalBillingAgreementInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BillingAgreement', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreatePayPalBillingAgreementBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreatePayPalBillingAgreementForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreatePayPalBillingAgreementUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreatePayPalBillingAgreementInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreatePayPalBillingAgreementToken.php b/lib/Endpoint/CreatePayPalBillingAgreementToken.php deleted file mode 100644 index 9b38581..0000000 --- a/lib/Endpoint/CreatePayPalBillingAgreementToken.php +++ /dev/null @@ -1,82 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/paypal_billing_agreement_token'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\PayPalTokenRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\PayPalToken|null - * - * @throws \Bitly\Exception\CreatePayPalBillingAgreementTokenBadRequestException - * @throws \Bitly\Exception\CreatePayPalBillingAgreementTokenForbiddenException - * @throws \Bitly\Exception\CreatePayPalBillingAgreementTokenUnprocessableEntityException - * @throws \Bitly\Exception\CreatePayPalBillingAgreementTokenInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\PayPalToken', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreatePayPalBillingAgreementTokenBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreatePayPalBillingAgreementTokenForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreatePayPalBillingAgreementTokenUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreatePayPalBillingAgreementTokenInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreatePaymentMethod.php b/lib/Endpoint/CreatePaymentMethod.php deleted file mode 100644 index d8e91b3..0000000 --- a/lib/Endpoint/CreatePaymentMethod.php +++ /dev/null @@ -1,90 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/payment_methods'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\CreatePaymentMethod) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\PaymentMethod|null - * - * @throws \Bitly\Exception\CreatePaymentMethodBadRequestException - * @throws \Bitly\Exception\CreatePaymentMethodForbiddenException - * @throws \Bitly\Exception\CreatePaymentMethodUnprocessableEntityException - * @throws \Bitly\Exception\CreatePaymentMethodInternalServerErrorException - * @throws \Bitly\Exception\CreatePaymentMethodServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\PaymentMethod', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreatePaymentMethodBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreatePaymentMethodForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreatePaymentMethodUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreatePaymentMethodInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreatePaymentMethodServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateQRCodePreview.php b/lib/Endpoint/CreateQRCodePreview.php deleted file mode 100644 index 3d02939..0000000 --- a/lib/Endpoint/CreateQRCodePreview.php +++ /dev/null @@ -1,94 +0,0 @@ -group_guid = $groupGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/qrcodes/preview/{group_guid}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\PreviewQRCodeRequestV2) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\QRCodeFullResponse|null - * - * @throws \Bitly\Exception\CreateQRCodePreviewBadRequestException - * @throws \Bitly\Exception\CreateQRCodePreviewPaymentRequiredException - * @throws \Bitly\Exception\CreateQRCodePreviewForbiddenException - * @throws \Bitly\Exception\CreateQRCodePreviewNotFoundException - * @throws \Bitly\Exception\CreateQRCodePreviewGoneException - * @throws \Bitly\Exception\CreateQRCodePreviewInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\QRCodeFullResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateQRCodePreviewBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateQRCodePreviewPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateQRCodePreviewForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateQRCodePreviewNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateQRCodePreviewGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateQRCodePreviewInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateQRCodeTemplate.php b/lib/Endpoint/CreateQRCodeTemplate.php deleted file mode 100644 index 53a9d53..0000000 --- a/lib/Endpoint/CreateQRCodeTemplate.php +++ /dev/null @@ -1,94 +0,0 @@ -group_guid = $groupGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/qr_templates'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\QRCodeTemplateRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\QRCodeTemplateResponse|null - * - * @throws \Bitly\Exception\CreateQRCodeTemplateBadRequestException - * @throws \Bitly\Exception\CreateQRCodeTemplatePaymentRequiredException - * @throws \Bitly\Exception\CreateQRCodeTemplateForbiddenException - * @throws \Bitly\Exception\CreateQRCodeTemplateNotFoundException - * @throws \Bitly\Exception\CreateQRCodeTemplateGoneException - * @throws \Bitly\Exception\CreateQRCodeTemplateInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\QRCodeTemplateResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateQRCodeTemplateBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateQRCodeTemplatePaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateQRCodeTemplateForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateQRCodeTemplateNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateQRCodeTemplateGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateQRCodeTemplateInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateShareableReport.php b/lib/Endpoint/CreateShareableReport.php deleted file mode 100644 index c5fd187..0000000 --- a/lib/Endpoint/CreateShareableReport.php +++ /dev/null @@ -1,86 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/shareable_reports'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\ShareableReport) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\ShareableReport|null - * - * @throws \Bitly\Exception\CreateShareableReportBadRequestException - * @throws \Bitly\Exception\CreateShareableReportForbiddenException - * @throws \Bitly\Exception\CreateShareableReportNotFoundException - * @throws \Bitly\Exception\CreateShareableReportInternalServerErrorException - * @throws \Bitly\Exception\CreateShareableReportServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ShareableReport', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateShareableReportBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateShareableReportForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateShareableReportNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateShareableReportInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateShareableReportServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateShopifyIntegrationOAuth.php b/lib/Endpoint/CreateShopifyIntegrationOAuth.php deleted file mode 100644 index dd027da..0000000 --- a/lib/Endpoint/CreateShopifyIntegrationOAuth.php +++ /dev/null @@ -1,94 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/private/organizations/{organization_guid}/shopify_integration_oauth'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\ShopifyTokenExchangeRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\CreateShopifyIntegrationOAuthBadRequestException - * @throws \Bitly\Exception\CreateShopifyIntegrationOAuthForbiddenException - * @throws \Bitly\Exception\CreateShopifyIntegrationOAuthConflictException - * @throws \Bitly\Exception\CreateShopifyIntegrationOAuthUnprocessableEntityException - * @throws \Bitly\Exception\CreateShopifyIntegrationOAuthInternalServerErrorException - * @throws \Bitly\Exception\CreateShopifyIntegrationOAuthServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (201 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateShopifyIntegrationOAuthBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateShopifyIntegrationOAuthForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (409 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateShopifyIntegrationOAuthConflictException($serializer->deserialize($body, 'Bitly\Model\Conflict', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateShopifyIntegrationOAuthUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateShopifyIntegrationOAuthInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateShopifyIntegrationOAuthServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateSite.php b/lib/Endpoint/CreateSite.php deleted file mode 100644 index b800589..0000000 --- a/lib/Endpoint/CreateSite.php +++ /dev/null @@ -1,90 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/sites'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\CreateLaunchpad) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\CreateSiteBadRequestException - * @throws \Bitly\Exception\CreateSitePaymentRequiredException - * @throws \Bitly\Exception\CreateSiteForbiddenException - * @throws \Bitly\Exception\CreateSiteUnprocessableEntityException - * @throws \Bitly\Exception\CreateSiteInternalServerErrorException - * @throws \Bitly\Exception\CreateSiteServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return json_decode($body); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateSiteBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateSitePaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateSiteForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateSiteUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateSiteInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateSiteServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateSiteContent.php b/lib/Endpoint/CreateSiteContent.php deleted file mode 100644 index 134f936..0000000 --- a/lib/Endpoint/CreateSiteContent.php +++ /dev/null @@ -1,93 +0,0 @@ -site_id = $siteId; - $this->content_type = $contentType; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{site_id}', '{content_type}'], [$this->site_id, $this->content_type], '/sites/{site_id}/contents/{content_type}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\SiteContentRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\SiteBlock|null - * - * @throws \Bitly\Exception\CreateSiteContentBadRequestException - * @throws \Bitly\Exception\CreateSiteContentForbiddenException - * @throws \Bitly\Exception\CreateSiteContentNotFoundException - * @throws \Bitly\Exception\CreateSiteContentInternalServerErrorException - * @throws \Bitly\Exception\CreateSiteContentServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SiteBlock', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateSiteContentBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateSiteContentForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateSiteContentNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateSiteContentInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateSiteContentServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateSiteImage.php b/lib/Endpoint/CreateSiteImage.php deleted file mode 100644 index 7730d04..0000000 --- a/lib/Endpoint/CreateSiteImage.php +++ /dev/null @@ -1,69 +0,0 @@ -site_id = $siteId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}/images'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\SiteImageUpload) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\ImageUploadResponse|null - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ImageUploadResponse', 'json'); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateStripeSetupIntent.php b/lib/Endpoint/CreateStripeSetupIntent.php deleted file mode 100644 index e63fd05..0000000 --- a/lib/Endpoint/CreateStripeSetupIntent.php +++ /dev/null @@ -1,85 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/private/stripe/organizations/{organization_guid}/setup_intent'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\SetupIntent|null - * - * @throws \Bitly\Exception\CreateStripeSetupIntentBadRequestException - * @throws \Bitly\Exception\CreateStripeSetupIntentForbiddenException - * @throws \Bitly\Exception\CreateStripeSetupIntentUnprocessableEntityException - * @throws \Bitly\Exception\CreateStripeSetupIntentInternalServerErrorException - * @throws \Bitly\Exception\CreateStripeSetupIntentServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SetupIntent', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateStripeSetupIntentBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateStripeSetupIntentForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateStripeSetupIntentUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateStripeSetupIntentInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateStripeSetupIntentServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateSubscription.php b/lib/Endpoint/CreateSubscription.php deleted file mode 100644 index 93c32e1..0000000 --- a/lib/Endpoint/CreateSubscription.php +++ /dev/null @@ -1,82 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/private/stripe/subscription'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\CreateSubscriptionBody) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\CreateSubscriptionResponse|null - * - * @throws \Bitly\Exception\CreateSubscriptionBadRequestException - * @throws \Bitly\Exception\CreateSubscriptionForbiddenException - * @throws \Bitly\Exception\CreateSubscriptionUnprocessableEntityException - * @throws \Bitly\Exception\CreateSubscriptionInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\CreateSubscriptionResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateSubscriptionBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateSubscriptionForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateSubscriptionUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateSubscriptionInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/CreateUser.php b/lib/Endpoint/CreateUser.php deleted file mode 100644 index e92f9da..0000000 --- a/lib/Endpoint/CreateUser.php +++ /dev/null @@ -1,82 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/users'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\CreateUserBody) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\PublicOAuthUser|null - * - * @throws \Bitly\Exception\CreateUserBadRequestException - * @throws \Bitly\Exception\CreateUserUnprocessableEntityException - * @throws \Bitly\Exception\CreateUserTooManyRequestsException - * @throws \Bitly\Exception\CreateUserInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\PublicOAuthUser', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateUserBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateUserUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateUserTooManyRequestsException($serializer->deserialize($body, 'Bitly\Model\TooManyRequests', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\CreateUserInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeactivateDeeplinkApp.php b/lib/Endpoint/DeactivateDeeplinkApp.php deleted file mode 100644 index ec41698..0000000 --- a/lib/Endpoint/DeactivateDeeplinkApp.php +++ /dev/null @@ -1,85 +0,0 @@ -deeplink_app_guid = $deeplinkAppGuid; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{deeplink_app_guid}'], [$this->deeplink_app_guid], '/deeplinks/apps/{deeplink_app_guid}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeactivateDeeplinkAppPaymentRequiredException - * @throws \Bitly\Exception\DeactivateDeeplinkAppForbiddenException - * @throws \Bitly\Exception\DeactivateDeeplinkAppNotFoundException - * @throws \Bitly\Exception\DeactivateDeeplinkAppInternalServerErrorException - * @throws \Bitly\Exception\DeactivateDeeplinkAppServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeactivateDeeplinkAppPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeactivateDeeplinkAppForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeactivateDeeplinkAppNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeactivateDeeplinkAppInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeactivateDeeplinkAppServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteAnalyticsModule.php b/lib/Endpoint/DeleteAnalyticsModule.php deleted file mode 100644 index 622cabb..0000000 --- a/lib/Endpoint/DeleteAnalyticsModule.php +++ /dev/null @@ -1,83 +0,0 @@ -group_guid = $groupGuid; - $this->module_guid = $moduleGuid; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}', '{module_guid}'], [$this->group_guid, $this->module_guid], '/analytics/groups/{group_guid}/modules/{module_guid}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteAnalyticsModulePaymentRequiredException - * @throws \Bitly\Exception\DeleteAnalyticsModuleForbiddenException - * @throws \Bitly\Exception\DeleteAnalyticsModuleNotFoundException - * @throws \Bitly\Exception\DeleteAnalyticsModuleInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteAnalyticsModulePaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteAnalyticsModuleForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteAnalyticsModuleNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteAnalyticsModuleInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteAnalyticsModuleByReport.php b/lib/Endpoint/DeleteAnalyticsModuleByReport.php deleted file mode 100644 index bf859cf..0000000 --- a/lib/Endpoint/DeleteAnalyticsModuleByReport.php +++ /dev/null @@ -1,86 +0,0 @@ -group_guid = $groupGuid; - $this->module_guid = $moduleGuid; - $this->report_id = $reportId; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}', '{module_guid}', '{report_id}'], [$this->group_guid, $this->module_guid, $this->report_id], '/analytics/groups/{group_guid}/reports/{report_id}/modules/{module_guid}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteAnalyticsModuleByReportPaymentRequiredException - * @throws \Bitly\Exception\DeleteAnalyticsModuleByReportForbiddenException - * @throws \Bitly\Exception\DeleteAnalyticsModuleByReportNotFoundException - * @throws \Bitly\Exception\DeleteAnalyticsModuleByReportInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteAnalyticsModuleByReportPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteAnalyticsModuleByReportForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteAnalyticsModuleByReportNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteAnalyticsModuleByReportInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteAnalyticsReport.php b/lib/Endpoint/DeleteAnalyticsReport.php deleted file mode 100644 index 60fef09..0000000 --- a/lib/Endpoint/DeleteAnalyticsReport.php +++ /dev/null @@ -1,92 +0,0 @@ -group_guid = $groupGuid; - $this->report_id = $reportId; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}', '{report_id}'], [$this->group_guid, $this->report_id], '/analytics/groups/{group_guid}/reports/{report_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteAnalyticsReportBadRequestException - * @throws \Bitly\Exception\DeleteAnalyticsReportPaymentRequiredException - * @throws \Bitly\Exception\DeleteAnalyticsReportForbiddenException - * @throws \Bitly\Exception\DeleteAnalyticsReportNotFoundException - * @throws \Bitly\Exception\DeleteAnalyticsReportInternalServerErrorException - * @throws \Bitly\Exception\DeleteAnalyticsReportServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteAnalyticsReportBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteAnalyticsReportPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteAnalyticsReportForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteAnalyticsReportNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteAnalyticsReportInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteAnalyticsReportServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteCampaign.php b/lib/Endpoint/DeleteCampaign.php deleted file mode 100644 index 0c8ef9a..0000000 --- a/lib/Endpoint/DeleteCampaign.php +++ /dev/null @@ -1,85 +0,0 @@ -campaign_guid = $campaignGuid; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{campaign_guid}'], [$this->campaign_guid], '/campaigns/{campaign_guid}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteCampaignPaymentRequiredException - * @throws \Bitly\Exception\DeleteCampaignForbiddenException - * @throws \Bitly\Exception\DeleteCampaignNotFoundException - * @throws \Bitly\Exception\DeleteCampaignInternalServerErrorException - * @throws \Bitly\Exception\DeleteCampaignServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteCampaignPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteCampaignForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteCampaignNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteCampaignInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteCampaignServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteCanvaUserBrandsByLogin.php b/lib/Endpoint/DeleteCanvaUserBrandsByLogin.php deleted file mode 100644 index 27b8dbc..0000000 --- a/lib/Endpoint/DeleteCanvaUserBrandsByLogin.php +++ /dev/null @@ -1,71 +0,0 @@ -login = $login; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{login}'], [$this->login], '/canva/login/{login}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteCanvaUserBrandsByLoginBadRequestException - * @throws \Bitly\Exception\DeleteCanvaUserBrandsByLoginInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteCanvaUserBrandsByLoginBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteCanvaUserBrandsByLoginInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteChannel.php b/lib/Endpoint/DeleteChannel.php deleted file mode 100644 index d3de1d3..0000000 --- a/lib/Endpoint/DeleteChannel.php +++ /dev/null @@ -1,85 +0,0 @@ -channel_guid = $channelGuid; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{channel_guid}'], [$this->channel_guid], '/channels/{channel_guid}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteChannelPaymentRequiredException - * @throws \Bitly\Exception\DeleteChannelForbiddenException - * @throws \Bitly\Exception\DeleteChannelNotFoundException - * @throws \Bitly\Exception\DeleteChannelInternalServerErrorException - * @throws \Bitly\Exception\DeleteChannelServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteChannelPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteChannelForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteChannelNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteChannelInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteChannelServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteChannelBitlink.php b/lib/Endpoint/DeleteChannelBitlink.php deleted file mode 100644 index 1a81c04..0000000 --- a/lib/Endpoint/DeleteChannelBitlink.php +++ /dev/null @@ -1,86 +0,0 @@ -group_guid = $groupGuid; - $this->campaign_guid = $campaignGuid; - $this->channel_guid = $channelGuid; - $this->bitlink = $bitlink; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}', '{campaign_guid}', '{channel_guid}', '{bitlink}'], [$this->group_guid, $this->campaign_guid, $this->channel_guid, $this->bitlink], '/private/groups/{group_guid}/campaigns/{campaign_guid}/channels/{channel_guid}/bitlinks/{bitlink}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteChannelBitlinkBadRequestException - * @throws \Bitly\Exception\DeleteChannelBitlinkUnprocessableEntityException - * @throws \Bitly\Exception\DeleteChannelBitlinkInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteChannelBitlinkBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteChannelBitlinkUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteChannelBitlinkInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteCustomDomain.php b/lib/Endpoint/DeleteCustomDomain.php deleted file mode 100644 index a134472..0000000 --- a/lib/Endpoint/DeleteCustomDomain.php +++ /dev/null @@ -1,82 +0,0 @@ -custom_domain = $customDomain; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{custom_domain}'], [$this->custom_domain], '/custom_domains/{custom_domain}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\OrganizationGUID) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteCustomDomainForbiddenException - * @throws \Bitly\Exception\DeleteCustomDomainUnprocessableEntityException - * @throws \Bitly\Exception\DeleteCustomDomainInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteCustomDomainForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteCustomDomainUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteCustomDomainInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteDeeplinkRule.php b/lib/Endpoint/DeleteDeeplinkRule.php deleted file mode 100644 index e43bead..0000000 --- a/lib/Endpoint/DeleteDeeplinkRule.php +++ /dev/null @@ -1,85 +0,0 @@ -deeplink_rule_guid = $deeplinkRuleGuid; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{deeplink_rule_guid}'], [$this->deeplink_rule_guid], '/deeplinks/rules/{deeplink_rule_guid}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteDeeplinkRulePaymentRequiredException - * @throws \Bitly\Exception\DeleteDeeplinkRuleForbiddenException - * @throws \Bitly\Exception\DeleteDeeplinkRuleNotFoundException - * @throws \Bitly\Exception\DeleteDeeplinkRuleInternalServerErrorException - * @throws \Bitly\Exception\DeleteDeeplinkRuleServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteDeeplinkRulePaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteDeeplinkRuleForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteDeeplinkRuleNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteDeeplinkRuleInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteDeeplinkRuleServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteEmail.php b/lib/Endpoint/DeleteEmail.php deleted file mode 100644 index d2146c0..0000000 --- a/lib/Endpoint/DeleteEmail.php +++ /dev/null @@ -1,85 +0,0 @@ -email = $email; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{email}'], [$this->email], '/emails/{email}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteEmailBadRequestException - * @throws \Bitly\Exception\DeleteEmailForbiddenException - * @throws \Bitly\Exception\DeleteEmailNotFoundException - * @throws \Bitly\Exception\DeleteEmailInternalServerErrorException - * @throws \Bitly\Exception\DeleteEmailServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteEmailBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteEmailForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteEmailNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteEmailInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteEmailServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteGroup.php b/lib/Endpoint/DeleteGroup.php deleted file mode 100644 index 35af469..0000000 --- a/lib/Endpoint/DeleteGroup.php +++ /dev/null @@ -1,85 +0,0 @@ -group_guid = $groupGuid; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteGroupForbiddenException - * @throws \Bitly\Exception\DeleteGroupNotFoundException - * @throws \Bitly\Exception\DeleteGroupTooManyRequestsException - * @throws \Bitly\Exception\DeleteGroupInternalServerErrorException - * @throws \Bitly\Exception\DeleteGroupServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteGroupForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteGroupNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteGroupTooManyRequestsException($serializer->deserialize($body, 'Bitly\Model\MonthlyLimitExceeded', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteGroupInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteGroupServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteIntegrationOAuth.php b/lib/Endpoint/DeleteIntegrationOAuth.php deleted file mode 100644 index 5cc1d20..0000000 --- a/lib/Endpoint/DeleteIntegrationOAuth.php +++ /dev/null @@ -1,84 +0,0 @@ -client_id = $clientId; - $this->organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{client_id}', '{organization_guid}'], [$this->client_id, $this->organization_guid], '/organizations/{organization_guid}/integration_oauth/{client_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteIntegrationOAuthBadRequestException - * @throws \Bitly\Exception\DeleteIntegrationOAuthForbiddenException - * @throws \Bitly\Exception\DeleteIntegrationOAuthInternalServerErrorException - * @throws \Bitly\Exception\DeleteIntegrationOAuthServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteIntegrationOAuthBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteIntegrationOAuthForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteIntegrationOAuthInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteIntegrationOAuthServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteInvitation.php b/lib/Endpoint/DeleteInvitation.php deleted file mode 100644 index f53546b..0000000 --- a/lib/Endpoint/DeleteInvitation.php +++ /dev/null @@ -1,84 +0,0 @@ -organization_guid = $organizationGuid; - $this->email = $email; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}', '{email}'], [$this->organization_guid, $this->email], '/organizations/{organization_guid}/invitations/{email}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteInvitationForbiddenException - * @throws \Bitly\Exception\DeleteInvitationNotFoundException - * @throws \Bitly\Exception\DeleteInvitationTooManyRequestsException - * @throws \Bitly\Exception\DeleteInvitationInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteInvitationForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteInvitationNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteInvitationTooManyRequestsException($serializer->deserialize($body, 'Bitly\Model\MonthlyLimitExceeded', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteInvitationInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteLaunchpad.php b/lib/Endpoint/DeleteLaunchpad.php deleted file mode 100644 index 0c1b10a..0000000 --- a/lib/Endpoint/DeleteLaunchpad.php +++ /dev/null @@ -1,85 +0,0 @@ -launchpad_id = $launchpadId; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteLaunchpadBadRequestException - * @throws \Bitly\Exception\DeleteLaunchpadForbiddenException - * @throws \Bitly\Exception\DeleteLaunchpadNotFoundException - * @throws \Bitly\Exception\DeleteLaunchpadInternalServerErrorException - * @throws \Bitly\Exception\DeleteLaunchpadServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteLaunchpadBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteLaunchpadForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteLaunchpadNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteLaunchpadInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteLaunchpadServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteLaunchpadButton.php b/lib/Endpoint/DeleteLaunchpadButton.php deleted file mode 100644 index d3d8dd1..0000000 --- a/lib/Endpoint/DeleteLaunchpadButton.php +++ /dev/null @@ -1,84 +0,0 @@ -launchpad_id = $launchpadId; - $this->button_id = $buttonId; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}', '{button_id}'], [$this->launchpad_id, $this->button_id], '/launchpads/{launchpad_id}/buttons/{button_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteLaunchpadButtonForbiddenException - * @throws \Bitly\Exception\DeleteLaunchpadButtonNotFoundException - * @throws \Bitly\Exception\DeleteLaunchpadButtonInternalServerErrorException - * @throws \Bitly\Exception\DeleteLaunchpadButtonServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteLaunchpadButtonForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteLaunchpadButtonNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteLaunchpadButtonInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteLaunchpadButtonServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteLaunchpadImageByImageUse.php b/lib/Endpoint/DeleteLaunchpadImageByImageUse.php deleted file mode 100644 index bff80cc..0000000 --- a/lib/Endpoint/DeleteLaunchpadImageByImageUse.php +++ /dev/null @@ -1,84 +0,0 @@ -launchpad_id = $launchpadId; - $this->image_use = $imageUse; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}', '{image_use}'], [$this->launchpad_id, $this->image_use], '/launchpads/{launchpad_id}/images_by_use/{image_use}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LaunchpadImageUpload|null - * - * @throws \Bitly\Exception\DeleteLaunchpadImageByImageUseForbiddenException - * @throws \Bitly\Exception\DeleteLaunchpadImageByImageUseNotFoundException - * @throws \Bitly\Exception\DeleteLaunchpadImageByImageUseInternalServerErrorException - * @throws \Bitly\Exception\DeleteLaunchpadImageByImageUseServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (204 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadImageUpload', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteLaunchpadImageByImageUseForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteLaunchpadImageByImageUseNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteLaunchpadImageByImageUseInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteLaunchpadImageByImageUseServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteQRCodeTemplate.php b/lib/Endpoint/DeleteQRCodeTemplate.php deleted file mode 100644 index 4fd01ba..0000000 --- a/lib/Endpoint/DeleteQRCodeTemplate.php +++ /dev/null @@ -1,83 +0,0 @@ -group_guid = $groupGuid; - $this->template_id = $templateId; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}', '{template_id}'], [$this->group_guid, $this->template_id], '/groups/{group_guid}/qr_templates/{template_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteQRCodeTemplateForbiddenException - * @throws \Bitly\Exception\DeleteQRCodeTemplateNotFoundException - * @throws \Bitly\Exception\DeleteQRCodeTemplateInternalServerErrorException - * @throws \Bitly\Exception\DeleteQRCodeTemplateServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteQRCodeTemplateForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteQRCodeTemplateNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteQRCodeTemplateInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteQRCodeTemplateServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteSite.php b/lib/Endpoint/DeleteSite.php deleted file mode 100644 index 0e9eb8a..0000000 --- a/lib/Endpoint/DeleteSite.php +++ /dev/null @@ -1,85 +0,0 @@ -site_id = $siteId; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteSiteBadRequestException - * @throws \Bitly\Exception\DeleteSiteForbiddenException - * @throws \Bitly\Exception\DeleteSiteNotFoundException - * @throws \Bitly\Exception\DeleteSiteInternalServerErrorException - * @throws \Bitly\Exception\DeleteSiteServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteSiteBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteSiteForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteSiteNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteSiteInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteSiteServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteSiteButton.php b/lib/Endpoint/DeleteSiteButton.php deleted file mode 100644 index e1dd540..0000000 --- a/lib/Endpoint/DeleteSiteButton.php +++ /dev/null @@ -1,88 +0,0 @@ -site_id = $siteId; - $this->button_id = $buttonId; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{site_id}', '{button_id}'], [$this->site_id, $this->button_id], '/sites/{site_id}/buttons/{button_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteSiteButtonBadRequestException - * @throws \Bitly\Exception\DeleteSiteButtonForbiddenException - * @throws \Bitly\Exception\DeleteSiteButtonNotFoundException - * @throws \Bitly\Exception\DeleteSiteButtonInternalServerErrorException - * @throws \Bitly\Exception\DeleteSiteButtonServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteSiteButtonBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteSiteButtonForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteSiteButtonNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteSiteButtonInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteSiteButtonServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteSiteRedirect.php b/lib/Endpoint/DeleteSiteRedirect.php deleted file mode 100644 index 509fdfc..0000000 --- a/lib/Endpoint/DeleteSiteRedirect.php +++ /dev/null @@ -1,63 +0,0 @@ -site_id = $siteId; - $this->domain = $domain; - $this->keyword = $keyword; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{site_id}', '{domain}', '{keyword}'], [$this->site_id, $this->domain, $this->keyword], '/sites/{site_id}/redirects/{domain}/{keyword}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - /** - * @return null - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteUser.php b/lib/Endpoint/DeleteUser.php deleted file mode 100644 index 7a7ec4b..0000000 --- a/lib/Endpoint/DeleteUser.php +++ /dev/null @@ -1,82 +0,0 @@ -login = $login; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{login}'], [$this->login], '/users/{login}/delete'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\DeactivateUser) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteUserBadRequestException - * @throws \Bitly\Exception\DeleteUserForbiddenException - * @throws \Bitly\Exception\DeleteUserInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (202 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteUserBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteUserForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteUserInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DeleteUserWithRole.php b/lib/Endpoint/DeleteUserWithRole.php deleted file mode 100644 index 290d940..0000000 --- a/lib/Endpoint/DeleteUserWithRole.php +++ /dev/null @@ -1,90 +0,0 @@ -role_name = $roleName; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{role_name}'], [$this->role_name], '/roles/{role_name}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\UserRole) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DeleteUserWithRoleBadRequestException - * @throws \Bitly\Exception\DeleteUserWithRoleForbiddenException - * @throws \Bitly\Exception\DeleteUserWithRoleUnprocessableEntityException - * @throws \Bitly\Exception\DeleteUserWithRoleInternalServerErrorException - * @throws \Bitly\Exception\DeleteUserWithRoleServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteUserWithRoleBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteUserWithRoleForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteUserWithRoleUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteUserWithRoleInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DeleteUserWithRoleServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/Disable2FA.php b/lib/Endpoint/Disable2FA.php deleted file mode 100644 index 43cb9d2..0000000 --- a/lib/Endpoint/Disable2FA.php +++ /dev/null @@ -1,94 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return '/user/two_factor/sms'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\TwoFactorCode) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\Disable2FABadRequestException - * @throws \Bitly\Exception\Disable2FAUnauthorizedException - * @throws \Bitly\Exception\Disable2FAForbiddenException - * @throws \Bitly\Exception\Disable2FANotFoundException - * @throws \Bitly\Exception\Disable2FAUnprocessableEntityException - * @throws \Bitly\Exception\Disable2FAInternalServerErrorException - * @throws \Bitly\Exception\Disable2FAServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\Disable2FABadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (401 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\Disable2FAUnauthorizedException($serializer->deserialize($body, 'Bitly\Model\Unauthorized', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\Disable2FAForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\Disable2FANotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\Disable2FAUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\Disable2FAInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\Disable2FAServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DiscardDraftLaunchpad.php b/lib/Endpoint/DiscardDraftLaunchpad.php deleted file mode 100644 index 0b3b956..0000000 --- a/lib/Endpoint/DiscardDraftLaunchpad.php +++ /dev/null @@ -1,81 +0,0 @@ -launchpad_id = $launchpadId; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}/draft'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\Launchpad|null - * - * @throws \Bitly\Exception\DiscardDraftLaunchpadBadRequestException - * @throws \Bitly\Exception\DiscardDraftLaunchpadForbiddenException - * @throws \Bitly\Exception\DiscardDraftLaunchpadInternalServerErrorException - * @throws \Bitly\Exception\DiscardDraftLaunchpadServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Launchpad', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DiscardDraftLaunchpadBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DiscardDraftLaunchpadForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DiscardDraftLaunchpadInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DiscardDraftLaunchpadServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DiscardSiteDraft.php b/lib/Endpoint/DiscardSiteDraft.php deleted file mode 100644 index bc34d2f..0000000 --- a/lib/Endpoint/DiscardSiteDraft.php +++ /dev/null @@ -1,85 +0,0 @@ -site_id = $siteId; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}/draft'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DiscardSiteDraftBadRequestException - * @throws \Bitly\Exception\DiscardSiteDraftForbiddenException - * @throws \Bitly\Exception\DiscardSiteDraftNotFoundException - * @throws \Bitly\Exception\DiscardSiteDraftUnprocessableEntityException - * @throws \Bitly\Exception\DiscardSiteDraftInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DiscardSiteDraftBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DiscardSiteDraftForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DiscardSiteDraftNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DiscardSiteDraftUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DiscardSiteDraftInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DowngradeOrganization.php b/lib/Endpoint/DowngradeOrganization.php deleted file mode 100644 index c79312b..0000000 --- a/lib/Endpoint/DowngradeOrganization.php +++ /dev/null @@ -1,74 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/organization_downgrade'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\DowngradeOrgBody) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\DowngradeOrganizationUnprocessableEntityException - * @throws \Bitly\Exception\DowngradeOrganizationInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DowngradeOrganizationUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DowngradeOrganizationInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/DuplicateAnalyticsReport.php b/lib/Endpoint/DuplicateAnalyticsReport.php deleted file mode 100644 index 40284d2..0000000 --- a/lib/Endpoint/DuplicateAnalyticsReport.php +++ /dev/null @@ -1,88 +0,0 @@ -group_guid = $groupGuid; - $this->report_id = $reportId; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}', '{report_id}'], [$this->group_guid, $this->report_id], '/analytics/groups/{group_guid}/duplicate/{report_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\AnalyticsReport|null - * - * @throws \Bitly\Exception\DuplicateAnalyticsReportBadRequestException - * @throws \Bitly\Exception\DuplicateAnalyticsReportForbiddenException - * @throws \Bitly\Exception\DuplicateAnalyticsReportNotFoundException - * @throws \Bitly\Exception\DuplicateAnalyticsReportInternalServerErrorException - * @throws \Bitly\Exception\DuplicateAnalyticsReportServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AnalyticsReport', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DuplicateAnalyticsReportBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DuplicateAnalyticsReportForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DuplicateAnalyticsReportNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DuplicateAnalyticsReportInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\DuplicateAnalyticsReportServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/EditCustomDomain.php b/lib/Endpoint/EditCustomDomain.php deleted file mode 100644 index f8e40c3..0000000 --- a/lib/Endpoint/EditCustomDomain.php +++ /dev/null @@ -1,78 +0,0 @@ -custom_domain = $customDomain; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{custom_domain}'], [$this->custom_domain], '/custom_domains/{custom_domain}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\DomainUpdate) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\EditCustomDomainForbiddenException - * @throws \Bitly\Exception\EditCustomDomainInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (202 === $status) { - return null; - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\EditCustomDomainForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\EditCustomDomainInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/EditQRCodePreview.php b/lib/Endpoint/EditQRCodePreview.php deleted file mode 100644 index 1987e94..0000000 --- a/lib/Endpoint/EditQRCodePreview.php +++ /dev/null @@ -1,97 +0,0 @@ -group_guid = $groupGuid; - $this->id = $id; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}', '{id}'], [$this->group_guid, $this->id], '/qrcodes/preview/{group_guid}/{id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\PreviewQRCodeRequestV2) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\QRCodeFullResponse|null - * - * @throws \Bitly\Exception\EditQRCodePreviewBadRequestException - * @throws \Bitly\Exception\EditQRCodePreviewPaymentRequiredException - * @throws \Bitly\Exception\EditQRCodePreviewForbiddenException - * @throws \Bitly\Exception\EditQRCodePreviewNotFoundException - * @throws \Bitly\Exception\EditQRCodePreviewGoneException - * @throws \Bitly\Exception\EditQRCodePreviewInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\QRCodeFullResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\EditQRCodePreviewBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\EditQRCodePreviewPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\EditQRCodePreviewForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\EditQRCodePreviewNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\EditQRCodePreviewGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\EditQRCodePreviewInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/EvaluateIntervention.php b/lib/Endpoint/EvaluateIntervention.php deleted file mode 100644 index a2073da..0000000 --- a/lib/Endpoint/EvaluateIntervention.php +++ /dev/null @@ -1,90 +0,0 @@ -intervention = $intervention; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{intervention}'], [$this->intervention], '/interventions/{intervention}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\EvaluateInterventionRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\EvaluateInterventionResponse|null - * - * @throws \Bitly\Exception\EvaluateInterventionBadRequestException - * @throws \Bitly\Exception\EvaluateInterventionForbiddenException - * @throws \Bitly\Exception\EvaluateInterventionUnprocessableEntityException - * @throws \Bitly\Exception\EvaluateInterventionInternalServerErrorException - * @throws \Bitly\Exception\EvaluateInterventionServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\EvaluateInterventionResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\EvaluateInterventionBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\EvaluateInterventionForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\EvaluateInterventionUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\EvaluateInterventionInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\EvaluateInterventionServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/ExperimentDecide.php b/lib/Endpoint/ExperimentDecide.php deleted file mode 100644 index a23bc04..0000000 --- a/lib/Endpoint/ExperimentDecide.php +++ /dev/null @@ -1,82 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/private/decide'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\DecideRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\DecideResponse|null - * - * @throws \Bitly\Exception\ExperimentDecideBadRequestException - * @throws \Bitly\Exception\ExperimentDecideForbiddenException - * @throws \Bitly\Exception\ExperimentDecideUnprocessableEntityException - * @throws \Bitly\Exception\ExperimentDecideInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DecideResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ExperimentDecideBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ExperimentDecideForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ExperimentDecideUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ExperimentDecideInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/ExperimentTrack.php b/lib/Endpoint/ExperimentTrack.php deleted file mode 100644 index 5c18f2b..0000000 --- a/lib/Endpoint/ExperimentTrack.php +++ /dev/null @@ -1,78 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/private/track'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\TrackRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\ExperimentTrackForbiddenException - * @throws \Bitly\Exception\ExperimentTrackUnprocessableEntityException - * @throws \Bitly\Exception\ExperimentTrackInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ExperimentTrackForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ExperimentTrackUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ExperimentTrackInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/ExpireOAuthAuthorization.php b/lib/Endpoint/ExpireOAuthAuthorization.php deleted file mode 100644 index 5b813ab..0000000 --- a/lib/Endpoint/ExpireOAuthAuthorization.php +++ /dev/null @@ -1,81 +0,0 @@ -authorization_id = $authorizationId; - } - - public function getMethod(): string - { - return 'DELETE'; - } - - public function getUri(): string - { - return str_replace(['{authorization_id}'], [$this->authorization_id], '/oauth/authorizations/{authorization_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\ExpireOAuthAuthorizationBadRequestException - * @throws \Bitly\Exception\ExpireOAuthAuthorizationNotFoundException - * @throws \Bitly\Exception\ExpireOAuthAuthorizationInternalServerErrorException - * @throws \Bitly\Exception\ExpireOAuthAuthorizationServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ExpireOAuthAuthorizationBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ExpireOAuthAuthorizationNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ExpireOAuthAuthorizationInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ExpireOAuthAuthorizationServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/FetchCompDomainPurchase.php b/lib/Endpoint/FetchCompDomainPurchase.php deleted file mode 100644 index 2c948a6..0000000 --- a/lib/Endpoint/FetchCompDomainPurchase.php +++ /dev/null @@ -1,80 +0,0 @@ -domain = $domain; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{domain}'], [$this->domain], '/domains/{domain}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\DomainPurchase|null - * - * @throws \Bitly\Exception\FetchCompDomainPurchaseForbiddenException - * @throws \Bitly\Exception\FetchCompDomainPurchaseInternalServerErrorException - * @throws \Bitly\Exception\FetchCompDomainPurchaseGatewayTimeoutException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DomainPurchase', 'json'); - } - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\FetchCompDomainPurchaseForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\FetchCompDomainPurchaseInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (504 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\FetchCompDomainPurchaseGatewayTimeoutException($serializer->deserialize($body, 'Bitly\Model\Timeout', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/FetchDomainAgreements.php b/lib/Endpoint/FetchDomainAgreements.php deleted file mode 100644 index 1ae1b73..0000000 --- a/lib/Endpoint/FetchDomainAgreements.php +++ /dev/null @@ -1,85 +0,0 @@ -domain = $domain; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{domain}'], [$this->domain], '/domains/{domain}/agreements'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['organization_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('organization_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\DomainAgreements|null - * - * @throws \Bitly\Exception\FetchDomainAgreementsInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DomainAgreements', 'json'); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\FetchDomainAgreementsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/FetchDomainStatus.php b/lib/Endpoint/FetchDomainStatus.php deleted file mode 100644 index 71aa691..0000000 --- a/lib/Endpoint/FetchDomainStatus.php +++ /dev/null @@ -1,95 +0,0 @@ -domain = $domain; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{domain}'], [$this->domain], '/domains/{domain}/status'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['organization_guid', 'fetch_price']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['fetch_price' => false]); - $optionsResolver->addAllowedTypes('organization_guid', ['string']); - $optionsResolver->addAllowedTypes('fetch_price', ['bool']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\DomainStatus|null - * - * @throws \Bitly\Exception\FetchDomainStatusForbiddenException - * @throws \Bitly\Exception\FetchDomainStatusInternalServerErrorException - * @throws \Bitly\Exception\FetchDomainStatusGatewayTimeoutException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DomainStatus', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\FetchDomainStatusForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\FetchDomainStatusInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (504 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\FetchDomainStatusGatewayTimeoutException($serializer->deserialize($body, 'Bitly\Model\Timeout', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/ForgetUser.php b/lib/Endpoint/ForgetUser.php deleted file mode 100644 index dd76497..0000000 --- a/lib/Endpoint/ForgetUser.php +++ /dev/null @@ -1,66 +0,0 @@ - ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\ForgetUserForbiddenException - * @throws \Bitly\Exception\ForgetUserInternalServerErrorException - * @throws \Bitly\Exception\ForgetUserServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (202 === $status) { - return null; - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ForgetUserForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ForgetUserInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ForgetUserServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/FormCapture.php b/lib/Endpoint/FormCapture.php deleted file mode 100644 index 0961001..0000000 --- a/lib/Endpoint/FormCapture.php +++ /dev/null @@ -1,86 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/form_capture'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\FormCapturePayload) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\FormCaptureBadRequestException - * @throws \Bitly\Exception\FormCaptureForbiddenException - * @throws \Bitly\Exception\FormCaptureUnprocessableEntityException - * @throws \Bitly\Exception\FormCaptureInternalServerErrorException - * @throws \Bitly\Exception\FormCaptureServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (202 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\FormCaptureBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\FormCaptureForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\FormCaptureUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\FormCaptureInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\FormCaptureServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GenerateBillingSignature.php b/lib/Endpoint/GenerateBillingSignature.php deleted file mode 100644 index a679d7f..0000000 --- a/lib/Endpoint/GenerateBillingSignature.php +++ /dev/null @@ -1,73 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/billing_signature'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\BillingSignature|null - * - * @throws \Bitly\Exception\GenerateBillingSignatureForbiddenException - * @throws \Bitly\Exception\GenerateBillingSignatureInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BillingSignature', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GenerateBillingSignatureForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GenerateBillingSignatureInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAccessFeatures.php b/lib/Endpoint/GetAccessFeatures.php deleted file mode 100644 index 642bbec..0000000 --- a/lib/Endpoint/GetAccessFeatures.php +++ /dev/null @@ -1,73 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/access_features'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\AccessFeatures|null - * - * @throws \Bitly\Exception\GetAccessFeaturesForbiddenException - * @throws \Bitly\Exception\GetAccessFeaturesInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AccessFeatures', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAccessFeaturesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAccessFeaturesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateButtonClicksByCity.php b/lib/Endpoint/GetAggregateButtonClicksByCity.php deleted file mode 100644 index 6bb5c7d..0000000 --- a/lib/Endpoint/GetAggregateButtonClicksByCity.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/launchpads/clicks/cities'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['launchpad', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('launchpad', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByCitiesFacet|null - * - * @throws \Bitly\Exception\GetAggregateButtonClicksByCityBadRequestException - * @throws \Bitly\Exception\GetAggregateButtonClicksByCityForbiddenException - * @throws \Bitly\Exception\GetAggregateButtonClicksByCityInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateButtonClicksByCityServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByCitiesFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateButtonClicksByCityBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateButtonClicksByCityForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateButtonClicksByCityInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateButtonClicksByCityServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateButtonClicksByCountry.php b/lib/Endpoint/GetAggregateButtonClicksByCountry.php deleted file mode 100644 index be9ae0a..0000000 --- a/lib/Endpoint/GetAggregateButtonClicksByCountry.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/launchpads/clicks/countries'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['launchpad', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('launchpad', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByFacet|null - * - * @throws \Bitly\Exception\GetAggregateButtonClicksByCountryBadRequestException - * @throws \Bitly\Exception\GetAggregateButtonClicksByCountryForbiddenException - * @throws \Bitly\Exception\GetAggregateButtonClicksByCountryInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateButtonClicksByCountryServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateButtonClicksByCountryBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateButtonClicksByCountryForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateButtonClicksByCountryInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateButtonClicksByCountryServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateButtonClicksByDevice.php b/lib/Endpoint/GetAggregateButtonClicksByDevice.php deleted file mode 100644 index b4d2afc..0000000 --- a/lib/Endpoint/GetAggregateButtonClicksByDevice.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/launchpads/clicks/devices'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['launchpad', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('launchpad', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByFacet|null - * - * @throws \Bitly\Exception\GetAggregateButtonClicksByDeviceBadRequestException - * @throws \Bitly\Exception\GetAggregateButtonClicksByDeviceForbiddenException - * @throws \Bitly\Exception\GetAggregateButtonClicksByDeviceInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateButtonClicksByDeviceServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateButtonClicksByDeviceBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateButtonClicksByDeviceForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateButtonClicksByDeviceInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateButtonClicksByDeviceServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateButtonClicksOverTime.php b/lib/Endpoint/GetAggregateButtonClicksOverTime.php deleted file mode 100644 index b03bea0..0000000 --- a/lib/Endpoint/GetAggregateButtonClicksOverTime.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/launchpads/clicks/over_time'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['launchpad', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('launchpad', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinks|null - * - * @throws \Bitly\Exception\GetAggregateButtonClicksOverTimeBadRequestException - * @throws \Bitly\Exception\GetAggregateButtonClicksOverTimeForbiddenException - * @throws \Bitly\Exception\GetAggregateButtonClicksOverTimeInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateButtonClicksOverTimeServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateButtonClicksOverTimeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateButtonClicksOverTimeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateButtonClicksOverTimeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateButtonClicksOverTimeServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateCodeScansByCity.php b/lib/Endpoint/GetAggregateCodeScansByCity.php deleted file mode 100644 index f5c7c24..0000000 --- a/lib/Endpoint/GetAggregateCodeScansByCity.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/codes/scans/cities'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['bitlink', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('bitlink', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByCitiesFacet|null - * - * @throws \Bitly\Exception\GetAggregateCodeScansByCityBadRequestException - * @throws \Bitly\Exception\GetAggregateCodeScansByCityForbiddenException - * @throws \Bitly\Exception\GetAggregateCodeScansByCityInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateCodeScansByCityServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByCitiesFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateCodeScansByCityBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateCodeScansByCityForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateCodeScansByCityInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateCodeScansByCityServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateCodeScansByCountry.php b/lib/Endpoint/GetAggregateCodeScansByCountry.php deleted file mode 100644 index 7fa4a36..0000000 --- a/lib/Endpoint/GetAggregateCodeScansByCountry.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/codes/scans/countries'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['bitlink', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('bitlink', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByFacet|null - * - * @throws \Bitly\Exception\GetAggregateCodeScansByCountryBadRequestException - * @throws \Bitly\Exception\GetAggregateCodeScansByCountryForbiddenException - * @throws \Bitly\Exception\GetAggregateCodeScansByCountryInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateCodeScansByCountryServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateCodeScansByCountryBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateCodeScansByCountryForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateCodeScansByCountryInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateCodeScansByCountryServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateCodeScansOverTime.php b/lib/Endpoint/GetAggregateCodeScansOverTime.php deleted file mode 100644 index 8353f64..0000000 --- a/lib/Endpoint/GetAggregateCodeScansOverTime.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/codes/scans/over_time'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['bitlink', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('bitlink', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinks|null - * - * @throws \Bitly\Exception\GetAggregateCodeScansOverTimeBadRequestException - * @throws \Bitly\Exception\GetAggregateCodeScansOverTimeForbiddenException - * @throws \Bitly\Exception\GetAggregateCodeScansOverTimeInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateCodeScansOverTimeServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateCodeScansOverTimeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateCodeScansOverTimeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateCodeScansOverTimeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateCodeScansOverTimeServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateDigitalBusinessCardDownloadsOverTime.php b/lib/Endpoint/GetAggregateDigitalBusinessCardDownloadsOverTime.php deleted file mode 100644 index 8a3fd56..0000000 --- a/lib/Endpoint/GetAggregateDigitalBusinessCardDownloadsOverTime.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/launchpads/digital_business_card_downloads/over_time'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['launchpad', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('launchpad', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinks|null - * - * @throws \Bitly\Exception\GetAggregateDigitalBusinessCardDownloadsOverTimeBadRequestException - * @throws \Bitly\Exception\GetAggregateDigitalBusinessCardDownloadsOverTimeForbiddenException - * @throws \Bitly\Exception\GetAggregateDigitalBusinessCardDownloadsOverTimeInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateDigitalBusinessCardDownloadsOverTimeServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateDigitalBusinessCardDownloadsOverTimeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateDigitalBusinessCardDownloadsOverTimeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateDigitalBusinessCardDownloadsOverTimeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateDigitalBusinessCardDownloadsOverTimeServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateEngagementsForBitlinks.php b/lib/Endpoint/GetAggregateEngagementsForBitlinks.php deleted file mode 100644 index 235ce36..0000000 --- a/lib/Endpoint/GetAggregateEngagementsForBitlinks.php +++ /dev/null @@ -1,114 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/engagements/aggregate'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['bitlink', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('bitlink', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinks|null - * - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksBadRequestException - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksPaymentRequiredException - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksForbiddenException - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksNotFoundException - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksGoneException - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateEngagementsForBitlinksByCitiesFacet.php b/lib/Endpoint/GetAggregateEngagementsForBitlinksByCitiesFacet.php deleted file mode 100644 index c31a14a..0000000 --- a/lib/Endpoint/GetAggregateEngagementsForBitlinksByCitiesFacet.php +++ /dev/null @@ -1,114 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/engagements/cities/aggregate'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['bitlink', 'unit', 'unit_reference', 'units', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('bitlink', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByCitiesFacet|null - * - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksByCitiesFacetBadRequestException - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksByCitiesFacetPaymentRequiredException - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksByCitiesFacetForbiddenException - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksByCitiesFacetNotFoundException - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksByCitiesFacetGoneException - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksByCitiesFacetInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksByCitiesFacetServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByCitiesFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksByCitiesFacetBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksByCitiesFacetPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksByCitiesFacetForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksByCitiesFacetNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksByCitiesFacetGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksByCitiesFacetInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksByCitiesFacetServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateEngagementsForBitlinksByFacet.php b/lib/Endpoint/GetAggregateEngagementsForBitlinksByFacet.php deleted file mode 100644 index 4b8a2a4..0000000 --- a/lib/Endpoint/GetAggregateEngagementsForBitlinksByFacet.php +++ /dev/null @@ -1,116 +0,0 @@ -facet = $facet; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{facet}'], [$this->facet], '/engagements/aggregate/{facet}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['bitlink', 'unit', 'unit_reference', 'units', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('bitlink', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByFacet|null - * - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksByFacetBadRequestException - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksByFacetPaymentRequiredException - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksByFacetForbiddenException - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksByFacetNotFoundException - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksByFacetGoneException - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksByFacetInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateEngagementsForBitlinksByFacetServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksByFacetBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksByFacetPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksByFacetForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksByFacetNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksByFacetGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksByFacetInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateEngagementsForBitlinksByFacetServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateLinkClicksByCity.php b/lib/Endpoint/GetAggregateLinkClicksByCity.php deleted file mode 100644 index 700e731..0000000 --- a/lib/Endpoint/GetAggregateLinkClicksByCity.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/links/clicks/cities'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['bitlink', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('bitlink', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByCitiesFacet|null - * - * @throws \Bitly\Exception\GetAggregateLinkClicksByCityBadRequestException - * @throws \Bitly\Exception\GetAggregateLinkClicksByCityForbiddenException - * @throws \Bitly\Exception\GetAggregateLinkClicksByCityInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateLinkClicksByCityServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByCitiesFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksByCityBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksByCityForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksByCityInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksByCityServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateLinkClicksByCountry.php b/lib/Endpoint/GetAggregateLinkClicksByCountry.php deleted file mode 100644 index 7da5301..0000000 --- a/lib/Endpoint/GetAggregateLinkClicksByCountry.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/links/clicks/countries'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['bitlink', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('bitlink', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByFacet|null - * - * @throws \Bitly\Exception\GetAggregateLinkClicksByCountryBadRequestException - * @throws \Bitly\Exception\GetAggregateLinkClicksByCountryForbiddenException - * @throws \Bitly\Exception\GetAggregateLinkClicksByCountryInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateLinkClicksByCountryServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksByCountryBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksByCountryForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksByCountryInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksByCountryServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateLinkClicksByDevice.php b/lib/Endpoint/GetAggregateLinkClicksByDevice.php deleted file mode 100644 index f9da4c2..0000000 --- a/lib/Endpoint/GetAggregateLinkClicksByDevice.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/links/clicks/devices'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['bitlink', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('bitlink', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByFacet|null - * - * @throws \Bitly\Exception\GetAggregateLinkClicksByDeviceBadRequestException - * @throws \Bitly\Exception\GetAggregateLinkClicksByDeviceForbiddenException - * @throws \Bitly\Exception\GetAggregateLinkClicksByDeviceInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateLinkClicksByDeviceServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksByDeviceBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksByDeviceForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksByDeviceInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksByDeviceServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateLinkClicksByReferrer.php b/lib/Endpoint/GetAggregateLinkClicksByReferrer.php deleted file mode 100644 index 3cd3e8e..0000000 --- a/lib/Endpoint/GetAggregateLinkClicksByReferrer.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/links/clicks/referrers'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['bitlink', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('bitlink', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByFacet|null - * - * @throws \Bitly\Exception\GetAggregateLinkClicksByReferrerBadRequestException - * @throws \Bitly\Exception\GetAggregateLinkClicksByReferrerForbiddenException - * @throws \Bitly\Exception\GetAggregateLinkClicksByReferrerInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateLinkClicksByReferrerServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksByReferrerBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksByReferrerForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksByReferrerInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksByReferrerServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateLinkClicksOverTime.php b/lib/Endpoint/GetAggregateLinkClicksOverTime.php deleted file mode 100644 index 6c10ed5..0000000 --- a/lib/Endpoint/GetAggregateLinkClicksOverTime.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/links/clicks/over_time'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['bitlink', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('bitlink', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinks|null - * - * @throws \Bitly\Exception\GetAggregateLinkClicksOverTimeBadRequestException - * @throws \Bitly\Exception\GetAggregateLinkClicksOverTimeForbiddenException - * @throws \Bitly\Exception\GetAggregateLinkClicksOverTimeInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateLinkClicksOverTimeServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksOverTimeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksOverTimeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksOverTimeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateLinkClicksOverTimeServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregatePageViewsByCity.php b/lib/Endpoint/GetAggregatePageViewsByCity.php deleted file mode 100644 index 3d618dd..0000000 --- a/lib/Endpoint/GetAggregatePageViewsByCity.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/launchpads/views/cities'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['launchpad', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('launchpad', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByCitiesFacet|null - * - * @throws \Bitly\Exception\GetAggregatePageViewsByCityBadRequestException - * @throws \Bitly\Exception\GetAggregatePageViewsByCityForbiddenException - * @throws \Bitly\Exception\GetAggregatePageViewsByCityInternalServerErrorException - * @throws \Bitly\Exception\GetAggregatePageViewsByCityServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByCitiesFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsByCityBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsByCityForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsByCityInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsByCityServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregatePageViewsByCountry.php b/lib/Endpoint/GetAggregatePageViewsByCountry.php deleted file mode 100644 index 556c7a4..0000000 --- a/lib/Endpoint/GetAggregatePageViewsByCountry.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/launchpads/views/countries'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['launchpad', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('launchpad', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByFacet|null - * - * @throws \Bitly\Exception\GetAggregatePageViewsByCountryBadRequestException - * @throws \Bitly\Exception\GetAggregatePageViewsByCountryForbiddenException - * @throws \Bitly\Exception\GetAggregatePageViewsByCountryInternalServerErrorException - * @throws \Bitly\Exception\GetAggregatePageViewsByCountryServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsByCountryBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsByCountryForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsByCountryInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsByCountryServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregatePageViewsByDevice.php b/lib/Endpoint/GetAggregatePageViewsByDevice.php deleted file mode 100644 index fe26fe5..0000000 --- a/lib/Endpoint/GetAggregatePageViewsByDevice.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/launchpads/views/devices'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['launchpad', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('launchpad', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByFacet|null - * - * @throws \Bitly\Exception\GetAggregatePageViewsByDeviceBadRequestException - * @throws \Bitly\Exception\GetAggregatePageViewsByDeviceForbiddenException - * @throws \Bitly\Exception\GetAggregatePageViewsByDeviceInternalServerErrorException - * @throws \Bitly\Exception\GetAggregatePageViewsByDeviceServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsByDeviceBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsByDeviceForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsByDeviceInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsByDeviceServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregatePageViewsByReferrer.php b/lib/Endpoint/GetAggregatePageViewsByReferrer.php deleted file mode 100644 index 7ad7c53..0000000 --- a/lib/Endpoint/GetAggregatePageViewsByReferrer.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/launchpads/views/referrers'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['launchpad', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('launchpad', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByFacet|null - * - * @throws \Bitly\Exception\GetAggregatePageViewsByReferrerBadRequestException - * @throws \Bitly\Exception\GetAggregatePageViewsByReferrerForbiddenException - * @throws \Bitly\Exception\GetAggregatePageViewsByReferrerInternalServerErrorException - * @throws \Bitly\Exception\GetAggregatePageViewsByReferrerServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsByReferrerBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsByReferrerForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsByReferrerInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsByReferrerServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregatePageViewsOverTime.php b/lib/Endpoint/GetAggregatePageViewsOverTime.php deleted file mode 100644 index 7df3c81..0000000 --- a/lib/Endpoint/GetAggregatePageViewsOverTime.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/launchpads/views/over_time'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['launchpad', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('launchpad', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinks|null - * - * @throws \Bitly\Exception\GetAggregatePageViewsOverTimeBadRequestException - * @throws \Bitly\Exception\GetAggregatePageViewsOverTimeForbiddenException - * @throws \Bitly\Exception\GetAggregatePageViewsOverTimeInternalServerErrorException - * @throws \Bitly\Exception\GetAggregatePageViewsOverTimeServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsOverTimeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsOverTimeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsOverTimeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePageViewsOverTimeServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregatePagesOverview.php b/lib/Endpoint/GetAggregatePagesOverview.php deleted file mode 100644 index a018b00..0000000 --- a/lib/Endpoint/GetAggregatePagesOverview.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/launchpads/overview'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['launchpad', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('launchpad', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateLaunchpadsOverviewGetResponse200|null - * - * @throws \Bitly\Exception\GetAggregatePagesOverviewBadRequestException - * @throws \Bitly\Exception\GetAggregatePagesOverviewForbiddenException - * @throws \Bitly\Exception\GetAggregatePagesOverviewInternalServerErrorException - * @throws \Bitly\Exception\GetAggregatePagesOverviewServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateLaunchpadsOverviewGetResponse200', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePagesOverviewBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePagesOverviewForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePagesOverviewInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregatePagesOverviewServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateSiteViewsByCity.php b/lib/Endpoint/GetAggregateSiteViewsByCity.php deleted file mode 100644 index f79740e..0000000 --- a/lib/Endpoint/GetAggregateSiteViewsByCity.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/sites/views/cities'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['site', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('site', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByCitiesFacet|null - * - * @throws \Bitly\Exception\GetAggregateSiteViewsByCityBadRequestException - * @throws \Bitly\Exception\GetAggregateSiteViewsByCityForbiddenException - * @throws \Bitly\Exception\GetAggregateSiteViewsByCityInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateSiteViewsByCityServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByCitiesFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsByCityBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsByCityForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsByCityInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsByCityServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateSiteViewsByCountry.php b/lib/Endpoint/GetAggregateSiteViewsByCountry.php deleted file mode 100644 index e30f251..0000000 --- a/lib/Endpoint/GetAggregateSiteViewsByCountry.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/sites/views/countries'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['site', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('site', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByFacet|null - * - * @throws \Bitly\Exception\GetAggregateSiteViewsByCountryBadRequestException - * @throws \Bitly\Exception\GetAggregateSiteViewsByCountryForbiddenException - * @throws \Bitly\Exception\GetAggregateSiteViewsByCountryInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateSiteViewsByCountryServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsByCountryBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsByCountryForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsByCountryInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsByCountryServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateSiteViewsByDevice.php b/lib/Endpoint/GetAggregateSiteViewsByDevice.php deleted file mode 100644 index 05c8d83..0000000 --- a/lib/Endpoint/GetAggregateSiteViewsByDevice.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/sites/views/devices'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['site', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('site', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByFacet|null - * - * @throws \Bitly\Exception\GetAggregateSiteViewsByDeviceBadRequestException - * @throws \Bitly\Exception\GetAggregateSiteViewsByDeviceForbiddenException - * @throws \Bitly\Exception\GetAggregateSiteViewsByDeviceInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateSiteViewsByDeviceServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsByDeviceBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsByDeviceForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsByDeviceInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsByDeviceServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateSiteViewsByReferrer.php b/lib/Endpoint/GetAggregateSiteViewsByReferrer.php deleted file mode 100644 index a05b76b..0000000 --- a/lib/Endpoint/GetAggregateSiteViewsByReferrer.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/sites/views/referrers'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['site', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('site', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByFacet|null - * - * @throws \Bitly\Exception\GetAggregateSiteViewsByReferrerBadRequestException - * @throws \Bitly\Exception\GetAggregateSiteViewsByReferrerForbiddenException - * @throws \Bitly\Exception\GetAggregateSiteViewsByReferrerInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateSiteViewsByReferrerServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsByReferrerBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsByReferrerForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsByReferrerInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsByReferrerServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateSiteViewsOverTime.php b/lib/Endpoint/GetAggregateSiteViewsOverTime.php deleted file mode 100644 index 7213322..0000000 --- a/lib/Endpoint/GetAggregateSiteViewsOverTime.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/sites/views/over_time'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['site', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('site', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinks|null - * - * @throws \Bitly\Exception\GetAggregateSiteViewsOverTimeBadRequestException - * @throws \Bitly\Exception\GetAggregateSiteViewsOverTimeForbiddenException - * @throws \Bitly\Exception\GetAggregateSiteViewsOverTimeInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateSiteViewsOverTimeServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsOverTimeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsOverTimeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsOverTimeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSiteViewsOverTimeServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateSitesOverview.php b/lib/Endpoint/GetAggregateSitesOverview.php deleted file mode 100644 index 1249d91..0000000 --- a/lib/Endpoint/GetAggregateSitesOverview.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/sites/overview'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['site', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('site', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateSitesOverviewGetResponse200|null - * - * @throws \Bitly\Exception\GetAggregateSitesOverviewBadRequestException - * @throws \Bitly\Exception\GetAggregateSitesOverviewForbiddenException - * @throws \Bitly\Exception\GetAggregateSitesOverviewInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateSitesOverviewServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateSitesOverviewGetResponse200', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSitesOverviewBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSitesOverviewForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSitesOverviewInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateSitesOverviewServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateTopButtonClicks.php b/lib/Endpoint/GetAggregateTopButtonClicks.php deleted file mode 100644 index 68c4269..0000000 --- a/lib/Endpoint/GetAggregateTopButtonClicks.php +++ /dev/null @@ -1,104 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/launchpads/clicks/top'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['launchpad', 'unit', 'units', 'unit_reference', 'brand_guid', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('launchpad', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('brand_guid', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\SortedButtons|null - * - * @throws \Bitly\Exception\GetAggregateTopButtonClicksBadRequestException - * @throws \Bitly\Exception\GetAggregateTopButtonClicksForbiddenException - * @throws \Bitly\Exception\GetAggregateTopButtonClicksInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateTopButtonClicksServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SortedButtons', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateTopButtonClicksBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateTopButtonClicksForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateTopButtonClicksInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateTopButtonClicksServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateTopCodeScans.php b/lib/Endpoint/GetAggregateTopCodeScans.php deleted file mode 100644 index 44d2c86..0000000 --- a/lib/Endpoint/GetAggregateTopCodeScans.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/codes/scans/top'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['bitlink', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('bitlink', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\SortedLinks|null - * - * @throws \Bitly\Exception\GetAggregateTopCodeScansBadRequestException - * @throws \Bitly\Exception\GetAggregateTopCodeScansForbiddenException - * @throws \Bitly\Exception\GetAggregateTopCodeScansInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateTopCodeScansServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SortedLinks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateTopCodeScansBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateTopCodeScansForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateTopCodeScansInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateTopCodeScansServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAggregateTopLinkClicks.php b/lib/Endpoint/GetAggregateTopLinkClicks.php deleted file mode 100644 index ab4b463..0000000 --- a/lib/Endpoint/GetAggregateTopLinkClicks.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/links/clicks/top'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['bitlink', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('bitlink', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\SortedLinks|null - * - * @throws \Bitly\Exception\GetAggregateTopLinkClicksBadRequestException - * @throws \Bitly\Exception\GetAggregateTopLinkClicksForbiddenException - * @throws \Bitly\Exception\GetAggregateTopLinkClicksInternalServerErrorException - * @throws \Bitly\Exception\GetAggregateTopLinkClicksServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SortedLinks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateTopLinkClicksBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateTopLinkClicksForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateTopLinkClicksInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAggregateTopLinkClicksServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAllBrandCampaigns.php b/lib/Endpoint/GetAllBrandCampaigns.php deleted file mode 100644 index 7d3156f..0000000 --- a/lib/Endpoint/GetAllBrandCampaigns.php +++ /dev/null @@ -1,97 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/private/groups/{group_guid}/campaigns'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['limit', 'offset', 'query']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('limit', ['int']); - $optionsResolver->addAllowedTypes('offset', ['int']); - $optionsResolver->addAllowedTypes('query', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\BrandCampaignsResponse|null - * - * @throws \Bitly\Exception\GetAllBrandCampaignsBadRequestException - * @throws \Bitly\Exception\GetAllBrandCampaignsUnprocessableEntityException - * @throws \Bitly\Exception\GetAllBrandCampaignsInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BrandCampaignsResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAllBrandCampaignsBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAllBrandCampaignsUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAllBrandCampaignsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAnalyticsModule.php b/lib/Endpoint/GetAnalyticsModule.php deleted file mode 100644 index f189a35..0000000 --- a/lib/Endpoint/GetAnalyticsModule.php +++ /dev/null @@ -1,83 +0,0 @@ -group_guid = $groupGuid; - $this->module_guid = $moduleGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}', '{module_guid}'], [$this->group_guid, $this->module_guid], '/analytics/groups/{group_guid}/modules/{module_guid}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\Module|null - * - * @throws \Bitly\Exception\GetAnalyticsModuleForbiddenException - * @throws \Bitly\Exception\GetAnalyticsModuleNotFoundException - * @throws \Bitly\Exception\GetAnalyticsModuleInternalServerErrorException - * @throws \Bitly\Exception\GetAnalyticsModuleServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Module', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsModuleForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsModuleNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsModuleInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsModuleServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAnalyticsReport.php b/lib/Endpoint/GetAnalyticsReport.php deleted file mode 100644 index 3c25e53..0000000 --- a/lib/Endpoint/GetAnalyticsReport.php +++ /dev/null @@ -1,84 +0,0 @@ -group_guid = $groupGuid; - $this->report_id = $reportId; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}', '{report_id}'], [$this->group_guid, $this->report_id], '/analytics/groups/{group_guid}/reports/{report_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\AnalyticsReport|null - * - * @throws \Bitly\Exception\GetAnalyticsReportForbiddenException - * @throws \Bitly\Exception\GetAnalyticsReportNotFoundException - * @throws \Bitly\Exception\GetAnalyticsReportInternalServerErrorException - * @throws \Bitly\Exception\GetAnalyticsReportServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AnalyticsReport', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsReportForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsReportNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsReportInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsReportServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAnalyticsReportsByGroupPaginated.php b/lib/Endpoint/GetAnalyticsReportsByGroupPaginated.php deleted file mode 100644 index 5cdb75a..0000000 --- a/lib/Endpoint/GetAnalyticsReportsByGroupPaginated.php +++ /dev/null @@ -1,103 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/analytics/groups/{group_guid}/reports'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['page', 'size']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['page' => 1, 'size' => 50]); - $optionsResolver->addAllowedTypes('page', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\PaginatedAnalyticsReports|null - * - * @throws \Bitly\Exception\GetAnalyticsReportsByGroupPaginatedBadRequestException - * @throws \Bitly\Exception\GetAnalyticsReportsByGroupPaginatedPaymentRequiredException - * @throws \Bitly\Exception\GetAnalyticsReportsByGroupPaginatedForbiddenException - * @throws \Bitly\Exception\GetAnalyticsReportsByGroupPaginatedInternalServerErrorException - * @throws \Bitly\Exception\GetAnalyticsReportsByGroupPaginatedServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\PaginatedAnalyticsReports', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsReportsByGroupPaginatedBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsReportsByGroupPaginatedPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsReportsByGroupPaginatedForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsReportsByGroupPaginatedInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsReportsByGroupPaginatedServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAnalyticsReportsListByGroup.php b/lib/Endpoint/GetAnalyticsReportsListByGroup.php deleted file mode 100644 index 09e3f5b..0000000 --- a/lib/Endpoint/GetAnalyticsReportsListByGroup.php +++ /dev/null @@ -1,85 +0,0 @@ -group_guid = $groupGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/analytics/groups/{group_guid}/reports_list'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\AnalyticsReports|null - * - * @throws \Bitly\Exception\GetAnalyticsReportsListByGroupBadRequestException - * @throws \Bitly\Exception\GetAnalyticsReportsListByGroupPaymentRequiredException - * @throws \Bitly\Exception\GetAnalyticsReportsListByGroupForbiddenException - * @throws \Bitly\Exception\GetAnalyticsReportsListByGroupInternalServerErrorException - * @throws \Bitly\Exception\GetAnalyticsReportsListByGroupServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AnalyticsReports', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsReportsListByGroupBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsReportsListByGroupPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsReportsListByGroupForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsReportsListByGroupInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsReportsListByGroupServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAnalyticsUsage.php b/lib/Endpoint/GetAnalyticsUsage.php deleted file mode 100644 index 99ae4bd..0000000 --- a/lib/Endpoint/GetAnalyticsUsage.php +++ /dev/null @@ -1,81 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/analytics/organizations/{organization_guid}/usage'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\GroupAnalyticsUsage[]|null - * - * @throws \Bitly\Exception\GetAnalyticsUsageBadRequestException - * @throws \Bitly\Exception\GetAnalyticsUsageForbiddenException - * @throws \Bitly\Exception\GetAnalyticsUsageInternalServerErrorException - * @throws \Bitly\Exception\GetAnalyticsUsageServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\GroupAnalyticsUsage[]', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsUsageBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsUsageForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsUsageInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAnalyticsUsageServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAppAssociations.php b/lib/Endpoint/GetAppAssociations.php deleted file mode 100644 index f7afbfa..0000000 --- a/lib/Endpoint/GetAppAssociations.php +++ /dev/null @@ -1,85 +0,0 @@ -custom_domain = $customDomain; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{custom_domain}'], [$this->custom_domain], '/custom_domains/{custom_domain}/appassociations'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\AppAssociations|null - * - * @throws \Bitly\Exception\GetAppAssociationsPaymentRequiredException - * @throws \Bitly\Exception\GetAppAssociationsForbiddenException - * @throws \Bitly\Exception\GetAppAssociationsNotFoundException - * @throws \Bitly\Exception\GetAppAssociationsInternalServerErrorException - * @throws \Bitly\Exception\GetAppAssociationsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AppAssociations', 'json'); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAppAssociationsPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAppAssociationsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAppAssociationsNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAppAssociationsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAppAssociationsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetAutobrandedDomain.php b/lib/Endpoint/GetAutobrandedDomain.php deleted file mode 100644 index b9de642..0000000 --- a/lib/Endpoint/GetAutobrandedDomain.php +++ /dev/null @@ -1,86 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/autobranded_domain'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['long_url']); - $optionsResolver->setRequired(['long_url']); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('long_url', ['array']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AutobrandedDomain|null - * - * @throws \Bitly\Exception\GetAutobrandedDomainBadRequestException - * @throws \Bitly\Exception\GetAutobrandedDomainInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AutobrandedDomain', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAutobrandedDomainBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetAutobrandedDomainInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetBillingAccount.php b/lib/Endpoint/GetBillingAccount.php deleted file mode 100644 index 1b96a5f..0000000 --- a/lib/Endpoint/GetBillingAccount.php +++ /dev/null @@ -1,76 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/billing_account'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\BillingAccount|null - * - * @throws \Bitly\Exception\GetBillingAccountForbiddenException - * @throws \Bitly\Exception\GetBillingAccountInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BillingAccount', 'json'); - } - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBillingAccountForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBillingAccountInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetBillingAccountID.php b/lib/Endpoint/GetBillingAccountID.php deleted file mode 100644 index e54bd28..0000000 --- a/lib/Endpoint/GetBillingAccountID.php +++ /dev/null @@ -1,73 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/billing_account_id'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\BillingAccountID|null - * - * @throws \Bitly\Exception\GetBillingAccountIDForbiddenException - * @throws \Bitly\Exception\GetBillingAccountIDInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BillingAccountID', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBillingAccountIDForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBillingAccountIDInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetBillingProvider.php b/lib/Endpoint/GetBillingProvider.php deleted file mode 100644 index f3fe5d5..0000000 --- a/lib/Endpoint/GetBillingProvider.php +++ /dev/null @@ -1,77 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/private/stripe/organizations/{organization_guid}/billing_provider'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\BillingProvider|null - * - * @throws \Bitly\Exception\GetBillingProviderBadRequestException - * @throws \Bitly\Exception\GetBillingProviderForbiddenException - * @throws \Bitly\Exception\GetBillingProviderInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BillingProvider', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBillingProviderBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBillingProviderForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBillingProviderInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetBitlinkClickCounts.php b/lib/Endpoint/GetBitlinkClickCounts.php deleted file mode 100644 index 2315c15..0000000 --- a/lib/Endpoint/GetBitlinkClickCounts.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/clicks'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['bitlink_id']); - $optionsResolver->setRequired(['bitlink_id']); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('bitlink_id', ['array']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ClicksForBitlinks|null - * - * @throws \Bitly\Exception\GetBitlinkClickCountsBadRequestException - * @throws \Bitly\Exception\GetBitlinkClickCountsNotFoundException - * @throws \Bitly\Exception\GetBitlinkClickCountsGoneException - * @throws \Bitly\Exception\GetBitlinkClickCountsUnprocessableEntityException - * @throws \Bitly\Exception\GetBitlinkClickCountsInternalServerErrorException - * @throws \Bitly\Exception\GetBitlinkClickCountsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ClicksForBitlinks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClickCountsBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClickCountsNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClickCountsGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClickCountsUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClickCountsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClickCountsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetBitlinkClicks.php b/lib/Endpoint/GetBitlinkClicks.php deleted file mode 100644 index 7756f98..0000000 --- a/lib/Endpoint/GetBitlinkClicks.php +++ /dev/null @@ -1,109 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/bitlink_clicks'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\BitlinkClicks|null - * - * @throws \Bitly\Exception\GetBitlinkClicksBadRequestException - * @throws \Bitly\Exception\GetBitlinkClicksForbiddenException - * @throws \Bitly\Exception\GetBitlinkClicksNotFoundException - * @throws \Bitly\Exception\GetBitlinkClicksGoneException - * @throws \Bitly\Exception\GetBitlinkClicksInternalServerErrorException - * @throws \Bitly\Exception\GetBitlinkClicksServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BitlinkClicks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetBitlinkClicksMetricsForBitlinkByBrowser.php b/lib/Endpoint/GetBitlinkClicksMetricsForBitlinkByBrowser.php deleted file mode 100644 index 269f7f8..0000000 --- a/lib/Endpoint/GetBitlinkClicksMetricsForBitlinkByBrowser.php +++ /dev/null @@ -1,123 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/bitlink_clicks/browsers'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/json', 'text/csv']]; - } - - return $this->accept; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\BitlinkClicksMetrics|null - * - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByBrowserBadRequestException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByBrowserPaymentRequiredException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByBrowserForbiddenException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByBrowserNotFoundException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByBrowserGoneException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByBrowserInternalServerErrorException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByBrowserServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BitlinkClicksMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByBrowserBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByBrowserPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByBrowserForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByBrowserNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByBrowserGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByBrowserInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByBrowserServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetBitlinkClicksMetricsForBitlinkByCities.php b/lib/Endpoint/GetBitlinkClicksMetricsForBitlinkByCities.php deleted file mode 100644 index 8e9b1fc..0000000 --- a/lib/Endpoint/GetBitlinkClicksMetricsForBitlinkByCities.php +++ /dev/null @@ -1,123 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/bitlink_clicks/cities'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/json', 'text/csv']]; - } - - return $this->accept; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\CityBitlinkClicksMetrics|null - * - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCitiesBadRequestException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCitiesPaymentRequiredException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCitiesForbiddenException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCitiesNotFoundException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCitiesGoneException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCitiesInternalServerErrorException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCitiesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\CityBitlinkClicksMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCitiesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCitiesPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCitiesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCitiesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCitiesGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCitiesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCitiesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetBitlinkClicksMetricsForBitlinkByCountries.php b/lib/Endpoint/GetBitlinkClicksMetricsForBitlinkByCountries.php deleted file mode 100644 index 62864e3..0000000 --- a/lib/Endpoint/GetBitlinkClicksMetricsForBitlinkByCountries.php +++ /dev/null @@ -1,123 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/bitlink_clicks/countries'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/json', 'text/csv']]; - } - - return $this->accept; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\BitlinkClicksMetrics|null - * - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCountriesBadRequestException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCountriesPaymentRequiredException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCountriesForbiddenException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCountriesNotFoundException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCountriesGoneException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCountriesInternalServerErrorException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCountriesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BitlinkClicksMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCountriesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCountriesPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCountriesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCountriesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCountriesGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCountriesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByCountriesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetBitlinkClicksMetricsForBitlinkByDevicesOS.php b/lib/Endpoint/GetBitlinkClicksMetricsForBitlinkByDevicesOS.php deleted file mode 100644 index b05eafc..0000000 --- a/lib/Endpoint/GetBitlinkClicksMetricsForBitlinkByDevicesOS.php +++ /dev/null @@ -1,123 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/bitlink_clicks/device_os'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/json', 'text/csv']]; - } - - return $this->accept; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\BitlinkClicksMetrics|null - * - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSBadRequestException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSPaymentRequiredException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSForbiddenException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSNotFoundException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSGoneException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSInternalServerErrorException - * @throws \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BitlinkClicksMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksMetricsForBitlinkByDevicesOSServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetBitlinkClicksSummary.php b/lib/Endpoint/GetBitlinkClicksSummary.php deleted file mode 100644 index 851f46d..0000000 --- a/lib/Endpoint/GetBitlinkClicksSummary.php +++ /dev/null @@ -1,109 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/bitlink_clicks/summary'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\BitlinkClicksSummary|null - * - * @throws \Bitly\Exception\GetBitlinkClicksSummaryBadRequestException - * @throws \Bitly\Exception\GetBitlinkClicksSummaryForbiddenException - * @throws \Bitly\Exception\GetBitlinkClicksSummaryNotFoundException - * @throws \Bitly\Exception\GetBitlinkClicksSummaryGoneException - * @throws \Bitly\Exception\GetBitlinkClicksSummaryInternalServerErrorException - * @throws \Bitly\Exception\GetBitlinkClicksSummaryServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BitlinkClicksSummary', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksSummaryBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksSummaryForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksSummaryNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksSummaryGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksSummaryInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkClicksSummaryServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetBitlinkScans.php b/lib/Endpoint/GetBitlinkScans.php deleted file mode 100644 index 5b1e525..0000000 --- a/lib/Endpoint/GetBitlinkScans.php +++ /dev/null @@ -1,109 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/bitlink_scans'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\BitlinkScans|null - * - * @throws \Bitly\Exception\GetBitlinkScansBadRequestException - * @throws \Bitly\Exception\GetBitlinkScansForbiddenException - * @throws \Bitly\Exception\GetBitlinkScansNotFoundException - * @throws \Bitly\Exception\GetBitlinkScansGoneException - * @throws \Bitly\Exception\GetBitlinkScansInternalServerErrorException - * @throws \Bitly\Exception\GetBitlinkScansServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BitlinkScans', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkScansBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkScansForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkScansNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkScansGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkScansInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkScansServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetBitlinkScansSummary.php b/lib/Endpoint/GetBitlinkScansSummary.php deleted file mode 100644 index a79c621..0000000 --- a/lib/Endpoint/GetBitlinkScansSummary.php +++ /dev/null @@ -1,109 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/bitlink_scans/summary'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\BitlinkScansSummary|null - * - * @throws \Bitly\Exception\GetBitlinkScansSummaryBadRequestException - * @throws \Bitly\Exception\GetBitlinkScansSummaryForbiddenException - * @throws \Bitly\Exception\GetBitlinkScansSummaryNotFoundException - * @throws \Bitly\Exception\GetBitlinkScansSummaryGoneException - * @throws \Bitly\Exception\GetBitlinkScansSummaryInternalServerErrorException - * @throws \Bitly\Exception\GetBitlinkScansSummaryServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BitlinkScansSummary', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkScansSummaryBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkScansSummaryForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkScansSummaryNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkScansSummaryGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkScansSummaryInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBitlinkScansSummaryServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetBlockDigitalBusinessCardDownloadsByCities.php b/lib/Endpoint/GetBlockDigitalBusinessCardDownloadsByCities.php deleted file mode 100644 index 7e1d84c..0000000 --- a/lib/Endpoint/GetBlockDigitalBusinessCardDownloadsByCities.php +++ /dev/null @@ -1,110 +0,0 @@ -site_id = $siteId; - $this->block_id = $blockId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{site_id}', '{block_id}'], [$this->site_id, $this->block_id], '/sites/{site_id}/blocks/{block_id}/digital_business_card_downloads/cities'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\CityDownloadMetrics|null - * - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCitiesBadRequestException - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCitiesForbiddenException - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCitiesNotFoundException - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCitiesInternalServerErrorException - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCitiesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\CityDownloadMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCitiesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCitiesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCitiesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCitiesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCitiesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetBlockDigitalBusinessCardDownloadsByCountries.php b/lib/Endpoint/GetBlockDigitalBusinessCardDownloadsByCountries.php deleted file mode 100644 index a4412c5..0000000 --- a/lib/Endpoint/GetBlockDigitalBusinessCardDownloadsByCountries.php +++ /dev/null @@ -1,110 +0,0 @@ -site_id = $siteId; - $this->block_id = $blockId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{site_id}', '{block_id}'], [$this->site_id, $this->block_id], '/sites/{site_id}/blocks/{block_id}/digital_business_card_downloads/countries'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\DownloadMetrics|null - * - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCountriesBadRequestException - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCountriesForbiddenException - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCountriesNotFoundException - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCountriesInternalServerErrorException - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCountriesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DownloadMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCountriesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCountriesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCountriesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCountriesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByCountriesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetBlockDigitalBusinessCardDownloadsByDevices.php b/lib/Endpoint/GetBlockDigitalBusinessCardDownloadsByDevices.php deleted file mode 100644 index 7371f71..0000000 --- a/lib/Endpoint/GetBlockDigitalBusinessCardDownloadsByDevices.php +++ /dev/null @@ -1,110 +0,0 @@ -site_id = $siteId; - $this->block_id = $blockId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{site_id}', '{block_id}'], [$this->site_id, $this->block_id], '/sites/{site_id}/blocks/{block_id}/digital_business_card_downloads/devices'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\DeviceDownloadMetrics|null - * - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByDevicesBadRequestException - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByDevicesForbiddenException - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByDevicesNotFoundException - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByDevicesInternalServerErrorException - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByDevicesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DeviceDownloadMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByDevicesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByDevicesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByDevicesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByDevicesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsByDevicesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetBlockDigitalBusinessCardDownloadsOverTime.php b/lib/Endpoint/GetBlockDigitalBusinessCardDownloadsOverTime.php deleted file mode 100644 index 4e27312..0000000 --- a/lib/Endpoint/GetBlockDigitalBusinessCardDownloadsOverTime.php +++ /dev/null @@ -1,110 +0,0 @@ -site_id = $siteId; - $this->block_id = $blockId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{site_id}', '{block_id}'], [$this->site_id, $this->block_id], '/sites/{site_id}/blocks/{block_id}/digital_business_card_downloads/over_time'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\DownloadsOverTime|null - * - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsOverTimeBadRequestException - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsOverTimeForbiddenException - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsOverTimeNotFoundException - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsOverTimeInternalServerErrorException - * @throws \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsOverTimeServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DownloadsOverTime', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsOverTimeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsOverTimeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsOverTimeNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsOverTimeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBlockDigitalBusinessCardDownloadsOverTimeServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetBrandCampaign.php b/lib/Endpoint/GetBrandCampaign.php deleted file mode 100644 index 5c43cbc..0000000 --- a/lib/Endpoint/GetBrandCampaign.php +++ /dev/null @@ -1,80 +0,0 @@ -group_guid = $groupGuid; - $this->campaign_guid = $campaignGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}', '{campaign_guid}'], [$this->group_guid, $this->campaign_guid], '/private/groups/{group_guid}/campaigns/{campaign_guid}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\BrandCampaign|null - * - * @throws \Bitly\Exception\GetBrandCampaignBadRequestException - * @throws \Bitly\Exception\GetBrandCampaignUnprocessableEntityException - * @throws \Bitly\Exception\GetBrandCampaignInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BrandCampaign', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBrandCampaignBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBrandCampaignUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBrandCampaignInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetBulkUploads.php b/lib/Endpoint/GetBulkUploads.php deleted file mode 100644 index 221e5b3..0000000 --- a/lib/Endpoint/GetBulkUploads.php +++ /dev/null @@ -1,105 +0,0 @@ -organization_guid = $organizationGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/bulk_upload/{organization_guid}/uploads'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['upload_type']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('upload_type', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\BulkUploads|null - * - * @throws \Bitly\Exception\GetBulkUploadsBadRequestException - * @throws \Bitly\Exception\GetBulkUploadsPaymentRequiredException - * @throws \Bitly\Exception\GetBulkUploadsForbiddenException - * @throws \Bitly\Exception\GetBulkUploadsNotFoundException - * @throws \Bitly\Exception\GetBulkUploadsInternalServerErrorException - * @throws \Bitly\Exception\GetBulkUploadsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BulkUploads', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBulkUploadsBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBulkUploadsPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBulkUploadsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBulkUploadsNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBulkUploadsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetBulkUploadsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetButtonClicks.php b/lib/Endpoint/GetButtonClicks.php deleted file mode 100644 index 6b0a189..0000000 --- a/lib/Endpoint/GetButtonClicks.php +++ /dev/null @@ -1,109 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/button_clicks'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ButtonClicks|null - * - * @throws \Bitly\Exception\GetButtonClicksBadRequestException - * @throws \Bitly\Exception\GetButtonClicksForbiddenException - * @throws \Bitly\Exception\GetButtonClicksNotFoundException - * @throws \Bitly\Exception\GetButtonClicksGoneException - * @throws \Bitly\Exception\GetButtonClicksInternalServerErrorException - * @throws \Bitly\Exception\GetButtonClicksServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ButtonClicks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetButtonClicksBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetButtonClicksForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetButtonClicksNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetButtonClicksGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetButtonClicksInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetButtonClicksServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetButtonClicksSummary.php b/lib/Endpoint/GetButtonClicksSummary.php deleted file mode 100644 index e5ea0f5..0000000 --- a/lib/Endpoint/GetButtonClicksSummary.php +++ /dev/null @@ -1,109 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/button_clicks/summary'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ButtonClicksSummary|null - * - * @throws \Bitly\Exception\GetButtonClicksSummaryBadRequestException - * @throws \Bitly\Exception\GetButtonClicksSummaryForbiddenException - * @throws \Bitly\Exception\GetButtonClicksSummaryNotFoundException - * @throws \Bitly\Exception\GetButtonClicksSummaryGoneException - * @throws \Bitly\Exception\GetButtonClicksSummaryInternalServerErrorException - * @throws \Bitly\Exception\GetButtonClicksSummaryServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ButtonClicksSummary', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetButtonClicksSummaryBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetButtonClicksSummaryForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetButtonClicksSummaryNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetButtonClicksSummaryGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetButtonClicksSummaryInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetButtonClicksSummaryServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetCampaignClicks.php b/lib/Endpoint/GetCampaignClicks.php deleted file mode 100644 index 97f49f9..0000000 --- a/lib/Endpoint/GetCampaignClicks.php +++ /dev/null @@ -1,113 +0,0 @@ -campaign_guid = $campaignGuid; - $this->queryParameters = $queryParameters; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{campaign_guid}'], [$this->campaign_guid], '/campaigns/{campaign_guid}/clicks'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/json', 'text/csv']]; - } - - return $this->accept; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\CampaignClicks|null - * - * @throws \Bitly\Exception\GetCampaignClicksPaymentRequiredException - * @throws \Bitly\Exception\GetCampaignClicksForbiddenException - * @throws \Bitly\Exception\GetCampaignClicksNotFoundException - * @throws \Bitly\Exception\GetCampaignClicksInternalServerErrorException - * @throws \Bitly\Exception\GetCampaignClicksServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\CampaignClicks', 'json'); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCampaignClicksPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCampaignClicksForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCampaignClicksNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCampaignClicksInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCampaignClicksServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetCanvaUserBrand.php b/lib/Endpoint/GetCanvaUserBrand.php deleted file mode 100644 index 7d2dfd6..0000000 --- a/lib/Endpoint/GetCanvaUserBrand.php +++ /dev/null @@ -1,77 +0,0 @@ -canvaUserID = $canvaUserID; - $this->canvaBrandID = $canvaBrandID; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{canvaUserID}', '{canvaBrandID}'], [$this->canvaUserID, $this->canvaBrandID], '/canva/userbrand/{canvaUserID}/{canvaBrandID}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\PublicCanvaUserBrand|null - * - * @throws \Bitly\Exception\GetCanvaUserBrandBadRequestException - * @throws \Bitly\Exception\GetCanvaUserBrandNotFoundException - * @throws \Bitly\Exception\GetCanvaUserBrandInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\PublicCanvaUserBrand', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCanvaUserBrandBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCanvaUserBrandNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCanvaUserBrandInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetChildrenForBlock.php b/lib/Endpoint/GetChildrenForBlock.php deleted file mode 100644 index a2a8913..0000000 --- a/lib/Endpoint/GetChildrenForBlock.php +++ /dev/null @@ -1,84 +0,0 @@ -site_id = $siteId; - $this->container_id = $containerId; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{site_id}', '{container_id}'], [$this->site_id, $this->container_id], '/sites/{site_id}/containers/{container_id}/blocks'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\SiteBlock[]|null - * - * @throws \Bitly\Exception\GetChildrenForBlockForbiddenException - * @throws \Bitly\Exception\GetChildrenForBlockNotFoundException - * @throws \Bitly\Exception\GetChildrenForBlockInternalServerErrorException - * @throws \Bitly\Exception\GetChildrenForBlockServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SiteBlock[]', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetChildrenForBlockForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetChildrenForBlockNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetChildrenForBlockInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetChildrenForBlockServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetConsumableFeatures.php b/lib/Endpoint/GetConsumableFeatures.php deleted file mode 100644 index 2a3cf3e..0000000 --- a/lib/Endpoint/GetConsumableFeatures.php +++ /dev/null @@ -1,77 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/consumable_features'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\ConsumableFeatures|null - * - * @throws \Bitly\Exception\GetConsumableFeaturesForbiddenException - * @throws \Bitly\Exception\GetConsumableFeaturesConflictException - * @throws \Bitly\Exception\GetConsumableFeaturesInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ConsumableFeatures', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetConsumableFeaturesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (409 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetConsumableFeaturesConflictException($response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetConsumableFeaturesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetCountryCallingCodes.php b/lib/Endpoint/GetCountryCallingCodes.php deleted file mode 100644 index 38dc4ea..0000000 --- a/lib/Endpoint/GetCountryCallingCodes.php +++ /dev/null @@ -1,86 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/two_factor/country_calling_codes'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['sort_by']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('sort_by', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\CountryCode[]|null - * - * @throws \Bitly\Exception\GetCountryCallingCodesBadRequestException - * @throws \Bitly\Exception\GetCountryCallingCodesInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\CountryCode[]', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCountryCallingCodesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCountryCallingCodesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetCurrency.php b/lib/Endpoint/GetCurrency.php deleted file mode 100644 index 5fb5393..0000000 --- a/lib/Endpoint/GetCurrency.php +++ /dev/null @@ -1,67 +0,0 @@ -currency = $currency; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{currency}'], [$this->currency], '/currency/{currency}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\SupportedCurrency|null - * - * @throws \Bitly\Exception\GetCurrencyInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SupportedCurrency', 'json'); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCurrencyInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetCurrencyList.php b/lib/Endpoint/GetCurrencyList.php deleted file mode 100644 index 4955bf4..0000000 --- a/lib/Endpoint/GetCurrencyList.php +++ /dev/null @@ -1,58 +0,0 @@ - ['application/json']]; - } - - /** - * @return \Bitly\Model\CurrencyList|null - * - * @throws \Bitly\Exception\GetCurrencyListInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\CurrencyList', 'json'); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCurrencyListInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetCustomDomain.php b/lib/Endpoint/GetCustomDomain.php deleted file mode 100644 index 86eb201..0000000 --- a/lib/Endpoint/GetCustomDomain.php +++ /dev/null @@ -1,81 +0,0 @@ -custom_domain = $customDomain; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{custom_domain}'], [$this->custom_domain], '/custom_domains/{custom_domain}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\CustomDomainBody|null - * - * @throws \Bitly\Exception\GetCustomDomainForbiddenException - * @throws \Bitly\Exception\GetCustomDomainNotFoundException - * @throws \Bitly\Exception\GetCustomDomainInternalServerErrorException - * @throws \Bitly\Exception\GetCustomDomainServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\CustomDomainBody', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCustomDomainForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCustomDomainNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCustomDomainInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCustomDomainServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetCustomDomains.php b/lib/Endpoint/GetCustomDomains.php deleted file mode 100644 index 8762166..0000000 --- a/lib/Endpoint/GetCustomDomains.php +++ /dev/null @@ -1,94 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/custom_domains'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['organization_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('organization_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\CustomDomains|null - * - * @throws \Bitly\Exception\GetCustomDomainsForbiddenException - * @throws \Bitly\Exception\GetCustomDomainsUnprocessableEntityException - * @throws \Bitly\Exception\GetCustomDomainsInternalServerErrorException - * @throws \Bitly\Exception\GetCustomDomainsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\CustomDomains', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCustomDomainsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCustomDomainsUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCustomDomainsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetCustomDomainsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetDeeplinkApp.php b/lib/Endpoint/GetDeeplinkApp.php deleted file mode 100644 index 24130b9..0000000 --- a/lib/Endpoint/GetDeeplinkApp.php +++ /dev/null @@ -1,81 +0,0 @@ -deeplink_app_guid = $deeplinkAppGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{deeplink_app_guid}'], [$this->deeplink_app_guid], '/deeplinks/apps/{deeplink_app_guid}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\DeeplinkApp|null - * - * @throws \Bitly\Exception\GetDeeplinkAppForbiddenException - * @throws \Bitly\Exception\GetDeeplinkAppNotFoundException - * @throws \Bitly\Exception\GetDeeplinkAppInternalServerErrorException - * @throws \Bitly\Exception\GetDeeplinkAppServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DeeplinkApp', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDeeplinkAppForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDeeplinkAppNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDeeplinkAppInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDeeplinkAppServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetDeeplinkApps.php b/lib/Endpoint/GetDeeplinkApps.php deleted file mode 100644 index 46852f6..0000000 --- a/lib/Endpoint/GetDeeplinkApps.php +++ /dev/null @@ -1,90 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/deeplinks/apps'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['organization_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('organization_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\DeeplinkApps|null - * - * @throws \Bitly\Exception\GetDeeplinkAppsForbiddenException - * @throws \Bitly\Exception\GetDeeplinkAppsInternalServerErrorException - * @throws \Bitly\Exception\GetDeeplinkAppsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DeeplinkApps', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDeeplinkAppsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDeeplinkAppsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDeeplinkAppsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetDeeplinkMetricsRollup.php b/lib/Endpoint/GetDeeplinkMetricsRollup.php deleted file mode 100644 index 752fe9a..0000000 --- a/lib/Endpoint/GetDeeplinkMetricsRollup.php +++ /dev/null @@ -1,109 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/deeplinks/bitlinks/{bitlink}/metrics/rollup'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\DeeplinkMetricsRollup|null - * - * @throws \Bitly\Exception\GetDeeplinkMetricsRollupPaymentRequiredException - * @throws \Bitly\Exception\GetDeeplinkMetricsRollupForbiddenException - * @throws \Bitly\Exception\GetDeeplinkMetricsRollupNotFoundException - * @throws \Bitly\Exception\GetDeeplinkMetricsRollupGoneException - * @throws \Bitly\Exception\GetDeeplinkMetricsRollupInternalServerErrorException - * @throws \Bitly\Exception\GetDeeplinkMetricsRollupServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DeeplinkMetricsRollup', 'json'); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDeeplinkMetricsRollupPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDeeplinkMetricsRollupForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDeeplinkMetricsRollupNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDeeplinkMetricsRollupGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDeeplinkMetricsRollupInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDeeplinkMetricsRollupServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetDeeplinkRules.php b/lib/Endpoint/GetDeeplinkRules.php deleted file mode 100644 index 8fa0961..0000000 --- a/lib/Endpoint/GetDeeplinkRules.php +++ /dev/null @@ -1,89 +0,0 @@ -bitlink = $bitlink; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/deeplinks/bitlinks/{bitlink}/rules'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\DeeplinkRules|null - * - * @throws \Bitly\Exception\GetDeeplinkRulesPaymentRequiredException - * @throws \Bitly\Exception\GetDeeplinkRulesForbiddenException - * @throws \Bitly\Exception\GetDeeplinkRulesNotFoundException - * @throws \Bitly\Exception\GetDeeplinkRulesTooManyRequestsException - * @throws \Bitly\Exception\GetDeeplinkRulesInternalServerErrorException - * @throws \Bitly\Exception\GetDeeplinkRulesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DeeplinkRules', 'json'); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDeeplinkRulesPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDeeplinkRulesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDeeplinkRulesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDeeplinkRulesTooManyRequestsException($serializer->deserialize($body, 'Bitly\Model\MonthlyLimitExceeded', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDeeplinkRulesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDeeplinkRulesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetDomainRegistrarInfo.php b/lib/Endpoint/GetDomainRegistrarInfo.php deleted file mode 100644 index 9eb96cb..0000000 --- a/lib/Endpoint/GetDomainRegistrarInfo.php +++ /dev/null @@ -1,72 +0,0 @@ -domain = $domain; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{domain}'], [$this->domain], '/domains/{domain}/registrar_info'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\DomainRegistrarInfo|null - * - * @throws \Bitly\Exception\GetDomainRegistrarInfoInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DomainRegistrarInfo', 'json'); - } - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetDomainRegistrarInfoInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetDynamicTranslation.php b/lib/Endpoint/GetDynamicTranslation.php deleted file mode 100644 index 8242cd6..0000000 --- a/lib/Endpoint/GetDynamicTranslation.php +++ /dev/null @@ -1,65 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/private/translation'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\TranslationRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return json_decode($body); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetEngagements.php b/lib/Endpoint/GetEngagements.php deleted file mode 100644 index 46e30d3..0000000 --- a/lib/Endpoint/GetEngagements.php +++ /dev/null @@ -1,117 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/engagements'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/json', 'text/csv']]; - } - - return $this->accept; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\TotalEngagements|null - * - * @throws \Bitly\Exception\GetEngagementsBadRequestException - * @throws \Bitly\Exception\GetEngagementsForbiddenException - * @throws \Bitly\Exception\GetEngagementsNotFoundException - * @throws \Bitly\Exception\GetEngagementsGoneException - * @throws \Bitly\Exception\GetEngagementsInternalServerErrorException - * @throws \Bitly\Exception\GetEngagementsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\TotalEngagements', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetEngagementsBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetEngagementsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetEngagementsNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetEngagementsGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetEngagementsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetEngagementsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetEngagementsSample.php b/lib/Endpoint/GetEngagementsSample.php deleted file mode 100644 index b773574..0000000 --- a/lib/Endpoint/GetEngagementsSample.php +++ /dev/null @@ -1,97 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/engagements_sample'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\GroupClicks|null - * - * @throws \Bitly\Exception\GetEngagementsSampleBadRequestException - * @throws \Bitly\Exception\GetEngagementsSampleForbiddenException - * @throws \Bitly\Exception\GetEngagementsSampleInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\GroupClicks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetEngagementsSampleBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetEngagementsSampleForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetEngagementsSampleInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetEngagementsSummary.php b/lib/Endpoint/GetEngagementsSummary.php deleted file mode 100644 index 672e29c..0000000 --- a/lib/Endpoint/GetEngagementsSummary.php +++ /dev/null @@ -1,109 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/engagements/summary'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\TotalEngagementsSummary|null - * - * @throws \Bitly\Exception\GetEngagementsSummaryBadRequestException - * @throws \Bitly\Exception\GetEngagementsSummaryForbiddenException - * @throws \Bitly\Exception\GetEngagementsSummaryNotFoundException - * @throws \Bitly\Exception\GetEngagementsSummaryGoneException - * @throws \Bitly\Exception\GetEngagementsSummaryInternalServerErrorException - * @throws \Bitly\Exception\GetEngagementsSummaryServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\TotalEngagementsSummary', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetEngagementsSummaryBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetEngagementsSummaryForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetEngagementsSummaryNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetEngagementsSummaryGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetEngagementsSummaryInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetEngagementsSummaryServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetFocus.php b/lib/Endpoint/GetFocus.php deleted file mode 100644 index f2464f1..0000000 --- a/lib/Endpoint/GetFocus.php +++ /dev/null @@ -1,58 +0,0 @@ - ['application/json']]; - } - - /** - * @return \Bitly\Model\GetFocusResponse|null - * - * @throws \Bitly\Exception\GetFocusInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\GetFocusResponse', 'json'); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetFocusInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupBitlinksCount.php b/lib/Endpoint/GetGroupBitlinksCount.php deleted file mode 100644 index 739f3cd..0000000 --- a/lib/Endpoint/GetGroupBitlinksCount.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/bitlinks_count'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\GroupBitlinksCount|null - * - * @throws \Bitly\Exception\GetGroupBitlinksCountBadRequestException - * @throws \Bitly\Exception\GetGroupBitlinksCountPaymentRequiredException - * @throws \Bitly\Exception\GetGroupBitlinksCountForbiddenException - * @throws \Bitly\Exception\GetGroupBitlinksCountInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\GroupBitlinksCount', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupBitlinksCountBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupBitlinksCountPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupBitlinksCountForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupBitlinksCountInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupBitlinksCountRollup.php b/lib/Endpoint/GetGroupBitlinksCountRollup.php deleted file mode 100644 index 78fe0f3..0000000 --- a/lib/Endpoint/GetGroupBitlinksCountRollup.php +++ /dev/null @@ -1,109 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/bitlinks_count/rollup'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\GroupBitlinksCountRollup|null - * - * @throws \Bitly\Exception\GetGroupBitlinksCountRollupBadRequestException - * @throws \Bitly\Exception\GetGroupBitlinksCountRollupPaymentRequiredException - * @throws \Bitly\Exception\GetGroupBitlinksCountRollupForbiddenException - * @throws \Bitly\Exception\GetGroupBitlinksCountRollupTooManyRequestsException - * @throws \Bitly\Exception\GetGroupBitlinksCountRollupInternalServerErrorException - * @throws \Bitly\Exception\GetGroupBitlinksCountRollupServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\GroupBitlinksCountRollup', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupBitlinksCountRollupBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupBitlinksCountRollupPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupBitlinksCountRollupForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupBitlinksCountRollupTooManyRequestsException($serializer->deserialize($body, 'Bitly\Model\MonthlyLimitExceeded', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupBitlinksCountRollupInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupBitlinksCountRollupServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupButtonClicksByCity.php b/lib/Endpoint/GetGroupButtonClicksByCity.php deleted file mode 100644 index 6b84688..0000000 --- a/lib/Endpoint/GetGroupButtonClicksByCity.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/pages/clicks/cities'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\CityMetrics|null - * - * @throws \Bitly\Exception\GetGroupButtonClicksByCityBadRequestException - * @throws \Bitly\Exception\GetGroupButtonClicksByCityForbiddenException - * @throws \Bitly\Exception\GetGroupButtonClicksByCityInternalServerErrorException - * @throws \Bitly\Exception\GetGroupButtonClicksByCityServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\CityMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupButtonClicksByCityBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupButtonClicksByCityForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupButtonClicksByCityInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupButtonClicksByCityServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupButtonClicksByCountry.php b/lib/Endpoint/GetGroupButtonClicksByCountry.php deleted file mode 100644 index 4296d62..0000000 --- a/lib/Endpoint/GetGroupButtonClicksByCountry.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/pages/clicks/countries'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ClickMetrics|null - * - * @throws \Bitly\Exception\GetGroupButtonClicksByCountryBadRequestException - * @throws \Bitly\Exception\GetGroupButtonClicksByCountryForbiddenException - * @throws \Bitly\Exception\GetGroupButtonClicksByCountryInternalServerErrorException - * @throws \Bitly\Exception\GetGroupButtonClicksByCountryServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ClickMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupButtonClicksByCountryBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupButtonClicksByCountryForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupButtonClicksByCountryInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupButtonClicksByCountryServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupButtonClicksByDevice.php b/lib/Endpoint/GetGroupButtonClicksByDevice.php deleted file mode 100644 index 7162b9a..0000000 --- a/lib/Endpoint/GetGroupButtonClicksByDevice.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/pages/clicks/devices'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\DeviceMetrics|null - * - * @throws \Bitly\Exception\GetGroupButtonClicksByDeviceBadRequestException - * @throws \Bitly\Exception\GetGroupButtonClicksByDeviceForbiddenException - * @throws \Bitly\Exception\GetGroupButtonClicksByDeviceInternalServerErrorException - * @throws \Bitly\Exception\GetGroupButtonClicksByDeviceServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DeviceMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupButtonClicksByDeviceBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupButtonClicksByDeviceForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupButtonClicksByDeviceInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupButtonClicksByDeviceServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupButtonClicksOverTime.php b/lib/Endpoint/GetGroupButtonClicksOverTime.php deleted file mode 100644 index c9cb7c8..0000000 --- a/lib/Endpoint/GetGroupButtonClicksOverTime.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/pages/clicks/over_time'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\GroupClicks|null - * - * @throws \Bitly\Exception\GetGroupButtonClicksOverTimeBadRequestException - * @throws \Bitly\Exception\GetGroupButtonClicksOverTimeForbiddenException - * @throws \Bitly\Exception\GetGroupButtonClicksOverTimeInternalServerErrorException - * @throws \Bitly\Exception\GetGroupButtonClicksOverTimeServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\GroupClicks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupButtonClicksOverTimeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupButtonClicksOverTimeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupButtonClicksOverTimeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupButtonClicksOverTimeServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupClicksByFacet.php b/lib/Endpoint/GetGroupClicksByFacet.php deleted file mode 100644 index b2d1499..0000000 --- a/lib/Endpoint/GetGroupClicksByFacet.php +++ /dev/null @@ -1,110 +0,0 @@ -group_guid = $groupGuid; - $this->facet = $facet; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}', '{facet}'], [$this->group_guid, $this->facet], '/groups/{group_guid}/clicks/{facet}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['limit', 'unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['limit' => 100]); - $optionsResolver->addAllowedTypes('limit', ['int']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\GroupClicksByFacet|null - * - * @throws \Bitly\Exception\GetGroupClicksByFacetBadRequestException - * @throws \Bitly\Exception\GetGroupClicksByFacetPaymentRequiredException - * @throws \Bitly\Exception\GetGroupClicksByFacetForbiddenException - * @throws \Bitly\Exception\GetGroupClicksByFacetInternalServerErrorException - * @throws \Bitly\Exception\GetGroupClicksByFacetServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\GroupClicksByFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupClicksByFacetBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupClicksByFacetPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupClicksByFacetForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupClicksByFacetInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupClicksByFacetServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupClicksByFacetRollup.php b/lib/Endpoint/GetGroupClicksByFacetRollup.php deleted file mode 100644 index 0b7eee6..0000000 --- a/lib/Endpoint/GetGroupClicksByFacetRollup.php +++ /dev/null @@ -1,110 +0,0 @@ -group_guid = $groupGuid; - $this->facet = $facet; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}', '{facet}'], [$this->group_guid, $this->facet], '/groups/{group_guid}/clicks/{facet}/rollup'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['limit', 'unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['limit' => 100]); - $optionsResolver->addAllowedTypes('limit', ['int']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\GroupClicksByFacetRollup|null - * - * @throws \Bitly\Exception\GetGroupClicksByFacetRollupBadRequestException - * @throws \Bitly\Exception\GetGroupClicksByFacetRollupPaymentRequiredException - * @throws \Bitly\Exception\GetGroupClicksByFacetRollupForbiddenException - * @throws \Bitly\Exception\GetGroupClicksByFacetRollupInternalServerErrorException - * @throws \Bitly\Exception\GetGroupClicksByFacetRollupServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\GroupClicksByFacetRollup', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupClicksByFacetRollupBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupClicksByFacetRollupPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupClicksByFacetRollupForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupClicksByFacetRollupInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupClicksByFacetRollupServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupCodeScansByCity.php b/lib/Endpoint/GetGroupCodeScansByCity.php deleted file mode 100644 index 9f79114..0000000 --- a/lib/Endpoint/GetGroupCodeScansByCity.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/codes/scans/cities'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\CityMetrics|null - * - * @throws \Bitly\Exception\GetGroupCodeScansByCityBadRequestException - * @throws \Bitly\Exception\GetGroupCodeScansByCityForbiddenException - * @throws \Bitly\Exception\GetGroupCodeScansByCityInternalServerErrorException - * @throws \Bitly\Exception\GetGroupCodeScansByCityServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\CityMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupCodeScansByCityBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupCodeScansByCityForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupCodeScansByCityInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupCodeScansByCityServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupCodeScansByCountry.php b/lib/Endpoint/GetGroupCodeScansByCountry.php deleted file mode 100644 index c75cb21..0000000 --- a/lib/Endpoint/GetGroupCodeScansByCountry.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/codes/scans/countries'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ClickMetrics|null - * - * @throws \Bitly\Exception\GetGroupCodeScansByCountryBadRequestException - * @throws \Bitly\Exception\GetGroupCodeScansByCountryForbiddenException - * @throws \Bitly\Exception\GetGroupCodeScansByCountryInternalServerErrorException - * @throws \Bitly\Exception\GetGroupCodeScansByCountryServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ClickMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupCodeScansByCountryBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupCodeScansByCountryForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupCodeScansByCountryInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupCodeScansByCountryServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupCodeScansOverTime.php b/lib/Endpoint/GetGroupCodeScansOverTime.php deleted file mode 100644 index 383b0a7..0000000 --- a/lib/Endpoint/GetGroupCodeScansOverTime.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/codes/scans/over_time'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\GroupClicks|null - * - * @throws \Bitly\Exception\GetGroupCodeScansOverTimeBadRequestException - * @throws \Bitly\Exception\GetGroupCodeScansOverTimeForbiddenException - * @throws \Bitly\Exception\GetGroupCodeScansOverTimeInternalServerErrorException - * @throws \Bitly\Exception\GetGroupCodeScansOverTimeServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\GroupClicks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupCodeScansOverTimeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupCodeScansOverTimeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupCodeScansOverTimeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupCodeScansOverTimeServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByBlocks.php b/lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByBlocks.php deleted file mode 100644 index 4f38528..0000000 --- a/lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByBlocks.php +++ /dev/null @@ -1,107 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/pages/digital_business_card_downloads/blocks'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\DownloadMetrics|null - * - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByBlocksBadRequestException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByBlocksForbiddenException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByBlocksNotFoundException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByBlocksInternalServerErrorException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByBlocksServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DownloadMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByBlocksBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByBlocksForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByBlocksNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByBlocksInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByBlocksServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByCities.php b/lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByCities.php deleted file mode 100644 index 8015038..0000000 --- a/lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByCities.php +++ /dev/null @@ -1,107 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/pages/digital_business_card_downloads/cities'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\CityDownloadMetrics|null - * - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCitiesBadRequestException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCitiesForbiddenException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCitiesNotFoundException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCitiesInternalServerErrorException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCitiesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\CityDownloadMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCitiesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCitiesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCitiesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCitiesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCitiesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByCountries.php b/lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByCountries.php deleted file mode 100644 index 13888d8..0000000 --- a/lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByCountries.php +++ /dev/null @@ -1,107 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/pages/digital_business_card_downloads/countries'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\DownloadMetrics|null - * - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCountriesBadRequestException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCountriesForbiddenException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCountriesNotFoundException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCountriesInternalServerErrorException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCountriesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DownloadMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCountriesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCountriesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCountriesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCountriesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByCountriesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByDevices.php b/lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByDevices.php deleted file mode 100644 index 6829b1f..0000000 --- a/lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByDevices.php +++ /dev/null @@ -1,107 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/pages/digital_business_card_downloads/devices'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\DeviceDownloadMetrics|null - * - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByDevicesBadRequestException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByDevicesForbiddenException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByDevicesNotFoundException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByDevicesInternalServerErrorException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByDevicesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DeviceDownloadMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByDevicesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByDevicesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByDevicesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByDevicesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByDevicesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByMicrosites.php b/lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByMicrosites.php deleted file mode 100644 index b8fe104..0000000 --- a/lib/Endpoint/GetGroupDigitalBusinessCardDownloadsByMicrosites.php +++ /dev/null @@ -1,107 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/pages/digital_business_card_downloads/pages'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\DownloadMetrics|null - * - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByMicrositesBadRequestException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByMicrositesForbiddenException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByMicrositesNotFoundException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByMicrositesInternalServerErrorException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByMicrositesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DownloadMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByMicrositesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByMicrositesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByMicrositesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByMicrositesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsByMicrositesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupDigitalBusinessCardDownloadsOverTime.php b/lib/Endpoint/GetGroupDigitalBusinessCardDownloadsOverTime.php deleted file mode 100644 index ef13093..0000000 --- a/lib/Endpoint/GetGroupDigitalBusinessCardDownloadsOverTime.php +++ /dev/null @@ -1,107 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/pages/digital_business_card_downloads/over_time'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\DownloadsOverTime|null - * - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsOverTimeBadRequestException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsOverTimeForbiddenException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsOverTimeNotFoundException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsOverTimeInternalServerErrorException - * @throws \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsOverTimeServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DownloadsOverTime', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsOverTimeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsOverTimeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsOverTimeNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsOverTimeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupDigitalBusinessCardDownloadsOverTimeServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupLinkClicksByCity.php b/lib/Endpoint/GetGroupLinkClicksByCity.php deleted file mode 100644 index fa36d23..0000000 --- a/lib/Endpoint/GetGroupLinkClicksByCity.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/links/clicks/cities'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\CityMetrics|null - * - * @throws \Bitly\Exception\GetGroupLinkClicksByCityBadRequestException - * @throws \Bitly\Exception\GetGroupLinkClicksByCityForbiddenException - * @throws \Bitly\Exception\GetGroupLinkClicksByCityInternalServerErrorException - * @throws \Bitly\Exception\GetGroupLinkClicksByCityServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\CityMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksByCityBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksByCityForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksByCityInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksByCityServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupLinkClicksByCountry.php b/lib/Endpoint/GetGroupLinkClicksByCountry.php deleted file mode 100644 index 35fab97..0000000 --- a/lib/Endpoint/GetGroupLinkClicksByCountry.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/links/clicks/countries'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ClickMetrics|null - * - * @throws \Bitly\Exception\GetGroupLinkClicksByCountryBadRequestException - * @throws \Bitly\Exception\GetGroupLinkClicksByCountryForbiddenException - * @throws \Bitly\Exception\GetGroupLinkClicksByCountryInternalServerErrorException - * @throws \Bitly\Exception\GetGroupLinkClicksByCountryServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ClickMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksByCountryBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksByCountryForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksByCountryInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksByCountryServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupLinkClicksByDevice.php b/lib/Endpoint/GetGroupLinkClicksByDevice.php deleted file mode 100644 index 2be4bb2..0000000 --- a/lib/Endpoint/GetGroupLinkClicksByDevice.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/links/clicks/devices'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\GroupsGroupGuidLinksClicksDevicesGetResponse200|null - * - * @throws \Bitly\Exception\GetGroupLinkClicksByDeviceBadRequestException - * @throws \Bitly\Exception\GetGroupLinkClicksByDeviceForbiddenException - * @throws \Bitly\Exception\GetGroupLinkClicksByDeviceInternalServerErrorException - * @throws \Bitly\Exception\GetGroupLinkClicksByDeviceServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\GroupsGroupGuidLinksClicksDevicesGetResponse200', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksByDeviceBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksByDeviceForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksByDeviceInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksByDeviceServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupLinkClicksByReferrer.php b/lib/Endpoint/GetGroupLinkClicksByReferrer.php deleted file mode 100644 index 6bbe313..0000000 --- a/lib/Endpoint/GetGroupLinkClicksByReferrer.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/links/clicks/referrers'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ClickMetrics|null - * - * @throws \Bitly\Exception\GetGroupLinkClicksByReferrerBadRequestException - * @throws \Bitly\Exception\GetGroupLinkClicksByReferrerForbiddenException - * @throws \Bitly\Exception\GetGroupLinkClicksByReferrerInternalServerErrorException - * @throws \Bitly\Exception\GetGroupLinkClicksByReferrerServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ClickMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksByReferrerBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksByReferrerForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksByReferrerInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksByReferrerServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupLinkClicksOverTime.php b/lib/Endpoint/GetGroupLinkClicksOverTime.php deleted file mode 100644 index 5dc363d..0000000 --- a/lib/Endpoint/GetGroupLinkClicksOverTime.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/links/clicks/over_time'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\GroupClicks|null - * - * @throws \Bitly\Exception\GetGroupLinkClicksOverTimeBadRequestException - * @throws \Bitly\Exception\GetGroupLinkClicksOverTimeForbiddenException - * @throws \Bitly\Exception\GetGroupLinkClicksOverTimeInternalServerErrorException - * @throws \Bitly\Exception\GetGroupLinkClicksOverTimeServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\GroupClicks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksOverTimeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksOverTimeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksOverTimeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupLinkClicksOverTimeServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupPageViewsByCity.php b/lib/Endpoint/GetGroupPageViewsByCity.php deleted file mode 100644 index 5919a9d..0000000 --- a/lib/Endpoint/GetGroupPageViewsByCity.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/pages/views/cities'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\CityMetrics|null - * - * @throws \Bitly\Exception\GetGroupPageViewsByCityBadRequestException - * @throws \Bitly\Exception\GetGroupPageViewsByCityForbiddenException - * @throws \Bitly\Exception\GetGroupPageViewsByCityInternalServerErrorException - * @throws \Bitly\Exception\GetGroupPageViewsByCityServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\CityMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsByCityBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsByCityForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsByCityInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsByCityServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupPageViewsByCountry.php b/lib/Endpoint/GetGroupPageViewsByCountry.php deleted file mode 100644 index bba63ae..0000000 --- a/lib/Endpoint/GetGroupPageViewsByCountry.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/pages/views/countries'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ClickMetrics|null - * - * @throws \Bitly\Exception\GetGroupPageViewsByCountryBadRequestException - * @throws \Bitly\Exception\GetGroupPageViewsByCountryForbiddenException - * @throws \Bitly\Exception\GetGroupPageViewsByCountryInternalServerErrorException - * @throws \Bitly\Exception\GetGroupPageViewsByCountryServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ClickMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsByCountryBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsByCountryForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsByCountryInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsByCountryServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupPageViewsByDevice.php b/lib/Endpoint/GetGroupPageViewsByDevice.php deleted file mode 100644 index 7abe7ec..0000000 --- a/lib/Endpoint/GetGroupPageViewsByDevice.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/pages/views/devices'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\DeviceMetrics|null - * - * @throws \Bitly\Exception\GetGroupPageViewsByDeviceBadRequestException - * @throws \Bitly\Exception\GetGroupPageViewsByDeviceForbiddenException - * @throws \Bitly\Exception\GetGroupPageViewsByDeviceInternalServerErrorException - * @throws \Bitly\Exception\GetGroupPageViewsByDeviceServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DeviceMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsByDeviceBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsByDeviceForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsByDeviceInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsByDeviceServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupPageViewsByReferrer.php b/lib/Endpoint/GetGroupPageViewsByReferrer.php deleted file mode 100644 index 5b78ccf..0000000 --- a/lib/Endpoint/GetGroupPageViewsByReferrer.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/pages/views/referrers'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ClickMetrics|null - * - * @throws \Bitly\Exception\GetGroupPageViewsByReferrerBadRequestException - * @throws \Bitly\Exception\GetGroupPageViewsByReferrerForbiddenException - * @throws \Bitly\Exception\GetGroupPageViewsByReferrerInternalServerErrorException - * @throws \Bitly\Exception\GetGroupPageViewsByReferrerServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ClickMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsByReferrerBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsByReferrerForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsByReferrerInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsByReferrerServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupPageViewsOverTime.php b/lib/Endpoint/GetGroupPageViewsOverTime.php deleted file mode 100644 index 096e990..0000000 --- a/lib/Endpoint/GetGroupPageViewsOverTime.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/pages/views/over_time'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\GroupClicks|null - * - * @throws \Bitly\Exception\GetGroupPageViewsOverTimeBadRequestException - * @throws \Bitly\Exception\GetGroupPageViewsOverTimeForbiddenException - * @throws \Bitly\Exception\GetGroupPageViewsOverTimeInternalServerErrorException - * @throws \Bitly\Exception\GetGroupPageViewsOverTimeServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\GroupClicks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsOverTimeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsOverTimeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsOverTimeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPageViewsOverTimeServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupPagesOverview.php b/lib/Endpoint/GetGroupPagesOverview.php deleted file mode 100644 index d6c55da..0000000 --- a/lib/Endpoint/GetGroupPagesOverview.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/pages/overview'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\GroupsGroupGuidPagesOverviewGetResponse200|null - * - * @throws \Bitly\Exception\GetGroupPagesOverviewBadRequestException - * @throws \Bitly\Exception\GetGroupPagesOverviewForbiddenException - * @throws \Bitly\Exception\GetGroupPagesOverviewInternalServerErrorException - * @throws \Bitly\Exception\GetGroupPagesOverviewServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\GroupsGroupGuidPagesOverviewGetResponse200', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPagesOverviewBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPagesOverviewForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPagesOverviewInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupPagesOverviewServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupTopButtonClicks.php b/lib/Endpoint/GetGroupTopButtonClicks.php deleted file mode 100644 index 46166f4..0000000 --- a/lib/Endpoint/GetGroupTopButtonClicks.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/pages/clicks/top'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\SortedButtons|null - * - * @throws \Bitly\Exception\GetGroupTopButtonClicksBadRequestException - * @throws \Bitly\Exception\GetGroupTopButtonClicksForbiddenException - * @throws \Bitly\Exception\GetGroupTopButtonClicksInternalServerErrorException - * @throws \Bitly\Exception\GetGroupTopButtonClicksServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SortedButtons', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupTopButtonClicksBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupTopButtonClicksForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupTopButtonClicksInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupTopButtonClicksServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupTopCodeScans.php b/lib/Endpoint/GetGroupTopCodeScans.php deleted file mode 100644 index b50eb0e..0000000 --- a/lib/Endpoint/GetGroupTopCodeScans.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/codes/scans/top'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\SortedLinks|null - * - * @throws \Bitly\Exception\GetGroupTopCodeScansBadRequestException - * @throws \Bitly\Exception\GetGroupTopCodeScansForbiddenException - * @throws \Bitly\Exception\GetGroupTopCodeScansInternalServerErrorException - * @throws \Bitly\Exception\GetGroupTopCodeScansServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SortedLinks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupTopCodeScansBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupTopCodeScansForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupTopCodeScansInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupTopCodeScansServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupTopLinkClicks.php b/lib/Endpoint/GetGroupTopLinkClicks.php deleted file mode 100644 index 32c13ff..0000000 --- a/lib/Endpoint/GetGroupTopLinkClicks.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/links/clicks/top'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\SortedLinks|null - * - * @throws \Bitly\Exception\GetGroupTopLinkClicksBadRequestException - * @throws \Bitly\Exception\GetGroupTopLinkClicksForbiddenException - * @throws \Bitly\Exception\GetGroupTopLinkClicksInternalServerErrorException - * @throws \Bitly\Exception\GetGroupTopLinkClicksServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SortedLinks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupTopLinkClicksBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupTopLinkClicksForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupTopLinkClicksInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupTopLinkClicksServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetGroupsByLogin.php b/lib/Endpoint/GetGroupsByLogin.php deleted file mode 100644 index b0e63cf..0000000 --- a/lib/Endpoint/GetGroupsByLogin.php +++ /dev/null @@ -1,73 +0,0 @@ -login = $login; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{login}'], [$this->login], '/users/{login}/groups'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\Groups|null - * - * @throws \Bitly\Exception\GetGroupsByLoginForbiddenException - * @throws \Bitly\Exception\GetGroupsByLoginInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Groups', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupsByLoginForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetGroupsByLoginInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetImageByGUID.php b/lib/Endpoint/GetImageByGUID.php deleted file mode 100644 index c8f7ee1..0000000 --- a/lib/Endpoint/GetImageByGUID.php +++ /dev/null @@ -1,91 +0,0 @@ -image_guid = $imageGuid; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{image_guid}'], [$this->image_guid], '/images/{image_guid}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['image/*', 'application/json']]; - } - - return $this->accept; - } - - /** - * @return null - * - * @throws \Bitly\Exception\GetImageByGUIDBadRequestException - * @throws \Bitly\Exception\GetImageByGUIDForbiddenException - * @throws \Bitly\Exception\GetImageByGUIDNotFoundException - * @throws \Bitly\Exception\GetImageByGUIDInternalServerErrorException - * @throws \Bitly\Exception\GetImageByGUIDServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetImageByGUIDBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetImageByGUIDForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetImageByGUIDNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetImageByGUIDInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetImageByGUIDServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetIntegrationOAuthsByClientID.php b/lib/Endpoint/GetIntegrationOAuthsByClientID.php deleted file mode 100644 index 5f1b1f6..0000000 --- a/lib/Endpoint/GetIntegrationOAuthsByClientID.php +++ /dev/null @@ -1,90 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/integration_oauths'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['client_id']); - $optionsResolver->setRequired(['client_id']); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('client_id', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\IntegrationOAuths|null - * - * @throws \Bitly\Exception\GetIntegrationOAuthsByClientIDBadRequestException - * @throws \Bitly\Exception\GetIntegrationOAuthsByClientIDInternalServerErrorException - * @throws \Bitly\Exception\GetIntegrationOAuthsByClientIDServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\IntegrationOAuths', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetIntegrationOAuthsByClientIDBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetIntegrationOAuthsByClientIDInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetIntegrationOAuthsByClientIDServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetInvitations.php b/lib/Endpoint/GetInvitations.php deleted file mode 100644 index 447597b..0000000 --- a/lib/Endpoint/GetInvitations.php +++ /dev/null @@ -1,73 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/invitations'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\Invitations|null - * - * @throws \Bitly\Exception\GetInvitationsForbiddenException - * @throws \Bitly\Exception\GetInvitationsInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Invitations', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetInvitationsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetInvitationsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetInvitationsByLogin.php b/lib/Endpoint/GetInvitationsByLogin.php deleted file mode 100644 index 1c69d29..0000000 --- a/lib/Endpoint/GetInvitationsByLogin.php +++ /dev/null @@ -1,77 +0,0 @@ -login = $login; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{login}'], [$this->login], '/users/{login}/invitations'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\InvitationsForLogin|null - * - * @throws \Bitly\Exception\GetInvitationsByLoginBadRequestException - * @throws \Bitly\Exception\GetInvitationsByLoginForbiddenException - * @throws \Bitly\Exception\GetInvitationsByLoginInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\InvitationsForLogin', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetInvitationsByLoginBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetInvitationsByLoginForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetInvitationsByLoginInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetLaunchpad.php b/lib/Endpoint/GetLaunchpad.php deleted file mode 100644 index 2d8b3b4..0000000 --- a/lib/Endpoint/GetLaunchpad.php +++ /dev/null @@ -1,81 +0,0 @@ -launchpad_id = $launchpadId; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\Launchpad|null - * - * @throws \Bitly\Exception\GetLaunchpadForbiddenException - * @throws \Bitly\Exception\GetLaunchpadNotFoundException - * @throws \Bitly\Exception\GetLaunchpadInternalServerErrorException - * @throws \Bitly\Exception\GetLaunchpadServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Launchpad', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLaunchpadForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLaunchpadNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLaunchpadInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLaunchpadServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetLaunchpadDigitalBusinessCardDownloadsOverTime.php b/lib/Endpoint/GetLaunchpadDigitalBusinessCardDownloadsOverTime.php deleted file mode 100644 index 9e4c257..0000000 --- a/lib/Endpoint/GetLaunchpadDigitalBusinessCardDownloadsOverTime.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/sites/digital_business_card_downloads/over_time'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['site', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('site', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinks|null - * - * @throws \Bitly\Exception\GetLaunchpadDigitalBusinessCardDownloadsOverTimeBadRequestException - * @throws \Bitly\Exception\GetLaunchpadDigitalBusinessCardDownloadsOverTimeForbiddenException - * @throws \Bitly\Exception\GetLaunchpadDigitalBusinessCardDownloadsOverTimeInternalServerErrorException - * @throws \Bitly\Exception\GetLaunchpadDigitalBusinessCardDownloadsOverTimeServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLaunchpadDigitalBusinessCardDownloadsOverTimeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLaunchpadDigitalBusinessCardDownloadsOverTimeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLaunchpadDigitalBusinessCardDownloadsOverTimeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLaunchpadDigitalBusinessCardDownloadsOverTimeServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetLaunchpadImageByImageUse.php b/lib/Endpoint/GetLaunchpadImageByImageUse.php deleted file mode 100644 index 16a77b1..0000000 --- a/lib/Endpoint/GetLaunchpadImageByImageUse.php +++ /dev/null @@ -1,94 +0,0 @@ -launchpad_id = $launchpadId; - $this->image_use = $imageUse; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}', '{image_use}'], [$this->launchpad_id, $this->image_use], '/launchpads/{launchpad_id}/images_by_use/{image_use}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['image/*', 'application/json']]; - } - - return $this->accept; - } - - /** - * @return null - * - * @throws \Bitly\Exception\GetLaunchpadImageByImageUseBadRequestException - * @throws \Bitly\Exception\GetLaunchpadImageByImageUseForbiddenException - * @throws \Bitly\Exception\GetLaunchpadImageByImageUseNotFoundException - * @throws \Bitly\Exception\GetLaunchpadImageByImageUseInternalServerErrorException - * @throws \Bitly\Exception\GetLaunchpadImageByImageUseServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLaunchpadImageByImageUseBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLaunchpadImageByImageUseForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLaunchpadImageByImageUseNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLaunchpadImageByImageUseInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLaunchpadImageByImageUseServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetLaunchpadPresetThemes.php b/lib/Endpoint/GetLaunchpadPresetThemes.php deleted file mode 100644 index ac7fa46..0000000 --- a/lib/Endpoint/GetLaunchpadPresetThemes.php +++ /dev/null @@ -1,62 +0,0 @@ - ['application/json']]; - } - - /** - * @return \Bitly\Model\LaunchpadPresetTheme[]|null - * - * @throws \Bitly\Exception\GetLaunchpadPresetThemesInternalServerErrorException - * @throws \Bitly\Exception\GetLaunchpadPresetThemesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadPresetTheme[]', 'json'); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLaunchpadPresetThemesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLaunchpadPresetThemesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetLaunchpadsForGroup.php b/lib/Endpoint/GetLaunchpadsForGroup.php deleted file mode 100644 index f2783ff..0000000 --- a/lib/Endpoint/GetLaunchpadsForGroup.php +++ /dev/null @@ -1,81 +0,0 @@ -group_guid = $groupGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/launchpads'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\Launchpads|null - * - * @throws \Bitly\Exception\GetLaunchpadsForGroupForbiddenException - * @throws \Bitly\Exception\GetLaunchpadsForGroupNotFoundException - * @throws \Bitly\Exception\GetLaunchpadsForGroupInternalServerErrorException - * @throws \Bitly\Exception\GetLaunchpadsForGroupServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Launchpads', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLaunchpadsForGroupForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLaunchpadsForGroupNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLaunchpadsForGroupInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLaunchpadsForGroupServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetLinkEngagementsDailySummary.php b/lib/Endpoint/GetLinkEngagementsDailySummary.php deleted file mode 100644 index 61f3b17..0000000 --- a/lib/Endpoint/GetLinkEngagementsDailySummary.php +++ /dev/null @@ -1,92 +0,0 @@ -group_guid = $groupGuid; - $this->report_id = $reportId; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}', '{report_id}'], [$this->group_guid, $this->report_id], '/analytics/groups/{group_guid}/reports/{report_id}/link_performance/daily_summary'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\EngagementsDailySummary|null - * - * @throws \Bitly\Exception\GetLinkEngagementsDailySummaryBadRequestException - * @throws \Bitly\Exception\GetLinkEngagementsDailySummaryForbiddenException - * @throws \Bitly\Exception\GetLinkEngagementsDailySummaryNotFoundException - * @throws \Bitly\Exception\GetLinkEngagementsDailySummaryUnprocessableEntityException - * @throws \Bitly\Exception\GetLinkEngagementsDailySummaryInternalServerErrorException - * @throws \Bitly\Exception\GetLinkEngagementsDailySummaryServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\EngagementsDailySummary', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkEngagementsDailySummaryBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkEngagementsDailySummaryForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkEngagementsDailySummaryNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkEngagementsDailySummaryUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkEngagementsDailySummaryInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkEngagementsDailySummaryServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetLinkEngagementsDayDrillDown.php b/lib/Endpoint/GetLinkEngagementsDayDrillDown.php deleted file mode 100644 index 757d309..0000000 --- a/lib/Endpoint/GetLinkEngagementsDayDrillDown.php +++ /dev/null @@ -1,110 +0,0 @@ -group_guid = $groupGuid; - $this->report_id = $reportId; - $this->timestamp = $timestamp; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}', '{report_id}', '{timestamp}'], [$this->group_guid, $this->report_id, $this->timestamp], '/analytics/groups/{group_guid}/reports/{report_id}/link_performance/day_drill_down/{timestamp}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['sort']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('sort', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\EngagementsDayDrillDown|null - * - * @throws \Bitly\Exception\GetLinkEngagementsDayDrillDownBadRequestException - * @throws \Bitly\Exception\GetLinkEngagementsDayDrillDownForbiddenException - * @throws \Bitly\Exception\GetLinkEngagementsDayDrillDownNotFoundException - * @throws \Bitly\Exception\GetLinkEngagementsDayDrillDownUnprocessableEntityException - * @throws \Bitly\Exception\GetLinkEngagementsDayDrillDownInternalServerErrorException - * @throws \Bitly\Exception\GetLinkEngagementsDayDrillDownServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\EngagementsDayDrillDown', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkEngagementsDayDrillDownBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkEngagementsDayDrillDownForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkEngagementsDayDrillDownNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkEngagementsDayDrillDownUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkEngagementsDayDrillDownInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkEngagementsDayDrillDownServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetLinkEngagementsReport.php b/lib/Endpoint/GetLinkEngagementsReport.php deleted file mode 100644 index af446db..0000000 --- a/lib/Endpoint/GetLinkEngagementsReport.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->report_id = $reportId; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}', '{report_id}'], [$this->group_guid, $this->report_id], '/analytics/groups/{group_guid}/reports/{report_id}/link_performance/export'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['text/csv', 'application/json']]; - } - - return $this->accept; - } - - /** - * @return null - * - * @throws \Bitly\Exception\GetLinkEngagementsReportBadRequestException - * @throws \Bitly\Exception\GetLinkEngagementsReportForbiddenException - * @throws \Bitly\Exception\GetLinkEngagementsReportNotFoundException - * @throws \Bitly\Exception\GetLinkEngagementsReportUnprocessableEntityException - * @throws \Bitly\Exception\GetLinkEngagementsReportInternalServerErrorException - * @throws \Bitly\Exception\GetLinkEngagementsReportServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - } - if (202 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkEngagementsReportBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkEngagementsReportForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkEngagementsReportNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkEngagementsReportUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkEngagementsReportInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkEngagementsReportServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetLinkPerformanceForLaunchpad.php b/lib/Endpoint/GetLinkPerformanceForLaunchpad.php deleted file mode 100644 index a261355..0000000 --- a/lib/Endpoint/GetLinkPerformanceForLaunchpad.php +++ /dev/null @@ -1,105 +0,0 @@ -launchpad_id = $launchpadId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}/link_performance'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference', 'page']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['unit' => 'day', 'size' => 50, 'page' => 1]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('page', ['int']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\LaunchpadLinkPerformance|null - * - * @throws \Bitly\Exception\GetLinkPerformanceForLaunchpadForbiddenException - * @throws \Bitly\Exception\GetLinkPerformanceForLaunchpadNotFoundException - * @throws \Bitly\Exception\GetLinkPerformanceForLaunchpadInternalServerErrorException - * @throws \Bitly\Exception\GetLinkPerformanceForLaunchpadServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadLinkPerformance', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkPerformanceForLaunchpadForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkPerformanceForLaunchpadNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkPerformanceForLaunchpadInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkPerformanceForLaunchpadServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetLinkPerformanceForSite.php b/lib/Endpoint/GetLinkPerformanceForSite.php deleted file mode 100644 index 88eacd3..0000000 --- a/lib/Endpoint/GetLinkPerformanceForSite.php +++ /dev/null @@ -1,105 +0,0 @@ -site_id = $siteId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}/link_performance'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference', 'page']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['unit' => 'day', 'size' => 50, 'page' => 1]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('page', ['int']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\SiteLinkPerformance|null - * - * @throws \Bitly\Exception\GetLinkPerformanceForSiteForbiddenException - * @throws \Bitly\Exception\GetLinkPerformanceForSiteNotFoundException - * @throws \Bitly\Exception\GetLinkPerformanceForSiteInternalServerErrorException - * @throws \Bitly\Exception\GetLinkPerformanceForSiteServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SiteLinkPerformance', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkPerformanceForSiteForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkPerformanceForSiteNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkPerformanceForSiteInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetLinkPerformanceForSiteServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetMetricsForLaunchpadByCities.php b/lib/Endpoint/GetMetricsForLaunchpadByCities.php deleted file mode 100644 index 8488f3b..0000000 --- a/lib/Endpoint/GetMetricsForLaunchpadByCities.php +++ /dev/null @@ -1,111 +0,0 @@ -launchpad_id = $launchpadId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}/cities'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['unit' => 'day', 'size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\CityViewMetrics|null - * - * @throws \Bitly\Exception\GetMetricsForLaunchpadByCitiesBadRequestException - * @throws \Bitly\Exception\GetMetricsForLaunchpadByCitiesPaymentRequiredException - * @throws \Bitly\Exception\GetMetricsForLaunchpadByCitiesForbiddenException - * @throws \Bitly\Exception\GetMetricsForLaunchpadByCitiesNotFoundException - * @throws \Bitly\Exception\GetMetricsForLaunchpadByCitiesInternalServerErrorException - * @throws \Bitly\Exception\GetMetricsForLaunchpadByCitiesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\CityViewMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByCitiesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByCitiesPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByCitiesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByCitiesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByCitiesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByCitiesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetMetricsForLaunchpadByCountries.php b/lib/Endpoint/GetMetricsForLaunchpadByCountries.php deleted file mode 100644 index fb1efd8..0000000 --- a/lib/Endpoint/GetMetricsForLaunchpadByCountries.php +++ /dev/null @@ -1,107 +0,0 @@ -launchpad_id = $launchpadId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}/countries'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['unit' => 'day', 'size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\Views|null - * - * @throws \Bitly\Exception\GetMetricsForLaunchpadByCountriesBadRequestException - * @throws \Bitly\Exception\GetMetricsForLaunchpadByCountriesForbiddenException - * @throws \Bitly\Exception\GetMetricsForLaunchpadByCountriesNotFoundException - * @throws \Bitly\Exception\GetMetricsForLaunchpadByCountriesInternalServerErrorException - * @throws \Bitly\Exception\GetMetricsForLaunchpadByCountriesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Views', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByCountriesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByCountriesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByCountriesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByCountriesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByCountriesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetMetricsForLaunchpadByDevices.php b/lib/Endpoint/GetMetricsForLaunchpadByDevices.php deleted file mode 100644 index 536c5ec..0000000 --- a/lib/Endpoint/GetMetricsForLaunchpadByDevices.php +++ /dev/null @@ -1,111 +0,0 @@ -launchpad_id = $launchpadId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}/devices'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['unit' => 'day', 'size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\Views|null - * - * @throws \Bitly\Exception\GetMetricsForLaunchpadByDevicesBadRequestException - * @throws \Bitly\Exception\GetMetricsForLaunchpadByDevicesPaymentRequiredException - * @throws \Bitly\Exception\GetMetricsForLaunchpadByDevicesForbiddenException - * @throws \Bitly\Exception\GetMetricsForLaunchpadByDevicesNotFoundException - * @throws \Bitly\Exception\GetMetricsForLaunchpadByDevicesInternalServerErrorException - * @throws \Bitly\Exception\GetMetricsForLaunchpadByDevicesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Views', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByDevicesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByDevicesPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByDevicesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByDevicesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByDevicesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByDevicesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetMetricsForLaunchpadByReferrers.php b/lib/Endpoint/GetMetricsForLaunchpadByReferrers.php deleted file mode 100644 index c5454f1..0000000 --- a/lib/Endpoint/GetMetricsForLaunchpadByReferrers.php +++ /dev/null @@ -1,107 +0,0 @@ -launchpad_id = $launchpadId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}/referrers'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['unit' => 'day', 'size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\Views|null - * - * @throws \Bitly\Exception\GetMetricsForLaunchpadByReferrersBadRequestException - * @throws \Bitly\Exception\GetMetricsForLaunchpadByReferrersForbiddenException - * @throws \Bitly\Exception\GetMetricsForLaunchpadByReferrersNotFoundException - * @throws \Bitly\Exception\GetMetricsForLaunchpadByReferrersInternalServerErrorException - * @throws \Bitly\Exception\GetMetricsForLaunchpadByReferrersServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Views', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByReferrersBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByReferrersForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByReferrersNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByReferrersInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForLaunchpadByReferrersServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetMetricsForSiteByCities.php b/lib/Endpoint/GetMetricsForSiteByCities.php deleted file mode 100644 index 052b6cc..0000000 --- a/lib/Endpoint/GetMetricsForSiteByCities.php +++ /dev/null @@ -1,111 +0,0 @@ -site_id = $siteId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}/cities'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['unit' => 'day', 'size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\SiteCityViewMetrics|null - * - * @throws \Bitly\Exception\GetMetricsForSiteByCitiesBadRequestException - * @throws \Bitly\Exception\GetMetricsForSiteByCitiesPaymentRequiredException - * @throws \Bitly\Exception\GetMetricsForSiteByCitiesForbiddenException - * @throws \Bitly\Exception\GetMetricsForSiteByCitiesNotFoundException - * @throws \Bitly\Exception\GetMetricsForSiteByCitiesInternalServerErrorException - * @throws \Bitly\Exception\GetMetricsForSiteByCitiesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SiteCityViewMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSiteByCitiesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSiteByCitiesPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSiteByCitiesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSiteByCitiesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSiteByCitiesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSiteByCitiesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetMetricsForSiteByDevices.php b/lib/Endpoint/GetMetricsForSiteByDevices.php deleted file mode 100644 index 4759d6a..0000000 --- a/lib/Endpoint/GetMetricsForSiteByDevices.php +++ /dev/null @@ -1,111 +0,0 @@ -site_id = $siteId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}/devices'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['unit' => 'day', 'size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\SiteViewMetrics|null - * - * @throws \Bitly\Exception\GetMetricsForSiteByDevicesBadRequestException - * @throws \Bitly\Exception\GetMetricsForSiteByDevicesPaymentRequiredException - * @throws \Bitly\Exception\GetMetricsForSiteByDevicesForbiddenException - * @throws \Bitly\Exception\GetMetricsForSiteByDevicesNotFoundException - * @throws \Bitly\Exception\GetMetricsForSiteByDevicesInternalServerErrorException - * @throws \Bitly\Exception\GetMetricsForSiteByDevicesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SiteViewMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSiteByDevicesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSiteByDevicesPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSiteByDevicesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSiteByDevicesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSiteByDevicesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSiteByDevicesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetMetricsForSiteByReferrers.php b/lib/Endpoint/GetMetricsForSiteByReferrers.php deleted file mode 100644 index a8f6bdc..0000000 --- a/lib/Endpoint/GetMetricsForSiteByReferrers.php +++ /dev/null @@ -1,107 +0,0 @@ -site_id = $siteId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}/referrers'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['unit' => 'day', 'size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\SiteViewMetrics|null - * - * @throws \Bitly\Exception\GetMetricsForSiteByReferrersBadRequestException - * @throws \Bitly\Exception\GetMetricsForSiteByReferrersForbiddenException - * @throws \Bitly\Exception\GetMetricsForSiteByReferrersNotFoundException - * @throws \Bitly\Exception\GetMetricsForSiteByReferrersInternalServerErrorException - * @throws \Bitly\Exception\GetMetricsForSiteByReferrersServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SiteViewMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSiteByReferrersBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSiteByReferrersForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSiteByReferrersNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSiteByReferrersInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSiteByReferrersServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetMetricsForSitesByCountries.php b/lib/Endpoint/GetMetricsForSitesByCountries.php deleted file mode 100644 index 2fb8ffc..0000000 --- a/lib/Endpoint/GetMetricsForSitesByCountries.php +++ /dev/null @@ -1,107 +0,0 @@ -site_id = $siteId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}/countries'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['unit' => 'day', 'size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\SiteViewMetrics|null - * - * @throws \Bitly\Exception\GetMetricsForSitesByCountriesBadRequestException - * @throws \Bitly\Exception\GetMetricsForSitesByCountriesForbiddenException - * @throws \Bitly\Exception\GetMetricsForSitesByCountriesNotFoundException - * @throws \Bitly\Exception\GetMetricsForSitesByCountriesInternalServerErrorException - * @throws \Bitly\Exception\GetMetricsForSitesByCountriesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SiteViewMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSitesByCountriesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSitesByCountriesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSitesByCountriesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSitesByCountriesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetMetricsForSitesByCountriesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetOAuthApps.php b/lib/Endpoint/GetOAuthApps.php deleted file mode 100644 index 6affa8c..0000000 --- a/lib/Endpoint/GetOAuthApps.php +++ /dev/null @@ -1,70 +0,0 @@ - ['application/json']]; - } - - /** - * @return \Bitly\Model\OAuthApps|null - * - * @throws \Bitly\Exception\GetOAuthAppsBadRequestException - * @throws \Bitly\Exception\GetOAuthAppsNotFoundException - * @throws \Bitly\Exception\GetOAuthAppsInternalServerErrorException - * @throws \Bitly\Exception\GetOAuthAppsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\OAuthApps', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOAuthAppsBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOAuthAppsNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOAuthAppsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOAuthAppsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetOAuthAuthorizations.php b/lib/Endpoint/GetOAuthAuthorizations.php deleted file mode 100644 index a43f8b6..0000000 --- a/lib/Endpoint/GetOAuthAuthorizations.php +++ /dev/null @@ -1,66 +0,0 @@ - ['application/json']]; - } - - /** - * @return \Bitly\Model\Authorizations|null - * - * @throws \Bitly\Exception\GetOAuthAuthorizationsNotFoundException - * @throws \Bitly\Exception\GetOAuthAuthorizationsInternalServerErrorException - * @throws \Bitly\Exception\GetOAuthAuthorizationsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Authorizations', 'json'); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOAuthAuthorizationsNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOAuthAuthorizationsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOAuthAuthorizationsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetOrgDomainsStatus.php b/lib/Endpoint/GetOrgDomainsStatus.php deleted file mode 100644 index 1eae410..0000000 --- a/lib/Endpoint/GetOrgDomainsStatus.php +++ /dev/null @@ -1,81 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/domains/status'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\OrgDomainsStatus|null - * - * @throws \Bitly\Exception\GetOrgDomainsStatusBadRequestException - * @throws \Bitly\Exception\GetOrgDomainsStatusForbiddenException - * @throws \Bitly\Exception\GetOrgDomainsStatusTooManyRequestsException - * @throws \Bitly\Exception\GetOrgDomainsStatusInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\OrgDomainsStatus', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrgDomainsStatusBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrgDomainsStatusForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrgDomainsStatusTooManyRequestsException($serializer->deserialize($body, 'Bitly\Model\MonthlyLimitExceeded', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrgDomainsStatusInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetOrgEmails.php b/lib/Endpoint/GetOrgEmails.php deleted file mode 100644 index 261f971..0000000 --- a/lib/Endpoint/GetOrgEmails.php +++ /dev/null @@ -1,96 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/org_emails'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['login', 'organization_guid']); - $optionsResolver->setRequired(['login']); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('login', ['string']); - $optionsResolver->addAllowedTypes('organization_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\OrgEmails|null - * - * @throws \Bitly\Exception\GetOrgEmailsForbiddenException - * @throws \Bitly\Exception\GetOrgEmailsNotFoundException - * @throws \Bitly\Exception\GetOrgEmailsInternalServerErrorException - * @throws \Bitly\Exception\GetOrgEmailsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\OrgEmails', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrgEmailsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrgEmailsNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrgEmailsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrgEmailsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetOrgInvitationRequests.php b/lib/Endpoint/GetOrgInvitationRequests.php deleted file mode 100644 index 8056ec8..0000000 --- a/lib/Endpoint/GetOrgInvitationRequests.php +++ /dev/null @@ -1,77 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/invitation_requests'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\OrgInvitationRequests|null - * - * @throws \Bitly\Exception\GetOrgInvitationRequestsBadRequestException - * @throws \Bitly\Exception\GetOrgInvitationRequestsForbiddenException - * @throws \Bitly\Exception\GetOrgInvitationRequestsInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\OrgInvitationRequests', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrgInvitationRequestsBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrgInvitationRequestsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrgInvitationRequestsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetOrgPreferences.php b/lib/Endpoint/GetOrgPreferences.php deleted file mode 100644 index 4dc81fb..0000000 --- a/lib/Endpoint/GetOrgPreferences.php +++ /dev/null @@ -1,69 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/preferences'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\OrganizationPreferences|null - * - * @throws \Bitly\Exception\GetOrgPreferencesInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\OrganizationPreferences', 'json'); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrgPreferencesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetOrganizationActivityLog.php b/lib/Endpoint/GetOrganizationActivityLog.php deleted file mode 100644 index 5eee266..0000000 --- a/lib/Endpoint/GetOrganizationActivityLog.php +++ /dev/null @@ -1,103 +0,0 @@ -organization_guid = $organizationGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/activity_log'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['next_page', 'after_ts', 'before_ts', 'limit', 'actions', 'user_filter']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('next_page', ['string']); - $optionsResolver->addAllowedTypes('after_ts', ['string']); - $optionsResolver->addAllowedTypes('before_ts', ['string']); - $optionsResolver->addAllowedTypes('limit', ['int']); - $optionsResolver->addAllowedTypes('actions', ['array']); - $optionsResolver->addAllowedTypes('user_filter', ['array']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ActivityLogs|null - * - * @throws \Bitly\Exception\GetOrganizationActivityLogForbiddenException - * @throws \Bitly\Exception\GetOrganizationActivityLogInternalServerErrorException - * @throws \Bitly\Exception\GetOrganizationActivityLogServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ActivityLogs', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationActivityLogForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationActivityLogInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationActivityLogServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetOrganizationActivityLogEntry.php b/lib/Endpoint/GetOrganizationActivityLogEntry.php deleted file mode 100644 index b770db3..0000000 --- a/lib/Endpoint/GetOrganizationActivityLogEntry.php +++ /dev/null @@ -1,83 +0,0 @@ -organization_guid = $organizationGuid; - $this->action = $action; - $this->timestamp = $timestamp; - $this->id = $id; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}', '{action}', '{timestamp}', '{id}'], [$this->organization_guid, $this->action, $this->timestamp, $this->id], '/organizations/{organization_guid}/activity_log/{action}/{timestamp}/{id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\ActivityLog|null - * - * @throws \Bitly\Exception\GetOrganizationActivityLogEntryForbiddenException - * @throws \Bitly\Exception\GetOrganizationActivityLogEntryInternalServerErrorException - * @throws \Bitly\Exception\GetOrganizationActivityLogEntryServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ActivityLog', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationActivityLogEntryForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationActivityLogEntryInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationActivityLogEntryServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetOrganizationActivityLogExport.php b/lib/Endpoint/GetOrganizationActivityLogExport.php deleted file mode 100644 index 96ef7a2..0000000 --- a/lib/Endpoint/GetOrganizationActivityLogExport.php +++ /dev/null @@ -1,85 +0,0 @@ -organization_guid = $organizationGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/export/activity_log'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['text/csv']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['actions', 'user_filter', 'after_ts', 'before_ts']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('actions', ['array']); - $optionsResolver->addAllowedTypes('user_filter', ['array']); - $optionsResolver->addAllowedTypes('after_ts', ['string']); - $optionsResolver->addAllowedTypes('before_ts', ['string']); - - return $optionsResolver; - } - - /** - * @return null - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetOrganizationFeatureUsage.php b/lib/Endpoint/GetOrganizationFeatureUsage.php deleted file mode 100644 index d553a8c..0000000 --- a/lib/Endpoint/GetOrganizationFeatureUsage.php +++ /dev/null @@ -1,77 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/feature_usage'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\FeatureUsage|null - * - * @throws \Bitly\Exception\GetOrganizationFeatureUsageForbiddenException - * @throws \Bitly\Exception\GetOrganizationFeatureUsageInternalServerErrorException - * @throws \Bitly\Exception\GetOrganizationFeatureUsageServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\FeatureUsage', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationFeatureUsageForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationFeatureUsageInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationFeatureUsageServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetOrganizationFeatureUsageByGroup.php b/lib/Endpoint/GetOrganizationFeatureUsageByGroup.php deleted file mode 100644 index 054df9f..0000000 --- a/lib/Endpoint/GetOrganizationFeatureUsageByGroup.php +++ /dev/null @@ -1,95 +0,0 @@ -organization_guid = $organizationGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/groups/feature_usage'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['name', 'group_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('name', ['array']); - $optionsResolver->addAllowedTypes('group_guid', ['array']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\OrgFeatureUsageByGroup|null - * - * @throws \Bitly\Exception\GetOrganizationFeatureUsageByGroupBadRequestException - * @throws \Bitly\Exception\GetOrganizationFeatureUsageByGroupForbiddenException - * @throws \Bitly\Exception\GetOrganizationFeatureUsageByGroupInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\OrgFeatureUsageByGroup', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationFeatureUsageByGroupBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationFeatureUsageByGroupForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationFeatureUsageByGroupInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetOrganizationHistoricalUsageTotalsByGroup.php b/lib/Endpoint/GetOrganizationHistoricalUsageTotalsByGroup.php deleted file mode 100644 index 442b3fe..0000000 --- a/lib/Endpoint/GetOrganizationHistoricalUsageTotalsByGroup.php +++ /dev/null @@ -1,97 +0,0 @@ -organization_guid = $organizationGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/groups/historical_usage_totals'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['name', 'start_date', 'end_date']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('name', ['array']); - $optionsResolver->addAllowedTypes('start_date', ['string']); - $optionsResolver->addAllowedTypes('end_date', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\OrganizationHistoricalUsageTotals|null - * - * @throws \Bitly\Exception\GetOrganizationHistoricalUsageTotalsByGroupBadRequestException - * @throws \Bitly\Exception\GetOrganizationHistoricalUsageTotalsByGroupForbiddenException - * @throws \Bitly\Exception\GetOrganizationHistoricalUsageTotalsByGroupInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\OrganizationHistoricalUsageTotals', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationHistoricalUsageTotalsByGroupBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationHistoricalUsageTotalsByGroupForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationHistoricalUsageTotalsByGroupInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetOrganizationSSOSettings.php b/lib/Endpoint/GetOrganizationSSOSettings.php deleted file mode 100644 index a37fed9..0000000 --- a/lib/Endpoint/GetOrganizationSSOSettings.php +++ /dev/null @@ -1,85 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/sso/organizations/{organization_guid}/settings'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\SSOSettings|null - * - * @throws \Bitly\Exception\GetOrganizationSSOSettingsPaymentRequiredException - * @throws \Bitly\Exception\GetOrganizationSSOSettingsForbiddenException - * @throws \Bitly\Exception\GetOrganizationSSOSettingsNotFoundException - * @throws \Bitly\Exception\GetOrganizationSSOSettingsInternalServerErrorException - * @throws \Bitly\Exception\GetOrganizationSSOSettingsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SSOSettings', 'json'); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationSSOSettingsPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationSSOSettingsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationSSOSettingsNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationSSOSettingsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationSSOSettingsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetOrganizationStripeInfo.php b/lib/Endpoint/GetOrganizationStripeInfo.php deleted file mode 100644 index ab5a2ee..0000000 --- a/lib/Endpoint/GetOrganizationStripeInfo.php +++ /dev/null @@ -1,77 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/stripe/organizations/{organization_guid}/info'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\StripeOrganizationInfo|null - * - * @throws \Bitly\Exception\GetOrganizationStripeInfoBadRequestException - * @throws \Bitly\Exception\GetOrganizationStripeInfoForbiddenException - * @throws \Bitly\Exception\GetOrganizationStripeInfoInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\StripeOrganizationInfo', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationStripeInfoBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationStripeInfoForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOrganizationStripeInfoInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetOverrideHistoryForBitlink.php b/lib/Endpoint/GetOverrideHistoryForBitlink.php deleted file mode 100644 index fe86869..0000000 --- a/lib/Endpoint/GetOverrideHistoryForBitlink.php +++ /dev/null @@ -1,107 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/override_history'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['limit', 'offset']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('limit', ['int']); - $optionsResolver->addAllowedTypes('offset', ['int']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\BitlinkOverrideHistory|null - * - * @throws \Bitly\Exception\GetOverrideHistoryForBitlinkPaymentRequiredException - * @throws \Bitly\Exception\GetOverrideHistoryForBitlinkForbiddenException - * @throws \Bitly\Exception\GetOverrideHistoryForBitlinkNotFoundException - * @throws \Bitly\Exception\GetOverrideHistoryForBitlinkTooManyRequestsException - * @throws \Bitly\Exception\GetOverrideHistoryForBitlinkInternalServerErrorException - * @throws \Bitly\Exception\GetOverrideHistoryForBitlinkServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BitlinkOverrideHistory', 'json'); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverrideHistoryForBitlinkPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverrideHistoryForBitlinkForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverrideHistoryForBitlinkNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverrideHistoryForBitlinkTooManyRequestsException($serializer->deserialize($body, 'Bitly\Model\MonthlyLimitExceeded', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverrideHistoryForBitlinkInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverrideHistoryForBitlinkServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetOverrideMetricsByVersion.php b/lib/Endpoint/GetOverrideMetricsByVersion.php deleted file mode 100644 index e151c9d..0000000 --- a/lib/Endpoint/GetOverrideMetricsByVersion.php +++ /dev/null @@ -1,113 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/overrides_clicks_by_version'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ClickMetrics|null - * - * @throws \Bitly\Exception\GetOverrideMetricsByVersionBadRequestException - * @throws \Bitly\Exception\GetOverrideMetricsByVersionPaymentRequiredException - * @throws \Bitly\Exception\GetOverrideMetricsByVersionForbiddenException - * @throws \Bitly\Exception\GetOverrideMetricsByVersionNotFoundException - * @throws \Bitly\Exception\GetOverrideMetricsByVersionGoneException - * @throws \Bitly\Exception\GetOverrideMetricsByVersionInternalServerErrorException - * @throws \Bitly\Exception\GetOverrideMetricsByVersionServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ClickMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverrideMetricsByVersionBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverrideMetricsByVersionPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverrideMetricsByVersionForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverrideMetricsByVersionNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverrideMetricsByVersionGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverrideMetricsByVersionInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverrideMetricsByVersionServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetOverridesForBitlink.php b/lib/Endpoint/GetOverridesForBitlink.php deleted file mode 100644 index b2299bb..0000000 --- a/lib/Endpoint/GetOverridesForBitlink.php +++ /dev/null @@ -1,89 +0,0 @@ -bitlink = $bitlink; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/overrides'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\BitlinkOverrides|null - * - * @throws \Bitly\Exception\GetOverridesForBitlinkPaymentRequiredException - * @throws \Bitly\Exception\GetOverridesForBitlinkForbiddenException - * @throws \Bitly\Exception\GetOverridesForBitlinkNotFoundException - * @throws \Bitly\Exception\GetOverridesForBitlinkGoneException - * @throws \Bitly\Exception\GetOverridesForBitlinkInternalServerErrorException - * @throws \Bitly\Exception\GetOverridesForBitlinkServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BitlinkOverrides', 'json'); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverridesForBitlinkPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverridesForBitlinkForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverridesForBitlinkNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverridesForBitlinkGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverridesForBitlinkInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverridesForBitlinkServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetOverridesForGroups.php b/lib/Endpoint/GetOverridesForGroups.php deleted file mode 100644 index 352412f..0000000 --- a/lib/Endpoint/GetOverridesForGroups.php +++ /dev/null @@ -1,113 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/overrides'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['group_guid', 'created_after', 'limit', 'offset', 'bsd']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('group_guid', ['array']); - $optionsResolver->addAllowedTypes('created_after', ['int']); - $optionsResolver->addAllowedTypes('limit', ['int']); - $optionsResolver->addAllowedTypes('offset', ['int']); - $optionsResolver->addAllowedTypes('bsd', ['array']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\BitlinkOverridesData|null - * - * @throws \Bitly\Exception\GetOverridesForGroupsBadRequestException - * @throws \Bitly\Exception\GetOverridesForGroupsPaymentRequiredException - * @throws \Bitly\Exception\GetOverridesForGroupsForbiddenException - * @throws \Bitly\Exception\GetOverridesForGroupsNotFoundException - * @throws \Bitly\Exception\GetOverridesForGroupsInternalServerErrorException - * @throws \Bitly\Exception\GetOverridesForGroupsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BitlinkOverridesData', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverridesForGroupsBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverridesForGroupsPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverridesForGroupsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverridesForGroupsNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverridesForGroupsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetOverridesForGroupsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetPaymentInvoice.php b/lib/Endpoint/GetPaymentInvoice.php deleted file mode 100644 index 6a35c56..0000000 --- a/lib/Endpoint/GetPaymentInvoice.php +++ /dev/null @@ -1,75 +0,0 @@ -organization_guid = $organizationGuid; - $this->invoiceID = $invoiceID; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}', '{invoiceID}'], [$this->organization_guid, $this->invoiceID], '/organizations/{organization_guid}/payment_invoices/{invoiceID}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\PaymentInvoiceDetail|null - * - * @throws \Bitly\Exception\GetPaymentInvoiceForbiddenException - * @throws \Bitly\Exception\GetPaymentInvoiceInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\PaymentInvoiceDetail', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetPaymentInvoiceForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetPaymentInvoiceInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetPaymentInvoiceFile.php b/lib/Endpoint/GetPaymentInvoiceFile.php deleted file mode 100644 index f654c64..0000000 --- a/lib/Endpoint/GetPaymentInvoiceFile.php +++ /dev/null @@ -1,85 +0,0 @@ -organization_guid = $organizationGuid; - $this->invoiceID = $invoiceID; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}', '{invoiceID}'], [$this->organization_guid, $this->invoiceID], '/organizations/{organization_guid}/payment_invoices/{invoiceID}/file'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/pdf', 'application/json']]; - } - - return $this->accept; - } - - /** - * @return null - * - * @throws \Bitly\Exception\GetPaymentInvoiceFileForbiddenException - * @throws \Bitly\Exception\GetPaymentInvoiceFileNotFoundException - * @throws \Bitly\Exception\GetPaymentInvoiceFileInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetPaymentInvoiceFileForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetPaymentInvoiceFileNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetPaymentInvoiceFileInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetPaymentInvoices.php b/lib/Endpoint/GetPaymentInvoices.php deleted file mode 100644 index 42fc6ef..0000000 --- a/lib/Endpoint/GetPaymentInvoices.php +++ /dev/null @@ -1,76 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/payment_invoices'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\PaymentInvoices|null - * - * @throws \Bitly\Exception\GetPaymentInvoicesForbiddenException - * @throws \Bitly\Exception\GetPaymentInvoicesInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\PaymentInvoices', 'json'); - } - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetPaymentInvoicesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetPaymentInvoicesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetPendingTierForOrg.php b/lib/Endpoint/GetPendingTierForOrg.php deleted file mode 100644 index 095fa9e..0000000 --- a/lib/Endpoint/GetPendingTierForOrg.php +++ /dev/null @@ -1,80 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/pending_tier'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\OrgTierHistory|null - * - * @throws \Bitly\Exception\GetPendingTierForOrgForbiddenException - * @throws \Bitly\Exception\GetPendingTierForOrgNotFoundException - * @throws \Bitly\Exception\GetPendingTierForOrgInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\OrgTierHistory', 'json'); - } - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetPendingTierForOrgForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetPendingTierForOrgNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetPendingTierForOrgInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetPrivateGeo.php b/lib/Endpoint/GetPrivateGeo.php deleted file mode 100644 index 5b496de..0000000 --- a/lib/Endpoint/GetPrivateGeo.php +++ /dev/null @@ -1,58 +0,0 @@ - ['application/json']]; - } - - /** - * @return \Bitly\Model\GeoIP|null - * - * @throws \Bitly\Exception\GetPrivateGeoInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\GeoIP', 'json'); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetPrivateGeoInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetProductUtilization.php b/lib/Endpoint/GetProductUtilization.php deleted file mode 100644 index c63c5e5..0000000 --- a/lib/Endpoint/GetProductUtilization.php +++ /dev/null @@ -1,77 +0,0 @@ -group_guid = $groupGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/product_utilization'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\ProductUtilizationResponse|null - * - * @throws \Bitly\Exception\GetProductUtilizationBadRequestException - * @throws \Bitly\Exception\GetProductUtilizationForbiddenException - * @throws \Bitly\Exception\GetProductUtilizationInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ProductUtilizationResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetProductUtilizationBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetProductUtilizationForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetProductUtilizationInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetPromoCodeValidPlans.php b/lib/Endpoint/GetPromoCodeValidPlans.php deleted file mode 100644 index 8b8071d..0000000 --- a/lib/Endpoint/GetPromoCodeValidPlans.php +++ /dev/null @@ -1,73 +0,0 @@ -promo_code = $promoCode; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{promo_code}'], [$this->promo_code], '/promo_codes/{promo_code}/valid_plans'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\PromoCodeValidPlans|null - * - * @throws \Bitly\Exception\GetPromoCodeValidPlansInternalServerErrorException - * @throws \Bitly\Exception\GetPromoCodeValidPlansServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\PromoCodeValidPlans', 'json'); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetPromoCodeValidPlansInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetPromoCodeValidPlansServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetQRCHistory.php b/lib/Endpoint/GetQRCHistory.php deleted file mode 100644 index 3b06a93..0000000 --- a/lib/Endpoint/GetQRCHistory.php +++ /dev/null @@ -1,99 +0,0 @@ -qrcode_id = $qrcodeId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{qrcode_id}'], [$this->qrcode_id], '/qr-codes/{qrcode_id}/history'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['limit', 'offset']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('limit', ['int']); - $optionsResolver->addAllowedTypes('offset', ['int']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\QRCodeHistory|null - * - * @throws \Bitly\Exception\GetQRCHistoryBadRequestException - * @throws \Bitly\Exception\GetQRCHistoryForbiddenException - * @throws \Bitly\Exception\GetQRCHistoryTooManyRequestsException - * @throws \Bitly\Exception\GetQRCHistoryInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\QRCodeHistory', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCHistoryBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCHistoryForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCHistoryTooManyRequestsException($serializer->deserialize($body, 'Bitly\Model\MonthlyLimitExceeded', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCHistoryInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetQRCodeByBitlinkId.php b/lib/Endpoint/GetQRCodeByBitlinkId.php deleted file mode 100644 index f5d56ef..0000000 --- a/lib/Endpoint/GetQRCodeByBitlinkId.php +++ /dev/null @@ -1,83 +0,0 @@ -bitlinkId = $bitlinkId; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlinkId}'], [$this->bitlinkId], '/qrcode/bitlink/{bitlinkId}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\QRCodeFullResponse|null - * - * @throws \Bitly\Exception\GetQRCodeByBitlinkIdBadRequestException - * @throws \Bitly\Exception\GetQRCodeByBitlinkIdForbiddenException - * @throws \Bitly\Exception\GetQRCodeByBitlinkIdNotFoundException - * @throws \Bitly\Exception\GetQRCodeByBitlinkIdGoneException - * @throws \Bitly\Exception\GetQRCodeByBitlinkIdInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\QRCodeFullResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeByBitlinkIdBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeByBitlinkIdForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeByBitlinkIdNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeByBitlinkIdGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeByBitlinkIdInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetQRCodeById.php b/lib/Endpoint/GetQRCodeById.php deleted file mode 100644 index 5c8000e..0000000 --- a/lib/Endpoint/GetQRCodeById.php +++ /dev/null @@ -1,85 +0,0 @@ -id = $id; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{id}'], [$this->id], '/qrcode/full/{id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\QRCodeFullResponse|null - * - * @throws \Bitly\Exception\GetQRCodeByIdBadRequestException - * @throws \Bitly\Exception\GetQRCodeByIdForbiddenException - * @throws \Bitly\Exception\GetQRCodeByIdNotFoundException - * @throws \Bitly\Exception\GetQRCodeByIdGoneException - * @throws \Bitly\Exception\GetQRCodeByIdInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\QRCodeFullResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeByIdBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeByIdForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeByIdNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeByIdGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeByIdInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetQRCodeCustomizationOptions.php b/lib/Endpoint/GetQRCodeCustomizationOptions.php deleted file mode 100644 index 2dbe331..0000000 --- a/lib/Endpoint/GetQRCodeCustomizationOptions.php +++ /dev/null @@ -1,81 +0,0 @@ -group_guid = $groupGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/qrcodes/customization/options/{group_guid}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\QRCodeCustomizationOptionsResponse|null - * - * @throws \Bitly\Exception\GetQRCodeCustomizationOptionsBadRequestException - * @throws \Bitly\Exception\GetQRCodeCustomizationOptionsForbiddenException - * @throws \Bitly\Exception\GetQRCodeCustomizationOptionsNotFoundException - * @throws \Bitly\Exception\GetQRCodeCustomizationOptionsInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\QRCodeCustomizationOptionsResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeCustomizationOptionsBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeCustomizationOptionsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeCustomizationOptionsNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeCustomizationOptionsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetQRCodeOverrideMetricsByVersion.php b/lib/Endpoint/GetQRCodeOverrideMetricsByVersion.php deleted file mode 100644 index e9fc1ee..0000000 --- a/lib/Endpoint/GetQRCodeOverrideMetricsByVersion.php +++ /dev/null @@ -1,113 +0,0 @@ -qrcode_id = $qrcodeId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{qrcode_id}'], [$this->qrcode_id], '/qr-codes/{qrcode_id}/engagements_by_version'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ClickMetrics|null - * - * @throws \Bitly\Exception\GetQRCodeOverrideMetricsByVersionBadRequestException - * @throws \Bitly\Exception\GetQRCodeOverrideMetricsByVersionPaymentRequiredException - * @throws \Bitly\Exception\GetQRCodeOverrideMetricsByVersionForbiddenException - * @throws \Bitly\Exception\GetQRCodeOverrideMetricsByVersionNotFoundException - * @throws \Bitly\Exception\GetQRCodeOverrideMetricsByVersionGoneException - * @throws \Bitly\Exception\GetQRCodeOverrideMetricsByVersionInternalServerErrorException - * @throws \Bitly\Exception\GetQRCodeOverrideMetricsByVersionServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ClickMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeOverrideMetricsByVersionBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeOverrideMetricsByVersionPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeOverrideMetricsByVersionForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeOverrideMetricsByVersionNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeOverrideMetricsByVersionGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeOverrideMetricsByVersionInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeOverrideMetricsByVersionServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetQRCodeTemplates.php b/lib/Endpoint/GetQRCodeTemplates.php deleted file mode 100644 index 651cf00..0000000 --- a/lib/Endpoint/GetQRCodeTemplates.php +++ /dev/null @@ -1,89 +0,0 @@ -group_guid = $groupGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/qr_templates'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\QRCodeTemplatesResponse|null - * - * @throws \Bitly\Exception\GetQRCodeTemplatesBadRequestException - * @throws \Bitly\Exception\GetQRCodeTemplatesPaymentRequiredException - * @throws \Bitly\Exception\GetQRCodeTemplatesForbiddenException - * @throws \Bitly\Exception\GetQRCodeTemplatesNotFoundException - * @throws \Bitly\Exception\GetQRCodeTemplatesGoneException - * @throws \Bitly\Exception\GetQRCodeTemplatesInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\QRCodeTemplatesResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeTemplatesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeTemplatesPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeTemplatesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeTemplatesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeTemplatesGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetQRCodeTemplatesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetRegionsList.php b/lib/Endpoint/GetRegionsList.php deleted file mode 100644 index b45b808..0000000 --- a/lib/Endpoint/GetRegionsList.php +++ /dev/null @@ -1,58 +0,0 @@ - ['application/json']]; - } - - /** - * @return \Bitly\Model\Regions|null - * - * @throws \Bitly\Exception\GetRegionsListInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Regions', 'json'); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetRegionsListInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetRetainedEntitiesAfterDowngrade.php b/lib/Endpoint/GetRetainedEntitiesAfterDowngrade.php deleted file mode 100644 index e4efed7..0000000 --- a/lib/Endpoint/GetRetainedEntitiesAfterDowngrade.php +++ /dev/null @@ -1,73 +0,0 @@ -organization_guid = $organizationGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/retained_entities_after_downgrade'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\RetainedEntitiesAfterDowngrade|null - * - * @throws \Bitly\Exception\GetRetainedEntitiesAfterDowngradeForbiddenException - * @throws \Bitly\Exception\GetRetainedEntitiesAfterDowngradeInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\RetainedEntitiesAfterDowngrade', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetRetainedEntitiesAfterDowngradeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetRetainedEntitiesAfterDowngradeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetSSOUsers.php b/lib/Endpoint/GetSSOUsers.php deleted file mode 100644 index 2070ac6..0000000 --- a/lib/Endpoint/GetSSOUsers.php +++ /dev/null @@ -1,99 +0,0 @@ -organization_guid = $organizationGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/sso_users'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['page', 'size', 'sso_username', 'login']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['page' => 1, 'size' => 50]); - $optionsResolver->addAllowedTypes('page', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('sso_username', ['string']); - $optionsResolver->addAllowedTypes('login', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\PublicSSOUsersResults|null - * - * @throws \Bitly\Exception\GetSSOUsersBadRequestException - * @throws \Bitly\Exception\GetSSOUsersForbiddenException - * @throws \Bitly\Exception\GetSSOUsersInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\PublicSSOUsersResults', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSSOUsersBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSSOUsersForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSSOUsersInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetScanMetricsForBitlinkByBrowser.php b/lib/Endpoint/GetScanMetricsForBitlinkByBrowser.php deleted file mode 100644 index 47bcdb2..0000000 --- a/lib/Endpoint/GetScanMetricsForBitlinkByBrowser.php +++ /dev/null @@ -1,123 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/scans/browsers'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/json', 'text/csv']]; - } - - return $this->accept; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ScanMetrics|null - * - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByBrowserBadRequestException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByBrowserPaymentRequiredException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByBrowserForbiddenException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByBrowserNotFoundException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByBrowserGoneException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByBrowserInternalServerErrorException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByBrowserServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ScanMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByBrowserBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByBrowserPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByBrowserForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByBrowserNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByBrowserGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByBrowserInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByBrowserServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetScanMetricsForBitlinkByCities.php b/lib/Endpoint/GetScanMetricsForBitlinkByCities.php deleted file mode 100644 index c160844..0000000 --- a/lib/Endpoint/GetScanMetricsForBitlinkByCities.php +++ /dev/null @@ -1,123 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/scans/cities'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/json', 'text/csv']]; - } - - return $this->accept; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\CityScanMetrics|null - * - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByCitiesBadRequestException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByCitiesPaymentRequiredException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByCitiesForbiddenException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByCitiesNotFoundException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByCitiesGoneException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByCitiesInternalServerErrorException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByCitiesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\CityScanMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByCitiesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByCitiesPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByCitiesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByCitiesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByCitiesGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByCitiesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByCitiesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetScanMetricsForBitlinkByCountries.php b/lib/Endpoint/GetScanMetricsForBitlinkByCountries.php deleted file mode 100644 index 5935a18..0000000 --- a/lib/Endpoint/GetScanMetricsForBitlinkByCountries.php +++ /dev/null @@ -1,119 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/scans/countries'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/json', 'text/csv']]; - } - - return $this->accept; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ScanMetrics|null - * - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByCountriesBadRequestException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByCountriesForbiddenException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByCountriesNotFoundException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByCountriesGoneException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByCountriesInternalServerErrorException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByCountriesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ScanMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByCountriesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByCountriesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByCountriesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByCountriesGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByCountriesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByCountriesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetScanMetricsForBitlinkByDevicesOS.php b/lib/Endpoint/GetScanMetricsForBitlinkByDevicesOS.php deleted file mode 100644 index 1ad9b28..0000000 --- a/lib/Endpoint/GetScanMetricsForBitlinkByDevicesOS.php +++ /dev/null @@ -1,123 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/scans/device_os'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/json', 'text/csv']]; - } - - return $this->accept; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ScanMetrics|null - * - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByDevicesOSBadRequestException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByDevicesOSPaymentRequiredException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByDevicesOSForbiddenException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByDevicesOSNotFoundException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByDevicesOSGoneException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByDevicesOSInternalServerErrorException - * @throws \Bitly\Exception\GetScanMetricsForBitlinkByDevicesOSServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ScanMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByDevicesOSBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByDevicesOSPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByDevicesOSForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByDevicesOSNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByDevicesOSGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByDevicesOSInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScanMetricsForBitlinkByDevicesOSServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetScansForBitlink.php b/lib/Endpoint/GetScansForBitlink.php deleted file mode 100644 index 6d1683b..0000000 --- a/lib/Endpoint/GetScansForBitlink.php +++ /dev/null @@ -1,117 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/scans'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/json', 'text/csv']]; - } - - return $this->accept; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\Scans|null - * - * @throws \Bitly\Exception\GetScansForBitlinkBadRequestException - * @throws \Bitly\Exception\GetScansForBitlinkForbiddenException - * @throws \Bitly\Exception\GetScansForBitlinkNotFoundException - * @throws \Bitly\Exception\GetScansForBitlinkGoneException - * @throws \Bitly\Exception\GetScansForBitlinkInternalServerErrorException - * @throws \Bitly\Exception\GetScansForBitlinkServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Scans', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScansForBitlinkBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScansForBitlinkForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScansForBitlinkNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScansForBitlinkGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScansForBitlinkInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScansForBitlinkServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetScansSummaryForBitlink.php b/lib/Endpoint/GetScansSummaryForBitlink.php deleted file mode 100644 index 141915b..0000000 --- a/lib/Endpoint/GetScansSummaryForBitlink.php +++ /dev/null @@ -1,109 +0,0 @@ -bitlink = $bitlink; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/scans/summary'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ScansSummary|null - * - * @throws \Bitly\Exception\GetScansSummaryForBitlinkBadRequestException - * @throws \Bitly\Exception\GetScansSummaryForBitlinkForbiddenException - * @throws \Bitly\Exception\GetScansSummaryForBitlinkNotFoundException - * @throws \Bitly\Exception\GetScansSummaryForBitlinkGoneException - * @throws \Bitly\Exception\GetScansSummaryForBitlinkInternalServerErrorException - * @throws \Bitly\Exception\GetScansSummaryForBitlinkServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ScansSummary', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScansSummaryForBitlinkBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScansSummaryForBitlinkForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScansSummaryForBitlinkNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScansSummaryForBitlinkGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScansSummaryForBitlinkInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetScansSummaryForBitlinkServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetShopifyShopDomainDetails.php b/lib/Endpoint/GetShopifyShopDomainDetails.php deleted file mode 100644 index b3c9159..0000000 --- a/lib/Endpoint/GetShopifyShopDomainDetails.php +++ /dev/null @@ -1,88 +0,0 @@ -organization_guid = $organizationGuid; - $this->client_id = $clientId; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}', '{client_id}'], [$this->organization_guid, $this->client_id], '/private/organizations/{organization_guid}/integration_oauth/{client_id}/shopify_domain'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\ShopifyDomainDetailsResponse|null - * - * @throws \Bitly\Exception\GetShopifyShopDomainDetailsBadRequestException - * @throws \Bitly\Exception\GetShopifyShopDomainDetailsForbiddenException - * @throws \Bitly\Exception\GetShopifyShopDomainDetailsNotFoundException - * @throws \Bitly\Exception\GetShopifyShopDomainDetailsInternalServerErrorException - * @throws \Bitly\Exception\GetShopifyShopDomainDetailsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ShopifyDomainDetailsResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetShopifyShopDomainDetailsBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetShopifyShopDomainDetailsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetShopifyShopDomainDetailsNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetShopifyShopDomainDetailsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetShopifyShopDomainDetailsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetSite.php b/lib/Endpoint/GetSite.php deleted file mode 100644 index ed78d2b..0000000 --- a/lib/Endpoint/GetSite.php +++ /dev/null @@ -1,85 +0,0 @@ -site_id = $siteId; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\GetSiteBadRequestException - * @throws \Bitly\Exception\GetSiteForbiddenException - * @throws \Bitly\Exception\GetSiteNotFoundException - * @throws \Bitly\Exception\GetSiteInternalServerErrorException - * @throws \Bitly\Exception\GetSiteServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return json_decode($body); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetSiteClicksByCities.php b/lib/Endpoint/GetSiteClicksByCities.php deleted file mode 100644 index 63e5d89..0000000 --- a/lib/Endpoint/GetSiteClicksByCities.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/sites/clicks/devices'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['site', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('site', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByFacet|null - * - * @throws \Bitly\Exception\GetSiteClicksByCitiesBadRequestException - * @throws \Bitly\Exception\GetSiteClicksByCitiesForbiddenException - * @throws \Bitly\Exception\GetSiteClicksByCitiesInternalServerErrorException - * @throws \Bitly\Exception\GetSiteClicksByCitiesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteClicksByCitiesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteClicksByCitiesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteClicksByCitiesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteClicksByCitiesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetSiteClicksByCountries.php b/lib/Endpoint/GetSiteClicksByCountries.php deleted file mode 100644 index 079d22c..0000000 --- a/lib/Endpoint/GetSiteClicksByCountries.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/sites/clicks/countries'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['site', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('site', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByFacet|null - * - * @throws \Bitly\Exception\GetSiteClicksByCountriesBadRequestException - * @throws \Bitly\Exception\GetSiteClicksByCountriesForbiddenException - * @throws \Bitly\Exception\GetSiteClicksByCountriesInternalServerErrorException - * @throws \Bitly\Exception\GetSiteClicksByCountriesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteClicksByCountriesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteClicksByCountriesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteClicksByCountriesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteClicksByCountriesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetSiteClicksByDevices.php b/lib/Endpoint/GetSiteClicksByDevices.php deleted file mode 100644 index 4adb508..0000000 --- a/lib/Endpoint/GetSiteClicksByDevices.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/sites/clicks/cities'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['site', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('site', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinksByCitiesFacet|null - * - * @throws \Bitly\Exception\GetSiteClicksByDevicesBadRequestException - * @throws \Bitly\Exception\GetSiteClicksByDevicesForbiddenException - * @throws \Bitly\Exception\GetSiteClicksByDevicesInternalServerErrorException - * @throws \Bitly\Exception\GetSiteClicksByDevicesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinksByCitiesFacet', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteClicksByDevicesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteClicksByDevicesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteClicksByDevicesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteClicksByDevicesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetSiteClicksOverTime.php b/lib/Endpoint/GetSiteClicksOverTime.php deleted file mode 100644 index 594506b..0000000 --- a/lib/Endpoint/GetSiteClicksOverTime.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/sites/clicks/over_time'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['site', 'unit', 'units', 'unit_reference', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('site', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\AggregateClicksForBitlinks|null - * - * @throws \Bitly\Exception\GetSiteClicksOverTimeBadRequestException - * @throws \Bitly\Exception\GetSiteClicksOverTimeForbiddenException - * @throws \Bitly\Exception\GetSiteClicksOverTimeInternalServerErrorException - * @throws \Bitly\Exception\GetSiteClicksOverTimeServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AggregateClicksForBitlinks', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteClicksOverTimeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteClicksOverTimeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteClicksOverTimeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteClicksOverTimeServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetSiteDigitalBusinessCardDownloadsByBlocks.php b/lib/Endpoint/GetSiteDigitalBusinessCardDownloadsByBlocks.php deleted file mode 100644 index 1b0abbb..0000000 --- a/lib/Endpoint/GetSiteDigitalBusinessCardDownloadsByBlocks.php +++ /dev/null @@ -1,107 +0,0 @@ -site_id = $siteId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}/digital_business_card_downloads/blocks'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\DownloadMetrics|null - * - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByBlocksBadRequestException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByBlocksForbiddenException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByBlocksNotFoundException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByBlocksInternalServerErrorException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByBlocksServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DownloadMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByBlocksBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByBlocksForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByBlocksNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByBlocksInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByBlocksServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetSiteDigitalBusinessCardDownloadsByCities.php b/lib/Endpoint/GetSiteDigitalBusinessCardDownloadsByCities.php deleted file mode 100644 index 87ccae3..0000000 --- a/lib/Endpoint/GetSiteDigitalBusinessCardDownloadsByCities.php +++ /dev/null @@ -1,107 +0,0 @@ -site_id = $siteId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}/digital_business_card_downloads/cities'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\CityDownloadMetrics|null - * - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCitiesBadRequestException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCitiesForbiddenException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCitiesNotFoundException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCitiesInternalServerErrorException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCitiesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\CityDownloadMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCitiesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCitiesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCitiesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCitiesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCitiesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetSiteDigitalBusinessCardDownloadsByCountries.php b/lib/Endpoint/GetSiteDigitalBusinessCardDownloadsByCountries.php deleted file mode 100644 index 1bd16bf..0000000 --- a/lib/Endpoint/GetSiteDigitalBusinessCardDownloadsByCountries.php +++ /dev/null @@ -1,107 +0,0 @@ -site_id = $siteId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}/digital_business_card_downloads/countries'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\DownloadMetrics|null - * - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCountriesBadRequestException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCountriesForbiddenException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCountriesNotFoundException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCountriesInternalServerErrorException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCountriesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DownloadMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCountriesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCountriesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCountriesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCountriesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByCountriesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetSiteDigitalBusinessCardDownloadsByDevices.php b/lib/Endpoint/GetSiteDigitalBusinessCardDownloadsByDevices.php deleted file mode 100644 index 075a1c6..0000000 --- a/lib/Endpoint/GetSiteDigitalBusinessCardDownloadsByDevices.php +++ /dev/null @@ -1,107 +0,0 @@ -site_id = $siteId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}/digital_business_card_downloads/devices'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\DeviceDownloadMetrics|null - * - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByDevicesBadRequestException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByDevicesForbiddenException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByDevicesNotFoundException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByDevicesInternalServerErrorException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByDevicesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DeviceDownloadMetrics', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByDevicesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByDevicesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByDevicesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByDevicesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsByDevicesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetSiteDigitalBusinessCardDownloadsOverTime.php b/lib/Endpoint/GetSiteDigitalBusinessCardDownloadsOverTime.php deleted file mode 100644 index 5db04c3..0000000 --- a/lib/Endpoint/GetSiteDigitalBusinessCardDownloadsOverTime.php +++ /dev/null @@ -1,107 +0,0 @@ -site_id = $siteId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}/digital_business_card_downloads/over_time'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\DownloadsOverTime|null - * - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsOverTimeBadRequestException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsOverTimeForbiddenException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsOverTimeNotFoundException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsOverTimeInternalServerErrorException - * @throws \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsOverTimeServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DownloadsOverTime', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsOverTimeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsOverTimeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsOverTimeNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsOverTimeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteDigitalBusinessCardDownloadsOverTimeServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetSiteFilteredTopPageButtons.php b/lib/Endpoint/GetSiteFilteredTopPageButtons.php deleted file mode 100644 index 6665577..0000000 --- a/lib/Endpoint/GetSiteFilteredTopPageButtons.php +++ /dev/null @@ -1,104 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/aggregate/sites/clicks/top'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['site', 'unit', 'units', 'unit_reference', 'brand_guid', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('site', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('brand_guid', ['string']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\SortedButtons|null - * - * @throws \Bitly\Exception\GetSiteFilteredTopPageButtonsBadRequestException - * @throws \Bitly\Exception\GetSiteFilteredTopPageButtonsForbiddenException - * @throws \Bitly\Exception\GetSiteFilteredTopPageButtonsInternalServerErrorException - * @throws \Bitly\Exception\GetSiteFilteredTopPageButtonsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SortedButtons', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteFilteredTopPageButtonsBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteFilteredTopPageButtonsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteFilteredTopPageButtonsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteFilteredTopPageButtonsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetSiteLayouts.php b/lib/Endpoint/GetSiteLayouts.php deleted file mode 100644 index 8592ba9..0000000 --- a/lib/Endpoint/GetSiteLayouts.php +++ /dev/null @@ -1,74 +0,0 @@ - ['application/json']]; - } - - /** - * @return \Bitly\Model\BitlySiteLayout[]|null - * - * @throws \Bitly\Exception\GetSiteLayoutsBadRequestException - * @throws \Bitly\Exception\GetSiteLayoutsForbiddenException - * @throws \Bitly\Exception\GetSiteLayoutsNotFoundException - * @throws \Bitly\Exception\GetSiteLayoutsInternalServerErrorException - * @throws \Bitly\Exception\GetSiteLayoutsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BitlySiteLayout[]', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteLayoutsBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteLayoutsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteLayoutsNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteLayoutsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSiteLayoutsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetSitesForGroup.php b/lib/Endpoint/GetSitesForGroup.php deleted file mode 100644 index d4c604f..0000000 --- a/lib/Endpoint/GetSitesForGroup.php +++ /dev/null @@ -1,97 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/sites'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['search_after', 'size', 'sites_url_param']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('search_after', ['string']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('sites_url_param', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\BitlySites|null - * - * @throws \Bitly\Exception\GetSitesForGroupBadRequestException - * @throws \Bitly\Exception\GetSitesForGroupForbiddenException - * @throws \Bitly\Exception\GetSitesForGroupInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BitlySites', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSitesForGroupBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSitesForGroupForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSitesForGroupInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetSortedEngagements.php b/lib/Endpoint/GetSortedEngagements.php deleted file mode 100644 index 297c4c7..0000000 --- a/lib/Endpoint/GetSortedEngagements.php +++ /dev/null @@ -1,116 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/engagements/sorted'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['size', 'bitlink', 'unit', 'unit_reference', 'units', 'report_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('bitlink', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('report_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\SortedEngagements|null - * - * @throws \Bitly\Exception\GetSortedEngagementsBadRequestException - * @throws \Bitly\Exception\GetSortedEngagementsPaymentRequiredException - * @throws \Bitly\Exception\GetSortedEngagementsForbiddenException - * @throws \Bitly\Exception\GetSortedEngagementsNotFoundException - * @throws \Bitly\Exception\GetSortedEngagementsGoneException - * @throws \Bitly\Exception\GetSortedEngagementsInternalServerErrorException - * @throws \Bitly\Exception\GetSortedEngagementsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SortedEngagements', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedEngagementsBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedEngagementsPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedEngagementsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedEngagementsNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedEngagementsGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedEngagementsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedEngagementsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetSortedScans.php b/lib/Endpoint/GetSortedScans.php deleted file mode 100644 index ccaf037..0000000 --- a/lib/Endpoint/GetSortedScans.php +++ /dev/null @@ -1,114 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/engagements/scans/sorted'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['size', 'bitlink', 'unit', 'unit_reference', 'units']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('bitlink', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\SortedEngagements|null - * - * @throws \Bitly\Exception\GetSortedScansBadRequestException - * @throws \Bitly\Exception\GetSortedScansPaymentRequiredException - * @throws \Bitly\Exception\GetSortedScansForbiddenException - * @throws \Bitly\Exception\GetSortedScansNotFoundException - * @throws \Bitly\Exception\GetSortedScansGoneException - * @throws \Bitly\Exception\GetSortedScansInternalServerErrorException - * @throws \Bitly\Exception\GetSortedScansServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SortedEngagements', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedScansBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedScansPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedScansForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedScansNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedScansGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedScansInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedScansServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetSortedScansForGroup.php b/lib/Endpoint/GetSortedScansForGroup.php deleted file mode 100644 index 769272d..0000000 --- a/lib/Endpoint/GetSortedScansForGroup.php +++ /dev/null @@ -1,115 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/scans/sorted'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\SortedEngagements|null - * - * @throws \Bitly\Exception\GetSortedScansForGroupBadRequestException - * @throws \Bitly\Exception\GetSortedScansForGroupPaymentRequiredException - * @throws \Bitly\Exception\GetSortedScansForGroupForbiddenException - * @throws \Bitly\Exception\GetSortedScansForGroupNotFoundException - * @throws \Bitly\Exception\GetSortedScansForGroupGoneException - * @throws \Bitly\Exception\GetSortedScansForGroupInternalServerErrorException - * @throws \Bitly\Exception\GetSortedScansForGroupServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SortedEngagements', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedScansForGroupBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedScansForGroupPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedScansForGroupForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedScansForGroupNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedScansForGroupGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedScansForGroupInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetSortedScansForGroupServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetTemplates.php b/lib/Endpoint/GetTemplates.php deleted file mode 100644 index f5abdbe..0000000 --- a/lib/Endpoint/GetTemplates.php +++ /dev/null @@ -1,94 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/site_templates'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['category']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('category', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\Template[]|null - * - * @throws \Bitly\Exception\GetTemplatesForbiddenException - * @throws \Bitly\Exception\GetTemplatesNotFoundException - * @throws \Bitly\Exception\GetTemplatesInternalServerErrorException - * @throws \Bitly\Exception\GetTemplatesServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Template[]', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTemplatesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTemplatesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTemplatesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTemplatesServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetTier.php b/lib/Endpoint/GetTier.php deleted file mode 100644 index 7d4c6df..0000000 --- a/lib/Endpoint/GetTier.php +++ /dev/null @@ -1,97 +0,0 @@ -TierName = $tierName; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{TierName}'], [$this->TierName], '/tiers/{TierName}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['organization_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('organization_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\Tier|null - * - * @throws \Bitly\Exception\GetTierForbiddenException - * @throws \Bitly\Exception\GetTierNotFoundException - * @throws \Bitly\Exception\GetTierInternalServerErrorException - * @throws \Bitly\Exception\GetTierServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Tier', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTierForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTierNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTierInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTierServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetTiers.php b/lib/Endpoint/GetTiers.php deleted file mode 100644 index 988ea9b..0000000 --- a/lib/Endpoint/GetTiers.php +++ /dev/null @@ -1,90 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/tiers'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['organization_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('organization_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\Tier[]|null - * - * @throws \Bitly\Exception\GetTiersForbiddenException - * @throws \Bitly\Exception\GetTiersInternalServerErrorException - * @throws \Bitly\Exception\GetTiersServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Tier[]', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTiersForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTiersInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTiersServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetTitleForLongURL.php b/lib/Endpoint/GetTitleForLongURL.php deleted file mode 100644 index 210ed27..0000000 --- a/lib/Endpoint/GetTitleForLongURL.php +++ /dev/null @@ -1,94 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/private/title'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['url']); - $optionsResolver->setRequired(['url']); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('url', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\TitleResponse|null - * - * @throws \Bitly\Exception\GetTitleForLongURLForbiddenException - * @throws \Bitly\Exception\GetTitleForLongURLNotFoundException - * @throws \Bitly\Exception\GetTitleForLongURLInternalServerErrorException - * @throws \Bitly\Exception\GetTitleForLongURLServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\TitleResponse', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTitleForLongURLForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTitleForLongURLNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTitleForLongURLInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTitleForLongURLServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetTopSortedBitlinks.php b/lib/Endpoint/GetTopSortedBitlinks.php deleted file mode 100644 index 4539e09..0000000 --- a/lib/Endpoint/GetTopSortedBitlinks.php +++ /dev/null @@ -1,114 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/engagements/clicks/sorted'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['size', 'bitlink', 'unit', 'unit_reference', 'units']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['size' => 50]); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('bitlink', ['array']); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\SortedEngagements|null - * - * @throws \Bitly\Exception\GetTopSortedBitlinksBadRequestException - * @throws \Bitly\Exception\GetTopSortedBitlinksPaymentRequiredException - * @throws \Bitly\Exception\GetTopSortedBitlinksForbiddenException - * @throws \Bitly\Exception\GetTopSortedBitlinksNotFoundException - * @throws \Bitly\Exception\GetTopSortedBitlinksGoneException - * @throws \Bitly\Exception\GetTopSortedBitlinksInternalServerErrorException - * @throws \Bitly\Exception\GetTopSortedBitlinksServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SortedEngagements', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTopSortedBitlinksBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTopSortedBitlinksPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTopSortedBitlinksForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTopSortedBitlinksNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (410 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTopSortedBitlinksGoneException($serializer->deserialize($body, 'Bitly\Model\Gone', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTopSortedBitlinksInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTopSortedBitlinksServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetTwoFARecord.php b/lib/Endpoint/GetTwoFARecord.php deleted file mode 100644 index a9cec60..0000000 --- a/lib/Endpoint/GetTwoFARecord.php +++ /dev/null @@ -1,66 +0,0 @@ - ['application/json']]; - } - - /** - * @return \Bitly\Model\TwoFactor|null - * - * @throws \Bitly\Exception\GetTwoFARecordNotFoundException - * @throws \Bitly\Exception\GetTwoFARecordInternalServerErrorException - * @throws \Bitly\Exception\GetTwoFARecordServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\TwoFactor', 'json'); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTwoFARecordNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTwoFARecordInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetTwoFARecordServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetUMGroupPreferences.php b/lib/Endpoint/GetUMGroupPreferences.php deleted file mode 100644 index abeb49e..0000000 --- a/lib/Endpoint/GetUMGroupPreferences.php +++ /dev/null @@ -1,81 +0,0 @@ -group_guid = $groupGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/umpreferences'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\UMGroupPreferences|null - * - * @throws \Bitly\Exception\GetUMGroupPreferencesForbiddenException - * @throws \Bitly\Exception\GetUMGroupPreferencesNotFoundException - * @throws \Bitly\Exception\GetUMGroupPreferencesUnprocessableEntityException - * @throws \Bitly\Exception\GetUMGroupPreferencesInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\UMGroupPreferences', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetUMGroupPreferencesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetUMGroupPreferencesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetUMGroupPreferencesUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetUMGroupPreferencesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetUMGroupSiteThemes.php b/lib/Endpoint/GetUMGroupSiteThemes.php deleted file mode 100644 index 9c6957e..0000000 --- a/lib/Endpoint/GetUMGroupSiteThemes.php +++ /dev/null @@ -1,64 +0,0 @@ -group_guid = $groupGuid; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/site_themes'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\SiteThemes|null - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SiteThemes', 'json'); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetUserActivityLog.php b/lib/Endpoint/GetUserActivityLog.php deleted file mode 100644 index 22ab6bb..0000000 --- a/lib/Endpoint/GetUserActivityLog.php +++ /dev/null @@ -1,94 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/user/activity_log'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['next_page', 'limit', 'action']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('next_page', ['string']); - $optionsResolver->addAllowedTypes('limit', ['int']); - $optionsResolver->addAllowedTypes('action', ['array']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ActivityLogs|null - * - * @throws \Bitly\Exception\GetUserActivityLogForbiddenException - * @throws \Bitly\Exception\GetUserActivityLogInternalServerErrorException - * @throws \Bitly\Exception\GetUserActivityLogServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ActivityLogs', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetUserActivityLogForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetUserActivityLogInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetUserActivityLogServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetUserAvailableTiers.php b/lib/Endpoint/GetUserAvailableTiers.php deleted file mode 100644 index 692bf0f..0000000 --- a/lib/Endpoint/GetUserAvailableTiers.php +++ /dev/null @@ -1,90 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/user_available_tiers'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['organization_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('organization_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\Tier[]|null - * - * @throws \Bitly\Exception\GetUserAvailableTiersForbiddenException - * @throws \Bitly\Exception\GetUserAvailableTiersInternalServerErrorException - * @throws \Bitly\Exception\GetUserAvailableTiersServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Tier[]', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetUserAvailableTiersForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetUserAvailableTiersInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetUserAvailableTiersServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetUserOnboardingSurveyResults.php b/lib/Endpoint/GetUserOnboardingSurveyResults.php deleted file mode 100644 index 42f281e..0000000 --- a/lib/Endpoint/GetUserOnboardingSurveyResults.php +++ /dev/null @@ -1,62 +0,0 @@ - ['application/json']]; - } - - /** - * @return \Bitly\Model\UserOnboardingSurvey|null - * - * @throws \Bitly\Exception\GetUserOnboardingSurveyResultsForbiddenException - * @throws \Bitly\Exception\GetUserOnboardingSurveyResultsInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\UserOnboardingSurvey', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetUserOnboardingSurveyResultsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetUserOnboardingSurveyResultsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetUserPreferences.php b/lib/Endpoint/GetUserPreferences.php deleted file mode 100644 index ee1c668..0000000 --- a/lib/Endpoint/GetUserPreferences.php +++ /dev/null @@ -1,62 +0,0 @@ - ['application/json']]; - } - - /** - * @return \Bitly\Model\UserPreferences|null - * - * @throws \Bitly\Exception\GetUserPreferencesBadRequestException - * @throws \Bitly\Exception\GetUserPreferencesInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\UserPreferences', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetUserPreferencesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetUserPreferencesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetUsers.php b/lib/Endpoint/GetUsers.php deleted file mode 100644 index 5aaaf56..0000000 --- a/lib/Endpoint/GetUsers.php +++ /dev/null @@ -1,104 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/users'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['organization_guid', 'page', 'size', 'group_guid', 'logins', 'full_name_search']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['page' => 1, 'size' => 50]); - $optionsResolver->addAllowedTypes('organization_guid', ['string']); - $optionsResolver->addAllowedTypes('page', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('group_guid', ['string']); - $optionsResolver->addAllowedTypes('logins', ['array']); - $optionsResolver->addAllowedTypes('full_name_search', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\Users|null - * - * @throws \Bitly\Exception\GetUsersForbiddenException - * @throws \Bitly\Exception\GetUsersNotFoundException - * @throws \Bitly\Exception\GetUsersInternalServerErrorException - * @throws \Bitly\Exception\GetUsersServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Users', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetUsersForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetUsersNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetUsersInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetUsersServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetViewsForLaunchpad.php b/lib/Endpoint/GetViewsForLaunchpad.php deleted file mode 100644 index 83cd26d..0000000 --- a/lib/Endpoint/GetViewsForLaunchpad.php +++ /dev/null @@ -1,103 +0,0 @@ -launchpad_id = $launchpadId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}/views'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['unit' => 'day', 'size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\Views|null - * - * @throws \Bitly\Exception\GetViewsForLaunchpadForbiddenException - * @throws \Bitly\Exception\GetViewsForLaunchpadNotFoundException - * @throws \Bitly\Exception\GetViewsForLaunchpadInternalServerErrorException - * @throws \Bitly\Exception\GetViewsForLaunchpadServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Views', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetViewsForLaunchpadForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetViewsForLaunchpadNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetViewsForLaunchpadInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetViewsForLaunchpadServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetViewsForSite.php b/lib/Endpoint/GetViewsForSite.php deleted file mode 100644 index 013f3fb..0000000 --- a/lib/Endpoint/GetViewsForSite.php +++ /dev/null @@ -1,103 +0,0 @@ -site_id = $siteId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}/views'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['unit' => 'day', 'size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\SiteViewMetrics|null - * - * @throws \Bitly\Exception\GetViewsForSiteForbiddenException - * @throws \Bitly\Exception\GetViewsForSiteNotFoundException - * @throws \Bitly\Exception\GetViewsForSiteInternalServerErrorException - * @throws \Bitly\Exception\GetViewsForSiteServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SiteViewMetrics', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetViewsForSiteForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetViewsForSiteNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetViewsForSiteInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetViewsForSiteServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetViewsSummaryForLaunchpad.php b/lib/Endpoint/GetViewsSummaryForLaunchpad.php deleted file mode 100644 index 6569faf..0000000 --- a/lib/Endpoint/GetViewsSummaryForLaunchpad.php +++ /dev/null @@ -1,103 +0,0 @@ -launchpad_id = $launchpadId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}/views/summary'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['unit' => 'day', 'size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ViewsSummary|null - * - * @throws \Bitly\Exception\GetViewsSummaryForLaunchpadForbiddenException - * @throws \Bitly\Exception\GetViewsSummaryForLaunchpadNotFoundException - * @throws \Bitly\Exception\GetViewsSummaryForLaunchpadInternalServerErrorException - * @throws \Bitly\Exception\GetViewsSummaryForLaunchpadServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ViewsSummary', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetViewsSummaryForLaunchpadForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetViewsSummaryForLaunchpadNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetViewsSummaryForLaunchpadInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetViewsSummaryForLaunchpadServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/GetViewsSummaryForSite.php b/lib/Endpoint/GetViewsSummaryForSite.php deleted file mode 100644 index a330b4c..0000000 --- a/lib/Endpoint/GetViewsSummaryForSite.php +++ /dev/null @@ -1,103 +0,0 @@ -site_id = $siteId; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}/views/summary'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['unit', 'units', 'size', 'unit_reference']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['unit' => 'day', 'size' => 50]); - $optionsResolver->addAllowedTypes('unit', ['string']); - $optionsResolver->addAllowedTypes('units', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('unit_reference', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\SiteViewsSummary|null - * - * @throws \Bitly\Exception\GetViewsSummaryForSiteForbiddenException - * @throws \Bitly\Exception\GetViewsSummaryForSiteNotFoundException - * @throws \Bitly\Exception\GetViewsSummaryForSiteInternalServerErrorException - * @throws \Bitly\Exception\GetViewsSummaryForSiteServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SiteViewsSummary', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetViewsSummaryForSiteForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetViewsSummaryForSiteNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetViewsSummaryForSiteInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\GetViewsSummaryForSiteServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/HandleWebhook.php b/lib/Endpoint/HandleWebhook.php deleted file mode 100644 index 6f81888..0000000 --- a/lib/Endpoint/HandleWebhook.php +++ /dev/null @@ -1,66 +0,0 @@ - ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\HandleWebhookForbiddenException - * @throws \Bitly\Exception\HandleWebhookUnprocessableEntityException - * @throws \Bitly\Exception\HandleWebhookInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\HandleWebhookForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\HandleWebhookUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\HandleWebhookInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/NotifyPaymentFailure.php b/lib/Endpoint/NotifyPaymentFailure.php deleted file mode 100644 index 7b38dbe..0000000 --- a/lib/Endpoint/NotifyPaymentFailure.php +++ /dev/null @@ -1,82 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/payment_failure'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\OrganizationGUID) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\NotifyPaymentFailureBadRequestException - * @throws \Bitly\Exception\NotifyPaymentFailureUnprocessableEntityException - * @throws \Bitly\Exception\NotifyPaymentFailureInternalServerErrorException - * @throws \Bitly\Exception\NotifyPaymentFailureServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\NotifyPaymentFailureBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\NotifyPaymentFailureUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\NotifyPaymentFailureInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\NotifyPaymentFailureServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/PatchCanvaUserBrand.php b/lib/Endpoint/PatchCanvaUserBrand.php deleted file mode 100644 index 4b18769..0000000 --- a/lib/Endpoint/PatchCanvaUserBrand.php +++ /dev/null @@ -1,82 +0,0 @@ -canvaUserID = $canvaUserID; - $this->canvaBrandID = $canvaBrandID; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{canvaUserID}', '{canvaBrandID}'], [$this->canvaUserID, $this->canvaBrandID], '/canva/userbrand/{canvaUserID}/{canvaBrandID}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\UpdateCanvaUserBrand) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\PatchCanvaUserBrandBadRequestException - * @throws \Bitly\Exception\PatchCanvaUserBrandNotFoundException - * @throws \Bitly\Exception\PatchCanvaUserBrandInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PatchCanvaUserBrandBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PatchCanvaUserBrandNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PatchCanvaUserBrandInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/PatchOrgControlledDomain.php b/lib/Endpoint/PatchOrgControlledDomain.php deleted file mode 100644 index 43f8bea..0000000 --- a/lib/Endpoint/PatchOrgControlledDomain.php +++ /dev/null @@ -1,93 +0,0 @@ -organization_guid = $organizationGuid; - $this->domain = $domain; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}', '{domain}'], [$this->organization_guid, $this->domain], '/organizations/{organization_guid}/controlled_domains/{domain}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\PatchOrgControlledDomain) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\PatchOrgControlledDomainBadRequestException - * @throws \Bitly\Exception\PatchOrgControlledDomainPaymentRequiredException - * @throws \Bitly\Exception\PatchOrgControlledDomainForbiddenException - * @throws \Bitly\Exception\PatchOrgControlledDomainUnprocessableEntityException - * @throws \Bitly\Exception\PatchOrgControlledDomainInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PatchOrgControlledDomainBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PatchOrgControlledDomainPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PatchOrgControlledDomainForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PatchOrgControlledDomainUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PatchOrgControlledDomainInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/PatchOrgInvitationRequest.php b/lib/Endpoint/PatchOrgInvitationRequest.php deleted file mode 100644 index c9ee6b7..0000000 --- a/lib/Endpoint/PatchOrgInvitationRequest.php +++ /dev/null @@ -1,86 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/invitation_request'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\PatchOrgInvitationRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\PatchOrgInvitationRequestBadRequestException - * @throws \Bitly\Exception\PatchOrgInvitationRequestForbiddenException - * @throws \Bitly\Exception\PatchOrgInvitationRequestUnprocessableEntityException - * @throws \Bitly\Exception\PatchOrgInvitationRequestInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PatchOrgInvitationRequestBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PatchOrgInvitationRequestForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PatchOrgInvitationRequestUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PatchOrgInvitationRequestInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/PatchUMGroupPreferences.php b/lib/Endpoint/PatchUMGroupPreferences.php deleted file mode 100644 index d350dfb..0000000 --- a/lib/Endpoint/PatchUMGroupPreferences.php +++ /dev/null @@ -1,93 +0,0 @@ -group_guid = $groupGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/umpreferences'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \stdClass) { - return [['Content-Type' => ['application/json']], json_encode($this->body)]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\PatchUMGroupPreferencesBadRequestException - * @throws \Bitly\Exception\PatchUMGroupPreferencesForbiddenException - * @throws \Bitly\Exception\PatchUMGroupPreferencesNotFoundException - * @throws \Bitly\Exception\PatchUMGroupPreferencesUnprocessableEntityException - * @throws \Bitly\Exception\PatchUMGroupPreferencesInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return json_decode($body); - } - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return json_decode($body); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PatchUMGroupPreferencesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PatchUMGroupPreferencesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PatchUMGroupPreferencesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PatchUMGroupPreferencesUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PatchUMGroupPreferencesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/PostGetLinksReport.php b/lib/Endpoint/PostGetLinksReport.php deleted file mode 100644 index 71739d0..0000000 --- a/lib/Endpoint/PostGetLinksReport.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->body = $requestBody; - $this->accept = $accept; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/links_report'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\LinksReportRequestBody) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - if (empty($this->accept)) { - return ['Accept' => ['application/json', 'text/csv']]; - } - - return $this->accept; - } - - /** - * @return \Bitly\Model\LinksReportRequestResponse|null - * - * @throws \Bitly\Exception\PostGetLinksReportBadRequestException - * @throws \Bitly\Exception\PostGetLinksReportPaymentRequiredException - * @throws \Bitly\Exception\PostGetLinksReportForbiddenException - * @throws \Bitly\Exception\PostGetLinksReportUnprocessableEntityException - * @throws \Bitly\Exception\PostGetLinksReportInternalServerErrorException - * @throws \Bitly\Exception\PostGetLinksReportServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LinksReportRequestResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PostGetLinksReportBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PostGetLinksReportPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PostGetLinksReportForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PostGetLinksReportUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PostGetLinksReportInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PostGetLinksReportServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/PostGroupDataExport.php b/lib/Endpoint/PostGroupDataExport.php deleted file mode 100644 index 2e4f094..0000000 --- a/lib/Endpoint/PostGroupDataExport.php +++ /dev/null @@ -1,90 +0,0 @@ -group_guid = $groupGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/data_export'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\DataExportQuery) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\PostGroupDataExportBadRequestException - * @throws \Bitly\Exception\PostGroupDataExportForbiddenException - * @throws \Bitly\Exception\PostGroupDataExportUnprocessableEntityException - * @throws \Bitly\Exception\PostGroupDataExportInternalServerErrorException - * @throws \Bitly\Exception\PostGroupDataExportServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (202 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PostGroupDataExportBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PostGroupDataExportForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PostGroupDataExportUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PostGroupDataExportInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PostGroupDataExportServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/PostOrgUsersDataExport.php b/lib/Endpoint/PostOrgUsersDataExport.php deleted file mode 100644 index 9bb2a84..0000000 --- a/lib/Endpoint/PostOrgUsersDataExport.php +++ /dev/null @@ -1,90 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/users/data_export'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\OrgUsersDataExportQuery) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\PostOrgUsersDataExportBadRequestException - * @throws \Bitly\Exception\PostOrgUsersDataExportPaymentRequiredException - * @throws \Bitly\Exception\PostOrgUsersDataExportForbiddenException - * @throws \Bitly\Exception\PostOrgUsersDataExportUnprocessableEntityException - * @throws \Bitly\Exception\PostOrgUsersDataExportInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (202 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PostOrgUsersDataExportBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PostOrgUsersDataExportPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PostOrgUsersDataExportForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PostOrgUsersDataExportUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PostOrgUsersDataExportInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/PrevalidateYouTubeVideoButton.php b/lib/Endpoint/PrevalidateYouTubeVideoButton.php deleted file mode 100644 index cae3d2c..0000000 --- a/lib/Endpoint/PrevalidateYouTubeVideoButton.php +++ /dev/null @@ -1,86 +0,0 @@ -launchpad_id = $launchpadId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/sites/{launchpad_id}/buttons/youtubeVideo/prevalidate'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\PrevalidateYouTubeVideoRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\YoutubeVideoRequest|null - * - * @throws \Bitly\Exception\PrevalidateYouTubeVideoButtonBadRequestException - * @throws \Bitly\Exception\PrevalidateYouTubeVideoButtonForbiddenException - * @throws \Bitly\Exception\PrevalidateYouTubeVideoButtonUnprocessableEntityException - * @throws \Bitly\Exception\PrevalidateYouTubeVideoButtonInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\YoutubeVideoRequest', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PrevalidateYouTubeVideoButtonBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PrevalidateYouTubeVideoButtonForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PrevalidateYouTubeVideoButtonUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PrevalidateYouTubeVideoButtonInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/PublishDraftLaunchpad.php b/lib/Endpoint/PublishDraftLaunchpad.php deleted file mode 100644 index 74f4f98..0000000 --- a/lib/Endpoint/PublishDraftLaunchpad.php +++ /dev/null @@ -1,81 +0,0 @@ -launchpad_id = $launchpadId; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}/publish'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\Launchpad|null - * - * @throws \Bitly\Exception\PublishDraftLaunchpadBadRequestException - * @throws \Bitly\Exception\PublishDraftLaunchpadForbiddenException - * @throws \Bitly\Exception\PublishDraftLaunchpadInternalServerErrorException - * @throws \Bitly\Exception\PublishDraftLaunchpadServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Launchpad', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PublishDraftLaunchpadBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PublishDraftLaunchpadForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PublishDraftLaunchpadInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PublishDraftLaunchpadServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/PublishSite.php b/lib/Endpoint/PublishSite.php deleted file mode 100644 index ffa1926..0000000 --- a/lib/Endpoint/PublishSite.php +++ /dev/null @@ -1,81 +0,0 @@ -site_id = $siteId; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}/publish'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\PublishSiteBadRequestException - * @throws \Bitly\Exception\PublishSiteForbiddenException - * @throws \Bitly\Exception\PublishSiteInternalServerErrorException - * @throws \Bitly\Exception\PublishSiteServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return json_decode($body); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PublishSiteBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PublishSiteForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PublishSiteInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PublishSiteServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/PurchaseAddOns.php b/lib/Endpoint/PurchaseAddOns.php deleted file mode 100644 index 18b450a..0000000 --- a/lib/Endpoint/PurchaseAddOns.php +++ /dev/null @@ -1,94 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/add_ons'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\AddOns) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\PurchaseAddOnsBadRequestException - * @throws \Bitly\Exception\PurchaseAddOnsForbiddenException - * @throws \Bitly\Exception\PurchaseAddOnsNotFoundException - * @throws \Bitly\Exception\PurchaseAddOnsUnprocessableEntityException - * @throws \Bitly\Exception\PurchaseAddOnsInternalServerErrorException - * @throws \Bitly\Exception\PurchaseAddOnsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (201 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PurchaseAddOnsBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PurchaseAddOnsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PurchaseAddOnsNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PurchaseAddOnsUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PurchaseAddOnsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PurchaseAddOnsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/PurchaseBsd.php b/lib/Endpoint/PurchaseBsd.php deleted file mode 100644 index 2d4887e..0000000 --- a/lib/Endpoint/PurchaseBsd.php +++ /dev/null @@ -1,74 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/domains'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\PurchaseBSD) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\PurchaseBSDResponse|null - * - * @throws \Bitly\Exception\PurchaseBsdForbiddenException - * @throws \Bitly\Exception\PurchaseBsdInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\PurchaseBSDResponse', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PurchaseBsdForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PurchaseBsdInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/PurchaseStripeAddOns.php b/lib/Endpoint/PurchaseStripeAddOns.php deleted file mode 100644 index 346ef97..0000000 --- a/lib/Endpoint/PurchaseStripeAddOns.php +++ /dev/null @@ -1,94 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/stripe/organizations/{organization_guid}/add_ons'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\AddOns) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\PurchaseStripeAddOnsBadRequestException - * @throws \Bitly\Exception\PurchaseStripeAddOnsForbiddenException - * @throws \Bitly\Exception\PurchaseStripeAddOnsNotFoundException - * @throws \Bitly\Exception\PurchaseStripeAddOnsUnprocessableEntityException - * @throws \Bitly\Exception\PurchaseStripeAddOnsInternalServerErrorException - * @throws \Bitly\Exception\PurchaseStripeAddOnsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (201 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PurchaseStripeAddOnsBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PurchaseStripeAddOnsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PurchaseStripeAddOnsNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PurchaseStripeAddOnsUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PurchaseStripeAddOnsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\PurchaseStripeAddOnsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/PutUMGroupSiteTheme.php b/lib/Endpoint/PutUMGroupSiteTheme.php deleted file mode 100644 index 46ee208..0000000 --- a/lib/Endpoint/PutUMGroupSiteTheme.php +++ /dev/null @@ -1,64 +0,0 @@ -group_guid = $groupGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PUT'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/site_themes'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\SiteThemes) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - /** - * @return null - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - return null; - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/RedirectQRCodeDestination.php b/lib/Endpoint/RedirectQRCodeDestination.php deleted file mode 100644 index 81592fc..0000000 --- a/lib/Endpoint/RedirectQRCodeDestination.php +++ /dev/null @@ -1,88 +0,0 @@ -id = $id; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{id}'], [$this->id], '/qr-codes/{id}/redirect'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\RedirectQRCodeRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\QRCodeMinimal|null - * - * @throws \Bitly\Exception\RedirectQRCodeDestinationBadRequestException - * @throws \Bitly\Exception\RedirectQRCodeDestinationForbiddenException - * @throws \Bitly\Exception\RedirectQRCodeDestinationNotFoundException - * @throws \Bitly\Exception\RedirectQRCodeDestinationTooManyRequestsException - * @throws \Bitly\Exception\RedirectQRCodeDestinationInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\QRCodeMinimal', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\RedirectQRCodeDestinationBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\RedirectQRCodeDestinationForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\RedirectQRCodeDestinationNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\RedirectQRCodeDestinationTooManyRequestsException($serializer->deserialize($body, 'Bitly\Model\MonthlyLimitExceeded', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\RedirectQRCodeDestinationInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/RegeneratePaymentInvoiceFile.php b/lib/Endpoint/RegeneratePaymentInvoiceFile.php deleted file mode 100644 index 6dd013b..0000000 --- a/lib/Endpoint/RegeneratePaymentInvoiceFile.php +++ /dev/null @@ -1,75 +0,0 @@ -organization_guid = $organizationGuid; - $this->invoiceID = $invoiceID; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}', '{invoiceID}'], [$this->organization_guid, $this->invoiceID], '/organizations/{organization_guid}/payment_invoices/{invoiceID}/file'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\RegeneratePaymentInvoiceFileForbiddenException - * @throws \Bitly\Exception\RegeneratePaymentInvoiceFileInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\RegeneratePaymentInvoiceFileForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\RegeneratePaymentInvoiceFileInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/ReorderBlocksByContainer.php b/lib/Endpoint/ReorderBlocksByContainer.php deleted file mode 100644 index eac5791..0000000 --- a/lib/Endpoint/ReorderBlocksByContainer.php +++ /dev/null @@ -1,97 +0,0 @@ -site_id = $siteId; - $this->container_id = $containerId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PUT'; - } - - public function getUri(): string - { - return str_replace(['{site_id}', '{container_id}'], [$this->site_id, $this->container_id], '/sites/{site_id}/containers/{container_id}/blocks'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\BlockOrders) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\ReorderBlocksByContainerBadRequestException - * @throws \Bitly\Exception\ReorderBlocksByContainerForbiddenException - * @throws \Bitly\Exception\ReorderBlocksByContainerNotFoundException - * @throws \Bitly\Exception\ReorderBlocksByContainerUnprocessableEntityException - * @throws \Bitly\Exception\ReorderBlocksByContainerInternalServerErrorException - * @throws \Bitly\Exception\ReorderBlocksByContainerServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ReorderBlocksByContainerBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ReorderBlocksByContainerForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ReorderBlocksByContainerNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ReorderBlocksByContainerUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ReorderBlocksByContainerInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ReorderBlocksByContainerServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/RequestUserSAR.php b/lib/Endpoint/RequestUserSAR.php deleted file mode 100644 index a3e4610..0000000 --- a/lib/Endpoint/RequestUserSAR.php +++ /dev/null @@ -1,80 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/user/sar'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if (isset($this->body)) { - return [['Content-Type' => ['application/json']], json_encode($this->body)]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\RequestUserSARForbiddenException - * @throws \Bitly\Exception\RequestUserSARInternalServerErrorException - * @throws \Bitly\Exception\RequestUserSARServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (202 === $status) { - return null; - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\RequestUserSARForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\RequestUserSARInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\RequestUserSARServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/ResendInvitation.php b/lib/Endpoint/ResendInvitation.php deleted file mode 100644 index 2d32234..0000000 --- a/lib/Endpoint/ResendInvitation.php +++ /dev/null @@ -1,84 +0,0 @@ -organization_guid = $organizationGuid; - $this->email = $email; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}', '{email}'], [$this->organization_guid, $this->email], '/organizations/{organization_guid}/invitations/{email}/resend'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\Invitation|null - * - * @throws \Bitly\Exception\ResendInvitationForbiddenException - * @throws \Bitly\Exception\ResendInvitationNotFoundException - * @throws \Bitly\Exception\ResendInvitationTooManyRequestsException - * @throws \Bitly\Exception\ResendInvitationInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Invitation', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ResendInvitationForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ResendInvitationNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ResendInvitationTooManyRequestsException($serializer->deserialize($body, 'Bitly\Model\MonthlyLimitExceeded', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ResendInvitationInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/ScheduleOrgDowngradeStripe.php b/lib/Endpoint/ScheduleOrgDowngradeStripe.php deleted file mode 100644 index 3f80c14..0000000 --- a/lib/Endpoint/ScheduleOrgDowngradeStripe.php +++ /dev/null @@ -1,82 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/private/stripe/organizations/{organization_guid}/subscriptions/schedule_downgrade'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\BillingDowngrade) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\SubscriptionCancelledDate|null - * - * @throws \Bitly\Exception\ScheduleOrgDowngradeStripeBadRequestException - * @throws \Bitly\Exception\ScheduleOrgDowngradeStripeForbiddenException - * @throws \Bitly\Exception\ScheduleOrgDowngradeStripeInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SubscriptionCancelledDate', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ScheduleOrgDowngradeStripeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ScheduleOrgDowngradeStripeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ScheduleOrgDowngradeStripeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/ScheduleOrganizationDowngrade.php b/lib/Endpoint/ScheduleOrganizationDowngrade.php deleted file mode 100644 index dc3e31c..0000000 --- a/lib/Endpoint/ScheduleOrganizationDowngrade.php +++ /dev/null @@ -1,82 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/schedule_downgrade'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\BillingDowngrade) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\SubscriptionCancelledDate|null - * - * @throws \Bitly\Exception\ScheduleOrganizationDowngradeBadRequestException - * @throws \Bitly\Exception\ScheduleOrganizationDowngradeForbiddenException - * @throws \Bitly\Exception\ScheduleOrganizationDowngradeInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SubscriptionCancelledDate', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ScheduleOrganizationDowngradeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ScheduleOrganizationDowngradeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ScheduleOrganizationDowngradeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/SearchDomains.php b/lib/Endpoint/SearchDomains.php deleted file mode 100644 index d4a1779..0000000 --- a/lib/Endpoint/SearchDomains.php +++ /dev/null @@ -1,90 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/bsds/search'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['limit', 'query', 'organization_guid']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('limit', ['int']); - $optionsResolver->addAllowedTypes('query', ['string']); - $optionsResolver->addAllowedTypes('organization_guid', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\BSDSearchResults|null - * - * @throws \Bitly\Exception\SearchDomainsForbiddenException - * @throws \Bitly\Exception\SearchDomainsInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BSDSearchResults', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SearchDomainsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SearchDomainsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/SearchGroupUserRoles.php b/lib/Endpoint/SearchGroupUserRoles.php deleted file mode 100644 index ce1dea3..0000000 --- a/lib/Endpoint/SearchGroupUserRoles.php +++ /dev/null @@ -1,101 +0,0 @@ -group_guid = $groupGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}'], [$this->group_guid], '/groups/{group_guid}/user_roles'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['page', 'size', 'query']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['page' => 1, 'size' => 50]); - $optionsResolver->addAllowedTypes('page', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('query', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\UserRoleReferences|null - * - * @throws \Bitly\Exception\SearchGroupUserRolesBadRequestException - * @throws \Bitly\Exception\SearchGroupUserRolesForbiddenException - * @throws \Bitly\Exception\SearchGroupUserRolesNotFoundException - * @throws \Bitly\Exception\SearchGroupUserRolesInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\UserRoleReferences', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SearchGroupUserRolesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SearchGroupUserRolesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SearchGroupUserRolesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SearchGroupUserRolesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/SearchOrgUserRoles.php b/lib/Endpoint/SearchOrgUserRoles.php deleted file mode 100644 index 5bea09d..0000000 --- a/lib/Endpoint/SearchOrgUserRoles.php +++ /dev/null @@ -1,101 +0,0 @@ -organization_guid = $organizationGuid; - $this->queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/user_roles'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['page', 'size', 'query']); - $optionsResolver->setRequired([]); - $optionsResolver->setDefaults(['page' => 1, 'size' => 50]); - $optionsResolver->addAllowedTypes('page', ['int']); - $optionsResolver->addAllowedTypes('size', ['int']); - $optionsResolver->addAllowedTypes('query', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\UserRoleReferences|null - * - * @throws \Bitly\Exception\SearchOrgUserRolesBadRequestException - * @throws \Bitly\Exception\SearchOrgUserRolesForbiddenException - * @throws \Bitly\Exception\SearchOrgUserRolesNotFoundException - * @throws \Bitly\Exception\SearchOrgUserRolesInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\UserRoleReferences', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SearchOrgUserRolesBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SearchOrgUserRolesForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SearchOrgUserRolesNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SearchOrgUserRolesInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/SendEmailVerification.php b/lib/Endpoint/SendEmailVerification.php deleted file mode 100644 index 2f050d9..0000000 --- a/lib/Endpoint/SendEmailVerification.php +++ /dev/null @@ -1,87 +0,0 @@ -email = $email; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{email}'], [$this->email], '/emails/{email}/verify'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if (isset($this->body)) { - return [['Content-Type' => ['application/json']], json_encode($this->body)]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\SendEmailVerificationBadRequestException - * @throws \Bitly\Exception\SendEmailVerificationNotFoundException - * @throws \Bitly\Exception\SendEmailVerificationInternalServerErrorException - * @throws \Bitly\Exception\SendEmailVerificationServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SendEmailVerificationBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SendEmailVerificationNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SendEmailVerificationInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SendEmailVerificationServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/SendVerificationCode.php b/lib/Endpoint/SendVerificationCode.php deleted file mode 100644 index c8e98ca..0000000 --- a/lib/Endpoint/SendVerificationCode.php +++ /dev/null @@ -1,78 +0,0 @@ - ['application/json']]; - } - - /** - * @return \Bitly\Model\TwoFactor|null - * - * @throws \Bitly\Exception\SendVerificationCodeBadRequestException - * @throws \Bitly\Exception\SendVerificationCodeUnauthorizedException - * @throws \Bitly\Exception\SendVerificationCodeForbiddenException - * @throws \Bitly\Exception\SendVerificationCodeNotFoundException - * @throws \Bitly\Exception\SendVerificationCodeInternalServerErrorException - * @throws \Bitly\Exception\SendVerificationCodeServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\TwoFactor', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SendVerificationCodeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (401 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SendVerificationCodeUnauthorizedException($serializer->deserialize($body, 'Bitly\Model\Unauthorized', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SendVerificationCodeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SendVerificationCodeNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SendVerificationCodeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SendVerificationCodeServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/SetOrgPreference.php b/lib/Endpoint/SetOrgPreference.php deleted file mode 100644 index 5a707f0..0000000 --- a/lib/Endpoint/SetOrgPreference.php +++ /dev/null @@ -1,86 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PUT'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/preference'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\OrganizationPreferenceSet) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\SetOrgPreferenceBadRequestException - * @throws \Bitly\Exception\SetOrgPreferenceForbiddenException - * @throws \Bitly\Exception\SetOrgPreferenceUnprocessableEntityException - * @throws \Bitly\Exception\SetOrgPreferenceInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetOrgPreferenceBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetOrgPreferenceForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetOrgPreferenceUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetOrgPreferenceInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/SetPaymentMethodDefault.php b/lib/Endpoint/SetPaymentMethodDefault.php deleted file mode 100644 index 6e6e3df..0000000 --- a/lib/Endpoint/SetPaymentMethodDefault.php +++ /dev/null @@ -1,92 +0,0 @@ -organization_guid = $organizationGuid; - $this->payment_method_id = $paymentMethodId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}', '{payment_method_id}'], [$this->organization_guid, $this->payment_method_id], '/organizations/{organization_guid}/payment_methods/{payment_method_id}/set_default'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\BillingAddress) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\SetPaymentMethodDefaultBadRequestException - * @throws \Bitly\Exception\SetPaymentMethodDefaultForbiddenException - * @throws \Bitly\Exception\SetPaymentMethodDefaultUnprocessableEntityException - * @throws \Bitly\Exception\SetPaymentMethodDefaultInternalServerErrorException - * @throws \Bitly\Exception\SetPaymentMethodDefaultServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetPaymentMethodDefaultBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetPaymentMethodDefaultForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetPaymentMethodDefaultUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetPaymentMethodDefaultInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetPaymentMethodDefaultServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/SetPhoneNumber.php b/lib/Endpoint/SetPhoneNumber.php deleted file mode 100644 index c44cf64..0000000 --- a/lib/Endpoint/SetPhoneNumber.php +++ /dev/null @@ -1,86 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/user/two_factor/sms'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\TwoFactor) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\TwoFactor|null - * - * @throws \Bitly\Exception\SetPhoneNumberBadRequestException - * @throws \Bitly\Exception\SetPhoneNumberForbiddenException - * @throws \Bitly\Exception\SetPhoneNumberUnprocessableEntityException - * @throws \Bitly\Exception\SetPhoneNumberInternalServerErrorException - * @throws \Bitly\Exception\SetPhoneNumberServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\TwoFactor', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetPhoneNumberBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetPhoneNumberForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetPhoneNumberUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetPhoneNumberInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetPhoneNumberServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/SetStripeDefaultPaymentMethod.php b/lib/Endpoint/SetStripeDefaultPaymentMethod.php deleted file mode 100644 index 69c8f40..0000000 --- a/lib/Endpoint/SetStripeDefaultPaymentMethod.php +++ /dev/null @@ -1,88 +0,0 @@ -organization_guid = $organizationGuid; - $this->payment_method_id = $paymentMethodId; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}', '{payment_method_id}'], [$this->organization_guid, $this->payment_method_id], '/private/stripe/organizations/{organization_guid}/payment_method/{payment_method_id}/default'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\SetStripeDefaultPaymentMethodBadRequestException - * @throws \Bitly\Exception\SetStripeDefaultPaymentMethodForbiddenException - * @throws \Bitly\Exception\SetStripeDefaultPaymentMethodUnprocessableEntityException - * @throws \Bitly\Exception\SetStripeDefaultPaymentMethodInternalServerErrorException - * @throws \Bitly\Exception\SetStripeDefaultPaymentMethodServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetStripeDefaultPaymentMethodBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetStripeDefaultPaymentMethodForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetStripeDefaultPaymentMethodUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetStripeDefaultPaymentMethodInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetStripeDefaultPaymentMethodServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/SetUserPreference.php b/lib/Endpoint/SetUserPreference.php deleted file mode 100644 index c9d1d58..0000000 --- a/lib/Endpoint/SetUserPreference.php +++ /dev/null @@ -1,81 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'PUT'; - } - - public function getUri(): string - { - return '/user_preferences'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\UserPreferenceBody) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\SetUserPreferenceBadRequestException - * @throws \Bitly\Exception\SetUserPreferenceUnprocessableEntityException - * @throws \Bitly\Exception\SetUserPreferenceInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - return null; - } - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetUserPreferenceBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetUserPreferenceUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\SetUserPreferenceInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/ThirdPartyAppLookup.php b/lib/Endpoint/ThirdPartyAppLookup.php deleted file mode 100644 index 706436d..0000000 --- a/lib/Endpoint/ThirdPartyAppLookup.php +++ /dev/null @@ -1,102 +0,0 @@ -queryParameters = $queryParameters; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return '/deeplinks/scrape'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - protected function getQueryOptionsResolver(): \Symfony\Component\OptionsResolver\OptionsResolver - { - $optionsResolver = parent::getQueryOptionsResolver(); - $optionsResolver->setDefined(['organization_guid', 'third_party_app_id', 'os']); - $optionsResolver->setRequired(['third_party_app_id', 'os']); - $optionsResolver->setDefaults([]); - $optionsResolver->addAllowedTypes('organization_guid', ['string']); - $optionsResolver->addAllowedTypes('third_party_app_id', ['string']); - $optionsResolver->addAllowedTypes('os', ['string']); - - return $optionsResolver; - } - - /** - * @return \Bitly\Model\ThirdPartyAppData|null - * - * @throws \Bitly\Exception\ThirdPartyAppLookupPaymentRequiredException - * @throws \Bitly\Exception\ThirdPartyAppLookupForbiddenException - * @throws \Bitly\Exception\ThirdPartyAppLookupNotFoundException - * @throws \Bitly\Exception\ThirdPartyAppLookupInternalServerErrorException - * @throws \Bitly\Exception\ThirdPartyAppLookupServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ThirdPartyAppData', 'json'); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ThirdPartyAppLookupPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ThirdPartyAppLookupForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ThirdPartyAppLookupNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ThirdPartyAppLookupInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ThirdPartyAppLookupServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateAnalyticsModule.php b/lib/Endpoint/UpdateAnalyticsModule.php deleted file mode 100644 index 2c1bf60..0000000 --- a/lib/Endpoint/UpdateAnalyticsModule.php +++ /dev/null @@ -1,92 +0,0 @@ -group_guid = $groupGuid; - $this->module_guid = $moduleGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}', '{module_guid}'], [$this->group_guid, $this->module_guid], '/analytics/groups/{group_guid}/modules/{module_guid}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\UpdateAnalyticsModule) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\Module|null - * - * @throws \Bitly\Exception\UpdateAnalyticsModuleBadRequestException - * @throws \Bitly\Exception\UpdateAnalyticsModuleForbiddenException - * @throws \Bitly\Exception\UpdateAnalyticsModuleNotFoundException - * @throws \Bitly\Exception\UpdateAnalyticsModuleInternalServerErrorException - * @throws \Bitly\Exception\UpdateAnalyticsModuleServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Module', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateAnalyticsModuleBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateAnalyticsModuleForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateAnalyticsModuleNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateAnalyticsModuleInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateAnalyticsModuleServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateAnalyticsReport.php b/lib/Endpoint/UpdateAnalyticsReport.php deleted file mode 100644 index 2602a03..0000000 --- a/lib/Endpoint/UpdateAnalyticsReport.php +++ /dev/null @@ -1,93 +0,0 @@ -group_guid = $groupGuid; - $this->report_id = $reportId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{group_guid}', '{report_id}'], [$this->group_guid, $this->report_id], '/analytics/groups/{group_guid}/reports/{report_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\UpdateAnalyticsReport) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\AnalyticsReport|null - * - * @throws \Bitly\Exception\UpdateAnalyticsReportBadRequestException - * @throws \Bitly\Exception\UpdateAnalyticsReportForbiddenException - * @throws \Bitly\Exception\UpdateAnalyticsReportNotFoundException - * @throws \Bitly\Exception\UpdateAnalyticsReportInternalServerErrorException - * @throws \Bitly\Exception\UpdateAnalyticsReportServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AnalyticsReport', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateAnalyticsReportBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateAnalyticsReportForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateAnalyticsReportNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateAnalyticsReportInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateAnalyticsReportServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateAppAssociations.php b/lib/Endpoint/UpdateAppAssociations.php deleted file mode 100644 index a6a4e21..0000000 --- a/lib/Endpoint/UpdateAppAssociations.php +++ /dev/null @@ -1,94 +0,0 @@ -custom_domain = $customDomain; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PUT'; - } - - public function getUri(): string - { - return str_replace(['{custom_domain}'], [$this->custom_domain], '/custom_domains/{custom_domain}/appassociations'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\AppAssociations) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\AppAssociations|null - * - * @throws \Bitly\Exception\UpdateAppAssociationsBadRequestException - * @throws \Bitly\Exception\UpdateAppAssociationsPaymentRequiredException - * @throws \Bitly\Exception\UpdateAppAssociationsForbiddenException - * @throws \Bitly\Exception\UpdateAppAssociationsNotFoundException - * @throws \Bitly\Exception\UpdateAppAssociationsInternalServerErrorException - * @throws \Bitly\Exception\UpdateAppAssociationsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\AppAssociations', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateAppAssociationsBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateAppAssociationsPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateAppAssociationsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateAppAssociationsNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateAppAssociationsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateAppAssociationsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateBillingInfo.php b/lib/Endpoint/UpdateBillingInfo.php deleted file mode 100644 index d05c102..0000000 --- a/lib/Endpoint/UpdateBillingInfo.php +++ /dev/null @@ -1,86 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/billing_info'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\BillingInfo) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\UpdateBillingInfoBadRequestException - * @throws \Bitly\Exception\UpdateBillingInfoForbiddenException - * @throws \Bitly\Exception\UpdateBillingInfoUnprocessableEntityException - * @throws \Bitly\Exception\UpdateBillingInfoInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateBillingInfoBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateBillingInfoForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateBillingInfoUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateBillingInfoInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateDeeplinkApp.php b/lib/Endpoint/UpdateDeeplinkApp.php deleted file mode 100644 index 7d89f4f..0000000 --- a/lib/Endpoint/UpdateDeeplinkApp.php +++ /dev/null @@ -1,94 +0,0 @@ -deeplink_app_guid = $deeplinkAppGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{deeplink_app_guid}'], [$this->deeplink_app_guid], '/deeplinks/apps/{deeplink_app_guid}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\DeeplinkApp) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\DeeplinkApp|null - * - * @throws \Bitly\Exception\UpdateDeeplinkAppPaymentRequiredException - * @throws \Bitly\Exception\UpdateDeeplinkAppForbiddenException - * @throws \Bitly\Exception\UpdateDeeplinkAppNotFoundException - * @throws \Bitly\Exception\UpdateDeeplinkAppUnprocessableEntityException - * @throws \Bitly\Exception\UpdateDeeplinkAppInternalServerErrorException - * @throws \Bitly\Exception\UpdateDeeplinkAppServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DeeplinkApp', 'json'); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateDeeplinkAppPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateDeeplinkAppForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateDeeplinkAppNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateDeeplinkAppUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateDeeplinkAppInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateDeeplinkAppServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateDeeplinkRule.php b/lib/Endpoint/UpdateDeeplinkRule.php deleted file mode 100644 index bdd4458..0000000 --- a/lib/Endpoint/UpdateDeeplinkRule.php +++ /dev/null @@ -1,94 +0,0 @@ -deeplink_rule_guid = $deeplinkRuleGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{deeplink_rule_guid}'], [$this->deeplink_rule_guid], '/deeplinks/rules/{deeplink_rule_guid}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\DeeplinkRule) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\DeeplinkRule|null - * - * @throws \Bitly\Exception\UpdateDeeplinkRulePaymentRequiredException - * @throws \Bitly\Exception\UpdateDeeplinkRuleForbiddenException - * @throws \Bitly\Exception\UpdateDeeplinkRuleNotFoundException - * @throws \Bitly\Exception\UpdateDeeplinkRuleUnprocessableEntityException - * @throws \Bitly\Exception\UpdateDeeplinkRuleInternalServerErrorException - * @throws \Bitly\Exception\UpdateDeeplinkRuleServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DeeplinkRule', 'json'); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateDeeplinkRulePaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateDeeplinkRuleForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateDeeplinkRuleNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateDeeplinkRuleUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateDeeplinkRuleInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateDeeplinkRuleServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateEmail.php b/lib/Endpoint/UpdateEmail.php deleted file mode 100644 index 21cacf8..0000000 --- a/lib/Endpoint/UpdateEmail.php +++ /dev/null @@ -1,90 +0,0 @@ -email = $email; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{email}'], [$this->email], '/emails/{email}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\EmailBody) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\EmailBody|null - * - * @throws \Bitly\Exception\UpdateEmailBadRequestException - * @throws \Bitly\Exception\UpdateEmailForbiddenException - * @throws \Bitly\Exception\UpdateEmailNotFoundException - * @throws \Bitly\Exception\UpdateEmailInternalServerErrorException - * @throws \Bitly\Exception\UpdateEmailServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\EmailBody', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateEmailBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateEmailForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateEmailNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateEmailInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateEmailServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateEntitiesRetainedOnDowngrade.php b/lib/Endpoint/UpdateEntitiesRetainedOnDowngrade.php deleted file mode 100644 index 9671a80..0000000 --- a/lib/Endpoint/UpdateEntitiesRetainedOnDowngrade.php +++ /dev/null @@ -1,86 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/update_retained'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\UpdateRetainedDowngradeEntities) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\UpdateEntitiesRetainedOnDowngradeBadRequestException - * @throws \Bitly\Exception\UpdateEntitiesRetainedOnDowngradeForbiddenException - * @throws \Bitly\Exception\UpdateEntitiesRetainedOnDowngradeUnprocessableEntityException - * @throws \Bitly\Exception\UpdateEntitiesRetainedOnDowngradeInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateEntitiesRetainedOnDowngradeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateEntitiesRetainedOnDowngradeForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateEntitiesRetainedOnDowngradeUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateEntitiesRetainedOnDowngradeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateImage.php b/lib/Endpoint/UpdateImage.php deleted file mode 100644 index cad67f2..0000000 --- a/lib/Endpoint/UpdateImage.php +++ /dev/null @@ -1,90 +0,0 @@ -image_guid = $imageGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PUT'; - } - - public function getUri(): string - { - return str_replace(['{image_guid}'], [$this->image_guid], '/images/{image_guid}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\ImageUpdate) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\PublicImageURL|null - * - * @throws \Bitly\Exception\UpdateImageBadRequestException - * @throws \Bitly\Exception\UpdateImageForbiddenException - * @throws \Bitly\Exception\UpdateImageNotFoundException - * @throws \Bitly\Exception\UpdateImageInternalServerErrorException - * @throws \Bitly\Exception\UpdateImageServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\PublicImageURL', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateImageBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateImageForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateImageNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateImageInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateImageServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateLaunchpad.php b/lib/Endpoint/UpdateLaunchpad.php deleted file mode 100644 index d92730a..0000000 --- a/lib/Endpoint/UpdateLaunchpad.php +++ /dev/null @@ -1,94 +0,0 @@ -launchpad_id = $launchpadId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\UpdateLaunchpad) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\Launchpad|null - * - * @throws \Bitly\Exception\UpdateLaunchpadBadRequestException - * @throws \Bitly\Exception\UpdateLaunchpadForbiddenException - * @throws \Bitly\Exception\UpdateLaunchpadNotFoundException - * @throws \Bitly\Exception\UpdateLaunchpadTooManyRequestsException - * @throws \Bitly\Exception\UpdateLaunchpadInternalServerErrorException - * @throws \Bitly\Exception\UpdateLaunchpadServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Launchpad', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadTooManyRequestsException($serializer->deserialize($body, 'Bitly\Model\MonthlyLimitExceeded', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateLaunchpadBitlinkContent.php b/lib/Endpoint/UpdateLaunchpadBitlinkContent.php deleted file mode 100644 index 9356025..0000000 --- a/lib/Endpoint/UpdateLaunchpadBitlinkContent.php +++ /dev/null @@ -1,93 +0,0 @@ -button_id = $buttonId; - $this->launchpad_id = $launchpadId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{button_id}', '{launchpad_id}'], [$this->button_id, $this->launchpad_id], '/launchpads/{launchpad_id}/contents/bitlink/{button_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\LaunchpadContentBitlinkRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LaunchpadButton|null - * - * @throws \Bitly\Exception\UpdateLaunchpadBitlinkContentBadRequestException - * @throws \Bitly\Exception\UpdateLaunchpadBitlinkContentForbiddenException - * @throws \Bitly\Exception\UpdateLaunchpadBitlinkContentNotFoundException - * @throws \Bitly\Exception\UpdateLaunchpadBitlinkContentInternalServerErrorException - * @throws \Bitly\Exception\UpdateLaunchpadBitlinkContentServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadButton', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadBitlinkContentBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadBitlinkContentForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadBitlinkContentNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadBitlinkContentInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadBitlinkContentServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateLaunchpadButton.php b/lib/Endpoint/UpdateLaunchpadButton.php deleted file mode 100644 index 3f9898c..0000000 --- a/lib/Endpoint/UpdateLaunchpadButton.php +++ /dev/null @@ -1,93 +0,0 @@ -button_id = $buttonId; - $this->launchpad_id = $launchpadId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{button_id}', '{launchpad_id}'], [$this->button_id, $this->launchpad_id], '/launchpads/{launchpad_id}/buttons/{button_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\LaunchpadButtonRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LaunchpadButton|null - * - * @throws \Bitly\Exception\UpdateLaunchpadButtonBadRequestException - * @throws \Bitly\Exception\UpdateLaunchpadButtonForbiddenException - * @throws \Bitly\Exception\UpdateLaunchpadButtonNotFoundException - * @throws \Bitly\Exception\UpdateLaunchpadButtonInternalServerErrorException - * @throws \Bitly\Exception\UpdateLaunchpadButtonServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadButton', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadButtonBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadButtonForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadButtonNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadButtonInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadButtonServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateLaunchpadButtonSortOrder.php b/lib/Endpoint/UpdateLaunchpadButtonSortOrder.php deleted file mode 100644 index 9148efa..0000000 --- a/lib/Endpoint/UpdateLaunchpadButtonSortOrder.php +++ /dev/null @@ -1,90 +0,0 @@ -launchpad_id = $launchpadId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}/buttons'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\UpdateButtonSortOrder) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\UpdateButtonSortOrder|null - * - * @throws \Bitly\Exception\UpdateLaunchpadButtonSortOrderBadRequestException - * @throws \Bitly\Exception\UpdateLaunchpadButtonSortOrderForbiddenException - * @throws \Bitly\Exception\UpdateLaunchpadButtonSortOrderNotFoundException - * @throws \Bitly\Exception\UpdateLaunchpadButtonSortOrderInternalServerErrorException - * @throws \Bitly\Exception\UpdateLaunchpadButtonSortOrderServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\UpdateButtonSortOrder', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadButtonSortOrderBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadButtonSortOrderForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadButtonSortOrderNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadButtonSortOrderInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadButtonSortOrderServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateLaunchpadCarouselContent.php b/lib/Endpoint/UpdateLaunchpadCarouselContent.php deleted file mode 100644 index f7fcc69..0000000 --- a/lib/Endpoint/UpdateLaunchpadCarouselContent.php +++ /dev/null @@ -1,97 +0,0 @@ -button_id = $buttonId; - $this->launchpad_id = $launchpadId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{button_id}', '{launchpad_id}'], [$this->button_id, $this->launchpad_id], '/launchpads/{launchpad_id}/contents/carousel/{button_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\LaunchpadContainerRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LaunchpadContainerResponse|null - * - * @throws \Bitly\Exception\UpdateLaunchpadCarouselContentBadRequestException - * @throws \Bitly\Exception\UpdateLaunchpadCarouselContentForbiddenException - * @throws \Bitly\Exception\UpdateLaunchpadCarouselContentNotFoundException - * @throws \Bitly\Exception\UpdateLaunchpadCarouselContentUnprocessableEntityException - * @throws \Bitly\Exception\UpdateLaunchpadCarouselContentInternalServerErrorException - * @throws \Bitly\Exception\UpdateLaunchpadCarouselContentServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadContainerResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadCarouselContentBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadCarouselContentForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadCarouselContentNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadCarouselContentUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadCarouselContentInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadCarouselContentServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateLaunchpadContentDigitalBusinessCard.php b/lib/Endpoint/UpdateLaunchpadContentDigitalBusinessCard.php deleted file mode 100644 index 7c658d1..0000000 --- a/lib/Endpoint/UpdateLaunchpadContentDigitalBusinessCard.php +++ /dev/null @@ -1,72 +0,0 @@ -button_id = $buttonId; - $this->launchpad_id = $launchpadId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{button_id}', '{launchpad_id}'], [$this->button_id, $this->launchpad_id], '/launchpads/{launchpad_id}/contents/digital_business_card/{button_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\LaunchpadContentDigitalBusinessCardRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LaunchpadContentDigitalBusinessCardResponse|null - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadContentDigitalBusinessCardResponse', 'json'); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateLaunchpadGridContent.php b/lib/Endpoint/UpdateLaunchpadGridContent.php deleted file mode 100644 index 285e3a4..0000000 --- a/lib/Endpoint/UpdateLaunchpadGridContent.php +++ /dev/null @@ -1,97 +0,0 @@ -button_id = $buttonId; - $this->launchpad_id = $launchpadId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{button_id}', '{launchpad_id}'], [$this->button_id, $this->launchpad_id], '/launchpads/{launchpad_id}/contents/grid/{button_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\LaunchpadContainerRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LaunchpadContainerResponse|null - * - * @throws \Bitly\Exception\UpdateLaunchpadGridContentBadRequestException - * @throws \Bitly\Exception\UpdateLaunchpadGridContentForbiddenException - * @throws \Bitly\Exception\UpdateLaunchpadGridContentNotFoundException - * @throws \Bitly\Exception\UpdateLaunchpadGridContentUnprocessableEntityException - * @throws \Bitly\Exception\UpdateLaunchpadGridContentInternalServerErrorException - * @throws \Bitly\Exception\UpdateLaunchpadGridContentServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadContainerResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadGridContentBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadGridContentForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadGridContentNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadGridContentUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadGridContentInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadGridContentServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateLaunchpadImageByImageUse.php b/lib/Endpoint/UpdateLaunchpadImageByImageUse.php deleted file mode 100644 index b82d35e..0000000 --- a/lib/Endpoint/UpdateLaunchpadImageByImageUse.php +++ /dev/null @@ -1,93 +0,0 @@ -launchpad_id = $launchpadId; - $this->image_use = $imageUse; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PUT'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}', '{image_use}'], [$this->launchpad_id, $this->image_use], '/launchpads/{launchpad_id}/images_by_use/{image_use}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\ImageCrop) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LaunchpadImageUpdate|null - * - * @throws \Bitly\Exception\UpdateLaunchpadImageByImageUseBadRequestException - * @throws \Bitly\Exception\UpdateLaunchpadImageByImageUseForbiddenException - * @throws \Bitly\Exception\UpdateLaunchpadImageByImageUseNotFoundException - * @throws \Bitly\Exception\UpdateLaunchpadImageByImageUseInternalServerErrorException - * @throws \Bitly\Exception\UpdateLaunchpadImageByImageUseServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadImageUpdate', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadImageByImageUseBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadImageByImageUseForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadImageByImageUseNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadImageByImageUseInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadImageByImageUseServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateLaunchpadImageContent.php b/lib/Endpoint/UpdateLaunchpadImageContent.php deleted file mode 100644 index 7a048cb..0000000 --- a/lib/Endpoint/UpdateLaunchpadImageContent.php +++ /dev/null @@ -1,93 +0,0 @@ -button_id = $buttonId; - $this->launchpad_id = $launchpadId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{button_id}', '{launchpad_id}'], [$this->button_id, $this->launchpad_id], '/launchpads/{launchpad_id}/contents/image/{button_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\LaunchpadContentImageRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LaunchpadContentImage|null - * - * @throws \Bitly\Exception\UpdateLaunchpadImageContentBadRequestException - * @throws \Bitly\Exception\UpdateLaunchpadImageContentForbiddenException - * @throws \Bitly\Exception\UpdateLaunchpadImageContentNotFoundException - * @throws \Bitly\Exception\UpdateLaunchpadImageContentInternalServerErrorException - * @throws \Bitly\Exception\UpdateLaunchpadImageContentServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadContentImage', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadImageContentBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadImageContentForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadImageContentNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadImageContentInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadImageContentServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateLaunchpadSocial.php b/lib/Endpoint/UpdateLaunchpadSocial.php deleted file mode 100644 index d60be22..0000000 --- a/lib/Endpoint/UpdateLaunchpadSocial.php +++ /dev/null @@ -1,93 +0,0 @@ -button_id = $buttonId; - $this->launchpad_id = $launchpadId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{button_id}', '{launchpad_id}'], [$this->button_id, $this->launchpad_id], '/launchpads/{launchpad_id}/contents/social/{button_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\LaunchpadSocialRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LaunchpadSocial|null - * - * @throws \Bitly\Exception\UpdateLaunchpadSocialBadRequestException - * @throws \Bitly\Exception\UpdateLaunchpadSocialForbiddenException - * @throws \Bitly\Exception\UpdateLaunchpadSocialNotFoundException - * @throws \Bitly\Exception\UpdateLaunchpadSocialInternalServerErrorException - * @throws \Bitly\Exception\UpdateLaunchpadSocialServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadSocial', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadSocialBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadSocialForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadSocialNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadSocialInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadSocialServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateLaunchpadTextBlockContent.php b/lib/Endpoint/UpdateLaunchpadTextBlockContent.php deleted file mode 100644 index 7dff2ea..0000000 --- a/lib/Endpoint/UpdateLaunchpadTextBlockContent.php +++ /dev/null @@ -1,72 +0,0 @@ -launchpad_id = $launchpadId; - $this->button_id = $buttonId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}', '{button_id}'], [$this->launchpad_id, $this->button_id], '/launchpads/{launchpad_id}/contents/text_block/{button_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\LaunchpadContentTextBlockRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LaunchpadContentTextBlockResponse|null - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadContentTextBlockResponse', 'json'); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateLaunchpadYoutubeVideo.php b/lib/Endpoint/UpdateLaunchpadYoutubeVideo.php deleted file mode 100644 index 35cf624..0000000 --- a/lib/Endpoint/UpdateLaunchpadYoutubeVideo.php +++ /dev/null @@ -1,93 +0,0 @@ -button_id = $buttonId; - $this->launchpad_id = $launchpadId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{button_id}', '{launchpad_id}'], [$this->button_id, $this->launchpad_id], '/launchpads/{launchpad_id}/contents/youtubeVideo/{button_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\LaunchpadContentYouTubeRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LaunchpadContentYouTubeResponse|null - * - * @throws \Bitly\Exception\UpdateLaunchpadYoutubeVideoBadRequestException - * @throws \Bitly\Exception\UpdateLaunchpadYoutubeVideoForbiddenException - * @throws \Bitly\Exception\UpdateLaunchpadYoutubeVideoNotFoundException - * @throws \Bitly\Exception\UpdateLaunchpadYoutubeVideoInternalServerErrorException - * @throws \Bitly\Exception\UpdateLaunchpadYoutubeVideoServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LaunchpadContentYouTubeResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadYoutubeVideoBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadYoutubeVideoForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadYoutubeVideoNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadYoutubeVideoInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLaunchpadYoutubeVideoServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateLink.php b/lib/Endpoint/UpdateLink.php deleted file mode 100644 index 27d94c1..0000000 --- a/lib/Endpoint/UpdateLink.php +++ /dev/null @@ -1,110 +0,0 @@ -bitlink = $bitlink; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PUT'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/links/{bitlink}/destinations'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\LinksBitlinkDestinationsPutBody) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\LinkBody|null - * - * @throws \Bitly\Exception\UpdateLinkBadRequestException - * @throws \Bitly\Exception\UpdateLinkPaymentRequiredException - * @throws \Bitly\Exception\UpdateLinkForbiddenException - * @throws \Bitly\Exception\UpdateLinkNotFoundException - * @throws \Bitly\Exception\UpdateLinkConflictException - * @throws \Bitly\Exception\UpdateLinkExpectationFailedException - * @throws \Bitly\Exception\UpdateLinkUnprocessableEntityException - * @throws \Bitly\Exception\UpdateLinkTooManyRequestsException - * @throws \Bitly\Exception\UpdateLinkInternalServerErrorException - * @throws \Bitly\Exception\UpdateLinkServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\LinkBody', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLinkBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLinkPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLinkForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLinkNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (409 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLinkConflictException($serializer->deserialize($body, 'Bitly\Model\Conflict', 'json'), $response); - } - if (is_null($contentType) === false && (417 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLinkExpectationFailedException($serializer->deserialize($body, 'Bitly\Model\ExpectationFailed', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLinkUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLinkTooManyRequestsException($serializer->deserialize($body, 'Bitly\Model\MonthlyLimitExceeded', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLinkInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateLinkServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateOAuthApp.php b/lib/Endpoint/UpdateOAuthApp.php deleted file mode 100644 index 78f5bf0..0000000 --- a/lib/Endpoint/UpdateOAuthApp.php +++ /dev/null @@ -1,90 +0,0 @@ -client_id = $clientId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{client_id}'], [$this->client_id], '/apps/{client_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\UpdateApp) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\OAuthAppFull|null - * - * @throws \Bitly\Exception\UpdateOAuthAppBadRequestException - * @throws \Bitly\Exception\UpdateOAuthAppForbiddenException - * @throws \Bitly\Exception\UpdateOAuthAppNotFoundException - * @throws \Bitly\Exception\UpdateOAuthAppInternalServerErrorException - * @throws \Bitly\Exception\UpdateOAuthAppServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\OAuthAppFull', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOAuthAppBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOAuthAppForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOAuthAppNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOAuthAppInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOAuthAppServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateOAuthAppClientSecret.php b/lib/Endpoint/UpdateOAuthAppClientSecret.php deleted file mode 100644 index 8c45fb4..0000000 --- a/lib/Endpoint/UpdateOAuthAppClientSecret.php +++ /dev/null @@ -1,87 +0,0 @@ -client_id = $clientId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{client_id}'], [$this->client_id], '/oauth/apps/{client_id}/secret'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if (isset($this->body)) { - return [['Content-Type' => ['application/json']], json_encode($this->body)]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\OAuthAppFull|null - * - * @throws \Bitly\Exception\UpdateOAuthAppClientSecretForbiddenException - * @throws \Bitly\Exception\UpdateOAuthAppClientSecretNotFoundException - * @throws \Bitly\Exception\UpdateOAuthAppClientSecretInternalServerErrorException - * @throws \Bitly\Exception\UpdateOAuthAppClientSecretServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\OAuthAppFull', 'json'); - } - if (403 === $status) { - throw new \Bitly\Exception\UpdateOAuthAppClientSecretForbiddenException($response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOAuthAppClientSecretNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOAuthAppClientSecretInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOAuthAppClientSecretServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateOrganization.php b/lib/Endpoint/UpdateOrganization.php deleted file mode 100644 index 675c356..0000000 --- a/lib/Endpoint/UpdateOrganization.php +++ /dev/null @@ -1,86 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\OrganizationUpdate) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\Organization|null - * - * @throws \Bitly\Exception\UpdateOrganizationForbiddenException - * @throws \Bitly\Exception\UpdateOrganizationNotFoundException - * @throws \Bitly\Exception\UpdateOrganizationInternalServerErrorException - * @throws \Bitly\Exception\UpdateOrganizationServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Organization', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOrganizationForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOrganizationNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOrganizationInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOrganizationServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateOrganizationSSOSettings.php b/lib/Endpoint/UpdateOrganizationSSOSettings.php deleted file mode 100644 index 57d3cb2..0000000 --- a/lib/Endpoint/UpdateOrganizationSSOSettings.php +++ /dev/null @@ -1,94 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/sso/organizations/{organization_guid}/settings'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\SSOSettings) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\SSOSettings|null - * - * @throws \Bitly\Exception\UpdateOrganizationSSOSettingsPaymentRequiredException - * @throws \Bitly\Exception\UpdateOrganizationSSOSettingsForbiddenException - * @throws \Bitly\Exception\UpdateOrganizationSSOSettingsNotFoundException - * @throws \Bitly\Exception\UpdateOrganizationSSOSettingsUnprocessableEntityException - * @throws \Bitly\Exception\UpdateOrganizationSSOSettingsInternalServerErrorException - * @throws \Bitly\Exception\UpdateOrganizationSSOSettingsServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SSOSettings', 'json'); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOrganizationSSOSettingsPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOrganizationSSOSettingsForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOrganizationSSOSettingsNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOrganizationSSOSettingsUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOrganizationSSOSettingsInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOrganizationSSOSettingsServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateOverridesForBitlink.php b/lib/Endpoint/UpdateOverridesForBitlink.php deleted file mode 100644 index bf8b331..0000000 --- a/lib/Endpoint/UpdateOverridesForBitlink.php +++ /dev/null @@ -1,102 +0,0 @@ -bitlink = $bitlink; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PUT'; - } - - public function getUri(): string - { - return str_replace(['{bitlink}'], [$this->bitlink], '/bitlinks/{bitlink}/overrides'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\UpdateOverrideRules) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\BitlinkOverrides|null - * - * @throws \Bitly\Exception\UpdateOverridesForBitlinkBadRequestException - * @throws \Bitly\Exception\UpdateOverridesForBitlinkPaymentRequiredException - * @throws \Bitly\Exception\UpdateOverridesForBitlinkForbiddenException - * @throws \Bitly\Exception\UpdateOverridesForBitlinkNotFoundException - * @throws \Bitly\Exception\UpdateOverridesForBitlinkUnprocessableEntityException - * @throws \Bitly\Exception\UpdateOverridesForBitlinkTooManyRequestsException - * @throws \Bitly\Exception\UpdateOverridesForBitlinkInternalServerErrorException - * @throws \Bitly\Exception\UpdateOverridesForBitlinkServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BitlinkOverrides', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOverridesForBitlinkBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOverridesForBitlinkPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOverridesForBitlinkForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOverridesForBitlinkNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOverridesForBitlinkUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOverridesForBitlinkTooManyRequestsException($serializer->deserialize($body, 'Bitly\Model\TooManyRequests', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOverridesForBitlinkInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateOverridesForBitlinkServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdatePaymentContactInfo.php b/lib/Endpoint/UpdatePaymentContactInfo.php deleted file mode 100644 index 6257fc7..0000000 --- a/lib/Endpoint/UpdatePaymentContactInfo.php +++ /dev/null @@ -1,90 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PUT'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/payment_contact_info'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\ContactInfo) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\ContactInfo|null - * - * @throws \Bitly\Exception\UpdatePaymentContactInfoBadRequestException - * @throws \Bitly\Exception\UpdatePaymentContactInfoForbiddenException - * @throws \Bitly\Exception\UpdatePaymentContactInfoNotFoundException - * @throws \Bitly\Exception\UpdatePaymentContactInfoUnprocessableEntityException - * @throws \Bitly\Exception\UpdatePaymentContactInfoInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ContactInfo', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdatePaymentContactInfoBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdatePaymentContactInfoForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdatePaymentContactInfoNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdatePaymentContactInfoUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdatePaymentContactInfoInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateSiteAppearance.php b/lib/Endpoint/UpdateSiteAppearance.php deleted file mode 100644 index 2405e39..0000000 --- a/lib/Endpoint/UpdateSiteAppearance.php +++ /dev/null @@ -1,90 +0,0 @@ -site_id = $siteId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PUT'; - } - - public function getUri(): string - { - return str_replace(['{site_id}'], [$this->site_id], '/sites/{site_id}/appearance'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\BitlySiteAppearance) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\UpdateSiteAppearanceBadRequestException - * @throws \Bitly\Exception\UpdateSiteAppearanceForbiddenException - * @throws \Bitly\Exception\UpdateSiteAppearanceNotFoundException - * @throws \Bitly\Exception\UpdateSiteAppearanceInternalServerErrorException - * @throws \Bitly\Exception\UpdateSiteAppearanceServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateSiteAppearanceBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateSiteAppearanceForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateSiteAppearanceNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateSiteAppearanceInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateSiteAppearanceServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateSiteButton.php b/lib/Endpoint/UpdateSiteButton.php deleted file mode 100644 index 89b6519..0000000 --- a/lib/Endpoint/UpdateSiteButton.php +++ /dev/null @@ -1,101 +0,0 @@ -site_id = $siteId; - $this->button_id = $buttonId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{site_id}', '{button_id}'], [$this->site_id, $this->button_id], '/sites/{site_id}/buttons/{button_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\SiteButtonRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\UpdateSiteButtonBadRequestException - * @throws \Bitly\Exception\UpdateSiteButtonForbiddenException - * @throws \Bitly\Exception\UpdateSiteButtonNotFoundException - * @throws \Bitly\Exception\UpdateSiteButtonExpectationFailedException - * @throws \Bitly\Exception\UpdateSiteButtonUnprocessableEntityException - * @throws \Bitly\Exception\UpdateSiteButtonTooManyRequestsException - * @throws \Bitly\Exception\UpdateSiteButtonInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateSiteButtonBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateSiteButtonForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateSiteButtonNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (417 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateSiteButtonExpectationFailedException($serializer->deserialize($body, 'Bitly\Model\ExpectationFailed', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateSiteButtonUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateSiteButtonTooManyRequestsException($serializer->deserialize($body, 'Bitly\Model\MonthlyLimitExceeded', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateSiteButtonInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateSitesToKeep.php b/lib/Endpoint/UpdateSitesToKeep.php deleted file mode 100644 index 3037024..0000000 --- a/lib/Endpoint/UpdateSitesToKeep.php +++ /dev/null @@ -1,86 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PUT'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/organizations/{organization_guid}/keep_sites'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\KeepSitesRequest) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\UpdateSitesToKeepBadRequestException - * @throws \Bitly\Exception\UpdateSitesToKeepForbiddenException - * @throws \Bitly\Exception\UpdateSitesToKeepUnprocessableEntityException - * @throws \Bitly\Exception\UpdateSitesToKeepInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (204 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateSitesToKeepBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateSitesToKeepForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateSitesToKeepUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateSitesToKeepInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateStripeCustomer.php b/lib/Endpoint/UpdateStripeCustomer.php deleted file mode 100644 index 6de7b45..0000000 --- a/lib/Endpoint/UpdateStripeCustomer.php +++ /dev/null @@ -1,89 +0,0 @@ -organization_guid = $organizationGuid; - $this->stripe_customer_id = $stripeCustomerId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}', '{stripe_customer_id}'], [$this->organization_guid, $this->stripe_customer_id], '/private/stripe/organizations/{organization_guid}/customers/{stripe_customer_id}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\UpdateStripeCustomerBody) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\StripeCustomer|null - * - * @throws \Bitly\Exception\UpdateStripeCustomerBadRequestException - * @throws \Bitly\Exception\UpdateStripeCustomerForbiddenException - * @throws \Bitly\Exception\UpdateStripeCustomerUnprocessableEntityException - * @throws \Bitly\Exception\UpdateStripeCustomerInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\StripeCustomer', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateStripeCustomerBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateStripeCustomerForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateStripeCustomerUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateStripeCustomerInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpdateUserWithRole.php b/lib/Endpoint/UpdateUserWithRole.php deleted file mode 100644 index 03ecfc5..0000000 --- a/lib/Endpoint/UpdateUserWithRole.php +++ /dev/null @@ -1,90 +0,0 @@ -role_name = $roleName; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return str_replace(['{role_name}'], [$this->role_name], '/roles/{role_name}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\UserRole) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\UpdateUserWithRoleBadRequestException - * @throws \Bitly\Exception\UpdateUserWithRoleForbiddenException - * @throws \Bitly\Exception\UpdateUserWithRoleUnprocessableEntityException - * @throws \Bitly\Exception\UpdateUserWithRoleInternalServerErrorException - * @throws \Bitly\Exception\UpdateUserWithRoleServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (200 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateUserWithRoleBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateUserWithRoleForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateUserWithRoleUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateUserWithRoleInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpdateUserWithRoleServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpgradeOrganization.php b/lib/Endpoint/UpgradeOrganization.php deleted file mode 100644 index 326603a..0000000 --- a/lib/Endpoint/UpgradeOrganization.php +++ /dev/null @@ -1,82 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/organization_upgrade'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\UpgradeOrgBody) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return null - * - * @throws \Bitly\Exception\UpgradeOrganizationBadRequestException - * @throws \Bitly\Exception\UpgradeOrganizationForbiddenException - * @throws \Bitly\Exception\UpgradeOrganizationUnprocessableEntityException - * @throws \Bitly\Exception\UpgradeOrganizationInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (201 === $status) { - return null; - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpgradeOrganizationBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpgradeOrganizationForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpgradeOrganizationUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpgradeOrganizationInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpgradeOrganizationWithStripeSubscription.php b/lib/Endpoint/UpgradeOrganizationWithStripeSubscription.php deleted file mode 100644 index 461db42..0000000 --- a/lib/Endpoint/UpgradeOrganizationWithStripeSubscription.php +++ /dev/null @@ -1,86 +0,0 @@ -organization_guid = $organizationGuid; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{organization_guid}'], [$this->organization_guid], '/stripe/organizations/{organization_guid}/paid_upgrade'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\StripeUpgradeOrgBody) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\Organization|null - * - * @throws \Bitly\Exception\UpgradeOrganizationWithStripeSubscriptionBadRequestException - * @throws \Bitly\Exception\UpgradeOrganizationWithStripeSubscriptionForbiddenException - * @throws \Bitly\Exception\UpgradeOrganizationWithStripeSubscriptionUnprocessableEntityException - * @throws \Bitly\Exception\UpgradeOrganizationWithStripeSubscriptionInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Organization', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpgradeOrganizationWithStripeSubscriptionBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpgradeOrganizationWithStripeSubscriptionForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpgradeOrganizationWithStripeSubscriptionUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpgradeOrganizationWithStripeSubscriptionInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpgradeQRCodeToBitlink.php b/lib/Endpoint/UpgradeQRCodeToBitlink.php deleted file mode 100644 index 3ba778c..0000000 --- a/lib/Endpoint/UpgradeQRCodeToBitlink.php +++ /dev/null @@ -1,83 +0,0 @@ -id = $id; - } - - public function getMethod(): string - { - return 'PUT'; - } - - public function getUri(): string - { - return str_replace(['{id}'], [$this->id], '/qr-codes/{id}/to-bitlink'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\BitlinkBody|null - * - * @throws \Bitly\Exception\UpgradeQRCodeToBitlinkBadRequestException - * @throws \Bitly\Exception\UpgradeQRCodeToBitlinkForbiddenException - * @throws \Bitly\Exception\UpgradeQRCodeToBitlinkNotFoundException - * @throws \Bitly\Exception\UpgradeQRCodeToBitlinkTooManyRequestsException - * @throws \Bitly\Exception\UpgradeQRCodeToBitlinkInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BitlinkBody', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpgradeQRCodeToBitlinkBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpgradeQRCodeToBitlinkForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpgradeQRCodeToBitlinkNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (429 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpgradeQRCodeToBitlinkTooManyRequestsException($serializer->deserialize($body, 'Bitly\Model\MonthlyLimitExceeded', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpgradeQRCodeToBitlinkInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UploadImage.php b/lib/Endpoint/UploadImage.php deleted file mode 100644 index cda914c..0000000 --- a/lib/Endpoint/UploadImage.php +++ /dev/null @@ -1,93 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/images'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\ImageUpload) { - $bodyBuilder = new \Http\Message\MultipartStream\MultipartStreamBuilder($streamFactory); - $formParameters = $serializer->normalize($this->body, 'json'); - foreach ($formParameters as $key => $value) { - $value = is_int($value) ? (string) $value : $value; - $bodyBuilder->addResource($key, $value); - } - - return [['Content-Type' => ['multipart/form-data; boundary="' . ($bodyBuilder->getBoundary() . '"')]], $bodyBuilder->build()]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\ImageUploadResponse|null - * - * @throws \Bitly\Exception\UploadImageBadRequestException - * @throws \Bitly\Exception\UploadImageForbiddenException - * @throws \Bitly\Exception\UploadImageNotFoundException - * @throws \Bitly\Exception\UploadImageInternalServerErrorException - * @throws \Bitly\Exception\UploadImageServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ImageUploadResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UploadImageBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UploadImageForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UploadImageNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UploadImageInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UploadImageServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UploadLaunchpadImage.php b/lib/Endpoint/UploadLaunchpadImage.php deleted file mode 100644 index 6adae18..0000000 --- a/lib/Endpoint/UploadLaunchpadImage.php +++ /dev/null @@ -1,97 +0,0 @@ -launchpad_id = $launchpadId; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{launchpad_id}'], [$this->launchpad_id], '/launchpads/{launchpad_id}/image_upload'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\LaunchpadImageUpload) { - $bodyBuilder = new \Http\Message\MultipartStream\MultipartStreamBuilder($streamFactory); - $formParameters = $serializer->normalize($this->body, 'json'); - foreach ($formParameters as $key => $value) { - $value = is_int($value) ? (string) $value : $value; - $bodyBuilder->addResource($key, $value); - } - - return [['Content-Type' => ['multipart/form-data; boundary="' . ($bodyBuilder->getBoundary() . '"')]], $bodyBuilder->build()]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\ImageUploadResponse|null - * - * @throws \Bitly\Exception\UploadLaunchpadImageBadRequestException - * @throws \Bitly\Exception\UploadLaunchpadImageForbiddenException - * @throws \Bitly\Exception\UploadLaunchpadImageNotFoundException - * @throws \Bitly\Exception\UploadLaunchpadImageInternalServerErrorException - * @throws \Bitly\Exception\UploadLaunchpadImageServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\ImageUploadResponse', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UploadLaunchpadImageBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UploadLaunchpadImageForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UploadLaunchpadImageNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UploadLaunchpadImageInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UploadLaunchpadImageServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UpsertOrgEmail.php b/lib/Endpoint/UpsertOrgEmail.php deleted file mode 100644 index f4a52a1..0000000 --- a/lib/Endpoint/UpsertOrgEmail.php +++ /dev/null @@ -1,85 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'PATCH'; - } - - public function getUri(): string - { - return '/org_emails'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\OrgEmailBody) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\OrgEmail|null - * - * @throws \Bitly\Exception\UpsertOrgEmailForbiddenException - * @throws \Bitly\Exception\UpsertOrgEmailNotFoundException - * @throws \Bitly\Exception\UpsertOrgEmailInternalServerErrorException - * @throws \Bitly\Exception\UpsertOrgEmailServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\OrgEmail', 'json'); - } - if (is_null($contentType) === false && (201 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\OrgEmail', 'json'); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpsertOrgEmailForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpsertOrgEmailNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpsertOrgEmailInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UpsertOrgEmailServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/UserAcceptInvite.php b/lib/Endpoint/UserAcceptInvite.php deleted file mode 100644 index a91a4ec..0000000 --- a/lib/Endpoint/UserAcceptInvite.php +++ /dev/null @@ -1,86 +0,0 @@ -login = $login; - $this->body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return str_replace(['{login}'], [$this->login], '/users/{login}/invitations'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\InvitationsAccept) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\Organizations|null - * - * @throws \Bitly\Exception\UserAcceptInviteBadRequestException - * @throws \Bitly\Exception\UserAcceptInviteForbiddenException - * @throws \Bitly\Exception\UserAcceptInviteUnprocessableEntityException - * @throws \Bitly\Exception\UserAcceptInviteInternalServerErrorException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\Organizations', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UserAcceptInviteBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UserAcceptInviteForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UserAcceptInviteUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\UserAcceptInviteInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/ValidateBulkUpload.php b/lib/Endpoint/ValidateBulkUpload.php deleted file mode 100644 index dfff398..0000000 --- a/lib/Endpoint/ValidateBulkUpload.php +++ /dev/null @@ -1,94 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/bulk_upload/validate'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\BulkUploadValidate) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\BulkUploadData|null - * - * @throws \Bitly\Exception\ValidateBulkUploadBadRequestException - * @throws \Bitly\Exception\ValidateBulkUploadPaymentRequiredException - * @throws \Bitly\Exception\ValidateBulkUploadForbiddenException - * @throws \Bitly\Exception\ValidateBulkUploadNotFoundException - * @throws \Bitly\Exception\ValidateBulkUploadUnprocessableEntityException - * @throws \Bitly\Exception\ValidateBulkUploadInternalServerErrorException - * @throws \Bitly\Exception\ValidateBulkUploadServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\BulkUploadData', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidateBulkUploadBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidateBulkUploadPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidateBulkUploadForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidateBulkUploadNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidateBulkUploadUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidateBulkUploadInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidateBulkUploadServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/ValidateCustomDomain.php b/lib/Endpoint/ValidateCustomDomain.php deleted file mode 100644 index a4a9159..0000000 --- a/lib/Endpoint/ValidateCustomDomain.php +++ /dev/null @@ -1,93 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/custom_domains'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\DomainValidateBody) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\DomainValidate|null - * - * @throws \Bitly\Exception\ValidateCustomDomainBadRequestException - * @throws \Bitly\Exception\ValidateCustomDomainForbiddenException - * @throws \Bitly\Exception\ValidateCustomDomainNotFoundException - * @throws \Bitly\Exception\ValidateCustomDomainUnprocessableEntityException - * @throws \Bitly\Exception\ValidateCustomDomainInternalServerErrorException - * @throws \Bitly\Exception\ValidateCustomDomainServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DomainValidate', 'json'); - } - if (is_null($contentType) === false && (202 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\DomainValidate', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidateCustomDomainBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidateCustomDomainForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidateCustomDomainNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (422 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidateCustomDomainUnprocessableEntityException($serializer->deserialize($body, 'Bitly\Model\UnprocessableEntity', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidateCustomDomainInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidateCustomDomainServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/ValidatePromoCode.php b/lib/Endpoint/ValidatePromoCode.php deleted file mode 100644 index 90194c7..0000000 --- a/lib/Endpoint/ValidatePromoCode.php +++ /dev/null @@ -1,84 +0,0 @@ -promo_code = $promoCode; - $this->TierName = $tierName; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{promo_code}', '{TierName}'], [$this->promo_code, $this->TierName], '/promo_codes/{promo_code}/plan/{TierName}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\PromoCode|null - * - * @throws \Bitly\Exception\ValidatePromoCodeBadRequestException - * @throws \Bitly\Exception\ValidatePromoCodeNotFoundException - * @throws \Bitly\Exception\ValidatePromoCodeInternalServerErrorException - * @throws \Bitly\Exception\ValidatePromoCodeServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\PromoCode', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidatePromoCodeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidatePromoCodeNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidatePromoCodeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidatePromoCodeServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/ValidateStripePromoCode.php b/lib/Endpoint/ValidateStripePromoCode.php deleted file mode 100644 index 31a8d1c..0000000 --- a/lib/Endpoint/ValidateStripePromoCode.php +++ /dev/null @@ -1,84 +0,0 @@ -promo_code = $promoCode; - $this->TierName = $tierName; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{promo_code}', '{TierName}'], [$this->promo_code, $this->TierName], '/stripe/promo_codes/{promo_code}/plan/{TierName}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\PromoCode|null - * - * @throws \Bitly\Exception\ValidateStripePromoCodeBadRequestException - * @throws \Bitly\Exception\ValidateStripePromoCodeNotFoundException - * @throws \Bitly\Exception\ValidateStripePromoCodeInternalServerErrorException - * @throws \Bitly\Exception\ValidateStripePromoCodeServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\PromoCode', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidateStripePromoCodeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidateStripePromoCodeNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidateStripePromoCodeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\ValidateStripePromoCodeServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/VerifySSOSlug.php b/lib/Endpoint/VerifySSOSlug.php deleted file mode 100644 index fba5153..0000000 --- a/lib/Endpoint/VerifySSOSlug.php +++ /dev/null @@ -1,85 +0,0 @@ -url_slug = $urlSlug; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function getUri(): string - { - return str_replace(['{url_slug}'], [$this->url_slug], '/sso/slugs/{url_slug}'); - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\SSOVerifySlug|null - * - * @throws \Bitly\Exception\VerifySSOSlugPaymentRequiredException - * @throws \Bitly\Exception\VerifySSOSlugForbiddenException - * @throws \Bitly\Exception\VerifySSOSlugNotFoundException - * @throws \Bitly\Exception\VerifySSOSlugInternalServerErrorException - * @throws \Bitly\Exception\VerifySSOSlugServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\SSOVerifySlug', 'json'); - } - if (is_null($contentType) === false && (402 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\VerifySSOSlugPaymentRequiredException($serializer->deserialize($body, 'Bitly\Model\UpgradeRequired', 'json'), $response); - } - if (is_null($contentType) === false && (403 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\VerifySSOSlugForbiddenException($serializer->deserialize($body, 'Bitly\Model\Forbidden', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\VerifySSOSlugNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\VerifySSOSlugInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\VerifySSOSlugServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Endpoint/VerifyTwoFactorCode.php b/lib/Endpoint/VerifyTwoFactorCode.php deleted file mode 100644 index e46252e..0000000 --- a/lib/Endpoint/VerifyTwoFactorCode.php +++ /dev/null @@ -1,82 +0,0 @@ -body = $requestBody; - } - - public function getMethod(): string - { - return 'POST'; - } - - public function getUri(): string - { - return '/user/two_factor/sms/code/verify'; - } - - public function getBody(\Symfony\Component\Serializer\SerializerInterface $serializer, $streamFactory = null): array - { - if ($this->body instanceof \Bitly\Model\TwoFactorCode) { - return [['Content-Type' => ['application/json']], $serializer->serialize($this->body, 'json')]; - } - - return [[], null]; - } - - public function getExtraHeaders(): array - { - return ['Accept' => ['application/json']]; - } - - /** - * @return \Bitly\Model\TwoFactorVerify|null - * - * @throws \Bitly\Exception\VerifyTwoFactorCodeBadRequestException - * @throws \Bitly\Exception\VerifyTwoFactorCodeNotFoundException - * @throws \Bitly\Exception\VerifyTwoFactorCodeInternalServerErrorException - * @throws \Bitly\Exception\VerifyTwoFactorCodeServiceUnavailableException - */ - protected function transformResponseBody(\Psr\Http\Message\ResponseInterface $response, \Symfony\Component\Serializer\SerializerInterface $serializer, ?string $contentType = null) - { - $status = $response->getStatusCode(); - $body = (string) $response->getBody(); - if (is_null($contentType) === false && (200 === $status && mb_strpos($contentType, 'application/json') !== false)) { - return $serializer->deserialize($body, 'Bitly\Model\TwoFactorVerify', 'json'); - } - if (is_null($contentType) === false && (400 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\VerifyTwoFactorCodeBadRequestException($serializer->deserialize($body, 'Bitly\Model\BadRequest', 'json'), $response); - } - if (is_null($contentType) === false && (404 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\VerifyTwoFactorCodeNotFoundException($serializer->deserialize($body, 'Bitly\Model\NotFound', 'json'), $response); - } - if (is_null($contentType) === false && (500 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\VerifyTwoFactorCodeInternalServerErrorException($serializer->deserialize($body, 'Bitly\Model\InternalError', 'json'), $response); - } - if (is_null($contentType) === false && (503 === $status && mb_strpos($contentType, 'application/json') !== false)) { - throw new \Bitly\Exception\VerifyTwoFactorCodeServiceUnavailableException($serializer->deserialize($body, 'Bitly\Model\TemporarilyUnavailable', 'json'), $response); - } - } - - public function getAuthenticationScopes(): array - { - return ['bearerAuth']; - } -} diff --git a/lib/Exception/AddEmailToUserBadRequestException.php b/lib/Exception/AddEmailToUserBadRequestException.php deleted file mode 100644 index 65879cb..0000000 --- a/lib/Exception/AddEmailToUserBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/AddEmailToUserForbiddenException.php b/lib/Exception/AddEmailToUserForbiddenException.php deleted file mode 100644 index 84a4292..0000000 --- a/lib/Exception/AddEmailToUserForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/AddEmailToUserInternalServerErrorException.php b/lib/Exception/AddEmailToUserInternalServerErrorException.php deleted file mode 100644 index a0f0725..0000000 --- a/lib/Exception/AddEmailToUserInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/AddEmailToUserNotFoundException.php b/lib/Exception/AddEmailToUserNotFoundException.php deleted file mode 100644 index 1b28221..0000000 --- a/lib/Exception/AddEmailToUserNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/AddEmailToUserUnprocessableEntityException.php b/lib/Exception/AddEmailToUserUnprocessableEntityException.php deleted file mode 100644 index be354df..0000000 --- a/lib/Exception/AddEmailToUserUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/AddUserWithRoleBadRequestException.php b/lib/Exception/AddUserWithRoleBadRequestException.php deleted file mode 100644 index befe82f..0000000 --- a/lib/Exception/AddUserWithRoleBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/AddUserWithRoleForbiddenException.php b/lib/Exception/AddUserWithRoleForbiddenException.php deleted file mode 100644 index bfc8dac..0000000 --- a/lib/Exception/AddUserWithRoleForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/AddUserWithRoleInternalServerErrorException.php b/lib/Exception/AddUserWithRoleInternalServerErrorException.php deleted file mode 100644 index 2365f6a..0000000 --- a/lib/Exception/AddUserWithRoleInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/AddUserWithRoleServiceUnavailableException.php b/lib/Exception/AddUserWithRoleServiceUnavailableException.php deleted file mode 100644 index 270f867..0000000 --- a/lib/Exception/AddUserWithRoleServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/AddUserWithRoleUnprocessableEntityException.php b/lib/Exception/AddUserWithRoleUnprocessableEntityException.php deleted file mode 100644 index 3ea80ad..0000000 --- a/lib/Exception/AddUserWithRoleUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/AiDomainSearchBadRequestException.php b/lib/Exception/AiDomainSearchBadRequestException.php deleted file mode 100644 index 0aed935..0000000 --- a/lib/Exception/AiDomainSearchBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/AiDomainSearchForbiddenException.php b/lib/Exception/AiDomainSearchForbiddenException.php deleted file mode 100644 index 5da4b2f..0000000 --- a/lib/Exception/AiDomainSearchForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/AiDomainSearchInternalServerErrorException.php b/lib/Exception/AiDomainSearchInternalServerErrorException.php deleted file mode 100644 index 3545e94..0000000 --- a/lib/Exception/AiDomainSearchInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/AnnualRenewalReminderBadRequestException.php b/lib/Exception/AnnualRenewalReminderBadRequestException.php deleted file mode 100644 index 58b61af..0000000 --- a/lib/Exception/AnnualRenewalReminderBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/AnnualRenewalReminderInternalServerErrorException.php b/lib/Exception/AnnualRenewalReminderInternalServerErrorException.php deleted file mode 100644 index 21b64ff..0000000 --- a/lib/Exception/AnnualRenewalReminderInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/AnnualRenewalReminderServiceUnavailableException.php b/lib/Exception/AnnualRenewalReminderServiceUnavailableException.php deleted file mode 100644 index e7ce71a..0000000 --- a/lib/Exception/AnnualRenewalReminderServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/AnnualRenewalReminderUnprocessableEntityException.php b/lib/Exception/AnnualRenewalReminderUnprocessableEntityException.php deleted file mode 100644 index b65f871..0000000 --- a/lib/Exception/AnnualRenewalReminderUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ApplyDiscountBadRequestException.php b/lib/Exception/ApplyDiscountBadRequestException.php deleted file mode 100644 index 8bf147e..0000000 --- a/lib/Exception/ApplyDiscountBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ApplyDiscountForbiddenException.php b/lib/Exception/ApplyDiscountForbiddenException.php deleted file mode 100644 index 7ea571a..0000000 --- a/lib/Exception/ApplyDiscountForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ApplyDiscountInternalServerErrorException.php b/lib/Exception/ApplyDiscountInternalServerErrorException.php deleted file mode 100644 index 7c1b105..0000000 --- a/lib/Exception/ApplyDiscountInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ApplyDiscountNotFoundException.php b/lib/Exception/ApplyDiscountNotFoundException.php deleted file mode 100644 index afad1aa..0000000 --- a/lib/Exception/ApplyDiscountNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ApplyDiscountServiceUnavailableException.php b/lib/Exception/ApplyDiscountServiceUnavailableException.php deleted file mode 100644 index 8081ed2..0000000 --- a/lib/Exception/ApplyDiscountServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ApplyDiscountUnprocessableEntityException.php b/lib/Exception/ApplyDiscountUnprocessableEntityException.php deleted file mode 100644 index 40aa151..0000000 --- a/lib/Exception/ApplyDiscountUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ApplyStripeDiscountBadRequestException.php b/lib/Exception/ApplyStripeDiscountBadRequestException.php deleted file mode 100644 index 81aa80e..0000000 --- a/lib/Exception/ApplyStripeDiscountBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ApplyStripeDiscountForbiddenException.php b/lib/Exception/ApplyStripeDiscountForbiddenException.php deleted file mode 100644 index fffa1a0..0000000 --- a/lib/Exception/ApplyStripeDiscountForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ApplyStripeDiscountInternalServerErrorException.php b/lib/Exception/ApplyStripeDiscountInternalServerErrorException.php deleted file mode 100644 index bb764be..0000000 --- a/lib/Exception/ApplyStripeDiscountInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ApplyStripeDiscountNotFoundException.php b/lib/Exception/ApplyStripeDiscountNotFoundException.php deleted file mode 100644 index 862d271..0000000 --- a/lib/Exception/ApplyStripeDiscountNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ApplyStripeDiscountServiceUnavailableException.php b/lib/Exception/ApplyStripeDiscountServiceUnavailableException.php deleted file mode 100644 index 8864057..0000000 --- a/lib/Exception/ApplyStripeDiscountServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ApplyStripeDiscountUnprocessableEntityException.php b/lib/Exception/ApplyStripeDiscountUnprocessableEntityException.php deleted file mode 100644 index acd5088..0000000 --- a/lib/Exception/ApplyStripeDiscountUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ApplyTemplateForbiddenException.php b/lib/Exception/ApplyTemplateForbiddenException.php deleted file mode 100644 index aa0f9c6..0000000 --- a/lib/Exception/ApplyTemplateForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ApplyTemplateInternalServerErrorException.php b/lib/Exception/ApplyTemplateInternalServerErrorException.php deleted file mode 100644 index f067765..0000000 --- a/lib/Exception/ApplyTemplateInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ApplyTemplateNotFoundException.php b/lib/Exception/ApplyTemplateNotFoundException.php deleted file mode 100644 index 2caaeee..0000000 --- a/lib/Exception/ApplyTemplateNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ApplyTemplateServiceUnavailableException.php b/lib/Exception/ApplyTemplateServiceUnavailableException.php deleted file mode 100644 index 20d8495..0000000 --- a/lib/Exception/ApplyTemplateServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ApplyTemplateUnprocessableEntityException.php b/lib/Exception/ApplyTemplateUnprocessableEntityException.php deleted file mode 100644 index 9ae81cb..0000000 --- a/lib/Exception/ApplyTemplateUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/BulkAddBadRequestException.php b/lib/Exception/BulkAddBadRequestException.php deleted file mode 100644 index 7bbc798..0000000 --- a/lib/Exception/BulkAddBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/BulkAddForbiddenException.php b/lib/Exception/BulkAddForbiddenException.php deleted file mode 100644 index 322bb19..0000000 --- a/lib/Exception/BulkAddForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/BulkAddInternalServerErrorException.php b/lib/Exception/BulkAddInternalServerErrorException.php deleted file mode 100644 index 33259af..0000000 --- a/lib/Exception/BulkAddInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/BulkAddNotFoundException.php b/lib/Exception/BulkAddNotFoundException.php deleted file mode 100644 index f839e73..0000000 --- a/lib/Exception/BulkAddNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CampaignAddBitlinkBadRequestException.php b/lib/Exception/CampaignAddBitlinkBadRequestException.php deleted file mode 100644 index bfe4b90..0000000 --- a/lib/Exception/CampaignAddBitlinkBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CampaignAddBitlinkForbiddenException.php b/lib/Exception/CampaignAddBitlinkForbiddenException.php deleted file mode 100644 index 01f1d4a..0000000 --- a/lib/Exception/CampaignAddBitlinkForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CampaignAddBitlinkInternalServerErrorException.php b/lib/Exception/CampaignAddBitlinkInternalServerErrorException.php deleted file mode 100644 index 907602c..0000000 --- a/lib/Exception/CampaignAddBitlinkInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CampaignAddBitlinkNotFoundException.php b/lib/Exception/CampaignAddBitlinkNotFoundException.php deleted file mode 100644 index 1ac5fdc..0000000 --- a/lib/Exception/CampaignAddBitlinkNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CampaignAddBitlinkPaymentRequiredException.php b/lib/Exception/CampaignAddBitlinkPaymentRequiredException.php deleted file mode 100644 index f8ea2a9..0000000 --- a/lib/Exception/CampaignAddBitlinkPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CampaignAddBitlinkServiceUnavailableException.php b/lib/Exception/CampaignAddBitlinkServiceUnavailableException.php deleted file mode 100644 index 17969ff..0000000 --- a/lib/Exception/CampaignAddBitlinkServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CampaignAddBitlinkUnprocessableEntityException.php b/lib/Exception/CampaignAddBitlinkUnprocessableEntityException.php deleted file mode 100644 index 6b45509..0000000 --- a/lib/Exception/CampaignAddBitlinkUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CancelPendingDowngradeForbiddenException.php b/lib/Exception/CancelPendingDowngradeForbiddenException.php deleted file mode 100644 index c85f229..0000000 --- a/lib/Exception/CancelPendingDowngradeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CancelPendingDowngradeInternalServerErrorException.php b/lib/Exception/CancelPendingDowngradeInternalServerErrorException.php deleted file mode 100644 index cbb8c72..0000000 --- a/lib/Exception/CancelPendingDowngradeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CancelPendingDowngradeNotFoundException.php b/lib/Exception/CancelPendingDowngradeNotFoundException.php deleted file mode 100644 index 58e44f0..0000000 --- a/lib/Exception/CancelPendingDowngradeNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CancelPendingDowngradeStripeForbiddenException.php b/lib/Exception/CancelPendingDowngradeStripeForbiddenException.php deleted file mode 100644 index 09b3e8c..0000000 --- a/lib/Exception/CancelPendingDowngradeStripeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CancelPendingDowngradeStripeInternalServerErrorException.php b/lib/Exception/CancelPendingDowngradeStripeInternalServerErrorException.php deleted file mode 100644 index 651d4b3..0000000 --- a/lib/Exception/CancelPendingDowngradeStripeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CancelPendingDowngradeStripeNotFoundException.php b/lib/Exception/CancelPendingDowngradeStripeNotFoundException.php deleted file mode 100644 index 9d35ceb..0000000 --- a/lib/Exception/CancelPendingDowngradeStripeNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CaptureEventForbiddenException.php b/lib/Exception/CaptureEventForbiddenException.php deleted file mode 100644 index e4ec85f..0000000 --- a/lib/Exception/CaptureEventForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CaptureEventInternalServerErrorException.php b/lib/Exception/CaptureEventInternalServerErrorException.php deleted file mode 100644 index 382145f..0000000 --- a/lib/Exception/CaptureEventInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ChangeUserPasswordBadRequestException.php b/lib/Exception/ChangeUserPasswordBadRequestException.php deleted file mode 100644 index 7272e75..0000000 --- a/lib/Exception/ChangeUserPasswordBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ChangeUserPasswordForbiddenException.php b/lib/Exception/ChangeUserPasswordForbiddenException.php deleted file mode 100644 index 1019a3e..0000000 --- a/lib/Exception/ChangeUserPasswordForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ChangeUserPasswordInternalServerErrorException.php b/lib/Exception/ChangeUserPasswordInternalServerErrorException.php deleted file mode 100644 index 525343c..0000000 --- a/lib/Exception/ChangeUserPasswordInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ChangeUserPasswordNotFoundException.php b/lib/Exception/ChangeUserPasswordNotFoundException.php deleted file mode 100644 index c1d1548..0000000 --- a/lib/Exception/ChangeUserPasswordNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ChangeUserPasswordUnprocessableEntityException.php b/lib/Exception/ChangeUserPasswordUnprocessableEntityException.php deleted file mode 100644 index cbe4e03..0000000 --- a/lib/Exception/ChangeUserPasswordUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CheckDomainDNSInternalServerErrorException.php b/lib/Exception/CheckDomainDNSInternalServerErrorException.php deleted file mode 100644 index 936572c..0000000 --- a/lib/Exception/CheckDomainDNSInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CheckShareableReportBadRequestException.php b/lib/Exception/CheckShareableReportBadRequestException.php deleted file mode 100644 index 367ef23..0000000 --- a/lib/Exception/CheckShareableReportBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CheckShareableReportForbiddenException.php b/lib/Exception/CheckShareableReportForbiddenException.php deleted file mode 100644 index f9c9c91..0000000 --- a/lib/Exception/CheckShareableReportForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CheckShareableReportInternalServerErrorException.php b/lib/Exception/CheckShareableReportInternalServerErrorException.php deleted file mode 100644 index aefc0b7..0000000 --- a/lib/Exception/CheckShareableReportInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CheckShareableReportNotFoundException.php b/lib/Exception/CheckShareableReportNotFoundException.php deleted file mode 100644 index 4123156..0000000 --- a/lib/Exception/CheckShareableReportNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CheckShareableReportServiceUnavailableException.php b/lib/Exception/CheckShareableReportServiceUnavailableException.php deleted file mode 100644 index 3ab0bcf..0000000 --- a/lib/Exception/CheckShareableReportServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CloneSiteBadRequestException.php b/lib/Exception/CloneSiteBadRequestException.php deleted file mode 100644 index 5a4582d..0000000 --- a/lib/Exception/CloneSiteBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CloneSiteForbiddenException.php b/lib/Exception/CloneSiteForbiddenException.php deleted file mode 100644 index fab7008..0000000 --- a/lib/Exception/CloneSiteForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CloneSiteInternalServerErrorException.php b/lib/Exception/CloneSiteInternalServerErrorException.php deleted file mode 100644 index 0a107cf..0000000 --- a/lib/Exception/CloneSiteInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CloneSitePaymentRequiredException.php b/lib/Exception/CloneSitePaymentRequiredException.php deleted file mode 100644 index 305561e..0000000 --- a/lib/Exception/CloneSitePaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CloneSiteServiceUnavailableException.php b/lib/Exception/CloneSiteServiceUnavailableException.php deleted file mode 100644 index 13158db..0000000 --- a/lib/Exception/CloneSiteServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateAnalyticsModuleBadRequestException.php b/lib/Exception/CreateAnalyticsModuleBadRequestException.php deleted file mode 100644 index 8a92ee2..0000000 --- a/lib/Exception/CreateAnalyticsModuleBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateAnalyticsModuleForbiddenException.php b/lib/Exception/CreateAnalyticsModuleForbiddenException.php deleted file mode 100644 index 69b2d0a..0000000 --- a/lib/Exception/CreateAnalyticsModuleForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateAnalyticsModuleInternalServerErrorException.php b/lib/Exception/CreateAnalyticsModuleInternalServerErrorException.php deleted file mode 100644 index 7b1cf98..0000000 --- a/lib/Exception/CreateAnalyticsModuleInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateAnalyticsModuleNotFoundException.php b/lib/Exception/CreateAnalyticsModuleNotFoundException.php deleted file mode 100644 index cbff919..0000000 --- a/lib/Exception/CreateAnalyticsModuleNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateAnalyticsModuleServiceUnavailableException.php b/lib/Exception/CreateAnalyticsModuleServiceUnavailableException.php deleted file mode 100644 index 4bb1552..0000000 --- a/lib/Exception/CreateAnalyticsModuleServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateAnalyticsReportBadRequestException.php b/lib/Exception/CreateAnalyticsReportBadRequestException.php deleted file mode 100644 index 41dcc08..0000000 --- a/lib/Exception/CreateAnalyticsReportBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateAnalyticsReportForbiddenException.php b/lib/Exception/CreateAnalyticsReportForbiddenException.php deleted file mode 100644 index c8dbc31..0000000 --- a/lib/Exception/CreateAnalyticsReportForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateAnalyticsReportInternalServerErrorException.php b/lib/Exception/CreateAnalyticsReportInternalServerErrorException.php deleted file mode 100644 index 0d5aec4..0000000 --- a/lib/Exception/CreateAnalyticsReportInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateAnalyticsReportNotFoundException.php b/lib/Exception/CreateAnalyticsReportNotFoundException.php deleted file mode 100644 index 05faf33..0000000 --- a/lib/Exception/CreateAnalyticsReportNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateAnalyticsReportServiceUnavailableException.php b/lib/Exception/CreateAnalyticsReportServiceUnavailableException.php deleted file mode 100644 index fffd8e2..0000000 --- a/lib/Exception/CreateAnalyticsReportServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateCampaignChannelBadRequestException.php b/lib/Exception/CreateCampaignChannelBadRequestException.php deleted file mode 100644 index 2b8ac76..0000000 --- a/lib/Exception/CreateCampaignChannelBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateCampaignChannelInternalServerErrorException.php b/lib/Exception/CreateCampaignChannelInternalServerErrorException.php deleted file mode 100644 index c676bc1..0000000 --- a/lib/Exception/CreateCampaignChannelInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateCampaignChannelUnprocessableEntityException.php b/lib/Exception/CreateCampaignChannelUnprocessableEntityException.php deleted file mode 100644 index 4f9519b..0000000 --- a/lib/Exception/CreateCampaignChannelUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateChannelBitlinkBadRequestException.php b/lib/Exception/CreateChannelBitlinkBadRequestException.php deleted file mode 100644 index 0764863..0000000 --- a/lib/Exception/CreateChannelBitlinkBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateChannelBitlinkInternalServerErrorException.php b/lib/Exception/CreateChannelBitlinkInternalServerErrorException.php deleted file mode 100644 index 2fc5cb9..0000000 --- a/lib/Exception/CreateChannelBitlinkInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateChannelBitlinkUnprocessableEntityException.php b/lib/Exception/CreateChannelBitlinkUnprocessableEntityException.php deleted file mode 100644 index 1db6ada..0000000 --- a/lib/Exception/CreateChannelBitlinkUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateContainerBadRequestException.php b/lib/Exception/CreateContainerBadRequestException.php deleted file mode 100644 index 52bf12b..0000000 --- a/lib/Exception/CreateContainerBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateContainerForbiddenException.php b/lib/Exception/CreateContainerForbiddenException.php deleted file mode 100644 index 491d474..0000000 --- a/lib/Exception/CreateContainerForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateContainerInternalServerErrorException.php b/lib/Exception/CreateContainerInternalServerErrorException.php deleted file mode 100644 index c9a703d..0000000 --- a/lib/Exception/CreateContainerInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateContainerNotFoundException.php b/lib/Exception/CreateContainerNotFoundException.php deleted file mode 100644 index 3616b80..0000000 --- a/lib/Exception/CreateContainerNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateContainerServiceUnavailableException.php b/lib/Exception/CreateContainerServiceUnavailableException.php deleted file mode 100644 index 5e0ffcf..0000000 --- a/lib/Exception/CreateContainerServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateContainerUnprocessableEntityException.php b/lib/Exception/CreateContainerUnprocessableEntityException.php deleted file mode 100644 index 480c029..0000000 --- a/lib/Exception/CreateContainerUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateCustomerBadRequestException.php b/lib/Exception/CreateCustomerBadRequestException.php deleted file mode 100644 index c92b87c..0000000 --- a/lib/Exception/CreateCustomerBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateCustomerForbiddenException.php b/lib/Exception/CreateCustomerForbiddenException.php deleted file mode 100644 index 966b169..0000000 --- a/lib/Exception/CreateCustomerForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateCustomerInternalServerErrorException.php b/lib/Exception/CreateCustomerInternalServerErrorException.php deleted file mode 100644 index 1b822fc..0000000 --- a/lib/Exception/CreateCustomerInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateCustomerUnprocessableEntityException.php b/lib/Exception/CreateCustomerUnprocessableEntityException.php deleted file mode 100644 index c06a9d1..0000000 --- a/lib/Exception/CreateCustomerUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateDeeplinkAppBadRequestException.php b/lib/Exception/CreateDeeplinkAppBadRequestException.php deleted file mode 100644 index ac58fb8..0000000 --- a/lib/Exception/CreateDeeplinkAppBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateDeeplinkAppExpectationFailedException.php b/lib/Exception/CreateDeeplinkAppExpectationFailedException.php deleted file mode 100644 index 27f382a..0000000 --- a/lib/Exception/CreateDeeplinkAppExpectationFailedException.php +++ /dev/null @@ -1,40 +0,0 @@ -expectationFailed = $expectationFailed; - $this->response = $response; - } - - public function getExpectationFailed(): \Bitly\Model\ExpectationFailed - { - return $this->expectationFailed; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateDeeplinkAppForbiddenException.php b/lib/Exception/CreateDeeplinkAppForbiddenException.php deleted file mode 100644 index 43214cd..0000000 --- a/lib/Exception/CreateDeeplinkAppForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateDeeplinkAppInternalServerErrorException.php b/lib/Exception/CreateDeeplinkAppInternalServerErrorException.php deleted file mode 100644 index 3d02540..0000000 --- a/lib/Exception/CreateDeeplinkAppInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateDeeplinkAppServiceUnavailableException.php b/lib/Exception/CreateDeeplinkAppServiceUnavailableException.php deleted file mode 100644 index e6f5a81..0000000 --- a/lib/Exception/CreateDeeplinkAppServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateDeeplinkAppUnprocessableEntityException.php b/lib/Exception/CreateDeeplinkAppUnprocessableEntityException.php deleted file mode 100644 index 9a4d202..0000000 --- a/lib/Exception/CreateDeeplinkAppUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateDeeplinkRuleForbiddenException.php b/lib/Exception/CreateDeeplinkRuleForbiddenException.php deleted file mode 100644 index d58c091..0000000 --- a/lib/Exception/CreateDeeplinkRuleForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateDeeplinkRuleInternalServerErrorException.php b/lib/Exception/CreateDeeplinkRuleInternalServerErrorException.php deleted file mode 100644 index 6bf0d32..0000000 --- a/lib/Exception/CreateDeeplinkRuleInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateDeeplinkRuleNotFoundException.php b/lib/Exception/CreateDeeplinkRuleNotFoundException.php deleted file mode 100644 index 46d94c5..0000000 --- a/lib/Exception/CreateDeeplinkRuleNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateDeeplinkRulePaymentRequiredException.php b/lib/Exception/CreateDeeplinkRulePaymentRequiredException.php deleted file mode 100644 index 41a3507..0000000 --- a/lib/Exception/CreateDeeplinkRulePaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateDefaultAnalyticsReportForGroupBadRequestException.php b/lib/Exception/CreateDefaultAnalyticsReportForGroupBadRequestException.php deleted file mode 100644 index e76ccd3..0000000 --- a/lib/Exception/CreateDefaultAnalyticsReportForGroupBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateDefaultAnalyticsReportForGroupForbiddenException.php b/lib/Exception/CreateDefaultAnalyticsReportForGroupForbiddenException.php deleted file mode 100644 index d211bb6..0000000 --- a/lib/Exception/CreateDefaultAnalyticsReportForGroupForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateDefaultAnalyticsReportForGroupInternalServerErrorException.php b/lib/Exception/CreateDefaultAnalyticsReportForGroupInternalServerErrorException.php deleted file mode 100644 index 759ce14..0000000 --- a/lib/Exception/CreateDefaultAnalyticsReportForGroupInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateDefaultAnalyticsReportForGroupNotFoundException.php b/lib/Exception/CreateDefaultAnalyticsReportForGroupNotFoundException.php deleted file mode 100644 index 1c87c9e..0000000 --- a/lib/Exception/CreateDefaultAnalyticsReportForGroupNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateDefaultAnalyticsReportForGroupServiceUnavailableException.php b/lib/Exception/CreateDefaultAnalyticsReportForGroupServiceUnavailableException.php deleted file mode 100644 index ac3d71b..0000000 --- a/lib/Exception/CreateDefaultAnalyticsReportForGroupServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateFocusBadRequestException.php b/lib/Exception/CreateFocusBadRequestException.php deleted file mode 100644 index 53e8526..0000000 --- a/lib/Exception/CreateFocusBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateFocusForbiddenException.php b/lib/Exception/CreateFocusForbiddenException.php deleted file mode 100644 index ba0c10f..0000000 --- a/lib/Exception/CreateFocusForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateFocusInternalServerErrorException.php b/lib/Exception/CreateFocusInternalServerErrorException.php deleted file mode 100644 index 5f2146d..0000000 --- a/lib/Exception/CreateFocusInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateGenericAccessTokenBadRequestException.php b/lib/Exception/CreateGenericAccessTokenBadRequestException.php deleted file mode 100644 index 32a99be..0000000 --- a/lib/Exception/CreateGenericAccessTokenBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateGenericAccessTokenForbiddenException.php b/lib/Exception/CreateGenericAccessTokenForbiddenException.php deleted file mode 100644 index 7a30491..0000000 --- a/lib/Exception/CreateGenericAccessTokenForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateGenericAccessTokenInternalServerErrorException.php b/lib/Exception/CreateGenericAccessTokenInternalServerErrorException.php deleted file mode 100644 index 15213ef..0000000 --- a/lib/Exception/CreateGenericAccessTokenInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateGenericAccessTokenNotFoundException.php b/lib/Exception/CreateGenericAccessTokenNotFoundException.php deleted file mode 100644 index f2c896c..0000000 --- a/lib/Exception/CreateGenericAccessTokenNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateGenericAccessTokenUnauthorizedException.php b/lib/Exception/CreateGenericAccessTokenUnauthorizedException.php deleted file mode 100644 index 42f0dca..0000000 --- a/lib/Exception/CreateGenericAccessTokenUnauthorizedException.php +++ /dev/null @@ -1,40 +0,0 @@ -unauthorized = $unauthorized; - $this->response = $response; - } - - public function getUnauthorized(): \Bitly\Model\Unauthorized - { - return $this->unauthorized; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateGroupBadRequestException.php b/lib/Exception/CreateGroupBadRequestException.php deleted file mode 100644 index 5408f45..0000000 --- a/lib/Exception/CreateGroupBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateGroupForbiddenException.php b/lib/Exception/CreateGroupForbiddenException.php deleted file mode 100644 index a40cde6..0000000 --- a/lib/Exception/CreateGroupForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateGroupInternalServerErrorException.php b/lib/Exception/CreateGroupInternalServerErrorException.php deleted file mode 100644 index 4c6eff7..0000000 --- a/lib/Exception/CreateGroupInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateGroupTooManyRequestsException.php b/lib/Exception/CreateGroupTooManyRequestsException.php deleted file mode 100644 index 3ec46b5..0000000 --- a/lib/Exception/CreateGroupTooManyRequestsException.php +++ /dev/null @@ -1,40 +0,0 @@ -monthlyLimitExceeded = $monthlyLimitExceeded; - $this->response = $response; - } - - public function getMonthlyLimitExceeded(): \Bitly\Model\MonthlyLimitExceeded - { - return $this->monthlyLimitExceeded; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateGroupUnprocessableEntityException.php b/lib/Exception/CreateGroupUnprocessableEntityException.php deleted file mode 100644 index 0aeab39..0000000 --- a/lib/Exception/CreateGroupUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateInterventionBadRequestException.php b/lib/Exception/CreateInterventionBadRequestException.php deleted file mode 100644 index 55a3a20..0000000 --- a/lib/Exception/CreateInterventionBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateInterventionForbiddenException.php b/lib/Exception/CreateInterventionForbiddenException.php deleted file mode 100644 index 9ed04a5..0000000 --- a/lib/Exception/CreateInterventionForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateInterventionInternalServerErrorException.php b/lib/Exception/CreateInterventionInternalServerErrorException.php deleted file mode 100644 index 8c6b25d..0000000 --- a/lib/Exception/CreateInterventionInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateInterventionServiceUnavailableException.php b/lib/Exception/CreateInterventionServiceUnavailableException.php deleted file mode 100644 index 20989aa..0000000 --- a/lib/Exception/CreateInterventionServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateInterventionUnprocessableEntityException.php b/lib/Exception/CreateInterventionUnprocessableEntityException.php deleted file mode 100644 index b702a8e..0000000 --- a/lib/Exception/CreateInterventionUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadBadRequestException.php b/lib/Exception/CreateLaunchpadBadRequestException.php deleted file mode 100644 index 5e991a1..0000000 --- a/lib/Exception/CreateLaunchpadBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadButtonBadRequestException.php b/lib/Exception/CreateLaunchpadButtonBadRequestException.php deleted file mode 100644 index a176b6a..0000000 --- a/lib/Exception/CreateLaunchpadButtonBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadButtonForbiddenException.php b/lib/Exception/CreateLaunchpadButtonForbiddenException.php deleted file mode 100644 index cc43f2b..0000000 --- a/lib/Exception/CreateLaunchpadButtonForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadButtonInternalServerErrorException.php b/lib/Exception/CreateLaunchpadButtonInternalServerErrorException.php deleted file mode 100644 index 2ab98be..0000000 --- a/lib/Exception/CreateLaunchpadButtonInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadButtonNotFoundException.php b/lib/Exception/CreateLaunchpadButtonNotFoundException.php deleted file mode 100644 index 0f19383..0000000 --- a/lib/Exception/CreateLaunchpadButtonNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadButtonServiceUnavailableException.php b/lib/Exception/CreateLaunchpadButtonServiceUnavailableException.php deleted file mode 100644 index 71be6ed..0000000 --- a/lib/Exception/CreateLaunchpadButtonServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentBitlinkBadRequestException.php b/lib/Exception/CreateLaunchpadContentBitlinkBadRequestException.php deleted file mode 100644 index d5a25c5..0000000 --- a/lib/Exception/CreateLaunchpadContentBitlinkBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentBitlinkForbiddenException.php b/lib/Exception/CreateLaunchpadContentBitlinkForbiddenException.php deleted file mode 100644 index 44f2931..0000000 --- a/lib/Exception/CreateLaunchpadContentBitlinkForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentBitlinkInternalServerErrorException.php b/lib/Exception/CreateLaunchpadContentBitlinkInternalServerErrorException.php deleted file mode 100644 index f6c1bcc..0000000 --- a/lib/Exception/CreateLaunchpadContentBitlinkInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentBitlinkNotFoundException.php b/lib/Exception/CreateLaunchpadContentBitlinkNotFoundException.php deleted file mode 100644 index 78ceb7a..0000000 --- a/lib/Exception/CreateLaunchpadContentBitlinkNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentBitlinkServiceUnavailableException.php b/lib/Exception/CreateLaunchpadContentBitlinkServiceUnavailableException.php deleted file mode 100644 index 8f65382..0000000 --- a/lib/Exception/CreateLaunchpadContentBitlinkServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentImageBadRequestException.php b/lib/Exception/CreateLaunchpadContentImageBadRequestException.php deleted file mode 100644 index 5156618..0000000 --- a/lib/Exception/CreateLaunchpadContentImageBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentImageForbiddenException.php b/lib/Exception/CreateLaunchpadContentImageForbiddenException.php deleted file mode 100644 index 02a0d53..0000000 --- a/lib/Exception/CreateLaunchpadContentImageForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentImageInternalServerErrorException.php b/lib/Exception/CreateLaunchpadContentImageInternalServerErrorException.php deleted file mode 100644 index a34865c..0000000 --- a/lib/Exception/CreateLaunchpadContentImageInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentImageNotFoundException.php b/lib/Exception/CreateLaunchpadContentImageNotFoundException.php deleted file mode 100644 index ed3a9aa..0000000 --- a/lib/Exception/CreateLaunchpadContentImageNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentImageServiceUnavailableException.php b/lib/Exception/CreateLaunchpadContentImageServiceUnavailableException.php deleted file mode 100644 index b389822..0000000 --- a/lib/Exception/CreateLaunchpadContentImageServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentSocialBadRequestException.php b/lib/Exception/CreateLaunchpadContentSocialBadRequestException.php deleted file mode 100644 index 9eb6633..0000000 --- a/lib/Exception/CreateLaunchpadContentSocialBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentSocialForbiddenException.php b/lib/Exception/CreateLaunchpadContentSocialForbiddenException.php deleted file mode 100644 index 1dbb4e3..0000000 --- a/lib/Exception/CreateLaunchpadContentSocialForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentSocialInternalServerErrorException.php b/lib/Exception/CreateLaunchpadContentSocialInternalServerErrorException.php deleted file mode 100644 index de72434..0000000 --- a/lib/Exception/CreateLaunchpadContentSocialInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentSocialNotFoundException.php b/lib/Exception/CreateLaunchpadContentSocialNotFoundException.php deleted file mode 100644 index 56e3611..0000000 --- a/lib/Exception/CreateLaunchpadContentSocialNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentSocialServiceUnavailableException.php b/lib/Exception/CreateLaunchpadContentSocialServiceUnavailableException.php deleted file mode 100644 index 4465e38..0000000 --- a/lib/Exception/CreateLaunchpadContentSocialServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentYoutubeVideoBadRequestException.php b/lib/Exception/CreateLaunchpadContentYoutubeVideoBadRequestException.php deleted file mode 100644 index c74d739..0000000 --- a/lib/Exception/CreateLaunchpadContentYoutubeVideoBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentYoutubeVideoForbiddenException.php b/lib/Exception/CreateLaunchpadContentYoutubeVideoForbiddenException.php deleted file mode 100644 index 7205224..0000000 --- a/lib/Exception/CreateLaunchpadContentYoutubeVideoForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentYoutubeVideoInternalServerErrorException.php b/lib/Exception/CreateLaunchpadContentYoutubeVideoInternalServerErrorException.php deleted file mode 100644 index 55209b3..0000000 --- a/lib/Exception/CreateLaunchpadContentYoutubeVideoInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentYoutubeVideoNotFoundException.php b/lib/Exception/CreateLaunchpadContentYoutubeVideoNotFoundException.php deleted file mode 100644 index 4946217..0000000 --- a/lib/Exception/CreateLaunchpadContentYoutubeVideoNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadContentYoutubeVideoServiceUnavailableException.php b/lib/Exception/CreateLaunchpadContentYoutubeVideoServiceUnavailableException.php deleted file mode 100644 index 3becb35..0000000 --- a/lib/Exception/CreateLaunchpadContentYoutubeVideoServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadForbiddenException.php b/lib/Exception/CreateLaunchpadForbiddenException.php deleted file mode 100644 index 2f476aa..0000000 --- a/lib/Exception/CreateLaunchpadForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadInternalServerErrorException.php b/lib/Exception/CreateLaunchpadInternalServerErrorException.php deleted file mode 100644 index 0a32b2a..0000000 --- a/lib/Exception/CreateLaunchpadInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLaunchpadServiceUnavailableException.php b/lib/Exception/CreateLaunchpadServiceUnavailableException.php deleted file mode 100644 index 828b651..0000000 --- a/lib/Exception/CreateLaunchpadServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLinkBadRequestException.php b/lib/Exception/CreateLinkBadRequestException.php deleted file mode 100644 index c4cb143..0000000 --- a/lib/Exception/CreateLinkBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLinkConflictException.php b/lib/Exception/CreateLinkConflictException.php deleted file mode 100644 index a4a6048..0000000 --- a/lib/Exception/CreateLinkConflictException.php +++ /dev/null @@ -1,40 +0,0 @@ -conflict = $conflict; - $this->response = $response; - } - - public function getConflict(): \Bitly\Model\Conflict - { - return $this->conflict; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLinkExpectationFailedException.php b/lib/Exception/CreateLinkExpectationFailedException.php deleted file mode 100644 index 58754db..0000000 --- a/lib/Exception/CreateLinkExpectationFailedException.php +++ /dev/null @@ -1,40 +0,0 @@ -expectationFailed = $expectationFailed; - $this->response = $response; - } - - public function getExpectationFailed(): \Bitly\Model\ExpectationFailed - { - return $this->expectationFailed; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLinkForbiddenException.php b/lib/Exception/CreateLinkForbiddenException.php deleted file mode 100644 index 5791acf..0000000 --- a/lib/Exception/CreateLinkForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLinkInternalServerErrorException.php b/lib/Exception/CreateLinkInternalServerErrorException.php deleted file mode 100644 index 7607562..0000000 --- a/lib/Exception/CreateLinkInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLinkNotFoundException.php b/lib/Exception/CreateLinkNotFoundException.php deleted file mode 100644 index 17bdb8f..0000000 --- a/lib/Exception/CreateLinkNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLinkPaymentRequiredException.php b/lib/Exception/CreateLinkPaymentRequiredException.php deleted file mode 100644 index 5a0ec62..0000000 --- a/lib/Exception/CreateLinkPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLinkServiceUnavailableException.php b/lib/Exception/CreateLinkServiceUnavailableException.php deleted file mode 100644 index f280a1f..0000000 --- a/lib/Exception/CreateLinkServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLinkTooManyRequestsException.php b/lib/Exception/CreateLinkTooManyRequestsException.php deleted file mode 100644 index 12945a2..0000000 --- a/lib/Exception/CreateLinkTooManyRequestsException.php +++ /dev/null @@ -1,40 +0,0 @@ -monthlyLimitExceeded = $monthlyLimitExceeded; - $this->response = $response; - } - - public function getMonthlyLimitExceeded(): \Bitly\Model\MonthlyLimitExceeded - { - return $this->monthlyLimitExceeded; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateLinkUnprocessableEntityException.php b/lib/Exception/CreateLinkUnprocessableEntityException.php deleted file mode 100644 index d2cb14c..0000000 --- a/lib/Exception/CreateLinkUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOAuthAppBadRequestException.php b/lib/Exception/CreateOAuthAppBadRequestException.php deleted file mode 100644 index 96f0995..0000000 --- a/lib/Exception/CreateOAuthAppBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOAuthAppForbiddenException.php b/lib/Exception/CreateOAuthAppForbiddenException.php deleted file mode 100644 index a418995..0000000 --- a/lib/Exception/CreateOAuthAppForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOAuthAppInternalServerErrorException.php b/lib/Exception/CreateOAuthAppInternalServerErrorException.php deleted file mode 100644 index 9ff4506..0000000 --- a/lib/Exception/CreateOAuthAppInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOrgDomainVerificationEmailBadRequestException.php b/lib/Exception/CreateOrgDomainVerificationEmailBadRequestException.php deleted file mode 100644 index b9725ec..0000000 --- a/lib/Exception/CreateOrgDomainVerificationEmailBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOrgDomainVerificationEmailForbiddenException.php b/lib/Exception/CreateOrgDomainVerificationEmailForbiddenException.php deleted file mode 100644 index 36eed87..0000000 --- a/lib/Exception/CreateOrgDomainVerificationEmailForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOrgDomainVerificationEmailInternalServerErrorException.php b/lib/Exception/CreateOrgDomainVerificationEmailInternalServerErrorException.php deleted file mode 100644 index 4819593..0000000 --- a/lib/Exception/CreateOrgDomainVerificationEmailInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOrgDomainVerificationEmailPaymentRequiredException.php b/lib/Exception/CreateOrgDomainVerificationEmailPaymentRequiredException.php deleted file mode 100644 index 0cdd863..0000000 --- a/lib/Exception/CreateOrgDomainVerificationEmailPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOrganizationInvitationsBadRequestException.php b/lib/Exception/CreateOrganizationInvitationsBadRequestException.php deleted file mode 100644 index e6b8cb5..0000000 --- a/lib/Exception/CreateOrganizationInvitationsBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOrganizationInvitationsForbiddenException.php b/lib/Exception/CreateOrganizationInvitationsForbiddenException.php deleted file mode 100644 index d5da4a6..0000000 --- a/lib/Exception/CreateOrganizationInvitationsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOrganizationInvitationsInternalServerErrorException.php b/lib/Exception/CreateOrganizationInvitationsInternalServerErrorException.php deleted file mode 100644 index 70ae3b8..0000000 --- a/lib/Exception/CreateOrganizationInvitationsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOrganizationInvitationsPaymentRequiredException.php b/lib/Exception/CreateOrganizationInvitationsPaymentRequiredException.php deleted file mode 100644 index 6de4c9e..0000000 --- a/lib/Exception/CreateOrganizationInvitationsPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOrganizationInvitationsServiceUnavailableException.php b/lib/Exception/CreateOrganizationInvitationsServiceUnavailableException.php deleted file mode 100644 index 6a5bd10..0000000 --- a/lib/Exception/CreateOrganizationInvitationsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOrganizationInvitationsTooManyRequestsException.php b/lib/Exception/CreateOrganizationInvitationsTooManyRequestsException.php deleted file mode 100644 index e5d37ad..0000000 --- a/lib/Exception/CreateOrganizationInvitationsTooManyRequestsException.php +++ /dev/null @@ -1,40 +0,0 @@ -monthlyLimitExceeded = $monthlyLimitExceeded; - $this->response = $response; - } - - public function getMonthlyLimitExceeded(): \Bitly\Model\MonthlyLimitExceeded - { - return $this->monthlyLimitExceeded; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOrganizationSSOSettingsBadRequestException.php b/lib/Exception/CreateOrganizationSSOSettingsBadRequestException.php deleted file mode 100644 index 3bf93fc..0000000 --- a/lib/Exception/CreateOrganizationSSOSettingsBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOrganizationSSOSettingsForbiddenException.php b/lib/Exception/CreateOrganizationSSOSettingsForbiddenException.php deleted file mode 100644 index c6d7af1..0000000 --- a/lib/Exception/CreateOrganizationSSOSettingsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOrganizationSSOSettingsInternalServerErrorException.php b/lib/Exception/CreateOrganizationSSOSettingsInternalServerErrorException.php deleted file mode 100644 index 2f32311..0000000 --- a/lib/Exception/CreateOrganizationSSOSettingsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOrganizationSSOSettingsPaymentRequiredException.php b/lib/Exception/CreateOrganizationSSOSettingsPaymentRequiredException.php deleted file mode 100644 index 8ab4609..0000000 --- a/lib/Exception/CreateOrganizationSSOSettingsPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOrganizationSSOSettingsServiceUnavailableException.php b/lib/Exception/CreateOrganizationSSOSettingsServiceUnavailableException.php deleted file mode 100644 index 52b2065..0000000 --- a/lib/Exception/CreateOrganizationSSOSettingsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOrganizationSSOSettingsUnprocessableEntityException.php b/lib/Exception/CreateOrganizationSSOSettingsUnprocessableEntityException.php deleted file mode 100644 index 83134ba..0000000 --- a/lib/Exception/CreateOrganizationSSOSettingsUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOverridesForBitlinkBadRequestException.php b/lib/Exception/CreateOverridesForBitlinkBadRequestException.php deleted file mode 100644 index 481fd7b..0000000 --- a/lib/Exception/CreateOverridesForBitlinkBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOverridesForBitlinkConflictException.php b/lib/Exception/CreateOverridesForBitlinkConflictException.php deleted file mode 100644 index 6ad430f..0000000 --- a/lib/Exception/CreateOverridesForBitlinkConflictException.php +++ /dev/null @@ -1,40 +0,0 @@ -conflict = $conflict; - $this->response = $response; - } - - public function getConflict(): \Bitly\Model\Conflict - { - return $this->conflict; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOverridesForBitlinkForbiddenException.php b/lib/Exception/CreateOverridesForBitlinkForbiddenException.php deleted file mode 100644 index 1047091..0000000 --- a/lib/Exception/CreateOverridesForBitlinkForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOverridesForBitlinkInternalServerErrorException.php b/lib/Exception/CreateOverridesForBitlinkInternalServerErrorException.php deleted file mode 100644 index 520741c..0000000 --- a/lib/Exception/CreateOverridesForBitlinkInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOverridesForBitlinkNotFoundException.php b/lib/Exception/CreateOverridesForBitlinkNotFoundException.php deleted file mode 100644 index 1897b57..0000000 --- a/lib/Exception/CreateOverridesForBitlinkNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOverridesForBitlinkPaymentRequiredException.php b/lib/Exception/CreateOverridesForBitlinkPaymentRequiredException.php deleted file mode 100644 index fe44f95..0000000 --- a/lib/Exception/CreateOverridesForBitlinkPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOverridesForBitlinkServiceUnavailableException.php b/lib/Exception/CreateOverridesForBitlinkServiceUnavailableException.php deleted file mode 100644 index 279e6f8..0000000 --- a/lib/Exception/CreateOverridesForBitlinkServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOverridesForBitlinkTooManyRequestsException.php b/lib/Exception/CreateOverridesForBitlinkTooManyRequestsException.php deleted file mode 100644 index 4adb7ee..0000000 --- a/lib/Exception/CreateOverridesForBitlinkTooManyRequestsException.php +++ /dev/null @@ -1,40 +0,0 @@ -tooManyRequests = $tooManyRequests; - $this->response = $response; - } - - public function getTooManyRequests(): \Bitly\Model\TooManyRequests - { - return $this->tooManyRequests; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateOverridesForBitlinkUnprocessableEntityException.php b/lib/Exception/CreateOverridesForBitlinkUnprocessableEntityException.php deleted file mode 100644 index e42726a..0000000 --- a/lib/Exception/CreateOverridesForBitlinkUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreatePayPalBillingAgreementBadRequestException.php b/lib/Exception/CreatePayPalBillingAgreementBadRequestException.php deleted file mode 100644 index c737d96..0000000 --- a/lib/Exception/CreatePayPalBillingAgreementBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreatePayPalBillingAgreementForbiddenException.php b/lib/Exception/CreatePayPalBillingAgreementForbiddenException.php deleted file mode 100644 index 57374ce..0000000 --- a/lib/Exception/CreatePayPalBillingAgreementForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreatePayPalBillingAgreementInternalServerErrorException.php b/lib/Exception/CreatePayPalBillingAgreementInternalServerErrorException.php deleted file mode 100644 index d3b9cc7..0000000 --- a/lib/Exception/CreatePayPalBillingAgreementInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreatePayPalBillingAgreementTokenBadRequestException.php b/lib/Exception/CreatePayPalBillingAgreementTokenBadRequestException.php deleted file mode 100644 index 2d38806..0000000 --- a/lib/Exception/CreatePayPalBillingAgreementTokenBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreatePayPalBillingAgreementTokenForbiddenException.php b/lib/Exception/CreatePayPalBillingAgreementTokenForbiddenException.php deleted file mode 100644 index 5148c79..0000000 --- a/lib/Exception/CreatePayPalBillingAgreementTokenForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreatePayPalBillingAgreementTokenInternalServerErrorException.php b/lib/Exception/CreatePayPalBillingAgreementTokenInternalServerErrorException.php deleted file mode 100644 index b3ecefb..0000000 --- a/lib/Exception/CreatePayPalBillingAgreementTokenInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreatePayPalBillingAgreementTokenUnprocessableEntityException.php b/lib/Exception/CreatePayPalBillingAgreementTokenUnprocessableEntityException.php deleted file mode 100644 index 28d7427..0000000 --- a/lib/Exception/CreatePayPalBillingAgreementTokenUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreatePayPalBillingAgreementUnprocessableEntityException.php b/lib/Exception/CreatePayPalBillingAgreementUnprocessableEntityException.php deleted file mode 100644 index 3700a8a..0000000 --- a/lib/Exception/CreatePayPalBillingAgreementUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreatePaymentMethodBadRequestException.php b/lib/Exception/CreatePaymentMethodBadRequestException.php deleted file mode 100644 index 879fac3..0000000 --- a/lib/Exception/CreatePaymentMethodBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreatePaymentMethodForbiddenException.php b/lib/Exception/CreatePaymentMethodForbiddenException.php deleted file mode 100644 index d75dfb0..0000000 --- a/lib/Exception/CreatePaymentMethodForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreatePaymentMethodInternalServerErrorException.php b/lib/Exception/CreatePaymentMethodInternalServerErrorException.php deleted file mode 100644 index aec8939..0000000 --- a/lib/Exception/CreatePaymentMethodInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreatePaymentMethodServiceUnavailableException.php b/lib/Exception/CreatePaymentMethodServiceUnavailableException.php deleted file mode 100644 index fb96ac6..0000000 --- a/lib/Exception/CreatePaymentMethodServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreatePaymentMethodUnprocessableEntityException.php b/lib/Exception/CreatePaymentMethodUnprocessableEntityException.php deleted file mode 100644 index adc1578..0000000 --- a/lib/Exception/CreatePaymentMethodUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateQRCodePreviewBadRequestException.php b/lib/Exception/CreateQRCodePreviewBadRequestException.php deleted file mode 100644 index 8157749..0000000 --- a/lib/Exception/CreateQRCodePreviewBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateQRCodePreviewForbiddenException.php b/lib/Exception/CreateQRCodePreviewForbiddenException.php deleted file mode 100644 index b9a3d99..0000000 --- a/lib/Exception/CreateQRCodePreviewForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateQRCodePreviewGoneException.php b/lib/Exception/CreateQRCodePreviewGoneException.php deleted file mode 100644 index 0fc3922..0000000 --- a/lib/Exception/CreateQRCodePreviewGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateQRCodePreviewInternalServerErrorException.php b/lib/Exception/CreateQRCodePreviewInternalServerErrorException.php deleted file mode 100644 index 231627b..0000000 --- a/lib/Exception/CreateQRCodePreviewInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateQRCodePreviewNotFoundException.php b/lib/Exception/CreateQRCodePreviewNotFoundException.php deleted file mode 100644 index bf848bb..0000000 --- a/lib/Exception/CreateQRCodePreviewNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateQRCodePreviewPaymentRequiredException.php b/lib/Exception/CreateQRCodePreviewPaymentRequiredException.php deleted file mode 100644 index 403a462..0000000 --- a/lib/Exception/CreateQRCodePreviewPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateQRCodeTemplateBadRequestException.php b/lib/Exception/CreateQRCodeTemplateBadRequestException.php deleted file mode 100644 index 6ce9a05..0000000 --- a/lib/Exception/CreateQRCodeTemplateBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateQRCodeTemplateForbiddenException.php b/lib/Exception/CreateQRCodeTemplateForbiddenException.php deleted file mode 100644 index a702d3a..0000000 --- a/lib/Exception/CreateQRCodeTemplateForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateQRCodeTemplateGoneException.php b/lib/Exception/CreateQRCodeTemplateGoneException.php deleted file mode 100644 index 36ef210..0000000 --- a/lib/Exception/CreateQRCodeTemplateGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateQRCodeTemplateInternalServerErrorException.php b/lib/Exception/CreateQRCodeTemplateInternalServerErrorException.php deleted file mode 100644 index 16da406..0000000 --- a/lib/Exception/CreateQRCodeTemplateInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateQRCodeTemplateNotFoundException.php b/lib/Exception/CreateQRCodeTemplateNotFoundException.php deleted file mode 100644 index c62307a..0000000 --- a/lib/Exception/CreateQRCodeTemplateNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateQRCodeTemplatePaymentRequiredException.php b/lib/Exception/CreateQRCodeTemplatePaymentRequiredException.php deleted file mode 100644 index 32990af..0000000 --- a/lib/Exception/CreateQRCodeTemplatePaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateShareableReportBadRequestException.php b/lib/Exception/CreateShareableReportBadRequestException.php deleted file mode 100644 index 79fe1ae..0000000 --- a/lib/Exception/CreateShareableReportBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateShareableReportForbiddenException.php b/lib/Exception/CreateShareableReportForbiddenException.php deleted file mode 100644 index 11b13ae..0000000 --- a/lib/Exception/CreateShareableReportForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateShareableReportInternalServerErrorException.php b/lib/Exception/CreateShareableReportInternalServerErrorException.php deleted file mode 100644 index b5107c5..0000000 --- a/lib/Exception/CreateShareableReportInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateShareableReportNotFoundException.php b/lib/Exception/CreateShareableReportNotFoundException.php deleted file mode 100644 index dc87004..0000000 --- a/lib/Exception/CreateShareableReportNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateShareableReportServiceUnavailableException.php b/lib/Exception/CreateShareableReportServiceUnavailableException.php deleted file mode 100644 index 89535a1..0000000 --- a/lib/Exception/CreateShareableReportServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateShopifyIntegrationOAuthBadRequestException.php b/lib/Exception/CreateShopifyIntegrationOAuthBadRequestException.php deleted file mode 100644 index bd05a75..0000000 --- a/lib/Exception/CreateShopifyIntegrationOAuthBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateShopifyIntegrationOAuthConflictException.php b/lib/Exception/CreateShopifyIntegrationOAuthConflictException.php deleted file mode 100644 index f77d82f..0000000 --- a/lib/Exception/CreateShopifyIntegrationOAuthConflictException.php +++ /dev/null @@ -1,40 +0,0 @@ -conflict = $conflict; - $this->response = $response; - } - - public function getConflict(): \Bitly\Model\Conflict - { - return $this->conflict; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateShopifyIntegrationOAuthForbiddenException.php b/lib/Exception/CreateShopifyIntegrationOAuthForbiddenException.php deleted file mode 100644 index 7d3df7e..0000000 --- a/lib/Exception/CreateShopifyIntegrationOAuthForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateShopifyIntegrationOAuthInternalServerErrorException.php b/lib/Exception/CreateShopifyIntegrationOAuthInternalServerErrorException.php deleted file mode 100644 index e782ae9..0000000 --- a/lib/Exception/CreateShopifyIntegrationOAuthInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateShopifyIntegrationOAuthServiceUnavailableException.php b/lib/Exception/CreateShopifyIntegrationOAuthServiceUnavailableException.php deleted file mode 100644 index 717550a..0000000 --- a/lib/Exception/CreateShopifyIntegrationOAuthServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateShopifyIntegrationOAuthUnprocessableEntityException.php b/lib/Exception/CreateShopifyIntegrationOAuthUnprocessableEntityException.php deleted file mode 100644 index 2862a44..0000000 --- a/lib/Exception/CreateShopifyIntegrationOAuthUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateSiteBadRequestException.php b/lib/Exception/CreateSiteBadRequestException.php deleted file mode 100644 index 7da17c3..0000000 --- a/lib/Exception/CreateSiteBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateSiteContentBadRequestException.php b/lib/Exception/CreateSiteContentBadRequestException.php deleted file mode 100644 index d4d32f7..0000000 --- a/lib/Exception/CreateSiteContentBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateSiteContentForbiddenException.php b/lib/Exception/CreateSiteContentForbiddenException.php deleted file mode 100644 index ad62f7e..0000000 --- a/lib/Exception/CreateSiteContentForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateSiteContentInternalServerErrorException.php b/lib/Exception/CreateSiteContentInternalServerErrorException.php deleted file mode 100644 index 04de34e..0000000 --- a/lib/Exception/CreateSiteContentInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateSiteContentNotFoundException.php b/lib/Exception/CreateSiteContentNotFoundException.php deleted file mode 100644 index 36973a9..0000000 --- a/lib/Exception/CreateSiteContentNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateSiteContentServiceUnavailableException.php b/lib/Exception/CreateSiteContentServiceUnavailableException.php deleted file mode 100644 index 5d4dad7..0000000 --- a/lib/Exception/CreateSiteContentServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateSiteForbiddenException.php b/lib/Exception/CreateSiteForbiddenException.php deleted file mode 100644 index fb6bad2..0000000 --- a/lib/Exception/CreateSiteForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateSiteInternalServerErrorException.php b/lib/Exception/CreateSiteInternalServerErrorException.php deleted file mode 100644 index 6c40f7a..0000000 --- a/lib/Exception/CreateSiteInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateSitePaymentRequiredException.php b/lib/Exception/CreateSitePaymentRequiredException.php deleted file mode 100644 index 260ebb4..0000000 --- a/lib/Exception/CreateSitePaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateSiteServiceUnavailableException.php b/lib/Exception/CreateSiteServiceUnavailableException.php deleted file mode 100644 index 983743d..0000000 --- a/lib/Exception/CreateSiteServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateSiteUnprocessableEntityException.php b/lib/Exception/CreateSiteUnprocessableEntityException.php deleted file mode 100644 index 83e801a..0000000 --- a/lib/Exception/CreateSiteUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateStripeSetupIntentBadRequestException.php b/lib/Exception/CreateStripeSetupIntentBadRequestException.php deleted file mode 100644 index 0a067c1..0000000 --- a/lib/Exception/CreateStripeSetupIntentBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateStripeSetupIntentForbiddenException.php b/lib/Exception/CreateStripeSetupIntentForbiddenException.php deleted file mode 100644 index c3b4b58..0000000 --- a/lib/Exception/CreateStripeSetupIntentForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateStripeSetupIntentInternalServerErrorException.php b/lib/Exception/CreateStripeSetupIntentInternalServerErrorException.php deleted file mode 100644 index c8d990d..0000000 --- a/lib/Exception/CreateStripeSetupIntentInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateStripeSetupIntentServiceUnavailableException.php b/lib/Exception/CreateStripeSetupIntentServiceUnavailableException.php deleted file mode 100644 index 51682ba..0000000 --- a/lib/Exception/CreateStripeSetupIntentServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateStripeSetupIntentUnprocessableEntityException.php b/lib/Exception/CreateStripeSetupIntentUnprocessableEntityException.php deleted file mode 100644 index c241251..0000000 --- a/lib/Exception/CreateStripeSetupIntentUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateSubscriptionBadRequestException.php b/lib/Exception/CreateSubscriptionBadRequestException.php deleted file mode 100644 index 22ac665..0000000 --- a/lib/Exception/CreateSubscriptionBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateSubscriptionForbiddenException.php b/lib/Exception/CreateSubscriptionForbiddenException.php deleted file mode 100644 index ab05b6c..0000000 --- a/lib/Exception/CreateSubscriptionForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateSubscriptionInternalServerErrorException.php b/lib/Exception/CreateSubscriptionInternalServerErrorException.php deleted file mode 100644 index 0f73998..0000000 --- a/lib/Exception/CreateSubscriptionInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateSubscriptionUnprocessableEntityException.php b/lib/Exception/CreateSubscriptionUnprocessableEntityException.php deleted file mode 100644 index 9f702da..0000000 --- a/lib/Exception/CreateSubscriptionUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateUserBadRequestException.php b/lib/Exception/CreateUserBadRequestException.php deleted file mode 100644 index 22c96a1..0000000 --- a/lib/Exception/CreateUserBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateUserInternalServerErrorException.php b/lib/Exception/CreateUserInternalServerErrorException.php deleted file mode 100644 index 4e650c7..0000000 --- a/lib/Exception/CreateUserInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateUserTooManyRequestsException.php b/lib/Exception/CreateUserTooManyRequestsException.php deleted file mode 100644 index 6d114af..0000000 --- a/lib/Exception/CreateUserTooManyRequestsException.php +++ /dev/null @@ -1,40 +0,0 @@ -tooManyRequests = $tooManyRequests; - $this->response = $response; - } - - public function getTooManyRequests(): \Bitly\Model\TooManyRequests - { - return $this->tooManyRequests; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/CreateUserUnprocessableEntityException.php b/lib/Exception/CreateUserUnprocessableEntityException.php deleted file mode 100644 index 446c1c5..0000000 --- a/lib/Exception/CreateUserUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeactivateDeeplinkAppForbiddenException.php b/lib/Exception/DeactivateDeeplinkAppForbiddenException.php deleted file mode 100644 index aa0a835..0000000 --- a/lib/Exception/DeactivateDeeplinkAppForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeactivateDeeplinkAppInternalServerErrorException.php b/lib/Exception/DeactivateDeeplinkAppInternalServerErrorException.php deleted file mode 100644 index 0d8c1df..0000000 --- a/lib/Exception/DeactivateDeeplinkAppInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeactivateDeeplinkAppNotFoundException.php b/lib/Exception/DeactivateDeeplinkAppNotFoundException.php deleted file mode 100644 index 36956d5..0000000 --- a/lib/Exception/DeactivateDeeplinkAppNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeactivateDeeplinkAppPaymentRequiredException.php b/lib/Exception/DeactivateDeeplinkAppPaymentRequiredException.php deleted file mode 100644 index 70728d6..0000000 --- a/lib/Exception/DeactivateDeeplinkAppPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeactivateDeeplinkAppServiceUnavailableException.php b/lib/Exception/DeactivateDeeplinkAppServiceUnavailableException.php deleted file mode 100644 index 11b792f..0000000 --- a/lib/Exception/DeactivateDeeplinkAppServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteAnalyticsModuleByReportForbiddenException.php b/lib/Exception/DeleteAnalyticsModuleByReportForbiddenException.php deleted file mode 100644 index e90ffbe..0000000 --- a/lib/Exception/DeleteAnalyticsModuleByReportForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteAnalyticsModuleByReportInternalServerErrorException.php b/lib/Exception/DeleteAnalyticsModuleByReportInternalServerErrorException.php deleted file mode 100644 index 134eb19..0000000 --- a/lib/Exception/DeleteAnalyticsModuleByReportInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteAnalyticsModuleByReportNotFoundException.php b/lib/Exception/DeleteAnalyticsModuleByReportNotFoundException.php deleted file mode 100644 index 9a8ff61..0000000 --- a/lib/Exception/DeleteAnalyticsModuleByReportNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteAnalyticsModuleByReportPaymentRequiredException.php b/lib/Exception/DeleteAnalyticsModuleByReportPaymentRequiredException.php deleted file mode 100644 index 988585c..0000000 --- a/lib/Exception/DeleteAnalyticsModuleByReportPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteAnalyticsModuleForbiddenException.php b/lib/Exception/DeleteAnalyticsModuleForbiddenException.php deleted file mode 100644 index d5882f3..0000000 --- a/lib/Exception/DeleteAnalyticsModuleForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteAnalyticsModuleInternalServerErrorException.php b/lib/Exception/DeleteAnalyticsModuleInternalServerErrorException.php deleted file mode 100644 index 7318265..0000000 --- a/lib/Exception/DeleteAnalyticsModuleInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteAnalyticsModuleNotFoundException.php b/lib/Exception/DeleteAnalyticsModuleNotFoundException.php deleted file mode 100644 index 7ea849e..0000000 --- a/lib/Exception/DeleteAnalyticsModuleNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteAnalyticsModulePaymentRequiredException.php b/lib/Exception/DeleteAnalyticsModulePaymentRequiredException.php deleted file mode 100644 index 0457169..0000000 --- a/lib/Exception/DeleteAnalyticsModulePaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteAnalyticsReportBadRequestException.php b/lib/Exception/DeleteAnalyticsReportBadRequestException.php deleted file mode 100644 index 360c82e..0000000 --- a/lib/Exception/DeleteAnalyticsReportBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteAnalyticsReportForbiddenException.php b/lib/Exception/DeleteAnalyticsReportForbiddenException.php deleted file mode 100644 index e81cc7b..0000000 --- a/lib/Exception/DeleteAnalyticsReportForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteAnalyticsReportInternalServerErrorException.php b/lib/Exception/DeleteAnalyticsReportInternalServerErrorException.php deleted file mode 100644 index 0cee514..0000000 --- a/lib/Exception/DeleteAnalyticsReportInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteAnalyticsReportNotFoundException.php b/lib/Exception/DeleteAnalyticsReportNotFoundException.php deleted file mode 100644 index c20f8d0..0000000 --- a/lib/Exception/DeleteAnalyticsReportNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteAnalyticsReportPaymentRequiredException.php b/lib/Exception/DeleteAnalyticsReportPaymentRequiredException.php deleted file mode 100644 index 9975d88..0000000 --- a/lib/Exception/DeleteAnalyticsReportPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteAnalyticsReportServiceUnavailableException.php b/lib/Exception/DeleteAnalyticsReportServiceUnavailableException.php deleted file mode 100644 index c3562be..0000000 --- a/lib/Exception/DeleteAnalyticsReportServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteCampaignForbiddenException.php b/lib/Exception/DeleteCampaignForbiddenException.php deleted file mode 100644 index a666b68..0000000 --- a/lib/Exception/DeleteCampaignForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteCampaignInternalServerErrorException.php b/lib/Exception/DeleteCampaignInternalServerErrorException.php deleted file mode 100644 index 6ff2d05..0000000 --- a/lib/Exception/DeleteCampaignInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteCampaignNotFoundException.php b/lib/Exception/DeleteCampaignNotFoundException.php deleted file mode 100644 index 36aa488..0000000 --- a/lib/Exception/DeleteCampaignNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteCampaignPaymentRequiredException.php b/lib/Exception/DeleteCampaignPaymentRequiredException.php deleted file mode 100644 index b350435..0000000 --- a/lib/Exception/DeleteCampaignPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteCampaignServiceUnavailableException.php b/lib/Exception/DeleteCampaignServiceUnavailableException.php deleted file mode 100644 index f6c1807..0000000 --- a/lib/Exception/DeleteCampaignServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteCanvaUserBrandsByLoginBadRequestException.php b/lib/Exception/DeleteCanvaUserBrandsByLoginBadRequestException.php deleted file mode 100644 index 6bfac04..0000000 --- a/lib/Exception/DeleteCanvaUserBrandsByLoginBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteCanvaUserBrandsByLoginInternalServerErrorException.php b/lib/Exception/DeleteCanvaUserBrandsByLoginInternalServerErrorException.php deleted file mode 100644 index 663a036..0000000 --- a/lib/Exception/DeleteCanvaUserBrandsByLoginInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteChannelBitlinkBadRequestException.php b/lib/Exception/DeleteChannelBitlinkBadRequestException.php deleted file mode 100644 index c915b16..0000000 --- a/lib/Exception/DeleteChannelBitlinkBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteChannelBitlinkInternalServerErrorException.php b/lib/Exception/DeleteChannelBitlinkInternalServerErrorException.php deleted file mode 100644 index 4258057..0000000 --- a/lib/Exception/DeleteChannelBitlinkInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteChannelBitlinkUnprocessableEntityException.php b/lib/Exception/DeleteChannelBitlinkUnprocessableEntityException.php deleted file mode 100644 index c3caae9..0000000 --- a/lib/Exception/DeleteChannelBitlinkUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteChannelForbiddenException.php b/lib/Exception/DeleteChannelForbiddenException.php deleted file mode 100644 index 092014f..0000000 --- a/lib/Exception/DeleteChannelForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteChannelInternalServerErrorException.php b/lib/Exception/DeleteChannelInternalServerErrorException.php deleted file mode 100644 index 94989b1..0000000 --- a/lib/Exception/DeleteChannelInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteChannelNotFoundException.php b/lib/Exception/DeleteChannelNotFoundException.php deleted file mode 100644 index 7af32fc..0000000 --- a/lib/Exception/DeleteChannelNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteChannelPaymentRequiredException.php b/lib/Exception/DeleteChannelPaymentRequiredException.php deleted file mode 100644 index fbc2a18..0000000 --- a/lib/Exception/DeleteChannelPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteChannelServiceUnavailableException.php b/lib/Exception/DeleteChannelServiceUnavailableException.php deleted file mode 100644 index bba8289..0000000 --- a/lib/Exception/DeleteChannelServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteCustomDomainForbiddenException.php b/lib/Exception/DeleteCustomDomainForbiddenException.php deleted file mode 100644 index 98b453d..0000000 --- a/lib/Exception/DeleteCustomDomainForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteCustomDomainInternalServerErrorException.php b/lib/Exception/DeleteCustomDomainInternalServerErrorException.php deleted file mode 100644 index f351fd4..0000000 --- a/lib/Exception/DeleteCustomDomainInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteCustomDomainUnprocessableEntityException.php b/lib/Exception/DeleteCustomDomainUnprocessableEntityException.php deleted file mode 100644 index f461258..0000000 --- a/lib/Exception/DeleteCustomDomainUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteDeeplinkRuleForbiddenException.php b/lib/Exception/DeleteDeeplinkRuleForbiddenException.php deleted file mode 100644 index 5b17e39..0000000 --- a/lib/Exception/DeleteDeeplinkRuleForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteDeeplinkRuleInternalServerErrorException.php b/lib/Exception/DeleteDeeplinkRuleInternalServerErrorException.php deleted file mode 100644 index ad8025a..0000000 --- a/lib/Exception/DeleteDeeplinkRuleInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteDeeplinkRuleNotFoundException.php b/lib/Exception/DeleteDeeplinkRuleNotFoundException.php deleted file mode 100644 index 8a19f30..0000000 --- a/lib/Exception/DeleteDeeplinkRuleNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteDeeplinkRulePaymentRequiredException.php b/lib/Exception/DeleteDeeplinkRulePaymentRequiredException.php deleted file mode 100644 index 71491f4..0000000 --- a/lib/Exception/DeleteDeeplinkRulePaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteDeeplinkRuleServiceUnavailableException.php b/lib/Exception/DeleteDeeplinkRuleServiceUnavailableException.php deleted file mode 100644 index cbfd26b..0000000 --- a/lib/Exception/DeleteDeeplinkRuleServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteEmailBadRequestException.php b/lib/Exception/DeleteEmailBadRequestException.php deleted file mode 100644 index 8f42614..0000000 --- a/lib/Exception/DeleteEmailBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteEmailForbiddenException.php b/lib/Exception/DeleteEmailForbiddenException.php deleted file mode 100644 index d157d82..0000000 --- a/lib/Exception/DeleteEmailForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteEmailInternalServerErrorException.php b/lib/Exception/DeleteEmailInternalServerErrorException.php deleted file mode 100644 index 0ff376d..0000000 --- a/lib/Exception/DeleteEmailInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteEmailNotFoundException.php b/lib/Exception/DeleteEmailNotFoundException.php deleted file mode 100644 index 98a5ad4..0000000 --- a/lib/Exception/DeleteEmailNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteEmailServiceUnavailableException.php b/lib/Exception/DeleteEmailServiceUnavailableException.php deleted file mode 100644 index 87f2bce..0000000 --- a/lib/Exception/DeleteEmailServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteGroupForbiddenException.php b/lib/Exception/DeleteGroupForbiddenException.php deleted file mode 100644 index df9619b..0000000 --- a/lib/Exception/DeleteGroupForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteGroupInternalServerErrorException.php b/lib/Exception/DeleteGroupInternalServerErrorException.php deleted file mode 100644 index e25e2a7..0000000 --- a/lib/Exception/DeleteGroupInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteGroupNotFoundException.php b/lib/Exception/DeleteGroupNotFoundException.php deleted file mode 100644 index a5df617..0000000 --- a/lib/Exception/DeleteGroupNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteGroupServiceUnavailableException.php b/lib/Exception/DeleteGroupServiceUnavailableException.php deleted file mode 100644 index 273ecc6..0000000 --- a/lib/Exception/DeleteGroupServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteGroupTooManyRequestsException.php b/lib/Exception/DeleteGroupTooManyRequestsException.php deleted file mode 100644 index e3946c9..0000000 --- a/lib/Exception/DeleteGroupTooManyRequestsException.php +++ /dev/null @@ -1,40 +0,0 @@ -monthlyLimitExceeded = $monthlyLimitExceeded; - $this->response = $response; - } - - public function getMonthlyLimitExceeded(): \Bitly\Model\MonthlyLimitExceeded - { - return $this->monthlyLimitExceeded; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteIntegrationOAuthBadRequestException.php b/lib/Exception/DeleteIntegrationOAuthBadRequestException.php deleted file mode 100644 index 88c982e..0000000 --- a/lib/Exception/DeleteIntegrationOAuthBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteIntegrationOAuthForbiddenException.php b/lib/Exception/DeleteIntegrationOAuthForbiddenException.php deleted file mode 100644 index 66ed025..0000000 --- a/lib/Exception/DeleteIntegrationOAuthForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteIntegrationOAuthInternalServerErrorException.php b/lib/Exception/DeleteIntegrationOAuthInternalServerErrorException.php deleted file mode 100644 index f08a86e..0000000 --- a/lib/Exception/DeleteIntegrationOAuthInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteIntegrationOAuthServiceUnavailableException.php b/lib/Exception/DeleteIntegrationOAuthServiceUnavailableException.php deleted file mode 100644 index ecad4c6..0000000 --- a/lib/Exception/DeleteIntegrationOAuthServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteInvitationForbiddenException.php b/lib/Exception/DeleteInvitationForbiddenException.php deleted file mode 100644 index 4228f7f..0000000 --- a/lib/Exception/DeleteInvitationForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteInvitationInternalServerErrorException.php b/lib/Exception/DeleteInvitationInternalServerErrorException.php deleted file mode 100644 index a439b76..0000000 --- a/lib/Exception/DeleteInvitationInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteInvitationNotFoundException.php b/lib/Exception/DeleteInvitationNotFoundException.php deleted file mode 100644 index f880d9a..0000000 --- a/lib/Exception/DeleteInvitationNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteInvitationTooManyRequestsException.php b/lib/Exception/DeleteInvitationTooManyRequestsException.php deleted file mode 100644 index d381811..0000000 --- a/lib/Exception/DeleteInvitationTooManyRequestsException.php +++ /dev/null @@ -1,40 +0,0 @@ -monthlyLimitExceeded = $monthlyLimitExceeded; - $this->response = $response; - } - - public function getMonthlyLimitExceeded(): \Bitly\Model\MonthlyLimitExceeded - { - return $this->monthlyLimitExceeded; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteLaunchpadBadRequestException.php b/lib/Exception/DeleteLaunchpadBadRequestException.php deleted file mode 100644 index 5ce4f0a..0000000 --- a/lib/Exception/DeleteLaunchpadBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteLaunchpadButtonForbiddenException.php b/lib/Exception/DeleteLaunchpadButtonForbiddenException.php deleted file mode 100644 index 646d3bb..0000000 --- a/lib/Exception/DeleteLaunchpadButtonForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteLaunchpadButtonInternalServerErrorException.php b/lib/Exception/DeleteLaunchpadButtonInternalServerErrorException.php deleted file mode 100644 index 3cca22b..0000000 --- a/lib/Exception/DeleteLaunchpadButtonInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteLaunchpadButtonNotFoundException.php b/lib/Exception/DeleteLaunchpadButtonNotFoundException.php deleted file mode 100644 index 86165e4..0000000 --- a/lib/Exception/DeleteLaunchpadButtonNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteLaunchpadButtonServiceUnavailableException.php b/lib/Exception/DeleteLaunchpadButtonServiceUnavailableException.php deleted file mode 100644 index 072799d..0000000 --- a/lib/Exception/DeleteLaunchpadButtonServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteLaunchpadForbiddenException.php b/lib/Exception/DeleteLaunchpadForbiddenException.php deleted file mode 100644 index 9b92cd3..0000000 --- a/lib/Exception/DeleteLaunchpadForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteLaunchpadImageByImageUseForbiddenException.php b/lib/Exception/DeleteLaunchpadImageByImageUseForbiddenException.php deleted file mode 100644 index 3827a55..0000000 --- a/lib/Exception/DeleteLaunchpadImageByImageUseForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteLaunchpadImageByImageUseInternalServerErrorException.php b/lib/Exception/DeleteLaunchpadImageByImageUseInternalServerErrorException.php deleted file mode 100644 index a345ed1..0000000 --- a/lib/Exception/DeleteLaunchpadImageByImageUseInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteLaunchpadImageByImageUseNotFoundException.php b/lib/Exception/DeleteLaunchpadImageByImageUseNotFoundException.php deleted file mode 100644 index dfe1833..0000000 --- a/lib/Exception/DeleteLaunchpadImageByImageUseNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteLaunchpadImageByImageUseServiceUnavailableException.php b/lib/Exception/DeleteLaunchpadImageByImageUseServiceUnavailableException.php deleted file mode 100644 index 4259d1e..0000000 --- a/lib/Exception/DeleteLaunchpadImageByImageUseServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteLaunchpadInternalServerErrorException.php b/lib/Exception/DeleteLaunchpadInternalServerErrorException.php deleted file mode 100644 index 01a2a35..0000000 --- a/lib/Exception/DeleteLaunchpadInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteLaunchpadNotFoundException.php b/lib/Exception/DeleteLaunchpadNotFoundException.php deleted file mode 100644 index 8a591d0..0000000 --- a/lib/Exception/DeleteLaunchpadNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteLaunchpadServiceUnavailableException.php b/lib/Exception/DeleteLaunchpadServiceUnavailableException.php deleted file mode 100644 index 1ed2772..0000000 --- a/lib/Exception/DeleteLaunchpadServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteQRCodeTemplateForbiddenException.php b/lib/Exception/DeleteQRCodeTemplateForbiddenException.php deleted file mode 100644 index 1a17899..0000000 --- a/lib/Exception/DeleteQRCodeTemplateForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteQRCodeTemplateInternalServerErrorException.php b/lib/Exception/DeleteQRCodeTemplateInternalServerErrorException.php deleted file mode 100644 index cd7c81c..0000000 --- a/lib/Exception/DeleteQRCodeTemplateInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteQRCodeTemplateNotFoundException.php b/lib/Exception/DeleteQRCodeTemplateNotFoundException.php deleted file mode 100644 index c25247b..0000000 --- a/lib/Exception/DeleteQRCodeTemplateNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteQRCodeTemplateServiceUnavailableException.php b/lib/Exception/DeleteQRCodeTemplateServiceUnavailableException.php deleted file mode 100644 index cdadd16..0000000 --- a/lib/Exception/DeleteQRCodeTemplateServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteSiteBadRequestException.php b/lib/Exception/DeleteSiteBadRequestException.php deleted file mode 100644 index dcc96bb..0000000 --- a/lib/Exception/DeleteSiteBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteSiteButtonBadRequestException.php b/lib/Exception/DeleteSiteButtonBadRequestException.php deleted file mode 100644 index e231dce..0000000 --- a/lib/Exception/DeleteSiteButtonBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteSiteButtonForbiddenException.php b/lib/Exception/DeleteSiteButtonForbiddenException.php deleted file mode 100644 index 92400c9..0000000 --- a/lib/Exception/DeleteSiteButtonForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteSiteButtonInternalServerErrorException.php b/lib/Exception/DeleteSiteButtonInternalServerErrorException.php deleted file mode 100644 index 4e9a65a..0000000 --- a/lib/Exception/DeleteSiteButtonInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteSiteButtonNotFoundException.php b/lib/Exception/DeleteSiteButtonNotFoundException.php deleted file mode 100644 index 5a47a63..0000000 --- a/lib/Exception/DeleteSiteButtonNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteSiteButtonServiceUnavailableException.php b/lib/Exception/DeleteSiteButtonServiceUnavailableException.php deleted file mode 100644 index 9e60721..0000000 --- a/lib/Exception/DeleteSiteButtonServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteSiteForbiddenException.php b/lib/Exception/DeleteSiteForbiddenException.php deleted file mode 100644 index 69c2018..0000000 --- a/lib/Exception/DeleteSiteForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteSiteInternalServerErrorException.php b/lib/Exception/DeleteSiteInternalServerErrorException.php deleted file mode 100644 index a73d0de..0000000 --- a/lib/Exception/DeleteSiteInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteSiteNotFoundException.php b/lib/Exception/DeleteSiteNotFoundException.php deleted file mode 100644 index 007fb22..0000000 --- a/lib/Exception/DeleteSiteNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteSiteServiceUnavailableException.php b/lib/Exception/DeleteSiteServiceUnavailableException.php deleted file mode 100644 index 665d03e..0000000 --- a/lib/Exception/DeleteSiteServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteUserBadRequestException.php b/lib/Exception/DeleteUserBadRequestException.php deleted file mode 100644 index a0a6b06..0000000 --- a/lib/Exception/DeleteUserBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteUserForbiddenException.php b/lib/Exception/DeleteUserForbiddenException.php deleted file mode 100644 index 505a0c8..0000000 --- a/lib/Exception/DeleteUserForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteUserInternalServerErrorException.php b/lib/Exception/DeleteUserInternalServerErrorException.php deleted file mode 100644 index 0d40369..0000000 --- a/lib/Exception/DeleteUserInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteUserWithRoleBadRequestException.php b/lib/Exception/DeleteUserWithRoleBadRequestException.php deleted file mode 100644 index ad95ce3..0000000 --- a/lib/Exception/DeleteUserWithRoleBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteUserWithRoleForbiddenException.php b/lib/Exception/DeleteUserWithRoleForbiddenException.php deleted file mode 100644 index 7df80c4..0000000 --- a/lib/Exception/DeleteUserWithRoleForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteUserWithRoleInternalServerErrorException.php b/lib/Exception/DeleteUserWithRoleInternalServerErrorException.php deleted file mode 100644 index a9e1d4e..0000000 --- a/lib/Exception/DeleteUserWithRoleInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteUserWithRoleServiceUnavailableException.php b/lib/Exception/DeleteUserWithRoleServiceUnavailableException.php deleted file mode 100644 index ac206e0..0000000 --- a/lib/Exception/DeleteUserWithRoleServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DeleteUserWithRoleUnprocessableEntityException.php b/lib/Exception/DeleteUserWithRoleUnprocessableEntityException.php deleted file mode 100644 index d809659..0000000 --- a/lib/Exception/DeleteUserWithRoleUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/Disable2FABadRequestException.php b/lib/Exception/Disable2FABadRequestException.php deleted file mode 100644 index 425e8db..0000000 --- a/lib/Exception/Disable2FABadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/Disable2FAForbiddenException.php b/lib/Exception/Disable2FAForbiddenException.php deleted file mode 100644 index 6ba4e5c..0000000 --- a/lib/Exception/Disable2FAForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/Disable2FAInternalServerErrorException.php b/lib/Exception/Disable2FAInternalServerErrorException.php deleted file mode 100644 index 21098f6..0000000 --- a/lib/Exception/Disable2FAInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/Disable2FANotFoundException.php b/lib/Exception/Disable2FANotFoundException.php deleted file mode 100644 index 49c24ee..0000000 --- a/lib/Exception/Disable2FANotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/Disable2FAServiceUnavailableException.php b/lib/Exception/Disable2FAServiceUnavailableException.php deleted file mode 100644 index f68bb22..0000000 --- a/lib/Exception/Disable2FAServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/Disable2FAUnauthorizedException.php b/lib/Exception/Disable2FAUnauthorizedException.php deleted file mode 100644 index 72b5704..0000000 --- a/lib/Exception/Disable2FAUnauthorizedException.php +++ /dev/null @@ -1,40 +0,0 @@ -unauthorized = $unauthorized; - $this->response = $response; - } - - public function getUnauthorized(): \Bitly\Model\Unauthorized - { - return $this->unauthorized; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/Disable2FAUnprocessableEntityException.php b/lib/Exception/Disable2FAUnprocessableEntityException.php deleted file mode 100644 index 1cff72a..0000000 --- a/lib/Exception/Disable2FAUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DiscardDraftLaunchpadBadRequestException.php b/lib/Exception/DiscardDraftLaunchpadBadRequestException.php deleted file mode 100644 index b0546d8..0000000 --- a/lib/Exception/DiscardDraftLaunchpadBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DiscardDraftLaunchpadForbiddenException.php b/lib/Exception/DiscardDraftLaunchpadForbiddenException.php deleted file mode 100644 index e996689..0000000 --- a/lib/Exception/DiscardDraftLaunchpadForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DiscardDraftLaunchpadInternalServerErrorException.php b/lib/Exception/DiscardDraftLaunchpadInternalServerErrorException.php deleted file mode 100644 index d7141f7..0000000 --- a/lib/Exception/DiscardDraftLaunchpadInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DiscardDraftLaunchpadServiceUnavailableException.php b/lib/Exception/DiscardDraftLaunchpadServiceUnavailableException.php deleted file mode 100644 index f8d2320..0000000 --- a/lib/Exception/DiscardDraftLaunchpadServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DiscardSiteDraftBadRequestException.php b/lib/Exception/DiscardSiteDraftBadRequestException.php deleted file mode 100644 index 922aaf9..0000000 --- a/lib/Exception/DiscardSiteDraftBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DiscardSiteDraftForbiddenException.php b/lib/Exception/DiscardSiteDraftForbiddenException.php deleted file mode 100644 index bc968a7..0000000 --- a/lib/Exception/DiscardSiteDraftForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DiscardSiteDraftInternalServerErrorException.php b/lib/Exception/DiscardSiteDraftInternalServerErrorException.php deleted file mode 100644 index 9dd4a16..0000000 --- a/lib/Exception/DiscardSiteDraftInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DiscardSiteDraftNotFoundException.php b/lib/Exception/DiscardSiteDraftNotFoundException.php deleted file mode 100644 index 650e964..0000000 --- a/lib/Exception/DiscardSiteDraftNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DiscardSiteDraftUnprocessableEntityException.php b/lib/Exception/DiscardSiteDraftUnprocessableEntityException.php deleted file mode 100644 index aee076d..0000000 --- a/lib/Exception/DiscardSiteDraftUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DowngradeOrganizationInternalServerErrorException.php b/lib/Exception/DowngradeOrganizationInternalServerErrorException.php deleted file mode 100644 index 46b927b..0000000 --- a/lib/Exception/DowngradeOrganizationInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DowngradeOrganizationUnprocessableEntityException.php b/lib/Exception/DowngradeOrganizationUnprocessableEntityException.php deleted file mode 100644 index 19776c7..0000000 --- a/lib/Exception/DowngradeOrganizationUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DuplicateAnalyticsReportBadRequestException.php b/lib/Exception/DuplicateAnalyticsReportBadRequestException.php deleted file mode 100644 index 23323f7..0000000 --- a/lib/Exception/DuplicateAnalyticsReportBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DuplicateAnalyticsReportForbiddenException.php b/lib/Exception/DuplicateAnalyticsReportForbiddenException.php deleted file mode 100644 index d790f89..0000000 --- a/lib/Exception/DuplicateAnalyticsReportForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DuplicateAnalyticsReportInternalServerErrorException.php b/lib/Exception/DuplicateAnalyticsReportInternalServerErrorException.php deleted file mode 100644 index 1cb0c83..0000000 --- a/lib/Exception/DuplicateAnalyticsReportInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DuplicateAnalyticsReportNotFoundException.php b/lib/Exception/DuplicateAnalyticsReportNotFoundException.php deleted file mode 100644 index cbc9330..0000000 --- a/lib/Exception/DuplicateAnalyticsReportNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/DuplicateAnalyticsReportServiceUnavailableException.php b/lib/Exception/DuplicateAnalyticsReportServiceUnavailableException.php deleted file mode 100644 index db1edd7..0000000 --- a/lib/Exception/DuplicateAnalyticsReportServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/EditCustomDomainForbiddenException.php b/lib/Exception/EditCustomDomainForbiddenException.php deleted file mode 100644 index b448e13..0000000 --- a/lib/Exception/EditCustomDomainForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/EditCustomDomainInternalServerErrorException.php b/lib/Exception/EditCustomDomainInternalServerErrorException.php deleted file mode 100644 index 65376ee..0000000 --- a/lib/Exception/EditCustomDomainInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/EditQRCodePreviewBadRequestException.php b/lib/Exception/EditQRCodePreviewBadRequestException.php deleted file mode 100644 index b1873a3..0000000 --- a/lib/Exception/EditQRCodePreviewBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/EditQRCodePreviewForbiddenException.php b/lib/Exception/EditQRCodePreviewForbiddenException.php deleted file mode 100644 index f2e58a9..0000000 --- a/lib/Exception/EditQRCodePreviewForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/EditQRCodePreviewGoneException.php b/lib/Exception/EditQRCodePreviewGoneException.php deleted file mode 100644 index 688c62a..0000000 --- a/lib/Exception/EditQRCodePreviewGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/EditQRCodePreviewInternalServerErrorException.php b/lib/Exception/EditQRCodePreviewInternalServerErrorException.php deleted file mode 100644 index a1076ab..0000000 --- a/lib/Exception/EditQRCodePreviewInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/EditQRCodePreviewNotFoundException.php b/lib/Exception/EditQRCodePreviewNotFoundException.php deleted file mode 100644 index 1069cde..0000000 --- a/lib/Exception/EditQRCodePreviewNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/EditQRCodePreviewPaymentRequiredException.php b/lib/Exception/EditQRCodePreviewPaymentRequiredException.php deleted file mode 100644 index 53bd7f8..0000000 --- a/lib/Exception/EditQRCodePreviewPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/EvaluateInterventionBadRequestException.php b/lib/Exception/EvaluateInterventionBadRequestException.php deleted file mode 100644 index 338c76c..0000000 --- a/lib/Exception/EvaluateInterventionBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/EvaluateInterventionForbiddenException.php b/lib/Exception/EvaluateInterventionForbiddenException.php deleted file mode 100644 index 1e8b99b..0000000 --- a/lib/Exception/EvaluateInterventionForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/EvaluateInterventionInternalServerErrorException.php b/lib/Exception/EvaluateInterventionInternalServerErrorException.php deleted file mode 100644 index 9611902..0000000 --- a/lib/Exception/EvaluateInterventionInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/EvaluateInterventionServiceUnavailableException.php b/lib/Exception/EvaluateInterventionServiceUnavailableException.php deleted file mode 100644 index 16ca60e..0000000 --- a/lib/Exception/EvaluateInterventionServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/EvaluateInterventionUnprocessableEntityException.php b/lib/Exception/EvaluateInterventionUnprocessableEntityException.php deleted file mode 100644 index f8b42dd..0000000 --- a/lib/Exception/EvaluateInterventionUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ExperimentDecideBadRequestException.php b/lib/Exception/ExperimentDecideBadRequestException.php deleted file mode 100644 index 3b391a2..0000000 --- a/lib/Exception/ExperimentDecideBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ExperimentDecideForbiddenException.php b/lib/Exception/ExperimentDecideForbiddenException.php deleted file mode 100644 index 55ecfba..0000000 --- a/lib/Exception/ExperimentDecideForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ExperimentDecideInternalServerErrorException.php b/lib/Exception/ExperimentDecideInternalServerErrorException.php deleted file mode 100644 index 8fb4c63..0000000 --- a/lib/Exception/ExperimentDecideInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ExperimentDecideUnprocessableEntityException.php b/lib/Exception/ExperimentDecideUnprocessableEntityException.php deleted file mode 100644 index 361979e..0000000 --- a/lib/Exception/ExperimentDecideUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ExperimentTrackForbiddenException.php b/lib/Exception/ExperimentTrackForbiddenException.php deleted file mode 100644 index 93096de..0000000 --- a/lib/Exception/ExperimentTrackForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ExperimentTrackInternalServerErrorException.php b/lib/Exception/ExperimentTrackInternalServerErrorException.php deleted file mode 100644 index e52c4de..0000000 --- a/lib/Exception/ExperimentTrackInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ExperimentTrackUnprocessableEntityException.php b/lib/Exception/ExperimentTrackUnprocessableEntityException.php deleted file mode 100644 index e52aaa6..0000000 --- a/lib/Exception/ExperimentTrackUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ExpireOAuthAuthorizationBadRequestException.php b/lib/Exception/ExpireOAuthAuthorizationBadRequestException.php deleted file mode 100644 index 7df1d37..0000000 --- a/lib/Exception/ExpireOAuthAuthorizationBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ExpireOAuthAuthorizationInternalServerErrorException.php b/lib/Exception/ExpireOAuthAuthorizationInternalServerErrorException.php deleted file mode 100644 index 799bc96..0000000 --- a/lib/Exception/ExpireOAuthAuthorizationInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ExpireOAuthAuthorizationNotFoundException.php b/lib/Exception/ExpireOAuthAuthorizationNotFoundException.php deleted file mode 100644 index 0d6d65a..0000000 --- a/lib/Exception/ExpireOAuthAuthorizationNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ExpireOAuthAuthorizationServiceUnavailableException.php b/lib/Exception/ExpireOAuthAuthorizationServiceUnavailableException.php deleted file mode 100644 index d6d3333..0000000 --- a/lib/Exception/ExpireOAuthAuthorizationServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/FetchCompDomainPurchaseForbiddenException.php b/lib/Exception/FetchCompDomainPurchaseForbiddenException.php deleted file mode 100644 index e6d83aa..0000000 --- a/lib/Exception/FetchCompDomainPurchaseForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/FetchCompDomainPurchaseGatewayTimeoutException.php b/lib/Exception/FetchCompDomainPurchaseGatewayTimeoutException.php deleted file mode 100644 index f8defd0..0000000 --- a/lib/Exception/FetchCompDomainPurchaseGatewayTimeoutException.php +++ /dev/null @@ -1,40 +0,0 @@ -timeout = $timeout; - $this->response = $response; - } - - public function getTimeout(): \Bitly\Model\Timeout - { - return $this->timeout; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/FetchCompDomainPurchaseInternalServerErrorException.php b/lib/Exception/FetchCompDomainPurchaseInternalServerErrorException.php deleted file mode 100644 index 8f5ff90..0000000 --- a/lib/Exception/FetchCompDomainPurchaseInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/FetchDomainAgreementsInternalServerErrorException.php b/lib/Exception/FetchDomainAgreementsInternalServerErrorException.php deleted file mode 100644 index daecfc2..0000000 --- a/lib/Exception/FetchDomainAgreementsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/FetchDomainStatusForbiddenException.php b/lib/Exception/FetchDomainStatusForbiddenException.php deleted file mode 100644 index f65cdce..0000000 --- a/lib/Exception/FetchDomainStatusForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/FetchDomainStatusGatewayTimeoutException.php b/lib/Exception/FetchDomainStatusGatewayTimeoutException.php deleted file mode 100644 index 597c9ec..0000000 --- a/lib/Exception/FetchDomainStatusGatewayTimeoutException.php +++ /dev/null @@ -1,40 +0,0 @@ -timeout = $timeout; - $this->response = $response; - } - - public function getTimeout(): \Bitly\Model\Timeout - { - return $this->timeout; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/FetchDomainStatusInternalServerErrorException.php b/lib/Exception/FetchDomainStatusInternalServerErrorException.php deleted file mode 100644 index 761ce5f..0000000 --- a/lib/Exception/FetchDomainStatusInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ForgetUserForbiddenException.php b/lib/Exception/ForgetUserForbiddenException.php deleted file mode 100644 index 53be5d5..0000000 --- a/lib/Exception/ForgetUserForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ForgetUserInternalServerErrorException.php b/lib/Exception/ForgetUserInternalServerErrorException.php deleted file mode 100644 index 8269d60..0000000 --- a/lib/Exception/ForgetUserInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ForgetUserServiceUnavailableException.php b/lib/Exception/ForgetUserServiceUnavailableException.php deleted file mode 100644 index bf13ec0..0000000 --- a/lib/Exception/ForgetUserServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/FormCaptureBadRequestException.php b/lib/Exception/FormCaptureBadRequestException.php deleted file mode 100644 index 44a9509..0000000 --- a/lib/Exception/FormCaptureBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/FormCaptureForbiddenException.php b/lib/Exception/FormCaptureForbiddenException.php deleted file mode 100644 index 07faf4d..0000000 --- a/lib/Exception/FormCaptureForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/FormCaptureInternalServerErrorException.php b/lib/Exception/FormCaptureInternalServerErrorException.php deleted file mode 100644 index c0cc44f..0000000 --- a/lib/Exception/FormCaptureInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/FormCaptureServiceUnavailableException.php b/lib/Exception/FormCaptureServiceUnavailableException.php deleted file mode 100644 index a6b972c..0000000 --- a/lib/Exception/FormCaptureServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/FormCaptureUnprocessableEntityException.php b/lib/Exception/FormCaptureUnprocessableEntityException.php deleted file mode 100644 index 6fb0df8..0000000 --- a/lib/Exception/FormCaptureUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GatewayTimeoutException.php b/lib/Exception/GatewayTimeoutException.php deleted file mode 100644 index 20940e0..0000000 --- a/lib/Exception/GatewayTimeoutException.php +++ /dev/null @@ -1,19 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GenerateBillingSignatureInternalServerErrorException.php b/lib/Exception/GenerateBillingSignatureInternalServerErrorException.php deleted file mode 100644 index 3f7539b..0000000 --- a/lib/Exception/GenerateBillingSignatureInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAccessFeaturesForbiddenException.php b/lib/Exception/GetAccessFeaturesForbiddenException.php deleted file mode 100644 index e3f5cf9..0000000 --- a/lib/Exception/GetAccessFeaturesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAccessFeaturesInternalServerErrorException.php b/lib/Exception/GetAccessFeaturesInternalServerErrorException.php deleted file mode 100644 index 435fb21..0000000 --- a/lib/Exception/GetAccessFeaturesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateButtonClicksByCityBadRequestException.php b/lib/Exception/GetAggregateButtonClicksByCityBadRequestException.php deleted file mode 100644 index 610300d..0000000 --- a/lib/Exception/GetAggregateButtonClicksByCityBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateButtonClicksByCityForbiddenException.php b/lib/Exception/GetAggregateButtonClicksByCityForbiddenException.php deleted file mode 100644 index e740cc3..0000000 --- a/lib/Exception/GetAggregateButtonClicksByCityForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateButtonClicksByCityInternalServerErrorException.php b/lib/Exception/GetAggregateButtonClicksByCityInternalServerErrorException.php deleted file mode 100644 index dfda494..0000000 --- a/lib/Exception/GetAggregateButtonClicksByCityInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateButtonClicksByCityServiceUnavailableException.php b/lib/Exception/GetAggregateButtonClicksByCityServiceUnavailableException.php deleted file mode 100644 index 335f41d..0000000 --- a/lib/Exception/GetAggregateButtonClicksByCityServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateButtonClicksByCountryBadRequestException.php b/lib/Exception/GetAggregateButtonClicksByCountryBadRequestException.php deleted file mode 100644 index f91ac22..0000000 --- a/lib/Exception/GetAggregateButtonClicksByCountryBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateButtonClicksByCountryForbiddenException.php b/lib/Exception/GetAggregateButtonClicksByCountryForbiddenException.php deleted file mode 100644 index dbc4f2d..0000000 --- a/lib/Exception/GetAggregateButtonClicksByCountryForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateButtonClicksByCountryInternalServerErrorException.php b/lib/Exception/GetAggregateButtonClicksByCountryInternalServerErrorException.php deleted file mode 100644 index be454c3..0000000 --- a/lib/Exception/GetAggregateButtonClicksByCountryInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateButtonClicksByCountryServiceUnavailableException.php b/lib/Exception/GetAggregateButtonClicksByCountryServiceUnavailableException.php deleted file mode 100644 index efe0cf7..0000000 --- a/lib/Exception/GetAggregateButtonClicksByCountryServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateButtonClicksByDeviceBadRequestException.php b/lib/Exception/GetAggregateButtonClicksByDeviceBadRequestException.php deleted file mode 100644 index 771acde..0000000 --- a/lib/Exception/GetAggregateButtonClicksByDeviceBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateButtonClicksByDeviceForbiddenException.php b/lib/Exception/GetAggregateButtonClicksByDeviceForbiddenException.php deleted file mode 100644 index d65a7e2..0000000 --- a/lib/Exception/GetAggregateButtonClicksByDeviceForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateButtonClicksByDeviceInternalServerErrorException.php b/lib/Exception/GetAggregateButtonClicksByDeviceInternalServerErrorException.php deleted file mode 100644 index bf8c1ed..0000000 --- a/lib/Exception/GetAggregateButtonClicksByDeviceInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateButtonClicksByDeviceServiceUnavailableException.php b/lib/Exception/GetAggregateButtonClicksByDeviceServiceUnavailableException.php deleted file mode 100644 index 3f3aa0b..0000000 --- a/lib/Exception/GetAggregateButtonClicksByDeviceServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateButtonClicksOverTimeBadRequestException.php b/lib/Exception/GetAggregateButtonClicksOverTimeBadRequestException.php deleted file mode 100644 index cbe96c1..0000000 --- a/lib/Exception/GetAggregateButtonClicksOverTimeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateButtonClicksOverTimeForbiddenException.php b/lib/Exception/GetAggregateButtonClicksOverTimeForbiddenException.php deleted file mode 100644 index 8a71df6..0000000 --- a/lib/Exception/GetAggregateButtonClicksOverTimeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateButtonClicksOverTimeInternalServerErrorException.php b/lib/Exception/GetAggregateButtonClicksOverTimeInternalServerErrorException.php deleted file mode 100644 index 3dda00a..0000000 --- a/lib/Exception/GetAggregateButtonClicksOverTimeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateButtonClicksOverTimeServiceUnavailableException.php b/lib/Exception/GetAggregateButtonClicksOverTimeServiceUnavailableException.php deleted file mode 100644 index a8153bb..0000000 --- a/lib/Exception/GetAggregateButtonClicksOverTimeServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateCodeScansByCityBadRequestException.php b/lib/Exception/GetAggregateCodeScansByCityBadRequestException.php deleted file mode 100644 index a85a55f..0000000 --- a/lib/Exception/GetAggregateCodeScansByCityBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateCodeScansByCityForbiddenException.php b/lib/Exception/GetAggregateCodeScansByCityForbiddenException.php deleted file mode 100644 index 941180b..0000000 --- a/lib/Exception/GetAggregateCodeScansByCityForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateCodeScansByCityInternalServerErrorException.php b/lib/Exception/GetAggregateCodeScansByCityInternalServerErrorException.php deleted file mode 100644 index ab05d56..0000000 --- a/lib/Exception/GetAggregateCodeScansByCityInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateCodeScansByCityServiceUnavailableException.php b/lib/Exception/GetAggregateCodeScansByCityServiceUnavailableException.php deleted file mode 100644 index 1af3de4..0000000 --- a/lib/Exception/GetAggregateCodeScansByCityServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateCodeScansByCountryBadRequestException.php b/lib/Exception/GetAggregateCodeScansByCountryBadRequestException.php deleted file mode 100644 index 91068b3..0000000 --- a/lib/Exception/GetAggregateCodeScansByCountryBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateCodeScansByCountryForbiddenException.php b/lib/Exception/GetAggregateCodeScansByCountryForbiddenException.php deleted file mode 100644 index 511aa2a..0000000 --- a/lib/Exception/GetAggregateCodeScansByCountryForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateCodeScansByCountryInternalServerErrorException.php b/lib/Exception/GetAggregateCodeScansByCountryInternalServerErrorException.php deleted file mode 100644 index 2d67a10..0000000 --- a/lib/Exception/GetAggregateCodeScansByCountryInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateCodeScansByCountryServiceUnavailableException.php b/lib/Exception/GetAggregateCodeScansByCountryServiceUnavailableException.php deleted file mode 100644 index 437b037..0000000 --- a/lib/Exception/GetAggregateCodeScansByCountryServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateCodeScansOverTimeBadRequestException.php b/lib/Exception/GetAggregateCodeScansOverTimeBadRequestException.php deleted file mode 100644 index 211af6b..0000000 --- a/lib/Exception/GetAggregateCodeScansOverTimeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateCodeScansOverTimeForbiddenException.php b/lib/Exception/GetAggregateCodeScansOverTimeForbiddenException.php deleted file mode 100644 index ddac99a..0000000 --- a/lib/Exception/GetAggregateCodeScansOverTimeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateCodeScansOverTimeInternalServerErrorException.php b/lib/Exception/GetAggregateCodeScansOverTimeInternalServerErrorException.php deleted file mode 100644 index 3152c0a..0000000 --- a/lib/Exception/GetAggregateCodeScansOverTimeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateCodeScansOverTimeServiceUnavailableException.php b/lib/Exception/GetAggregateCodeScansOverTimeServiceUnavailableException.php deleted file mode 100644 index bd787dd..0000000 --- a/lib/Exception/GetAggregateCodeScansOverTimeServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateDigitalBusinessCardDownloadsOverTimeBadRequestException.php b/lib/Exception/GetAggregateDigitalBusinessCardDownloadsOverTimeBadRequestException.php deleted file mode 100644 index 280b05d..0000000 --- a/lib/Exception/GetAggregateDigitalBusinessCardDownloadsOverTimeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateDigitalBusinessCardDownloadsOverTimeForbiddenException.php b/lib/Exception/GetAggregateDigitalBusinessCardDownloadsOverTimeForbiddenException.php deleted file mode 100644 index 1aeb9a7..0000000 --- a/lib/Exception/GetAggregateDigitalBusinessCardDownloadsOverTimeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php b/lib/Exception/GetAggregateDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php deleted file mode 100644 index 08f6ff6..0000000 --- a/lib/Exception/GetAggregateDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php b/lib/Exception/GetAggregateDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php deleted file mode 100644 index bb83a80..0000000 --- a/lib/Exception/GetAggregateDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksBadRequestException.php b/lib/Exception/GetAggregateEngagementsForBitlinksBadRequestException.php deleted file mode 100644 index f4b949e..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetBadRequestException.php b/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetBadRequestException.php deleted file mode 100644 index 5481d79..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetForbiddenException.php b/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetForbiddenException.php deleted file mode 100644 index 9bf73bd..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetGoneException.php b/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetGoneException.php deleted file mode 100644 index 58639ef..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetInternalServerErrorException.php b/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetInternalServerErrorException.php deleted file mode 100644 index c710a8b..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetNotFoundException.php b/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetNotFoundException.php deleted file mode 100644 index 9f2c6d5..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetPaymentRequiredException.php b/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetPaymentRequiredException.php deleted file mode 100644 index d8a2b13..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetServiceUnavailableException.php b/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetServiceUnavailableException.php deleted file mode 100644 index 6da9a9e..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksByCitiesFacetServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksByFacetBadRequestException.php b/lib/Exception/GetAggregateEngagementsForBitlinksByFacetBadRequestException.php deleted file mode 100644 index c50a808..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksByFacetBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksByFacetForbiddenException.php b/lib/Exception/GetAggregateEngagementsForBitlinksByFacetForbiddenException.php deleted file mode 100644 index 7e8060a..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksByFacetForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksByFacetGoneException.php b/lib/Exception/GetAggregateEngagementsForBitlinksByFacetGoneException.php deleted file mode 100644 index 5adac62..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksByFacetGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksByFacetInternalServerErrorException.php b/lib/Exception/GetAggregateEngagementsForBitlinksByFacetInternalServerErrorException.php deleted file mode 100644 index b3ca45f..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksByFacetInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksByFacetNotFoundException.php b/lib/Exception/GetAggregateEngagementsForBitlinksByFacetNotFoundException.php deleted file mode 100644 index 2d79540..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksByFacetNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksByFacetPaymentRequiredException.php b/lib/Exception/GetAggregateEngagementsForBitlinksByFacetPaymentRequiredException.php deleted file mode 100644 index 21ff622..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksByFacetPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksByFacetServiceUnavailableException.php b/lib/Exception/GetAggregateEngagementsForBitlinksByFacetServiceUnavailableException.php deleted file mode 100644 index 2db5f4d..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksByFacetServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksForbiddenException.php b/lib/Exception/GetAggregateEngagementsForBitlinksForbiddenException.php deleted file mode 100644 index b910959..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksGoneException.php b/lib/Exception/GetAggregateEngagementsForBitlinksGoneException.php deleted file mode 100644 index 699e2f8..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksInternalServerErrorException.php b/lib/Exception/GetAggregateEngagementsForBitlinksInternalServerErrorException.php deleted file mode 100644 index a8c36e8..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksNotFoundException.php b/lib/Exception/GetAggregateEngagementsForBitlinksNotFoundException.php deleted file mode 100644 index c1b976c..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksPaymentRequiredException.php b/lib/Exception/GetAggregateEngagementsForBitlinksPaymentRequiredException.php deleted file mode 100644 index ed279d8..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateEngagementsForBitlinksServiceUnavailableException.php b/lib/Exception/GetAggregateEngagementsForBitlinksServiceUnavailableException.php deleted file mode 100644 index 1119c6c..0000000 --- a/lib/Exception/GetAggregateEngagementsForBitlinksServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksByCityBadRequestException.php b/lib/Exception/GetAggregateLinkClicksByCityBadRequestException.php deleted file mode 100644 index 8c167b5..0000000 --- a/lib/Exception/GetAggregateLinkClicksByCityBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksByCityForbiddenException.php b/lib/Exception/GetAggregateLinkClicksByCityForbiddenException.php deleted file mode 100644 index b76fae5..0000000 --- a/lib/Exception/GetAggregateLinkClicksByCityForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksByCityInternalServerErrorException.php b/lib/Exception/GetAggregateLinkClicksByCityInternalServerErrorException.php deleted file mode 100644 index 2122a9a..0000000 --- a/lib/Exception/GetAggregateLinkClicksByCityInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksByCityServiceUnavailableException.php b/lib/Exception/GetAggregateLinkClicksByCityServiceUnavailableException.php deleted file mode 100644 index 36da6e1..0000000 --- a/lib/Exception/GetAggregateLinkClicksByCityServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksByCountryBadRequestException.php b/lib/Exception/GetAggregateLinkClicksByCountryBadRequestException.php deleted file mode 100644 index 8fbe2f6..0000000 --- a/lib/Exception/GetAggregateLinkClicksByCountryBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksByCountryForbiddenException.php b/lib/Exception/GetAggregateLinkClicksByCountryForbiddenException.php deleted file mode 100644 index b308f90..0000000 --- a/lib/Exception/GetAggregateLinkClicksByCountryForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksByCountryInternalServerErrorException.php b/lib/Exception/GetAggregateLinkClicksByCountryInternalServerErrorException.php deleted file mode 100644 index 575eead..0000000 --- a/lib/Exception/GetAggregateLinkClicksByCountryInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksByCountryServiceUnavailableException.php b/lib/Exception/GetAggregateLinkClicksByCountryServiceUnavailableException.php deleted file mode 100644 index 6791aa2..0000000 --- a/lib/Exception/GetAggregateLinkClicksByCountryServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksByDeviceBadRequestException.php b/lib/Exception/GetAggregateLinkClicksByDeviceBadRequestException.php deleted file mode 100644 index b71fd51..0000000 --- a/lib/Exception/GetAggregateLinkClicksByDeviceBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksByDeviceForbiddenException.php b/lib/Exception/GetAggregateLinkClicksByDeviceForbiddenException.php deleted file mode 100644 index 4e88860..0000000 --- a/lib/Exception/GetAggregateLinkClicksByDeviceForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksByDeviceInternalServerErrorException.php b/lib/Exception/GetAggregateLinkClicksByDeviceInternalServerErrorException.php deleted file mode 100644 index 606b309..0000000 --- a/lib/Exception/GetAggregateLinkClicksByDeviceInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksByDeviceServiceUnavailableException.php b/lib/Exception/GetAggregateLinkClicksByDeviceServiceUnavailableException.php deleted file mode 100644 index 0a94e00..0000000 --- a/lib/Exception/GetAggregateLinkClicksByDeviceServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksByReferrerBadRequestException.php b/lib/Exception/GetAggregateLinkClicksByReferrerBadRequestException.php deleted file mode 100644 index 4c8505a..0000000 --- a/lib/Exception/GetAggregateLinkClicksByReferrerBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksByReferrerForbiddenException.php b/lib/Exception/GetAggregateLinkClicksByReferrerForbiddenException.php deleted file mode 100644 index 6e33298..0000000 --- a/lib/Exception/GetAggregateLinkClicksByReferrerForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksByReferrerInternalServerErrorException.php b/lib/Exception/GetAggregateLinkClicksByReferrerInternalServerErrorException.php deleted file mode 100644 index 9f0b632..0000000 --- a/lib/Exception/GetAggregateLinkClicksByReferrerInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksByReferrerServiceUnavailableException.php b/lib/Exception/GetAggregateLinkClicksByReferrerServiceUnavailableException.php deleted file mode 100644 index d6e033e..0000000 --- a/lib/Exception/GetAggregateLinkClicksByReferrerServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksOverTimeBadRequestException.php b/lib/Exception/GetAggregateLinkClicksOverTimeBadRequestException.php deleted file mode 100644 index 1cda4d0..0000000 --- a/lib/Exception/GetAggregateLinkClicksOverTimeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksOverTimeForbiddenException.php b/lib/Exception/GetAggregateLinkClicksOverTimeForbiddenException.php deleted file mode 100644 index 08e3326..0000000 --- a/lib/Exception/GetAggregateLinkClicksOverTimeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksOverTimeInternalServerErrorException.php b/lib/Exception/GetAggregateLinkClicksOverTimeInternalServerErrorException.php deleted file mode 100644 index 048d22b..0000000 --- a/lib/Exception/GetAggregateLinkClicksOverTimeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateLinkClicksOverTimeServiceUnavailableException.php b/lib/Exception/GetAggregateLinkClicksOverTimeServiceUnavailableException.php deleted file mode 100644 index 85d0ddb..0000000 --- a/lib/Exception/GetAggregateLinkClicksOverTimeServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsByCityBadRequestException.php b/lib/Exception/GetAggregatePageViewsByCityBadRequestException.php deleted file mode 100644 index decc160..0000000 --- a/lib/Exception/GetAggregatePageViewsByCityBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsByCityForbiddenException.php b/lib/Exception/GetAggregatePageViewsByCityForbiddenException.php deleted file mode 100644 index 0632898..0000000 --- a/lib/Exception/GetAggregatePageViewsByCityForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsByCityInternalServerErrorException.php b/lib/Exception/GetAggregatePageViewsByCityInternalServerErrorException.php deleted file mode 100644 index feeb517..0000000 --- a/lib/Exception/GetAggregatePageViewsByCityInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsByCityServiceUnavailableException.php b/lib/Exception/GetAggregatePageViewsByCityServiceUnavailableException.php deleted file mode 100644 index 292e715..0000000 --- a/lib/Exception/GetAggregatePageViewsByCityServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsByCountryBadRequestException.php b/lib/Exception/GetAggregatePageViewsByCountryBadRequestException.php deleted file mode 100644 index 1f162ec..0000000 --- a/lib/Exception/GetAggregatePageViewsByCountryBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsByCountryForbiddenException.php b/lib/Exception/GetAggregatePageViewsByCountryForbiddenException.php deleted file mode 100644 index 6e3006a..0000000 --- a/lib/Exception/GetAggregatePageViewsByCountryForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsByCountryInternalServerErrorException.php b/lib/Exception/GetAggregatePageViewsByCountryInternalServerErrorException.php deleted file mode 100644 index 425df8a..0000000 --- a/lib/Exception/GetAggregatePageViewsByCountryInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsByCountryServiceUnavailableException.php b/lib/Exception/GetAggregatePageViewsByCountryServiceUnavailableException.php deleted file mode 100644 index 5f850dc..0000000 --- a/lib/Exception/GetAggregatePageViewsByCountryServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsByDeviceBadRequestException.php b/lib/Exception/GetAggregatePageViewsByDeviceBadRequestException.php deleted file mode 100644 index 12e7382..0000000 --- a/lib/Exception/GetAggregatePageViewsByDeviceBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsByDeviceForbiddenException.php b/lib/Exception/GetAggregatePageViewsByDeviceForbiddenException.php deleted file mode 100644 index 8926ad6..0000000 --- a/lib/Exception/GetAggregatePageViewsByDeviceForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsByDeviceInternalServerErrorException.php b/lib/Exception/GetAggregatePageViewsByDeviceInternalServerErrorException.php deleted file mode 100644 index 9575be1..0000000 --- a/lib/Exception/GetAggregatePageViewsByDeviceInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsByDeviceServiceUnavailableException.php b/lib/Exception/GetAggregatePageViewsByDeviceServiceUnavailableException.php deleted file mode 100644 index 1f83598..0000000 --- a/lib/Exception/GetAggregatePageViewsByDeviceServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsByReferrerBadRequestException.php b/lib/Exception/GetAggregatePageViewsByReferrerBadRequestException.php deleted file mode 100644 index c714049..0000000 --- a/lib/Exception/GetAggregatePageViewsByReferrerBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsByReferrerForbiddenException.php b/lib/Exception/GetAggregatePageViewsByReferrerForbiddenException.php deleted file mode 100644 index e1abd24..0000000 --- a/lib/Exception/GetAggregatePageViewsByReferrerForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsByReferrerInternalServerErrorException.php b/lib/Exception/GetAggregatePageViewsByReferrerInternalServerErrorException.php deleted file mode 100644 index 89218da..0000000 --- a/lib/Exception/GetAggregatePageViewsByReferrerInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsByReferrerServiceUnavailableException.php b/lib/Exception/GetAggregatePageViewsByReferrerServiceUnavailableException.php deleted file mode 100644 index 52bd9f8..0000000 --- a/lib/Exception/GetAggregatePageViewsByReferrerServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsOverTimeBadRequestException.php b/lib/Exception/GetAggregatePageViewsOverTimeBadRequestException.php deleted file mode 100644 index e62a406..0000000 --- a/lib/Exception/GetAggregatePageViewsOverTimeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsOverTimeForbiddenException.php b/lib/Exception/GetAggregatePageViewsOverTimeForbiddenException.php deleted file mode 100644 index d7a3dca..0000000 --- a/lib/Exception/GetAggregatePageViewsOverTimeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsOverTimeInternalServerErrorException.php b/lib/Exception/GetAggregatePageViewsOverTimeInternalServerErrorException.php deleted file mode 100644 index 63cf80d..0000000 --- a/lib/Exception/GetAggregatePageViewsOverTimeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePageViewsOverTimeServiceUnavailableException.php b/lib/Exception/GetAggregatePageViewsOverTimeServiceUnavailableException.php deleted file mode 100644 index 8a2f595..0000000 --- a/lib/Exception/GetAggregatePageViewsOverTimeServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePagesOverviewBadRequestException.php b/lib/Exception/GetAggregatePagesOverviewBadRequestException.php deleted file mode 100644 index add7ea9..0000000 --- a/lib/Exception/GetAggregatePagesOverviewBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePagesOverviewForbiddenException.php b/lib/Exception/GetAggregatePagesOverviewForbiddenException.php deleted file mode 100644 index 9ce0309..0000000 --- a/lib/Exception/GetAggregatePagesOverviewForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePagesOverviewInternalServerErrorException.php b/lib/Exception/GetAggregatePagesOverviewInternalServerErrorException.php deleted file mode 100644 index 455c8ff..0000000 --- a/lib/Exception/GetAggregatePagesOverviewInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregatePagesOverviewServiceUnavailableException.php b/lib/Exception/GetAggregatePagesOverviewServiceUnavailableException.php deleted file mode 100644 index 0f53e57..0000000 --- a/lib/Exception/GetAggregatePagesOverviewServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsByCityBadRequestException.php b/lib/Exception/GetAggregateSiteViewsByCityBadRequestException.php deleted file mode 100644 index bcf1596..0000000 --- a/lib/Exception/GetAggregateSiteViewsByCityBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsByCityForbiddenException.php b/lib/Exception/GetAggregateSiteViewsByCityForbiddenException.php deleted file mode 100644 index be2e25a..0000000 --- a/lib/Exception/GetAggregateSiteViewsByCityForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsByCityInternalServerErrorException.php b/lib/Exception/GetAggregateSiteViewsByCityInternalServerErrorException.php deleted file mode 100644 index 22ac711..0000000 --- a/lib/Exception/GetAggregateSiteViewsByCityInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsByCityServiceUnavailableException.php b/lib/Exception/GetAggregateSiteViewsByCityServiceUnavailableException.php deleted file mode 100644 index 2c22742..0000000 --- a/lib/Exception/GetAggregateSiteViewsByCityServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsByCountryBadRequestException.php b/lib/Exception/GetAggregateSiteViewsByCountryBadRequestException.php deleted file mode 100644 index e894be6..0000000 --- a/lib/Exception/GetAggregateSiteViewsByCountryBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsByCountryForbiddenException.php b/lib/Exception/GetAggregateSiteViewsByCountryForbiddenException.php deleted file mode 100644 index 7d81775..0000000 --- a/lib/Exception/GetAggregateSiteViewsByCountryForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsByCountryInternalServerErrorException.php b/lib/Exception/GetAggregateSiteViewsByCountryInternalServerErrorException.php deleted file mode 100644 index d32a0eb..0000000 --- a/lib/Exception/GetAggregateSiteViewsByCountryInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsByCountryServiceUnavailableException.php b/lib/Exception/GetAggregateSiteViewsByCountryServiceUnavailableException.php deleted file mode 100644 index 688a440..0000000 --- a/lib/Exception/GetAggregateSiteViewsByCountryServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsByDeviceBadRequestException.php b/lib/Exception/GetAggregateSiteViewsByDeviceBadRequestException.php deleted file mode 100644 index 8fc1c89..0000000 --- a/lib/Exception/GetAggregateSiteViewsByDeviceBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsByDeviceForbiddenException.php b/lib/Exception/GetAggregateSiteViewsByDeviceForbiddenException.php deleted file mode 100644 index 0e63565..0000000 --- a/lib/Exception/GetAggregateSiteViewsByDeviceForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsByDeviceInternalServerErrorException.php b/lib/Exception/GetAggregateSiteViewsByDeviceInternalServerErrorException.php deleted file mode 100644 index 953d568..0000000 --- a/lib/Exception/GetAggregateSiteViewsByDeviceInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsByDeviceServiceUnavailableException.php b/lib/Exception/GetAggregateSiteViewsByDeviceServiceUnavailableException.php deleted file mode 100644 index 9ce1bc5..0000000 --- a/lib/Exception/GetAggregateSiteViewsByDeviceServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsByReferrerBadRequestException.php b/lib/Exception/GetAggregateSiteViewsByReferrerBadRequestException.php deleted file mode 100644 index 1ec27b9..0000000 --- a/lib/Exception/GetAggregateSiteViewsByReferrerBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsByReferrerForbiddenException.php b/lib/Exception/GetAggregateSiteViewsByReferrerForbiddenException.php deleted file mode 100644 index c7f6103..0000000 --- a/lib/Exception/GetAggregateSiteViewsByReferrerForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsByReferrerInternalServerErrorException.php b/lib/Exception/GetAggregateSiteViewsByReferrerInternalServerErrorException.php deleted file mode 100644 index 5c2486d..0000000 --- a/lib/Exception/GetAggregateSiteViewsByReferrerInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsByReferrerServiceUnavailableException.php b/lib/Exception/GetAggregateSiteViewsByReferrerServiceUnavailableException.php deleted file mode 100644 index daddde5..0000000 --- a/lib/Exception/GetAggregateSiteViewsByReferrerServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsOverTimeBadRequestException.php b/lib/Exception/GetAggregateSiteViewsOverTimeBadRequestException.php deleted file mode 100644 index 5eade31..0000000 --- a/lib/Exception/GetAggregateSiteViewsOverTimeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsOverTimeForbiddenException.php b/lib/Exception/GetAggregateSiteViewsOverTimeForbiddenException.php deleted file mode 100644 index 4cda22a..0000000 --- a/lib/Exception/GetAggregateSiteViewsOverTimeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsOverTimeInternalServerErrorException.php b/lib/Exception/GetAggregateSiteViewsOverTimeInternalServerErrorException.php deleted file mode 100644 index ce2645d..0000000 --- a/lib/Exception/GetAggregateSiteViewsOverTimeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSiteViewsOverTimeServiceUnavailableException.php b/lib/Exception/GetAggregateSiteViewsOverTimeServiceUnavailableException.php deleted file mode 100644 index 3f864dd..0000000 --- a/lib/Exception/GetAggregateSiteViewsOverTimeServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSitesOverviewBadRequestException.php b/lib/Exception/GetAggregateSitesOverviewBadRequestException.php deleted file mode 100644 index 1129491..0000000 --- a/lib/Exception/GetAggregateSitesOverviewBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSitesOverviewForbiddenException.php b/lib/Exception/GetAggregateSitesOverviewForbiddenException.php deleted file mode 100644 index 9056709..0000000 --- a/lib/Exception/GetAggregateSitesOverviewForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSitesOverviewInternalServerErrorException.php b/lib/Exception/GetAggregateSitesOverviewInternalServerErrorException.php deleted file mode 100644 index bff9a61..0000000 --- a/lib/Exception/GetAggregateSitesOverviewInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateSitesOverviewServiceUnavailableException.php b/lib/Exception/GetAggregateSitesOverviewServiceUnavailableException.php deleted file mode 100644 index 7d5125a..0000000 --- a/lib/Exception/GetAggregateSitesOverviewServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateTopButtonClicksBadRequestException.php b/lib/Exception/GetAggregateTopButtonClicksBadRequestException.php deleted file mode 100644 index 44fc5eb..0000000 --- a/lib/Exception/GetAggregateTopButtonClicksBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateTopButtonClicksForbiddenException.php b/lib/Exception/GetAggregateTopButtonClicksForbiddenException.php deleted file mode 100644 index db7d33f..0000000 --- a/lib/Exception/GetAggregateTopButtonClicksForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateTopButtonClicksInternalServerErrorException.php b/lib/Exception/GetAggregateTopButtonClicksInternalServerErrorException.php deleted file mode 100644 index e05388b..0000000 --- a/lib/Exception/GetAggregateTopButtonClicksInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateTopButtonClicksServiceUnavailableException.php b/lib/Exception/GetAggregateTopButtonClicksServiceUnavailableException.php deleted file mode 100644 index 4429ca7..0000000 --- a/lib/Exception/GetAggregateTopButtonClicksServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateTopCodeScansBadRequestException.php b/lib/Exception/GetAggregateTopCodeScansBadRequestException.php deleted file mode 100644 index 4ebfec5..0000000 --- a/lib/Exception/GetAggregateTopCodeScansBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateTopCodeScansForbiddenException.php b/lib/Exception/GetAggregateTopCodeScansForbiddenException.php deleted file mode 100644 index 3cf7294..0000000 --- a/lib/Exception/GetAggregateTopCodeScansForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateTopCodeScansInternalServerErrorException.php b/lib/Exception/GetAggregateTopCodeScansInternalServerErrorException.php deleted file mode 100644 index 8ed894c..0000000 --- a/lib/Exception/GetAggregateTopCodeScansInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateTopCodeScansServiceUnavailableException.php b/lib/Exception/GetAggregateTopCodeScansServiceUnavailableException.php deleted file mode 100644 index cd7ae8a..0000000 --- a/lib/Exception/GetAggregateTopCodeScansServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateTopLinkClicksBadRequestException.php b/lib/Exception/GetAggregateTopLinkClicksBadRequestException.php deleted file mode 100644 index 68eb766..0000000 --- a/lib/Exception/GetAggregateTopLinkClicksBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateTopLinkClicksForbiddenException.php b/lib/Exception/GetAggregateTopLinkClicksForbiddenException.php deleted file mode 100644 index efbcf13..0000000 --- a/lib/Exception/GetAggregateTopLinkClicksForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateTopLinkClicksInternalServerErrorException.php b/lib/Exception/GetAggregateTopLinkClicksInternalServerErrorException.php deleted file mode 100644 index 9b528f8..0000000 --- a/lib/Exception/GetAggregateTopLinkClicksInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAggregateTopLinkClicksServiceUnavailableException.php b/lib/Exception/GetAggregateTopLinkClicksServiceUnavailableException.php deleted file mode 100644 index e382137..0000000 --- a/lib/Exception/GetAggregateTopLinkClicksServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAllBrandCampaignsBadRequestException.php b/lib/Exception/GetAllBrandCampaignsBadRequestException.php deleted file mode 100644 index d816749..0000000 --- a/lib/Exception/GetAllBrandCampaignsBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAllBrandCampaignsInternalServerErrorException.php b/lib/Exception/GetAllBrandCampaignsInternalServerErrorException.php deleted file mode 100644 index effc2d1..0000000 --- a/lib/Exception/GetAllBrandCampaignsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAllBrandCampaignsUnprocessableEntityException.php b/lib/Exception/GetAllBrandCampaignsUnprocessableEntityException.php deleted file mode 100644 index 69c0f49..0000000 --- a/lib/Exception/GetAllBrandCampaignsUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsModuleForbiddenException.php b/lib/Exception/GetAnalyticsModuleForbiddenException.php deleted file mode 100644 index 7be38a1..0000000 --- a/lib/Exception/GetAnalyticsModuleForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsModuleInternalServerErrorException.php b/lib/Exception/GetAnalyticsModuleInternalServerErrorException.php deleted file mode 100644 index 8f6d9b0..0000000 --- a/lib/Exception/GetAnalyticsModuleInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsModuleNotFoundException.php b/lib/Exception/GetAnalyticsModuleNotFoundException.php deleted file mode 100644 index 3463ec6..0000000 --- a/lib/Exception/GetAnalyticsModuleNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsModuleServiceUnavailableException.php b/lib/Exception/GetAnalyticsModuleServiceUnavailableException.php deleted file mode 100644 index 91466a2..0000000 --- a/lib/Exception/GetAnalyticsModuleServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsReportForbiddenException.php b/lib/Exception/GetAnalyticsReportForbiddenException.php deleted file mode 100644 index 0267eb6..0000000 --- a/lib/Exception/GetAnalyticsReportForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsReportInternalServerErrorException.php b/lib/Exception/GetAnalyticsReportInternalServerErrorException.php deleted file mode 100644 index 940543c..0000000 --- a/lib/Exception/GetAnalyticsReportInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsReportNotFoundException.php b/lib/Exception/GetAnalyticsReportNotFoundException.php deleted file mode 100644 index bfa5156..0000000 --- a/lib/Exception/GetAnalyticsReportNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsReportServiceUnavailableException.php b/lib/Exception/GetAnalyticsReportServiceUnavailableException.php deleted file mode 100644 index 6f18768..0000000 --- a/lib/Exception/GetAnalyticsReportServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsReportsByGroupPaginatedBadRequestException.php b/lib/Exception/GetAnalyticsReportsByGroupPaginatedBadRequestException.php deleted file mode 100644 index 08e7b6a..0000000 --- a/lib/Exception/GetAnalyticsReportsByGroupPaginatedBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsReportsByGroupPaginatedForbiddenException.php b/lib/Exception/GetAnalyticsReportsByGroupPaginatedForbiddenException.php deleted file mode 100644 index 4952f59..0000000 --- a/lib/Exception/GetAnalyticsReportsByGroupPaginatedForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsReportsByGroupPaginatedInternalServerErrorException.php b/lib/Exception/GetAnalyticsReportsByGroupPaginatedInternalServerErrorException.php deleted file mode 100644 index 5412d2e..0000000 --- a/lib/Exception/GetAnalyticsReportsByGroupPaginatedInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsReportsByGroupPaginatedPaymentRequiredException.php b/lib/Exception/GetAnalyticsReportsByGroupPaginatedPaymentRequiredException.php deleted file mode 100644 index f31c93e..0000000 --- a/lib/Exception/GetAnalyticsReportsByGroupPaginatedPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsReportsByGroupPaginatedServiceUnavailableException.php b/lib/Exception/GetAnalyticsReportsByGroupPaginatedServiceUnavailableException.php deleted file mode 100644 index 8f0259b..0000000 --- a/lib/Exception/GetAnalyticsReportsByGroupPaginatedServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsReportsListByGroupBadRequestException.php b/lib/Exception/GetAnalyticsReportsListByGroupBadRequestException.php deleted file mode 100644 index 83603e0..0000000 --- a/lib/Exception/GetAnalyticsReportsListByGroupBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsReportsListByGroupForbiddenException.php b/lib/Exception/GetAnalyticsReportsListByGroupForbiddenException.php deleted file mode 100644 index fde081d..0000000 --- a/lib/Exception/GetAnalyticsReportsListByGroupForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsReportsListByGroupInternalServerErrorException.php b/lib/Exception/GetAnalyticsReportsListByGroupInternalServerErrorException.php deleted file mode 100644 index bb864a9..0000000 --- a/lib/Exception/GetAnalyticsReportsListByGroupInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsReportsListByGroupPaymentRequiredException.php b/lib/Exception/GetAnalyticsReportsListByGroupPaymentRequiredException.php deleted file mode 100644 index f08a8f2..0000000 --- a/lib/Exception/GetAnalyticsReportsListByGroupPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsReportsListByGroupServiceUnavailableException.php b/lib/Exception/GetAnalyticsReportsListByGroupServiceUnavailableException.php deleted file mode 100644 index ee8ceec..0000000 --- a/lib/Exception/GetAnalyticsReportsListByGroupServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsUsageBadRequestException.php b/lib/Exception/GetAnalyticsUsageBadRequestException.php deleted file mode 100644 index 934eda5..0000000 --- a/lib/Exception/GetAnalyticsUsageBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsUsageForbiddenException.php b/lib/Exception/GetAnalyticsUsageForbiddenException.php deleted file mode 100644 index 67784d7..0000000 --- a/lib/Exception/GetAnalyticsUsageForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsUsageInternalServerErrorException.php b/lib/Exception/GetAnalyticsUsageInternalServerErrorException.php deleted file mode 100644 index c39dffb..0000000 --- a/lib/Exception/GetAnalyticsUsageInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAnalyticsUsageServiceUnavailableException.php b/lib/Exception/GetAnalyticsUsageServiceUnavailableException.php deleted file mode 100644 index a4e78f3..0000000 --- a/lib/Exception/GetAnalyticsUsageServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAppAssociationsForbiddenException.php b/lib/Exception/GetAppAssociationsForbiddenException.php deleted file mode 100644 index ef33e61..0000000 --- a/lib/Exception/GetAppAssociationsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAppAssociationsInternalServerErrorException.php b/lib/Exception/GetAppAssociationsInternalServerErrorException.php deleted file mode 100644 index 3405b91..0000000 --- a/lib/Exception/GetAppAssociationsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAppAssociationsNotFoundException.php b/lib/Exception/GetAppAssociationsNotFoundException.php deleted file mode 100644 index fb8182e..0000000 --- a/lib/Exception/GetAppAssociationsNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAppAssociationsPaymentRequiredException.php b/lib/Exception/GetAppAssociationsPaymentRequiredException.php deleted file mode 100644 index 76a4ebc..0000000 --- a/lib/Exception/GetAppAssociationsPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAppAssociationsServiceUnavailableException.php b/lib/Exception/GetAppAssociationsServiceUnavailableException.php deleted file mode 100644 index 277c7ae..0000000 --- a/lib/Exception/GetAppAssociationsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAutobrandedDomainBadRequestException.php b/lib/Exception/GetAutobrandedDomainBadRequestException.php deleted file mode 100644 index 0d44448..0000000 --- a/lib/Exception/GetAutobrandedDomainBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetAutobrandedDomainInternalServerErrorException.php b/lib/Exception/GetAutobrandedDomainInternalServerErrorException.php deleted file mode 100644 index 8fafb23..0000000 --- a/lib/Exception/GetAutobrandedDomainInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBillingAccountForbiddenException.php b/lib/Exception/GetBillingAccountForbiddenException.php deleted file mode 100644 index 10709c4..0000000 --- a/lib/Exception/GetBillingAccountForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBillingAccountIDForbiddenException.php b/lib/Exception/GetBillingAccountIDForbiddenException.php deleted file mode 100644 index fd1d3ed..0000000 --- a/lib/Exception/GetBillingAccountIDForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBillingAccountIDInternalServerErrorException.php b/lib/Exception/GetBillingAccountIDInternalServerErrorException.php deleted file mode 100644 index 475a9dc..0000000 --- a/lib/Exception/GetBillingAccountIDInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBillingAccountInternalServerErrorException.php b/lib/Exception/GetBillingAccountInternalServerErrorException.php deleted file mode 100644 index caa4a2a..0000000 --- a/lib/Exception/GetBillingAccountInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBillingProviderBadRequestException.php b/lib/Exception/GetBillingProviderBadRequestException.php deleted file mode 100644 index 83be7ee..0000000 --- a/lib/Exception/GetBillingProviderBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBillingProviderForbiddenException.php b/lib/Exception/GetBillingProviderForbiddenException.php deleted file mode 100644 index 1fbf549..0000000 --- a/lib/Exception/GetBillingProviderForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBillingProviderInternalServerErrorException.php b/lib/Exception/GetBillingProviderInternalServerErrorException.php deleted file mode 100644 index 327f13e..0000000 --- a/lib/Exception/GetBillingProviderInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClickCountsBadRequestException.php b/lib/Exception/GetBitlinkClickCountsBadRequestException.php deleted file mode 100644 index 497100d..0000000 --- a/lib/Exception/GetBitlinkClickCountsBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClickCountsGoneException.php b/lib/Exception/GetBitlinkClickCountsGoneException.php deleted file mode 100644 index 10d5c43..0000000 --- a/lib/Exception/GetBitlinkClickCountsGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClickCountsInternalServerErrorException.php b/lib/Exception/GetBitlinkClickCountsInternalServerErrorException.php deleted file mode 100644 index 3563d96..0000000 --- a/lib/Exception/GetBitlinkClickCountsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClickCountsNotFoundException.php b/lib/Exception/GetBitlinkClickCountsNotFoundException.php deleted file mode 100644 index 9b1eb95..0000000 --- a/lib/Exception/GetBitlinkClickCountsNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClickCountsServiceUnavailableException.php b/lib/Exception/GetBitlinkClickCountsServiceUnavailableException.php deleted file mode 100644 index b354231..0000000 --- a/lib/Exception/GetBitlinkClickCountsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClickCountsUnprocessableEntityException.php b/lib/Exception/GetBitlinkClickCountsUnprocessableEntityException.php deleted file mode 100644 index 517a14c..0000000 --- a/lib/Exception/GetBitlinkClickCountsUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksBadRequestException.php b/lib/Exception/GetBitlinkClicksBadRequestException.php deleted file mode 100644 index b24cbc5..0000000 --- a/lib/Exception/GetBitlinkClicksBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksForbiddenException.php b/lib/Exception/GetBitlinkClicksForbiddenException.php deleted file mode 100644 index 9113ce9..0000000 --- a/lib/Exception/GetBitlinkClicksForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksGoneException.php b/lib/Exception/GetBitlinkClicksGoneException.php deleted file mode 100644 index 0a0fcd3..0000000 --- a/lib/Exception/GetBitlinkClicksGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksInternalServerErrorException.php b/lib/Exception/GetBitlinkClicksInternalServerErrorException.php deleted file mode 100644 index 990bb50..0000000 --- a/lib/Exception/GetBitlinkClicksInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserBadRequestException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserBadRequestException.php deleted file mode 100644 index 6a8168e..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserForbiddenException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserForbiddenException.php deleted file mode 100644 index 885d937..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserGoneException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserGoneException.php deleted file mode 100644 index 25bd502..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserInternalServerErrorException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserInternalServerErrorException.php deleted file mode 100644 index 02d5687..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserNotFoundException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserNotFoundException.php deleted file mode 100644 index ae27f68..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserPaymentRequiredException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserPaymentRequiredException.php deleted file mode 100644 index 3b342ed..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserServiceUnavailableException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserServiceUnavailableException.php deleted file mode 100644 index 1299f14..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByBrowserServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesBadRequestException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesBadRequestException.php deleted file mode 100644 index fbecfc8..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesForbiddenException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesForbiddenException.php deleted file mode 100644 index e3a3361..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesGoneException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesGoneException.php deleted file mode 100644 index dfe3a16..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesInternalServerErrorException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesInternalServerErrorException.php deleted file mode 100644 index f5e4c00..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesNotFoundException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesNotFoundException.php deleted file mode 100644 index a658dc9..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesPaymentRequiredException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesPaymentRequiredException.php deleted file mode 100644 index 3ced1db..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesServiceUnavailableException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesServiceUnavailableException.php deleted file mode 100644 index 7904f86..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCitiesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesBadRequestException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesBadRequestException.php deleted file mode 100644 index 92fac4c..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesForbiddenException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesForbiddenException.php deleted file mode 100644 index cf5d7c5..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesGoneException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesGoneException.php deleted file mode 100644 index 14d43a2..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesInternalServerErrorException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesInternalServerErrorException.php deleted file mode 100644 index b206e90..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesNotFoundException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesNotFoundException.php deleted file mode 100644 index babb607..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesPaymentRequiredException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesPaymentRequiredException.php deleted file mode 100644 index 723a892..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesServiceUnavailableException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesServiceUnavailableException.php deleted file mode 100644 index 081269d..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByCountriesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSBadRequestException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSBadRequestException.php deleted file mode 100644 index f0bf035..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSForbiddenException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSForbiddenException.php deleted file mode 100644 index 1c9ad95..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSGoneException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSGoneException.php deleted file mode 100644 index cbbc7a0..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSInternalServerErrorException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSInternalServerErrorException.php deleted file mode 100644 index 35faed3..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSNotFoundException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSNotFoundException.php deleted file mode 100644 index b6e5324..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSPaymentRequiredException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSPaymentRequiredException.php deleted file mode 100644 index ec90e3d..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSServiceUnavailableException.php b/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSServiceUnavailableException.php deleted file mode 100644 index b99fd84..0000000 --- a/lib/Exception/GetBitlinkClicksMetricsForBitlinkByDevicesOSServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksNotFoundException.php b/lib/Exception/GetBitlinkClicksNotFoundException.php deleted file mode 100644 index 60add4b..0000000 --- a/lib/Exception/GetBitlinkClicksNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksServiceUnavailableException.php b/lib/Exception/GetBitlinkClicksServiceUnavailableException.php deleted file mode 100644 index 0462851..0000000 --- a/lib/Exception/GetBitlinkClicksServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksSummaryBadRequestException.php b/lib/Exception/GetBitlinkClicksSummaryBadRequestException.php deleted file mode 100644 index 796c2ca..0000000 --- a/lib/Exception/GetBitlinkClicksSummaryBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksSummaryForbiddenException.php b/lib/Exception/GetBitlinkClicksSummaryForbiddenException.php deleted file mode 100644 index e365451..0000000 --- a/lib/Exception/GetBitlinkClicksSummaryForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksSummaryGoneException.php b/lib/Exception/GetBitlinkClicksSummaryGoneException.php deleted file mode 100644 index 2bfbff5..0000000 --- a/lib/Exception/GetBitlinkClicksSummaryGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksSummaryInternalServerErrorException.php b/lib/Exception/GetBitlinkClicksSummaryInternalServerErrorException.php deleted file mode 100644 index f0394f0..0000000 --- a/lib/Exception/GetBitlinkClicksSummaryInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksSummaryNotFoundException.php b/lib/Exception/GetBitlinkClicksSummaryNotFoundException.php deleted file mode 100644 index e597e81..0000000 --- a/lib/Exception/GetBitlinkClicksSummaryNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkClicksSummaryServiceUnavailableException.php b/lib/Exception/GetBitlinkClicksSummaryServiceUnavailableException.php deleted file mode 100644 index 30da354..0000000 --- a/lib/Exception/GetBitlinkClicksSummaryServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkScansBadRequestException.php b/lib/Exception/GetBitlinkScansBadRequestException.php deleted file mode 100644 index 3f016f6..0000000 --- a/lib/Exception/GetBitlinkScansBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkScansForbiddenException.php b/lib/Exception/GetBitlinkScansForbiddenException.php deleted file mode 100644 index 8795c05..0000000 --- a/lib/Exception/GetBitlinkScansForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkScansGoneException.php b/lib/Exception/GetBitlinkScansGoneException.php deleted file mode 100644 index 1ec6a26..0000000 --- a/lib/Exception/GetBitlinkScansGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkScansInternalServerErrorException.php b/lib/Exception/GetBitlinkScansInternalServerErrorException.php deleted file mode 100644 index 30c9916..0000000 --- a/lib/Exception/GetBitlinkScansInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkScansNotFoundException.php b/lib/Exception/GetBitlinkScansNotFoundException.php deleted file mode 100644 index 66a7d70..0000000 --- a/lib/Exception/GetBitlinkScansNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkScansServiceUnavailableException.php b/lib/Exception/GetBitlinkScansServiceUnavailableException.php deleted file mode 100644 index db70459..0000000 --- a/lib/Exception/GetBitlinkScansServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkScansSummaryBadRequestException.php b/lib/Exception/GetBitlinkScansSummaryBadRequestException.php deleted file mode 100644 index 3b43e04..0000000 --- a/lib/Exception/GetBitlinkScansSummaryBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkScansSummaryForbiddenException.php b/lib/Exception/GetBitlinkScansSummaryForbiddenException.php deleted file mode 100644 index be3bb98..0000000 --- a/lib/Exception/GetBitlinkScansSummaryForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkScansSummaryGoneException.php b/lib/Exception/GetBitlinkScansSummaryGoneException.php deleted file mode 100644 index d42f12b..0000000 --- a/lib/Exception/GetBitlinkScansSummaryGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkScansSummaryInternalServerErrorException.php b/lib/Exception/GetBitlinkScansSummaryInternalServerErrorException.php deleted file mode 100644 index 432bd34..0000000 --- a/lib/Exception/GetBitlinkScansSummaryInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkScansSummaryNotFoundException.php b/lib/Exception/GetBitlinkScansSummaryNotFoundException.php deleted file mode 100644 index 3bd578a..0000000 --- a/lib/Exception/GetBitlinkScansSummaryNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBitlinkScansSummaryServiceUnavailableException.php b/lib/Exception/GetBitlinkScansSummaryServiceUnavailableException.php deleted file mode 100644 index f4ebdbb..0000000 --- a/lib/Exception/GetBitlinkScansSummaryServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesBadRequestException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesBadRequestException.php deleted file mode 100644 index 12c6f93..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesForbiddenException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesForbiddenException.php deleted file mode 100644 index 5f475b2..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesInternalServerErrorException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesInternalServerErrorException.php deleted file mode 100644 index 8638d42..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesNotFoundException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesNotFoundException.php deleted file mode 100644 index 5185066..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesServiceUnavailableException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesServiceUnavailableException.php deleted file mode 100644 index dbe1fe0..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCitiesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesBadRequestException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesBadRequestException.php deleted file mode 100644 index 1549aa3..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesForbiddenException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesForbiddenException.php deleted file mode 100644 index 1064001..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesInternalServerErrorException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesInternalServerErrorException.php deleted file mode 100644 index 9081277..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesNotFoundException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesNotFoundException.php deleted file mode 100644 index b3bee26..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesServiceUnavailableException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesServiceUnavailableException.php deleted file mode 100644 index f30ee0f..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByCountriesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesBadRequestException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesBadRequestException.php deleted file mode 100644 index 0da5a7f..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesForbiddenException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesForbiddenException.php deleted file mode 100644 index 6ad9bc0..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesInternalServerErrorException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesInternalServerErrorException.php deleted file mode 100644 index 09ad21c..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesNotFoundException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesNotFoundException.php deleted file mode 100644 index 5d14a6c..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesServiceUnavailableException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesServiceUnavailableException.php deleted file mode 100644 index 6e11adc..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsByDevicesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeBadRequestException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeBadRequestException.php deleted file mode 100644 index 9cdf8a2..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeForbiddenException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeForbiddenException.php deleted file mode 100644 index eb3d97f..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php deleted file mode 100644 index db0d1f5..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeNotFoundException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeNotFoundException.php deleted file mode 100644 index 7f6c5c0..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php b/lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php deleted file mode 100644 index a65e593..0000000 --- a/lib/Exception/GetBlockDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBrandCampaignBadRequestException.php b/lib/Exception/GetBrandCampaignBadRequestException.php deleted file mode 100644 index 6f3e512..0000000 --- a/lib/Exception/GetBrandCampaignBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBrandCampaignInternalServerErrorException.php b/lib/Exception/GetBrandCampaignInternalServerErrorException.php deleted file mode 100644 index ed2a29f..0000000 --- a/lib/Exception/GetBrandCampaignInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBrandCampaignUnprocessableEntityException.php b/lib/Exception/GetBrandCampaignUnprocessableEntityException.php deleted file mode 100644 index 3fe17c4..0000000 --- a/lib/Exception/GetBrandCampaignUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBulkUploadsBadRequestException.php b/lib/Exception/GetBulkUploadsBadRequestException.php deleted file mode 100644 index b948123..0000000 --- a/lib/Exception/GetBulkUploadsBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBulkUploadsForbiddenException.php b/lib/Exception/GetBulkUploadsForbiddenException.php deleted file mode 100644 index a68906b..0000000 --- a/lib/Exception/GetBulkUploadsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBulkUploadsInternalServerErrorException.php b/lib/Exception/GetBulkUploadsInternalServerErrorException.php deleted file mode 100644 index 51a7a90..0000000 --- a/lib/Exception/GetBulkUploadsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBulkUploadsNotFoundException.php b/lib/Exception/GetBulkUploadsNotFoundException.php deleted file mode 100644 index 136749b..0000000 --- a/lib/Exception/GetBulkUploadsNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBulkUploadsPaymentRequiredException.php b/lib/Exception/GetBulkUploadsPaymentRequiredException.php deleted file mode 100644 index d63ad75..0000000 --- a/lib/Exception/GetBulkUploadsPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetBulkUploadsServiceUnavailableException.php b/lib/Exception/GetBulkUploadsServiceUnavailableException.php deleted file mode 100644 index 98c5321..0000000 --- a/lib/Exception/GetBulkUploadsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetButtonClicksBadRequestException.php b/lib/Exception/GetButtonClicksBadRequestException.php deleted file mode 100644 index 646ae25..0000000 --- a/lib/Exception/GetButtonClicksBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetButtonClicksForbiddenException.php b/lib/Exception/GetButtonClicksForbiddenException.php deleted file mode 100644 index b0c4e65..0000000 --- a/lib/Exception/GetButtonClicksForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetButtonClicksGoneException.php b/lib/Exception/GetButtonClicksGoneException.php deleted file mode 100644 index c135cb4..0000000 --- a/lib/Exception/GetButtonClicksGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetButtonClicksInternalServerErrorException.php b/lib/Exception/GetButtonClicksInternalServerErrorException.php deleted file mode 100644 index 440db6c..0000000 --- a/lib/Exception/GetButtonClicksInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetButtonClicksNotFoundException.php b/lib/Exception/GetButtonClicksNotFoundException.php deleted file mode 100644 index 2f35b20..0000000 --- a/lib/Exception/GetButtonClicksNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetButtonClicksServiceUnavailableException.php b/lib/Exception/GetButtonClicksServiceUnavailableException.php deleted file mode 100644 index 5c45a8b..0000000 --- a/lib/Exception/GetButtonClicksServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetButtonClicksSummaryBadRequestException.php b/lib/Exception/GetButtonClicksSummaryBadRequestException.php deleted file mode 100644 index a91534c..0000000 --- a/lib/Exception/GetButtonClicksSummaryBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetButtonClicksSummaryForbiddenException.php b/lib/Exception/GetButtonClicksSummaryForbiddenException.php deleted file mode 100644 index 47554ec..0000000 --- a/lib/Exception/GetButtonClicksSummaryForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetButtonClicksSummaryGoneException.php b/lib/Exception/GetButtonClicksSummaryGoneException.php deleted file mode 100644 index dff2f3b..0000000 --- a/lib/Exception/GetButtonClicksSummaryGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetButtonClicksSummaryInternalServerErrorException.php b/lib/Exception/GetButtonClicksSummaryInternalServerErrorException.php deleted file mode 100644 index 07d6a58..0000000 --- a/lib/Exception/GetButtonClicksSummaryInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetButtonClicksSummaryNotFoundException.php b/lib/Exception/GetButtonClicksSummaryNotFoundException.php deleted file mode 100644 index 6f04e8e..0000000 --- a/lib/Exception/GetButtonClicksSummaryNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetButtonClicksSummaryServiceUnavailableException.php b/lib/Exception/GetButtonClicksSummaryServiceUnavailableException.php deleted file mode 100644 index c4e6a67..0000000 --- a/lib/Exception/GetButtonClicksSummaryServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCampaignClicksForbiddenException.php b/lib/Exception/GetCampaignClicksForbiddenException.php deleted file mode 100644 index 5c0838e..0000000 --- a/lib/Exception/GetCampaignClicksForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCampaignClicksInternalServerErrorException.php b/lib/Exception/GetCampaignClicksInternalServerErrorException.php deleted file mode 100644 index 499a239..0000000 --- a/lib/Exception/GetCampaignClicksInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCampaignClicksNotFoundException.php b/lib/Exception/GetCampaignClicksNotFoundException.php deleted file mode 100644 index 1fb65d4..0000000 --- a/lib/Exception/GetCampaignClicksNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCampaignClicksPaymentRequiredException.php b/lib/Exception/GetCampaignClicksPaymentRequiredException.php deleted file mode 100644 index a23716e..0000000 --- a/lib/Exception/GetCampaignClicksPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCampaignClicksServiceUnavailableException.php b/lib/Exception/GetCampaignClicksServiceUnavailableException.php deleted file mode 100644 index a48c87a..0000000 --- a/lib/Exception/GetCampaignClicksServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCanvaUserBrandBadRequestException.php b/lib/Exception/GetCanvaUserBrandBadRequestException.php deleted file mode 100644 index bc7b62f..0000000 --- a/lib/Exception/GetCanvaUserBrandBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCanvaUserBrandInternalServerErrorException.php b/lib/Exception/GetCanvaUserBrandInternalServerErrorException.php deleted file mode 100644 index eba89c9..0000000 --- a/lib/Exception/GetCanvaUserBrandInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCanvaUserBrandNotFoundException.php b/lib/Exception/GetCanvaUserBrandNotFoundException.php deleted file mode 100644 index 65344fd..0000000 --- a/lib/Exception/GetCanvaUserBrandNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetChildrenForBlockForbiddenException.php b/lib/Exception/GetChildrenForBlockForbiddenException.php deleted file mode 100644 index cdb8182..0000000 --- a/lib/Exception/GetChildrenForBlockForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetChildrenForBlockInternalServerErrorException.php b/lib/Exception/GetChildrenForBlockInternalServerErrorException.php deleted file mode 100644 index 6dcf2ae..0000000 --- a/lib/Exception/GetChildrenForBlockInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetChildrenForBlockNotFoundException.php b/lib/Exception/GetChildrenForBlockNotFoundException.php deleted file mode 100644 index 40e735a..0000000 --- a/lib/Exception/GetChildrenForBlockNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetChildrenForBlockServiceUnavailableException.php b/lib/Exception/GetChildrenForBlockServiceUnavailableException.php deleted file mode 100644 index b0abd5c..0000000 --- a/lib/Exception/GetChildrenForBlockServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetConsumableFeaturesConflictException.php b/lib/Exception/GetConsumableFeaturesConflictException.php deleted file mode 100644 index 7a694f7..0000000 --- a/lib/Exception/GetConsumableFeaturesConflictException.php +++ /dev/null @@ -1,30 +0,0 @@ -response = $response; - } - - public function getResponse(): ?\Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetConsumableFeaturesForbiddenException.php b/lib/Exception/GetConsumableFeaturesForbiddenException.php deleted file mode 100644 index 2b5a88f..0000000 --- a/lib/Exception/GetConsumableFeaturesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetConsumableFeaturesInternalServerErrorException.php b/lib/Exception/GetConsumableFeaturesInternalServerErrorException.php deleted file mode 100644 index 1c224cb..0000000 --- a/lib/Exception/GetConsumableFeaturesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCountryCallingCodesBadRequestException.php b/lib/Exception/GetCountryCallingCodesBadRequestException.php deleted file mode 100644 index 964a334..0000000 --- a/lib/Exception/GetCountryCallingCodesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCountryCallingCodesInternalServerErrorException.php b/lib/Exception/GetCountryCallingCodesInternalServerErrorException.php deleted file mode 100644 index 7269699..0000000 --- a/lib/Exception/GetCountryCallingCodesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCurrencyInternalServerErrorException.php b/lib/Exception/GetCurrencyInternalServerErrorException.php deleted file mode 100644 index d7f9f5b..0000000 --- a/lib/Exception/GetCurrencyInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCurrencyListInternalServerErrorException.php b/lib/Exception/GetCurrencyListInternalServerErrorException.php deleted file mode 100644 index b4df436..0000000 --- a/lib/Exception/GetCurrencyListInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCustomDomainForbiddenException.php b/lib/Exception/GetCustomDomainForbiddenException.php deleted file mode 100644 index 79f16fc..0000000 --- a/lib/Exception/GetCustomDomainForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCustomDomainInternalServerErrorException.php b/lib/Exception/GetCustomDomainInternalServerErrorException.php deleted file mode 100644 index fa5dd1d..0000000 --- a/lib/Exception/GetCustomDomainInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCustomDomainNotFoundException.php b/lib/Exception/GetCustomDomainNotFoundException.php deleted file mode 100644 index b87b7ef..0000000 --- a/lib/Exception/GetCustomDomainNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCustomDomainServiceUnavailableException.php b/lib/Exception/GetCustomDomainServiceUnavailableException.php deleted file mode 100644 index 2e86de1..0000000 --- a/lib/Exception/GetCustomDomainServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCustomDomainsForbiddenException.php b/lib/Exception/GetCustomDomainsForbiddenException.php deleted file mode 100644 index 4598815..0000000 --- a/lib/Exception/GetCustomDomainsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCustomDomainsInternalServerErrorException.php b/lib/Exception/GetCustomDomainsInternalServerErrorException.php deleted file mode 100644 index f03b3ee..0000000 --- a/lib/Exception/GetCustomDomainsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCustomDomainsServiceUnavailableException.php b/lib/Exception/GetCustomDomainsServiceUnavailableException.php deleted file mode 100644 index 6749134..0000000 --- a/lib/Exception/GetCustomDomainsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetCustomDomainsUnprocessableEntityException.php b/lib/Exception/GetCustomDomainsUnprocessableEntityException.php deleted file mode 100644 index 346347a..0000000 --- a/lib/Exception/GetCustomDomainsUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDeeplinkAppForbiddenException.php b/lib/Exception/GetDeeplinkAppForbiddenException.php deleted file mode 100644 index 3381061..0000000 --- a/lib/Exception/GetDeeplinkAppForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDeeplinkAppInternalServerErrorException.php b/lib/Exception/GetDeeplinkAppInternalServerErrorException.php deleted file mode 100644 index 00f0428..0000000 --- a/lib/Exception/GetDeeplinkAppInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDeeplinkAppNotFoundException.php b/lib/Exception/GetDeeplinkAppNotFoundException.php deleted file mode 100644 index aaa2782..0000000 --- a/lib/Exception/GetDeeplinkAppNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDeeplinkAppServiceUnavailableException.php b/lib/Exception/GetDeeplinkAppServiceUnavailableException.php deleted file mode 100644 index 538e3ca..0000000 --- a/lib/Exception/GetDeeplinkAppServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDeeplinkAppsForbiddenException.php b/lib/Exception/GetDeeplinkAppsForbiddenException.php deleted file mode 100644 index 94ea258..0000000 --- a/lib/Exception/GetDeeplinkAppsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDeeplinkAppsInternalServerErrorException.php b/lib/Exception/GetDeeplinkAppsInternalServerErrorException.php deleted file mode 100644 index fa7c57e..0000000 --- a/lib/Exception/GetDeeplinkAppsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDeeplinkAppsServiceUnavailableException.php b/lib/Exception/GetDeeplinkAppsServiceUnavailableException.php deleted file mode 100644 index fab4248..0000000 --- a/lib/Exception/GetDeeplinkAppsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDeeplinkMetricsRollupForbiddenException.php b/lib/Exception/GetDeeplinkMetricsRollupForbiddenException.php deleted file mode 100644 index 01d1def..0000000 --- a/lib/Exception/GetDeeplinkMetricsRollupForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDeeplinkMetricsRollupGoneException.php b/lib/Exception/GetDeeplinkMetricsRollupGoneException.php deleted file mode 100644 index 6a1f324..0000000 --- a/lib/Exception/GetDeeplinkMetricsRollupGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDeeplinkMetricsRollupInternalServerErrorException.php b/lib/Exception/GetDeeplinkMetricsRollupInternalServerErrorException.php deleted file mode 100644 index e7d1518..0000000 --- a/lib/Exception/GetDeeplinkMetricsRollupInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDeeplinkMetricsRollupNotFoundException.php b/lib/Exception/GetDeeplinkMetricsRollupNotFoundException.php deleted file mode 100644 index 622386e..0000000 --- a/lib/Exception/GetDeeplinkMetricsRollupNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDeeplinkMetricsRollupPaymentRequiredException.php b/lib/Exception/GetDeeplinkMetricsRollupPaymentRequiredException.php deleted file mode 100644 index 5a4c3b8..0000000 --- a/lib/Exception/GetDeeplinkMetricsRollupPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDeeplinkMetricsRollupServiceUnavailableException.php b/lib/Exception/GetDeeplinkMetricsRollupServiceUnavailableException.php deleted file mode 100644 index f3c918e..0000000 --- a/lib/Exception/GetDeeplinkMetricsRollupServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDeeplinkRulesForbiddenException.php b/lib/Exception/GetDeeplinkRulesForbiddenException.php deleted file mode 100644 index 6dc86fe..0000000 --- a/lib/Exception/GetDeeplinkRulesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDeeplinkRulesInternalServerErrorException.php b/lib/Exception/GetDeeplinkRulesInternalServerErrorException.php deleted file mode 100644 index 48f6bea..0000000 --- a/lib/Exception/GetDeeplinkRulesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDeeplinkRulesNotFoundException.php b/lib/Exception/GetDeeplinkRulesNotFoundException.php deleted file mode 100644 index be40a74..0000000 --- a/lib/Exception/GetDeeplinkRulesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDeeplinkRulesPaymentRequiredException.php b/lib/Exception/GetDeeplinkRulesPaymentRequiredException.php deleted file mode 100644 index 4c82566..0000000 --- a/lib/Exception/GetDeeplinkRulesPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDeeplinkRulesServiceUnavailableException.php b/lib/Exception/GetDeeplinkRulesServiceUnavailableException.php deleted file mode 100644 index 5668151..0000000 --- a/lib/Exception/GetDeeplinkRulesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDeeplinkRulesTooManyRequestsException.php b/lib/Exception/GetDeeplinkRulesTooManyRequestsException.php deleted file mode 100644 index 0768dde..0000000 --- a/lib/Exception/GetDeeplinkRulesTooManyRequestsException.php +++ /dev/null @@ -1,40 +0,0 @@ -monthlyLimitExceeded = $monthlyLimitExceeded; - $this->response = $response; - } - - public function getMonthlyLimitExceeded(): \Bitly\Model\MonthlyLimitExceeded - { - return $this->monthlyLimitExceeded; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetDomainRegistrarInfoInternalServerErrorException.php b/lib/Exception/GetDomainRegistrarInfoInternalServerErrorException.php deleted file mode 100644 index 5578a3d..0000000 --- a/lib/Exception/GetDomainRegistrarInfoInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetEngagementsBadRequestException.php b/lib/Exception/GetEngagementsBadRequestException.php deleted file mode 100644 index abb0bfe..0000000 --- a/lib/Exception/GetEngagementsBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetEngagementsForbiddenException.php b/lib/Exception/GetEngagementsForbiddenException.php deleted file mode 100644 index d6aaf9d..0000000 --- a/lib/Exception/GetEngagementsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetEngagementsGoneException.php b/lib/Exception/GetEngagementsGoneException.php deleted file mode 100644 index 9f9a3a2..0000000 --- a/lib/Exception/GetEngagementsGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetEngagementsInternalServerErrorException.php b/lib/Exception/GetEngagementsInternalServerErrorException.php deleted file mode 100644 index 7f2445d..0000000 --- a/lib/Exception/GetEngagementsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetEngagementsNotFoundException.php b/lib/Exception/GetEngagementsNotFoundException.php deleted file mode 100644 index 5205e6c..0000000 --- a/lib/Exception/GetEngagementsNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetEngagementsSampleBadRequestException.php b/lib/Exception/GetEngagementsSampleBadRequestException.php deleted file mode 100644 index d29d974..0000000 --- a/lib/Exception/GetEngagementsSampleBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetEngagementsSampleForbiddenException.php b/lib/Exception/GetEngagementsSampleForbiddenException.php deleted file mode 100644 index ff07ebe..0000000 --- a/lib/Exception/GetEngagementsSampleForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetEngagementsSampleInternalServerErrorException.php b/lib/Exception/GetEngagementsSampleInternalServerErrorException.php deleted file mode 100644 index a22021f..0000000 --- a/lib/Exception/GetEngagementsSampleInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetEngagementsServiceUnavailableException.php b/lib/Exception/GetEngagementsServiceUnavailableException.php deleted file mode 100644 index 19e65f6..0000000 --- a/lib/Exception/GetEngagementsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetEngagementsSummaryBadRequestException.php b/lib/Exception/GetEngagementsSummaryBadRequestException.php deleted file mode 100644 index f80565c..0000000 --- a/lib/Exception/GetEngagementsSummaryBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetEngagementsSummaryForbiddenException.php b/lib/Exception/GetEngagementsSummaryForbiddenException.php deleted file mode 100644 index da8e02d..0000000 --- a/lib/Exception/GetEngagementsSummaryForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetEngagementsSummaryGoneException.php b/lib/Exception/GetEngagementsSummaryGoneException.php deleted file mode 100644 index c65986c..0000000 --- a/lib/Exception/GetEngagementsSummaryGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetEngagementsSummaryInternalServerErrorException.php b/lib/Exception/GetEngagementsSummaryInternalServerErrorException.php deleted file mode 100644 index 1505c95..0000000 --- a/lib/Exception/GetEngagementsSummaryInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetEngagementsSummaryNotFoundException.php b/lib/Exception/GetEngagementsSummaryNotFoundException.php deleted file mode 100644 index 7e047bd..0000000 --- a/lib/Exception/GetEngagementsSummaryNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetEngagementsSummaryServiceUnavailableException.php b/lib/Exception/GetEngagementsSummaryServiceUnavailableException.php deleted file mode 100644 index f06f364..0000000 --- a/lib/Exception/GetEngagementsSummaryServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetFocusInternalServerErrorException.php b/lib/Exception/GetFocusInternalServerErrorException.php deleted file mode 100644 index 765e99e..0000000 --- a/lib/Exception/GetFocusInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupBitlinksCountBadRequestException.php b/lib/Exception/GetGroupBitlinksCountBadRequestException.php deleted file mode 100644 index bc074c4..0000000 --- a/lib/Exception/GetGroupBitlinksCountBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupBitlinksCountForbiddenException.php b/lib/Exception/GetGroupBitlinksCountForbiddenException.php deleted file mode 100644 index 8b9abc1..0000000 --- a/lib/Exception/GetGroupBitlinksCountForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupBitlinksCountInternalServerErrorException.php b/lib/Exception/GetGroupBitlinksCountInternalServerErrorException.php deleted file mode 100644 index c24516b..0000000 --- a/lib/Exception/GetGroupBitlinksCountInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupBitlinksCountPaymentRequiredException.php b/lib/Exception/GetGroupBitlinksCountPaymentRequiredException.php deleted file mode 100644 index a605440..0000000 --- a/lib/Exception/GetGroupBitlinksCountPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupBitlinksCountRollupBadRequestException.php b/lib/Exception/GetGroupBitlinksCountRollupBadRequestException.php deleted file mode 100644 index 3c72ce3..0000000 --- a/lib/Exception/GetGroupBitlinksCountRollupBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupBitlinksCountRollupForbiddenException.php b/lib/Exception/GetGroupBitlinksCountRollupForbiddenException.php deleted file mode 100644 index a2b3e9e..0000000 --- a/lib/Exception/GetGroupBitlinksCountRollupForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupBitlinksCountRollupInternalServerErrorException.php b/lib/Exception/GetGroupBitlinksCountRollupInternalServerErrorException.php deleted file mode 100644 index ad793bb..0000000 --- a/lib/Exception/GetGroupBitlinksCountRollupInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupBitlinksCountRollupPaymentRequiredException.php b/lib/Exception/GetGroupBitlinksCountRollupPaymentRequiredException.php deleted file mode 100644 index 92fbd4a..0000000 --- a/lib/Exception/GetGroupBitlinksCountRollupPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupBitlinksCountRollupServiceUnavailableException.php b/lib/Exception/GetGroupBitlinksCountRollupServiceUnavailableException.php deleted file mode 100644 index 899c291..0000000 --- a/lib/Exception/GetGroupBitlinksCountRollupServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupBitlinksCountRollupTooManyRequestsException.php b/lib/Exception/GetGroupBitlinksCountRollupTooManyRequestsException.php deleted file mode 100644 index 92d0501..0000000 --- a/lib/Exception/GetGroupBitlinksCountRollupTooManyRequestsException.php +++ /dev/null @@ -1,40 +0,0 @@ -monthlyLimitExceeded = $monthlyLimitExceeded; - $this->response = $response; - } - - public function getMonthlyLimitExceeded(): \Bitly\Model\MonthlyLimitExceeded - { - return $this->monthlyLimitExceeded; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupButtonClicksByCityBadRequestException.php b/lib/Exception/GetGroupButtonClicksByCityBadRequestException.php deleted file mode 100644 index a102cbd..0000000 --- a/lib/Exception/GetGroupButtonClicksByCityBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupButtonClicksByCityForbiddenException.php b/lib/Exception/GetGroupButtonClicksByCityForbiddenException.php deleted file mode 100644 index 4bad81f..0000000 --- a/lib/Exception/GetGroupButtonClicksByCityForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupButtonClicksByCityInternalServerErrorException.php b/lib/Exception/GetGroupButtonClicksByCityInternalServerErrorException.php deleted file mode 100644 index 4c39639..0000000 --- a/lib/Exception/GetGroupButtonClicksByCityInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupButtonClicksByCityServiceUnavailableException.php b/lib/Exception/GetGroupButtonClicksByCityServiceUnavailableException.php deleted file mode 100644 index 1b5a492..0000000 --- a/lib/Exception/GetGroupButtonClicksByCityServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupButtonClicksByCountryBadRequestException.php b/lib/Exception/GetGroupButtonClicksByCountryBadRequestException.php deleted file mode 100644 index aa77dcd..0000000 --- a/lib/Exception/GetGroupButtonClicksByCountryBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupButtonClicksByCountryForbiddenException.php b/lib/Exception/GetGroupButtonClicksByCountryForbiddenException.php deleted file mode 100644 index e049955..0000000 --- a/lib/Exception/GetGroupButtonClicksByCountryForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupButtonClicksByCountryInternalServerErrorException.php b/lib/Exception/GetGroupButtonClicksByCountryInternalServerErrorException.php deleted file mode 100644 index 5723e80..0000000 --- a/lib/Exception/GetGroupButtonClicksByCountryInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupButtonClicksByCountryServiceUnavailableException.php b/lib/Exception/GetGroupButtonClicksByCountryServiceUnavailableException.php deleted file mode 100644 index 27d20ca..0000000 --- a/lib/Exception/GetGroupButtonClicksByCountryServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupButtonClicksByDeviceBadRequestException.php b/lib/Exception/GetGroupButtonClicksByDeviceBadRequestException.php deleted file mode 100644 index 6ac63f2..0000000 --- a/lib/Exception/GetGroupButtonClicksByDeviceBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupButtonClicksByDeviceForbiddenException.php b/lib/Exception/GetGroupButtonClicksByDeviceForbiddenException.php deleted file mode 100644 index 895af10..0000000 --- a/lib/Exception/GetGroupButtonClicksByDeviceForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupButtonClicksByDeviceInternalServerErrorException.php b/lib/Exception/GetGroupButtonClicksByDeviceInternalServerErrorException.php deleted file mode 100644 index 14fe9b9..0000000 --- a/lib/Exception/GetGroupButtonClicksByDeviceInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupButtonClicksByDeviceServiceUnavailableException.php b/lib/Exception/GetGroupButtonClicksByDeviceServiceUnavailableException.php deleted file mode 100644 index 22c7ede..0000000 --- a/lib/Exception/GetGroupButtonClicksByDeviceServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupButtonClicksOverTimeBadRequestException.php b/lib/Exception/GetGroupButtonClicksOverTimeBadRequestException.php deleted file mode 100644 index 05c7249..0000000 --- a/lib/Exception/GetGroupButtonClicksOverTimeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupButtonClicksOverTimeForbiddenException.php b/lib/Exception/GetGroupButtonClicksOverTimeForbiddenException.php deleted file mode 100644 index f441ae5..0000000 --- a/lib/Exception/GetGroupButtonClicksOverTimeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupButtonClicksOverTimeInternalServerErrorException.php b/lib/Exception/GetGroupButtonClicksOverTimeInternalServerErrorException.php deleted file mode 100644 index 87b806e..0000000 --- a/lib/Exception/GetGroupButtonClicksOverTimeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupButtonClicksOverTimeServiceUnavailableException.php b/lib/Exception/GetGroupButtonClicksOverTimeServiceUnavailableException.php deleted file mode 100644 index f38245b..0000000 --- a/lib/Exception/GetGroupButtonClicksOverTimeServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupClicksByFacetBadRequestException.php b/lib/Exception/GetGroupClicksByFacetBadRequestException.php deleted file mode 100644 index d49471b..0000000 --- a/lib/Exception/GetGroupClicksByFacetBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupClicksByFacetForbiddenException.php b/lib/Exception/GetGroupClicksByFacetForbiddenException.php deleted file mode 100644 index 2e85d73..0000000 --- a/lib/Exception/GetGroupClicksByFacetForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupClicksByFacetInternalServerErrorException.php b/lib/Exception/GetGroupClicksByFacetInternalServerErrorException.php deleted file mode 100644 index 05d6b81..0000000 --- a/lib/Exception/GetGroupClicksByFacetInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupClicksByFacetPaymentRequiredException.php b/lib/Exception/GetGroupClicksByFacetPaymentRequiredException.php deleted file mode 100644 index 6bb023e..0000000 --- a/lib/Exception/GetGroupClicksByFacetPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupClicksByFacetRollupBadRequestException.php b/lib/Exception/GetGroupClicksByFacetRollupBadRequestException.php deleted file mode 100644 index c6b4294..0000000 --- a/lib/Exception/GetGroupClicksByFacetRollupBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupClicksByFacetRollupForbiddenException.php b/lib/Exception/GetGroupClicksByFacetRollupForbiddenException.php deleted file mode 100644 index e872465..0000000 --- a/lib/Exception/GetGroupClicksByFacetRollupForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupClicksByFacetRollupInternalServerErrorException.php b/lib/Exception/GetGroupClicksByFacetRollupInternalServerErrorException.php deleted file mode 100644 index 2eccf42..0000000 --- a/lib/Exception/GetGroupClicksByFacetRollupInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupClicksByFacetRollupPaymentRequiredException.php b/lib/Exception/GetGroupClicksByFacetRollupPaymentRequiredException.php deleted file mode 100644 index ac3dfec..0000000 --- a/lib/Exception/GetGroupClicksByFacetRollupPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupClicksByFacetRollupServiceUnavailableException.php b/lib/Exception/GetGroupClicksByFacetRollupServiceUnavailableException.php deleted file mode 100644 index be66b15..0000000 --- a/lib/Exception/GetGroupClicksByFacetRollupServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupClicksByFacetServiceUnavailableException.php b/lib/Exception/GetGroupClicksByFacetServiceUnavailableException.php deleted file mode 100644 index fc33892..0000000 --- a/lib/Exception/GetGroupClicksByFacetServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupCodeScansByCityBadRequestException.php b/lib/Exception/GetGroupCodeScansByCityBadRequestException.php deleted file mode 100644 index 844c277..0000000 --- a/lib/Exception/GetGroupCodeScansByCityBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupCodeScansByCityForbiddenException.php b/lib/Exception/GetGroupCodeScansByCityForbiddenException.php deleted file mode 100644 index f0d0755..0000000 --- a/lib/Exception/GetGroupCodeScansByCityForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupCodeScansByCityInternalServerErrorException.php b/lib/Exception/GetGroupCodeScansByCityInternalServerErrorException.php deleted file mode 100644 index 815e1ec..0000000 --- a/lib/Exception/GetGroupCodeScansByCityInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupCodeScansByCityServiceUnavailableException.php b/lib/Exception/GetGroupCodeScansByCityServiceUnavailableException.php deleted file mode 100644 index 4e8c4d8..0000000 --- a/lib/Exception/GetGroupCodeScansByCityServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupCodeScansByCountryBadRequestException.php b/lib/Exception/GetGroupCodeScansByCountryBadRequestException.php deleted file mode 100644 index ae0bfbc..0000000 --- a/lib/Exception/GetGroupCodeScansByCountryBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupCodeScansByCountryForbiddenException.php b/lib/Exception/GetGroupCodeScansByCountryForbiddenException.php deleted file mode 100644 index b62afea..0000000 --- a/lib/Exception/GetGroupCodeScansByCountryForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupCodeScansByCountryInternalServerErrorException.php b/lib/Exception/GetGroupCodeScansByCountryInternalServerErrorException.php deleted file mode 100644 index aedefd6..0000000 --- a/lib/Exception/GetGroupCodeScansByCountryInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupCodeScansByCountryServiceUnavailableException.php b/lib/Exception/GetGroupCodeScansByCountryServiceUnavailableException.php deleted file mode 100644 index 48fd3c5..0000000 --- a/lib/Exception/GetGroupCodeScansByCountryServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupCodeScansOverTimeBadRequestException.php b/lib/Exception/GetGroupCodeScansOverTimeBadRequestException.php deleted file mode 100644 index b496122..0000000 --- a/lib/Exception/GetGroupCodeScansOverTimeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupCodeScansOverTimeForbiddenException.php b/lib/Exception/GetGroupCodeScansOverTimeForbiddenException.php deleted file mode 100644 index 7678ae6..0000000 --- a/lib/Exception/GetGroupCodeScansOverTimeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupCodeScansOverTimeInternalServerErrorException.php b/lib/Exception/GetGroupCodeScansOverTimeInternalServerErrorException.php deleted file mode 100644 index 78ab4b3..0000000 --- a/lib/Exception/GetGroupCodeScansOverTimeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupCodeScansOverTimeServiceUnavailableException.php b/lib/Exception/GetGroupCodeScansOverTimeServiceUnavailableException.php deleted file mode 100644 index a7a1655..0000000 --- a/lib/Exception/GetGroupCodeScansOverTimeServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksBadRequestException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksBadRequestException.php deleted file mode 100644 index b62af97..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksForbiddenException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksForbiddenException.php deleted file mode 100644 index 028f41f..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksInternalServerErrorException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksInternalServerErrorException.php deleted file mode 100644 index 4852eba..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksNotFoundException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksNotFoundException.php deleted file mode 100644 index 9e14399..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksServiceUnavailableException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksServiceUnavailableException.php deleted file mode 100644 index 672468b..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByBlocksServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesBadRequestException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesBadRequestException.php deleted file mode 100644 index 8cdee5b..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesForbiddenException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesForbiddenException.php deleted file mode 100644 index 88fcc5e..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesInternalServerErrorException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesInternalServerErrorException.php deleted file mode 100644 index 322882c..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesNotFoundException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesNotFoundException.php deleted file mode 100644 index a280209..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesServiceUnavailableException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesServiceUnavailableException.php deleted file mode 100644 index d6b43e2..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCitiesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesBadRequestException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesBadRequestException.php deleted file mode 100644 index b97da04..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesForbiddenException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesForbiddenException.php deleted file mode 100644 index 0868ab9..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesInternalServerErrorException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesInternalServerErrorException.php deleted file mode 100644 index c8a7df7..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesNotFoundException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesNotFoundException.php deleted file mode 100644 index 7a0b40f..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesServiceUnavailableException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesServiceUnavailableException.php deleted file mode 100644 index a7fb34d..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByCountriesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesBadRequestException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesBadRequestException.php deleted file mode 100644 index b46e4f2..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesForbiddenException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesForbiddenException.php deleted file mode 100644 index 059da67..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesInternalServerErrorException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesInternalServerErrorException.php deleted file mode 100644 index db3c1e6..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesNotFoundException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesNotFoundException.php deleted file mode 100644 index a7108fe..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesServiceUnavailableException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesServiceUnavailableException.php deleted file mode 100644 index d118cfd..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByDevicesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesBadRequestException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesBadRequestException.php deleted file mode 100644 index f6488ef..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesForbiddenException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesForbiddenException.php deleted file mode 100644 index 66c0f8e..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesInternalServerErrorException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesInternalServerErrorException.php deleted file mode 100644 index d5aa4b4..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesNotFoundException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesNotFoundException.php deleted file mode 100644 index 2ec471f..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesServiceUnavailableException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesServiceUnavailableException.php deleted file mode 100644 index dbf88ce..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsByMicrositesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeBadRequestException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeBadRequestException.php deleted file mode 100644 index 6c10bcb..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeForbiddenException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeForbiddenException.php deleted file mode 100644 index cfda5c0..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php deleted file mode 100644 index 2c6a1c2..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeNotFoundException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeNotFoundException.php deleted file mode 100644 index ba1dfad..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php b/lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php deleted file mode 100644 index af6f076..0000000 --- a/lib/Exception/GetGroupDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksByCityBadRequestException.php b/lib/Exception/GetGroupLinkClicksByCityBadRequestException.php deleted file mode 100644 index 1581d22..0000000 --- a/lib/Exception/GetGroupLinkClicksByCityBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksByCityForbiddenException.php b/lib/Exception/GetGroupLinkClicksByCityForbiddenException.php deleted file mode 100644 index 6bf7563..0000000 --- a/lib/Exception/GetGroupLinkClicksByCityForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksByCityInternalServerErrorException.php b/lib/Exception/GetGroupLinkClicksByCityInternalServerErrorException.php deleted file mode 100644 index fde2a67..0000000 --- a/lib/Exception/GetGroupLinkClicksByCityInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksByCityServiceUnavailableException.php b/lib/Exception/GetGroupLinkClicksByCityServiceUnavailableException.php deleted file mode 100644 index b5a75ff..0000000 --- a/lib/Exception/GetGroupLinkClicksByCityServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksByCountryBadRequestException.php b/lib/Exception/GetGroupLinkClicksByCountryBadRequestException.php deleted file mode 100644 index 104fac5..0000000 --- a/lib/Exception/GetGroupLinkClicksByCountryBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksByCountryForbiddenException.php b/lib/Exception/GetGroupLinkClicksByCountryForbiddenException.php deleted file mode 100644 index 4b07c64..0000000 --- a/lib/Exception/GetGroupLinkClicksByCountryForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksByCountryInternalServerErrorException.php b/lib/Exception/GetGroupLinkClicksByCountryInternalServerErrorException.php deleted file mode 100644 index 819d1ce..0000000 --- a/lib/Exception/GetGroupLinkClicksByCountryInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksByCountryServiceUnavailableException.php b/lib/Exception/GetGroupLinkClicksByCountryServiceUnavailableException.php deleted file mode 100644 index 5899b67..0000000 --- a/lib/Exception/GetGroupLinkClicksByCountryServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksByDeviceBadRequestException.php b/lib/Exception/GetGroupLinkClicksByDeviceBadRequestException.php deleted file mode 100644 index fefec87..0000000 --- a/lib/Exception/GetGroupLinkClicksByDeviceBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksByDeviceForbiddenException.php b/lib/Exception/GetGroupLinkClicksByDeviceForbiddenException.php deleted file mode 100644 index ea6da26..0000000 --- a/lib/Exception/GetGroupLinkClicksByDeviceForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksByDeviceInternalServerErrorException.php b/lib/Exception/GetGroupLinkClicksByDeviceInternalServerErrorException.php deleted file mode 100644 index 7974d8c..0000000 --- a/lib/Exception/GetGroupLinkClicksByDeviceInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksByDeviceServiceUnavailableException.php b/lib/Exception/GetGroupLinkClicksByDeviceServiceUnavailableException.php deleted file mode 100644 index 1c4fb10..0000000 --- a/lib/Exception/GetGroupLinkClicksByDeviceServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksByReferrerBadRequestException.php b/lib/Exception/GetGroupLinkClicksByReferrerBadRequestException.php deleted file mode 100644 index 08f6559..0000000 --- a/lib/Exception/GetGroupLinkClicksByReferrerBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksByReferrerForbiddenException.php b/lib/Exception/GetGroupLinkClicksByReferrerForbiddenException.php deleted file mode 100644 index 347fe48..0000000 --- a/lib/Exception/GetGroupLinkClicksByReferrerForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksByReferrerInternalServerErrorException.php b/lib/Exception/GetGroupLinkClicksByReferrerInternalServerErrorException.php deleted file mode 100644 index 70c09bb..0000000 --- a/lib/Exception/GetGroupLinkClicksByReferrerInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksByReferrerServiceUnavailableException.php b/lib/Exception/GetGroupLinkClicksByReferrerServiceUnavailableException.php deleted file mode 100644 index 44f0c73..0000000 --- a/lib/Exception/GetGroupLinkClicksByReferrerServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksOverTimeBadRequestException.php b/lib/Exception/GetGroupLinkClicksOverTimeBadRequestException.php deleted file mode 100644 index 6f77a0d..0000000 --- a/lib/Exception/GetGroupLinkClicksOverTimeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksOverTimeForbiddenException.php b/lib/Exception/GetGroupLinkClicksOverTimeForbiddenException.php deleted file mode 100644 index abbcb4d..0000000 --- a/lib/Exception/GetGroupLinkClicksOverTimeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksOverTimeInternalServerErrorException.php b/lib/Exception/GetGroupLinkClicksOverTimeInternalServerErrorException.php deleted file mode 100644 index 94293b1..0000000 --- a/lib/Exception/GetGroupLinkClicksOverTimeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupLinkClicksOverTimeServiceUnavailableException.php b/lib/Exception/GetGroupLinkClicksOverTimeServiceUnavailableException.php deleted file mode 100644 index 2d63c3f..0000000 --- a/lib/Exception/GetGroupLinkClicksOverTimeServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsByCityBadRequestException.php b/lib/Exception/GetGroupPageViewsByCityBadRequestException.php deleted file mode 100644 index 49f095a..0000000 --- a/lib/Exception/GetGroupPageViewsByCityBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsByCityForbiddenException.php b/lib/Exception/GetGroupPageViewsByCityForbiddenException.php deleted file mode 100644 index faf1571..0000000 --- a/lib/Exception/GetGroupPageViewsByCityForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsByCityInternalServerErrorException.php b/lib/Exception/GetGroupPageViewsByCityInternalServerErrorException.php deleted file mode 100644 index c482d56..0000000 --- a/lib/Exception/GetGroupPageViewsByCityInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsByCityServiceUnavailableException.php b/lib/Exception/GetGroupPageViewsByCityServiceUnavailableException.php deleted file mode 100644 index c09a641..0000000 --- a/lib/Exception/GetGroupPageViewsByCityServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsByCountryBadRequestException.php b/lib/Exception/GetGroupPageViewsByCountryBadRequestException.php deleted file mode 100644 index f8bc5e1..0000000 --- a/lib/Exception/GetGroupPageViewsByCountryBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsByCountryForbiddenException.php b/lib/Exception/GetGroupPageViewsByCountryForbiddenException.php deleted file mode 100644 index a4c5ad2..0000000 --- a/lib/Exception/GetGroupPageViewsByCountryForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsByCountryInternalServerErrorException.php b/lib/Exception/GetGroupPageViewsByCountryInternalServerErrorException.php deleted file mode 100644 index 88026a5..0000000 --- a/lib/Exception/GetGroupPageViewsByCountryInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsByCountryServiceUnavailableException.php b/lib/Exception/GetGroupPageViewsByCountryServiceUnavailableException.php deleted file mode 100644 index 4d1f2a7..0000000 --- a/lib/Exception/GetGroupPageViewsByCountryServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsByDeviceBadRequestException.php b/lib/Exception/GetGroupPageViewsByDeviceBadRequestException.php deleted file mode 100644 index 81c0647..0000000 --- a/lib/Exception/GetGroupPageViewsByDeviceBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsByDeviceForbiddenException.php b/lib/Exception/GetGroupPageViewsByDeviceForbiddenException.php deleted file mode 100644 index b17ece7..0000000 --- a/lib/Exception/GetGroupPageViewsByDeviceForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsByDeviceInternalServerErrorException.php b/lib/Exception/GetGroupPageViewsByDeviceInternalServerErrorException.php deleted file mode 100644 index 445e237..0000000 --- a/lib/Exception/GetGroupPageViewsByDeviceInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsByDeviceServiceUnavailableException.php b/lib/Exception/GetGroupPageViewsByDeviceServiceUnavailableException.php deleted file mode 100644 index faba63a..0000000 --- a/lib/Exception/GetGroupPageViewsByDeviceServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsByReferrerBadRequestException.php b/lib/Exception/GetGroupPageViewsByReferrerBadRequestException.php deleted file mode 100644 index 4b9e9b9..0000000 --- a/lib/Exception/GetGroupPageViewsByReferrerBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsByReferrerForbiddenException.php b/lib/Exception/GetGroupPageViewsByReferrerForbiddenException.php deleted file mode 100644 index ca8c028..0000000 --- a/lib/Exception/GetGroupPageViewsByReferrerForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsByReferrerInternalServerErrorException.php b/lib/Exception/GetGroupPageViewsByReferrerInternalServerErrorException.php deleted file mode 100644 index 9c7bb00..0000000 --- a/lib/Exception/GetGroupPageViewsByReferrerInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsByReferrerServiceUnavailableException.php b/lib/Exception/GetGroupPageViewsByReferrerServiceUnavailableException.php deleted file mode 100644 index 4335615..0000000 --- a/lib/Exception/GetGroupPageViewsByReferrerServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsOverTimeBadRequestException.php b/lib/Exception/GetGroupPageViewsOverTimeBadRequestException.php deleted file mode 100644 index dadbb4f..0000000 --- a/lib/Exception/GetGroupPageViewsOverTimeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsOverTimeForbiddenException.php b/lib/Exception/GetGroupPageViewsOverTimeForbiddenException.php deleted file mode 100644 index 825f77b..0000000 --- a/lib/Exception/GetGroupPageViewsOverTimeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsOverTimeInternalServerErrorException.php b/lib/Exception/GetGroupPageViewsOverTimeInternalServerErrorException.php deleted file mode 100644 index 22dbcda..0000000 --- a/lib/Exception/GetGroupPageViewsOverTimeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPageViewsOverTimeServiceUnavailableException.php b/lib/Exception/GetGroupPageViewsOverTimeServiceUnavailableException.php deleted file mode 100644 index 1fe9c61..0000000 --- a/lib/Exception/GetGroupPageViewsOverTimeServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPagesOverviewBadRequestException.php b/lib/Exception/GetGroupPagesOverviewBadRequestException.php deleted file mode 100644 index 9702bc7..0000000 --- a/lib/Exception/GetGroupPagesOverviewBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPagesOverviewForbiddenException.php b/lib/Exception/GetGroupPagesOverviewForbiddenException.php deleted file mode 100644 index 09e2540..0000000 --- a/lib/Exception/GetGroupPagesOverviewForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPagesOverviewInternalServerErrorException.php b/lib/Exception/GetGroupPagesOverviewInternalServerErrorException.php deleted file mode 100644 index 487af66..0000000 --- a/lib/Exception/GetGroupPagesOverviewInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupPagesOverviewServiceUnavailableException.php b/lib/Exception/GetGroupPagesOverviewServiceUnavailableException.php deleted file mode 100644 index 7fd65cf..0000000 --- a/lib/Exception/GetGroupPagesOverviewServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupTopButtonClicksBadRequestException.php b/lib/Exception/GetGroupTopButtonClicksBadRequestException.php deleted file mode 100644 index 9872341..0000000 --- a/lib/Exception/GetGroupTopButtonClicksBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupTopButtonClicksForbiddenException.php b/lib/Exception/GetGroupTopButtonClicksForbiddenException.php deleted file mode 100644 index 9538424..0000000 --- a/lib/Exception/GetGroupTopButtonClicksForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupTopButtonClicksInternalServerErrorException.php b/lib/Exception/GetGroupTopButtonClicksInternalServerErrorException.php deleted file mode 100644 index 76940b7..0000000 --- a/lib/Exception/GetGroupTopButtonClicksInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupTopButtonClicksServiceUnavailableException.php b/lib/Exception/GetGroupTopButtonClicksServiceUnavailableException.php deleted file mode 100644 index 9c4f725..0000000 --- a/lib/Exception/GetGroupTopButtonClicksServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupTopCodeScansBadRequestException.php b/lib/Exception/GetGroupTopCodeScansBadRequestException.php deleted file mode 100644 index a0e61ac..0000000 --- a/lib/Exception/GetGroupTopCodeScansBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupTopCodeScansForbiddenException.php b/lib/Exception/GetGroupTopCodeScansForbiddenException.php deleted file mode 100644 index 20c7c8d..0000000 --- a/lib/Exception/GetGroupTopCodeScansForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupTopCodeScansInternalServerErrorException.php b/lib/Exception/GetGroupTopCodeScansInternalServerErrorException.php deleted file mode 100644 index cb254c6..0000000 --- a/lib/Exception/GetGroupTopCodeScansInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupTopCodeScansServiceUnavailableException.php b/lib/Exception/GetGroupTopCodeScansServiceUnavailableException.php deleted file mode 100644 index 39ac7ba..0000000 --- a/lib/Exception/GetGroupTopCodeScansServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupTopLinkClicksBadRequestException.php b/lib/Exception/GetGroupTopLinkClicksBadRequestException.php deleted file mode 100644 index 61803b7..0000000 --- a/lib/Exception/GetGroupTopLinkClicksBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupTopLinkClicksForbiddenException.php b/lib/Exception/GetGroupTopLinkClicksForbiddenException.php deleted file mode 100644 index 447a230..0000000 --- a/lib/Exception/GetGroupTopLinkClicksForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupTopLinkClicksInternalServerErrorException.php b/lib/Exception/GetGroupTopLinkClicksInternalServerErrorException.php deleted file mode 100644 index 07c09dc..0000000 --- a/lib/Exception/GetGroupTopLinkClicksInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupTopLinkClicksServiceUnavailableException.php b/lib/Exception/GetGroupTopLinkClicksServiceUnavailableException.php deleted file mode 100644 index ea9761c..0000000 --- a/lib/Exception/GetGroupTopLinkClicksServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupsByLoginForbiddenException.php b/lib/Exception/GetGroupsByLoginForbiddenException.php deleted file mode 100644 index d42d52c..0000000 --- a/lib/Exception/GetGroupsByLoginForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetGroupsByLoginInternalServerErrorException.php b/lib/Exception/GetGroupsByLoginInternalServerErrorException.php deleted file mode 100644 index 392e30f..0000000 --- a/lib/Exception/GetGroupsByLoginInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetImageByGUIDBadRequestException.php b/lib/Exception/GetImageByGUIDBadRequestException.php deleted file mode 100644 index 7b65fca..0000000 --- a/lib/Exception/GetImageByGUIDBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetImageByGUIDForbiddenException.php b/lib/Exception/GetImageByGUIDForbiddenException.php deleted file mode 100644 index c6db555..0000000 --- a/lib/Exception/GetImageByGUIDForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetImageByGUIDInternalServerErrorException.php b/lib/Exception/GetImageByGUIDInternalServerErrorException.php deleted file mode 100644 index 2e45e9f..0000000 --- a/lib/Exception/GetImageByGUIDInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetImageByGUIDNotFoundException.php b/lib/Exception/GetImageByGUIDNotFoundException.php deleted file mode 100644 index 9133236..0000000 --- a/lib/Exception/GetImageByGUIDNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetImageByGUIDServiceUnavailableException.php b/lib/Exception/GetImageByGUIDServiceUnavailableException.php deleted file mode 100644 index 2607695..0000000 --- a/lib/Exception/GetImageByGUIDServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetIntegrationOAuthsByClientIDBadRequestException.php b/lib/Exception/GetIntegrationOAuthsByClientIDBadRequestException.php deleted file mode 100644 index c86fece..0000000 --- a/lib/Exception/GetIntegrationOAuthsByClientIDBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetIntegrationOAuthsByClientIDInternalServerErrorException.php b/lib/Exception/GetIntegrationOAuthsByClientIDInternalServerErrorException.php deleted file mode 100644 index 86eadbb..0000000 --- a/lib/Exception/GetIntegrationOAuthsByClientIDInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetIntegrationOAuthsByClientIDServiceUnavailableException.php b/lib/Exception/GetIntegrationOAuthsByClientIDServiceUnavailableException.php deleted file mode 100644 index 1d66769..0000000 --- a/lib/Exception/GetIntegrationOAuthsByClientIDServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetInvitationsByLoginBadRequestException.php b/lib/Exception/GetInvitationsByLoginBadRequestException.php deleted file mode 100644 index 14e5e61..0000000 --- a/lib/Exception/GetInvitationsByLoginBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetInvitationsByLoginForbiddenException.php b/lib/Exception/GetInvitationsByLoginForbiddenException.php deleted file mode 100644 index 8e87267..0000000 --- a/lib/Exception/GetInvitationsByLoginForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetInvitationsByLoginInternalServerErrorException.php b/lib/Exception/GetInvitationsByLoginInternalServerErrorException.php deleted file mode 100644 index 270f78d..0000000 --- a/lib/Exception/GetInvitationsByLoginInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetInvitationsForbiddenException.php b/lib/Exception/GetInvitationsForbiddenException.php deleted file mode 100644 index b1ce088..0000000 --- a/lib/Exception/GetInvitationsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetInvitationsInternalServerErrorException.php b/lib/Exception/GetInvitationsInternalServerErrorException.php deleted file mode 100644 index 3d409be..0000000 --- a/lib/Exception/GetInvitationsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLaunchpadDigitalBusinessCardDownloadsOverTimeBadRequestException.php b/lib/Exception/GetLaunchpadDigitalBusinessCardDownloadsOverTimeBadRequestException.php deleted file mode 100644 index d8a243b..0000000 --- a/lib/Exception/GetLaunchpadDigitalBusinessCardDownloadsOverTimeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLaunchpadDigitalBusinessCardDownloadsOverTimeForbiddenException.php b/lib/Exception/GetLaunchpadDigitalBusinessCardDownloadsOverTimeForbiddenException.php deleted file mode 100644 index 5ff2da2..0000000 --- a/lib/Exception/GetLaunchpadDigitalBusinessCardDownloadsOverTimeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLaunchpadDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php b/lib/Exception/GetLaunchpadDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php deleted file mode 100644 index ce171a7..0000000 --- a/lib/Exception/GetLaunchpadDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLaunchpadDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php b/lib/Exception/GetLaunchpadDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php deleted file mode 100644 index e48d5d0..0000000 --- a/lib/Exception/GetLaunchpadDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLaunchpadForbiddenException.php b/lib/Exception/GetLaunchpadForbiddenException.php deleted file mode 100644 index e8d8e13..0000000 --- a/lib/Exception/GetLaunchpadForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLaunchpadImageByImageUseBadRequestException.php b/lib/Exception/GetLaunchpadImageByImageUseBadRequestException.php deleted file mode 100644 index cbe3cc0..0000000 --- a/lib/Exception/GetLaunchpadImageByImageUseBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLaunchpadImageByImageUseForbiddenException.php b/lib/Exception/GetLaunchpadImageByImageUseForbiddenException.php deleted file mode 100644 index 9f44e9c..0000000 --- a/lib/Exception/GetLaunchpadImageByImageUseForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLaunchpadImageByImageUseInternalServerErrorException.php b/lib/Exception/GetLaunchpadImageByImageUseInternalServerErrorException.php deleted file mode 100644 index 596d72e..0000000 --- a/lib/Exception/GetLaunchpadImageByImageUseInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLaunchpadImageByImageUseNotFoundException.php b/lib/Exception/GetLaunchpadImageByImageUseNotFoundException.php deleted file mode 100644 index a29cd5a..0000000 --- a/lib/Exception/GetLaunchpadImageByImageUseNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLaunchpadImageByImageUseServiceUnavailableException.php b/lib/Exception/GetLaunchpadImageByImageUseServiceUnavailableException.php deleted file mode 100644 index 35247a0..0000000 --- a/lib/Exception/GetLaunchpadImageByImageUseServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLaunchpadInternalServerErrorException.php b/lib/Exception/GetLaunchpadInternalServerErrorException.php deleted file mode 100644 index 28224df..0000000 --- a/lib/Exception/GetLaunchpadInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLaunchpadNotFoundException.php b/lib/Exception/GetLaunchpadNotFoundException.php deleted file mode 100644 index a9f5a28..0000000 --- a/lib/Exception/GetLaunchpadNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLaunchpadPresetThemesInternalServerErrorException.php b/lib/Exception/GetLaunchpadPresetThemesInternalServerErrorException.php deleted file mode 100644 index d42c79a..0000000 --- a/lib/Exception/GetLaunchpadPresetThemesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLaunchpadPresetThemesServiceUnavailableException.php b/lib/Exception/GetLaunchpadPresetThemesServiceUnavailableException.php deleted file mode 100644 index 699a9f2..0000000 --- a/lib/Exception/GetLaunchpadPresetThemesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLaunchpadServiceUnavailableException.php b/lib/Exception/GetLaunchpadServiceUnavailableException.php deleted file mode 100644 index 12dbd17..0000000 --- a/lib/Exception/GetLaunchpadServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLaunchpadsForGroupForbiddenException.php b/lib/Exception/GetLaunchpadsForGroupForbiddenException.php deleted file mode 100644 index ec045e4..0000000 --- a/lib/Exception/GetLaunchpadsForGroupForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLaunchpadsForGroupInternalServerErrorException.php b/lib/Exception/GetLaunchpadsForGroupInternalServerErrorException.php deleted file mode 100644 index 72b17ad..0000000 --- a/lib/Exception/GetLaunchpadsForGroupInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLaunchpadsForGroupNotFoundException.php b/lib/Exception/GetLaunchpadsForGroupNotFoundException.php deleted file mode 100644 index 90196fc..0000000 --- a/lib/Exception/GetLaunchpadsForGroupNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLaunchpadsForGroupServiceUnavailableException.php b/lib/Exception/GetLaunchpadsForGroupServiceUnavailableException.php deleted file mode 100644 index 986fa83..0000000 --- a/lib/Exception/GetLaunchpadsForGroupServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkEngagementsDailySummaryBadRequestException.php b/lib/Exception/GetLinkEngagementsDailySummaryBadRequestException.php deleted file mode 100644 index 7e88361..0000000 --- a/lib/Exception/GetLinkEngagementsDailySummaryBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkEngagementsDailySummaryForbiddenException.php b/lib/Exception/GetLinkEngagementsDailySummaryForbiddenException.php deleted file mode 100644 index dd93602..0000000 --- a/lib/Exception/GetLinkEngagementsDailySummaryForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkEngagementsDailySummaryInternalServerErrorException.php b/lib/Exception/GetLinkEngagementsDailySummaryInternalServerErrorException.php deleted file mode 100644 index a45a762..0000000 --- a/lib/Exception/GetLinkEngagementsDailySummaryInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkEngagementsDailySummaryNotFoundException.php b/lib/Exception/GetLinkEngagementsDailySummaryNotFoundException.php deleted file mode 100644 index 6d9b926..0000000 --- a/lib/Exception/GetLinkEngagementsDailySummaryNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkEngagementsDailySummaryServiceUnavailableException.php b/lib/Exception/GetLinkEngagementsDailySummaryServiceUnavailableException.php deleted file mode 100644 index 9061d3b..0000000 --- a/lib/Exception/GetLinkEngagementsDailySummaryServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkEngagementsDailySummaryUnprocessableEntityException.php b/lib/Exception/GetLinkEngagementsDailySummaryUnprocessableEntityException.php deleted file mode 100644 index 3ba99ad..0000000 --- a/lib/Exception/GetLinkEngagementsDailySummaryUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkEngagementsDayDrillDownBadRequestException.php b/lib/Exception/GetLinkEngagementsDayDrillDownBadRequestException.php deleted file mode 100644 index e73880d..0000000 --- a/lib/Exception/GetLinkEngagementsDayDrillDownBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkEngagementsDayDrillDownForbiddenException.php b/lib/Exception/GetLinkEngagementsDayDrillDownForbiddenException.php deleted file mode 100644 index d5b9218..0000000 --- a/lib/Exception/GetLinkEngagementsDayDrillDownForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkEngagementsDayDrillDownInternalServerErrorException.php b/lib/Exception/GetLinkEngagementsDayDrillDownInternalServerErrorException.php deleted file mode 100644 index 9141ebf..0000000 --- a/lib/Exception/GetLinkEngagementsDayDrillDownInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkEngagementsDayDrillDownNotFoundException.php b/lib/Exception/GetLinkEngagementsDayDrillDownNotFoundException.php deleted file mode 100644 index 3afc95a..0000000 --- a/lib/Exception/GetLinkEngagementsDayDrillDownNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkEngagementsDayDrillDownServiceUnavailableException.php b/lib/Exception/GetLinkEngagementsDayDrillDownServiceUnavailableException.php deleted file mode 100644 index 7232745..0000000 --- a/lib/Exception/GetLinkEngagementsDayDrillDownServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkEngagementsDayDrillDownUnprocessableEntityException.php b/lib/Exception/GetLinkEngagementsDayDrillDownUnprocessableEntityException.php deleted file mode 100644 index 27abb8d..0000000 --- a/lib/Exception/GetLinkEngagementsDayDrillDownUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkEngagementsReportBadRequestException.php b/lib/Exception/GetLinkEngagementsReportBadRequestException.php deleted file mode 100644 index 91aaa98..0000000 --- a/lib/Exception/GetLinkEngagementsReportBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkEngagementsReportForbiddenException.php b/lib/Exception/GetLinkEngagementsReportForbiddenException.php deleted file mode 100644 index a095db3..0000000 --- a/lib/Exception/GetLinkEngagementsReportForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkEngagementsReportInternalServerErrorException.php b/lib/Exception/GetLinkEngagementsReportInternalServerErrorException.php deleted file mode 100644 index ed090e4..0000000 --- a/lib/Exception/GetLinkEngagementsReportInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkEngagementsReportNotFoundException.php b/lib/Exception/GetLinkEngagementsReportNotFoundException.php deleted file mode 100644 index 87cfbb4..0000000 --- a/lib/Exception/GetLinkEngagementsReportNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkEngagementsReportServiceUnavailableException.php b/lib/Exception/GetLinkEngagementsReportServiceUnavailableException.php deleted file mode 100644 index 3fe0d69..0000000 --- a/lib/Exception/GetLinkEngagementsReportServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkEngagementsReportUnprocessableEntityException.php b/lib/Exception/GetLinkEngagementsReportUnprocessableEntityException.php deleted file mode 100644 index dbb4ee7..0000000 --- a/lib/Exception/GetLinkEngagementsReportUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkPerformanceForLaunchpadForbiddenException.php b/lib/Exception/GetLinkPerformanceForLaunchpadForbiddenException.php deleted file mode 100644 index 9077cb3..0000000 --- a/lib/Exception/GetLinkPerformanceForLaunchpadForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkPerformanceForLaunchpadInternalServerErrorException.php b/lib/Exception/GetLinkPerformanceForLaunchpadInternalServerErrorException.php deleted file mode 100644 index 1d2b07e..0000000 --- a/lib/Exception/GetLinkPerformanceForLaunchpadInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkPerformanceForLaunchpadNotFoundException.php b/lib/Exception/GetLinkPerformanceForLaunchpadNotFoundException.php deleted file mode 100644 index 40ffd81..0000000 --- a/lib/Exception/GetLinkPerformanceForLaunchpadNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkPerformanceForLaunchpadServiceUnavailableException.php b/lib/Exception/GetLinkPerformanceForLaunchpadServiceUnavailableException.php deleted file mode 100644 index 622a781..0000000 --- a/lib/Exception/GetLinkPerformanceForLaunchpadServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkPerformanceForSiteForbiddenException.php b/lib/Exception/GetLinkPerformanceForSiteForbiddenException.php deleted file mode 100644 index 8844b47..0000000 --- a/lib/Exception/GetLinkPerformanceForSiteForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkPerformanceForSiteInternalServerErrorException.php b/lib/Exception/GetLinkPerformanceForSiteInternalServerErrorException.php deleted file mode 100644 index 5079a8b..0000000 --- a/lib/Exception/GetLinkPerformanceForSiteInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkPerformanceForSiteNotFoundException.php b/lib/Exception/GetLinkPerformanceForSiteNotFoundException.php deleted file mode 100644 index 1b046bf..0000000 --- a/lib/Exception/GetLinkPerformanceForSiteNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetLinkPerformanceForSiteServiceUnavailableException.php b/lib/Exception/GetLinkPerformanceForSiteServiceUnavailableException.php deleted file mode 100644 index ff05504..0000000 --- a/lib/Exception/GetLinkPerformanceForSiteServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByCitiesBadRequestException.php b/lib/Exception/GetMetricsForLaunchpadByCitiesBadRequestException.php deleted file mode 100644 index d2e79da..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByCitiesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByCitiesForbiddenException.php b/lib/Exception/GetMetricsForLaunchpadByCitiesForbiddenException.php deleted file mode 100644 index bc69003..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByCitiesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByCitiesInternalServerErrorException.php b/lib/Exception/GetMetricsForLaunchpadByCitiesInternalServerErrorException.php deleted file mode 100644 index be73a4a..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByCitiesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByCitiesNotFoundException.php b/lib/Exception/GetMetricsForLaunchpadByCitiesNotFoundException.php deleted file mode 100644 index f011a60..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByCitiesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByCitiesPaymentRequiredException.php b/lib/Exception/GetMetricsForLaunchpadByCitiesPaymentRequiredException.php deleted file mode 100644 index fb57dfe..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByCitiesPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByCitiesServiceUnavailableException.php b/lib/Exception/GetMetricsForLaunchpadByCitiesServiceUnavailableException.php deleted file mode 100644 index 0245bbc..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByCitiesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByCountriesBadRequestException.php b/lib/Exception/GetMetricsForLaunchpadByCountriesBadRequestException.php deleted file mode 100644 index ea78b0d..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByCountriesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByCountriesForbiddenException.php b/lib/Exception/GetMetricsForLaunchpadByCountriesForbiddenException.php deleted file mode 100644 index 41ab588..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByCountriesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByCountriesInternalServerErrorException.php b/lib/Exception/GetMetricsForLaunchpadByCountriesInternalServerErrorException.php deleted file mode 100644 index a3b3e96..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByCountriesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByCountriesNotFoundException.php b/lib/Exception/GetMetricsForLaunchpadByCountriesNotFoundException.php deleted file mode 100644 index 9476be4..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByCountriesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByCountriesServiceUnavailableException.php b/lib/Exception/GetMetricsForLaunchpadByCountriesServiceUnavailableException.php deleted file mode 100644 index 64f3c25..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByCountriesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByDevicesBadRequestException.php b/lib/Exception/GetMetricsForLaunchpadByDevicesBadRequestException.php deleted file mode 100644 index 35215c6..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByDevicesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByDevicesForbiddenException.php b/lib/Exception/GetMetricsForLaunchpadByDevicesForbiddenException.php deleted file mode 100644 index f5a9c67..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByDevicesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByDevicesInternalServerErrorException.php b/lib/Exception/GetMetricsForLaunchpadByDevicesInternalServerErrorException.php deleted file mode 100644 index eb0e223..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByDevicesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByDevicesNotFoundException.php b/lib/Exception/GetMetricsForLaunchpadByDevicesNotFoundException.php deleted file mode 100644 index a0645e2..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByDevicesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByDevicesPaymentRequiredException.php b/lib/Exception/GetMetricsForLaunchpadByDevicesPaymentRequiredException.php deleted file mode 100644 index c301d85..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByDevicesPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByDevicesServiceUnavailableException.php b/lib/Exception/GetMetricsForLaunchpadByDevicesServiceUnavailableException.php deleted file mode 100644 index 307f745..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByDevicesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByReferrersBadRequestException.php b/lib/Exception/GetMetricsForLaunchpadByReferrersBadRequestException.php deleted file mode 100644 index 0890eb9..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByReferrersBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByReferrersForbiddenException.php b/lib/Exception/GetMetricsForLaunchpadByReferrersForbiddenException.php deleted file mode 100644 index a640200..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByReferrersForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByReferrersInternalServerErrorException.php b/lib/Exception/GetMetricsForLaunchpadByReferrersInternalServerErrorException.php deleted file mode 100644 index 43e728c..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByReferrersInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByReferrersNotFoundException.php b/lib/Exception/GetMetricsForLaunchpadByReferrersNotFoundException.php deleted file mode 100644 index 9285687..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByReferrersNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForLaunchpadByReferrersServiceUnavailableException.php b/lib/Exception/GetMetricsForLaunchpadByReferrersServiceUnavailableException.php deleted file mode 100644 index bea67fc..0000000 --- a/lib/Exception/GetMetricsForLaunchpadByReferrersServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSiteByCitiesBadRequestException.php b/lib/Exception/GetMetricsForSiteByCitiesBadRequestException.php deleted file mode 100644 index 4e845b7..0000000 --- a/lib/Exception/GetMetricsForSiteByCitiesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSiteByCitiesForbiddenException.php b/lib/Exception/GetMetricsForSiteByCitiesForbiddenException.php deleted file mode 100644 index 24cf2b4..0000000 --- a/lib/Exception/GetMetricsForSiteByCitiesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSiteByCitiesInternalServerErrorException.php b/lib/Exception/GetMetricsForSiteByCitiesInternalServerErrorException.php deleted file mode 100644 index 2256183..0000000 --- a/lib/Exception/GetMetricsForSiteByCitiesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSiteByCitiesNotFoundException.php b/lib/Exception/GetMetricsForSiteByCitiesNotFoundException.php deleted file mode 100644 index 92bcfd1..0000000 --- a/lib/Exception/GetMetricsForSiteByCitiesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSiteByCitiesPaymentRequiredException.php b/lib/Exception/GetMetricsForSiteByCitiesPaymentRequiredException.php deleted file mode 100644 index 3758b17..0000000 --- a/lib/Exception/GetMetricsForSiteByCitiesPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSiteByCitiesServiceUnavailableException.php b/lib/Exception/GetMetricsForSiteByCitiesServiceUnavailableException.php deleted file mode 100644 index 45f0ef3..0000000 --- a/lib/Exception/GetMetricsForSiteByCitiesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSiteByDevicesBadRequestException.php b/lib/Exception/GetMetricsForSiteByDevicesBadRequestException.php deleted file mode 100644 index d0357f5..0000000 --- a/lib/Exception/GetMetricsForSiteByDevicesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSiteByDevicesForbiddenException.php b/lib/Exception/GetMetricsForSiteByDevicesForbiddenException.php deleted file mode 100644 index 51ed196..0000000 --- a/lib/Exception/GetMetricsForSiteByDevicesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSiteByDevicesInternalServerErrorException.php b/lib/Exception/GetMetricsForSiteByDevicesInternalServerErrorException.php deleted file mode 100644 index d7c5193..0000000 --- a/lib/Exception/GetMetricsForSiteByDevicesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSiteByDevicesNotFoundException.php b/lib/Exception/GetMetricsForSiteByDevicesNotFoundException.php deleted file mode 100644 index 6868cb7..0000000 --- a/lib/Exception/GetMetricsForSiteByDevicesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSiteByDevicesPaymentRequiredException.php b/lib/Exception/GetMetricsForSiteByDevicesPaymentRequiredException.php deleted file mode 100644 index 8a2e871..0000000 --- a/lib/Exception/GetMetricsForSiteByDevicesPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSiteByDevicesServiceUnavailableException.php b/lib/Exception/GetMetricsForSiteByDevicesServiceUnavailableException.php deleted file mode 100644 index 2854501..0000000 --- a/lib/Exception/GetMetricsForSiteByDevicesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSiteByReferrersBadRequestException.php b/lib/Exception/GetMetricsForSiteByReferrersBadRequestException.php deleted file mode 100644 index f4bfff5..0000000 --- a/lib/Exception/GetMetricsForSiteByReferrersBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSiteByReferrersForbiddenException.php b/lib/Exception/GetMetricsForSiteByReferrersForbiddenException.php deleted file mode 100644 index 013eba0..0000000 --- a/lib/Exception/GetMetricsForSiteByReferrersForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSiteByReferrersInternalServerErrorException.php b/lib/Exception/GetMetricsForSiteByReferrersInternalServerErrorException.php deleted file mode 100644 index f461f1f..0000000 --- a/lib/Exception/GetMetricsForSiteByReferrersInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSiteByReferrersNotFoundException.php b/lib/Exception/GetMetricsForSiteByReferrersNotFoundException.php deleted file mode 100644 index 63009ec..0000000 --- a/lib/Exception/GetMetricsForSiteByReferrersNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSiteByReferrersServiceUnavailableException.php b/lib/Exception/GetMetricsForSiteByReferrersServiceUnavailableException.php deleted file mode 100644 index 3710e6c..0000000 --- a/lib/Exception/GetMetricsForSiteByReferrersServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSitesByCountriesBadRequestException.php b/lib/Exception/GetMetricsForSitesByCountriesBadRequestException.php deleted file mode 100644 index 268a29d..0000000 --- a/lib/Exception/GetMetricsForSitesByCountriesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSitesByCountriesForbiddenException.php b/lib/Exception/GetMetricsForSitesByCountriesForbiddenException.php deleted file mode 100644 index 3c8e0f5..0000000 --- a/lib/Exception/GetMetricsForSitesByCountriesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSitesByCountriesInternalServerErrorException.php b/lib/Exception/GetMetricsForSitesByCountriesInternalServerErrorException.php deleted file mode 100644 index 9eb1bf1..0000000 --- a/lib/Exception/GetMetricsForSitesByCountriesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSitesByCountriesNotFoundException.php b/lib/Exception/GetMetricsForSitesByCountriesNotFoundException.php deleted file mode 100644 index 4f5114c..0000000 --- a/lib/Exception/GetMetricsForSitesByCountriesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetMetricsForSitesByCountriesServiceUnavailableException.php b/lib/Exception/GetMetricsForSitesByCountriesServiceUnavailableException.php deleted file mode 100644 index c356457..0000000 --- a/lib/Exception/GetMetricsForSitesByCountriesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOAuthAppsBadRequestException.php b/lib/Exception/GetOAuthAppsBadRequestException.php deleted file mode 100644 index b6eccfc..0000000 --- a/lib/Exception/GetOAuthAppsBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOAuthAppsInternalServerErrorException.php b/lib/Exception/GetOAuthAppsInternalServerErrorException.php deleted file mode 100644 index b5bd457..0000000 --- a/lib/Exception/GetOAuthAppsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOAuthAppsNotFoundException.php b/lib/Exception/GetOAuthAppsNotFoundException.php deleted file mode 100644 index 2edf78d..0000000 --- a/lib/Exception/GetOAuthAppsNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOAuthAppsServiceUnavailableException.php b/lib/Exception/GetOAuthAppsServiceUnavailableException.php deleted file mode 100644 index 869832e..0000000 --- a/lib/Exception/GetOAuthAppsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOAuthAuthorizationsInternalServerErrorException.php b/lib/Exception/GetOAuthAuthorizationsInternalServerErrorException.php deleted file mode 100644 index 6c6738b..0000000 --- a/lib/Exception/GetOAuthAuthorizationsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOAuthAuthorizationsNotFoundException.php b/lib/Exception/GetOAuthAuthorizationsNotFoundException.php deleted file mode 100644 index ea81d00..0000000 --- a/lib/Exception/GetOAuthAuthorizationsNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOAuthAuthorizationsServiceUnavailableException.php b/lib/Exception/GetOAuthAuthorizationsServiceUnavailableException.php deleted file mode 100644 index 89a9e8a..0000000 --- a/lib/Exception/GetOAuthAuthorizationsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrgDomainsStatusBadRequestException.php b/lib/Exception/GetOrgDomainsStatusBadRequestException.php deleted file mode 100644 index b3aec08..0000000 --- a/lib/Exception/GetOrgDomainsStatusBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrgDomainsStatusForbiddenException.php b/lib/Exception/GetOrgDomainsStatusForbiddenException.php deleted file mode 100644 index 6b8833f..0000000 --- a/lib/Exception/GetOrgDomainsStatusForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrgDomainsStatusInternalServerErrorException.php b/lib/Exception/GetOrgDomainsStatusInternalServerErrorException.php deleted file mode 100644 index 5e08c21..0000000 --- a/lib/Exception/GetOrgDomainsStatusInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrgDomainsStatusTooManyRequestsException.php b/lib/Exception/GetOrgDomainsStatusTooManyRequestsException.php deleted file mode 100644 index 77004ab..0000000 --- a/lib/Exception/GetOrgDomainsStatusTooManyRequestsException.php +++ /dev/null @@ -1,40 +0,0 @@ -monthlyLimitExceeded = $monthlyLimitExceeded; - $this->response = $response; - } - - public function getMonthlyLimitExceeded(): \Bitly\Model\MonthlyLimitExceeded - { - return $this->monthlyLimitExceeded; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrgEmailsForbiddenException.php b/lib/Exception/GetOrgEmailsForbiddenException.php deleted file mode 100644 index 3846b69..0000000 --- a/lib/Exception/GetOrgEmailsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrgEmailsInternalServerErrorException.php b/lib/Exception/GetOrgEmailsInternalServerErrorException.php deleted file mode 100644 index 0308090..0000000 --- a/lib/Exception/GetOrgEmailsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrgEmailsNotFoundException.php b/lib/Exception/GetOrgEmailsNotFoundException.php deleted file mode 100644 index 7a4acf3..0000000 --- a/lib/Exception/GetOrgEmailsNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrgEmailsServiceUnavailableException.php b/lib/Exception/GetOrgEmailsServiceUnavailableException.php deleted file mode 100644 index e966be4..0000000 --- a/lib/Exception/GetOrgEmailsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrgInvitationRequestsBadRequestException.php b/lib/Exception/GetOrgInvitationRequestsBadRequestException.php deleted file mode 100644 index 66dbc43..0000000 --- a/lib/Exception/GetOrgInvitationRequestsBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrgInvitationRequestsForbiddenException.php b/lib/Exception/GetOrgInvitationRequestsForbiddenException.php deleted file mode 100644 index 2946d1f..0000000 --- a/lib/Exception/GetOrgInvitationRequestsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrgInvitationRequestsInternalServerErrorException.php b/lib/Exception/GetOrgInvitationRequestsInternalServerErrorException.php deleted file mode 100644 index 466b607..0000000 --- a/lib/Exception/GetOrgInvitationRequestsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrgPreferencesInternalServerErrorException.php b/lib/Exception/GetOrgPreferencesInternalServerErrorException.php deleted file mode 100644 index e01cdb1..0000000 --- a/lib/Exception/GetOrgPreferencesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationActivityLogEntryForbiddenException.php b/lib/Exception/GetOrganizationActivityLogEntryForbiddenException.php deleted file mode 100644 index 8c83cd8..0000000 --- a/lib/Exception/GetOrganizationActivityLogEntryForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationActivityLogEntryInternalServerErrorException.php b/lib/Exception/GetOrganizationActivityLogEntryInternalServerErrorException.php deleted file mode 100644 index f5cd142..0000000 --- a/lib/Exception/GetOrganizationActivityLogEntryInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationActivityLogEntryServiceUnavailableException.php b/lib/Exception/GetOrganizationActivityLogEntryServiceUnavailableException.php deleted file mode 100644 index bc8730d..0000000 --- a/lib/Exception/GetOrganizationActivityLogEntryServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationActivityLogForbiddenException.php b/lib/Exception/GetOrganizationActivityLogForbiddenException.php deleted file mode 100644 index 64f773f..0000000 --- a/lib/Exception/GetOrganizationActivityLogForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationActivityLogInternalServerErrorException.php b/lib/Exception/GetOrganizationActivityLogInternalServerErrorException.php deleted file mode 100644 index d5028b0..0000000 --- a/lib/Exception/GetOrganizationActivityLogInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationActivityLogServiceUnavailableException.php b/lib/Exception/GetOrganizationActivityLogServiceUnavailableException.php deleted file mode 100644 index b429818..0000000 --- a/lib/Exception/GetOrganizationActivityLogServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationFeatureUsageByGroupBadRequestException.php b/lib/Exception/GetOrganizationFeatureUsageByGroupBadRequestException.php deleted file mode 100644 index f383728..0000000 --- a/lib/Exception/GetOrganizationFeatureUsageByGroupBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationFeatureUsageByGroupForbiddenException.php b/lib/Exception/GetOrganizationFeatureUsageByGroupForbiddenException.php deleted file mode 100644 index 74356db..0000000 --- a/lib/Exception/GetOrganizationFeatureUsageByGroupForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationFeatureUsageByGroupInternalServerErrorException.php b/lib/Exception/GetOrganizationFeatureUsageByGroupInternalServerErrorException.php deleted file mode 100644 index dad90ec..0000000 --- a/lib/Exception/GetOrganizationFeatureUsageByGroupInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationFeatureUsageForbiddenException.php b/lib/Exception/GetOrganizationFeatureUsageForbiddenException.php deleted file mode 100644 index e7b00a0..0000000 --- a/lib/Exception/GetOrganizationFeatureUsageForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationFeatureUsageInternalServerErrorException.php b/lib/Exception/GetOrganizationFeatureUsageInternalServerErrorException.php deleted file mode 100644 index 1edc2a9..0000000 --- a/lib/Exception/GetOrganizationFeatureUsageInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationFeatureUsageServiceUnavailableException.php b/lib/Exception/GetOrganizationFeatureUsageServiceUnavailableException.php deleted file mode 100644 index e6a85f4..0000000 --- a/lib/Exception/GetOrganizationFeatureUsageServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationHistoricalUsageTotalsByGroupBadRequestException.php b/lib/Exception/GetOrganizationHistoricalUsageTotalsByGroupBadRequestException.php deleted file mode 100644 index 4a66a0c..0000000 --- a/lib/Exception/GetOrganizationHistoricalUsageTotalsByGroupBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationHistoricalUsageTotalsByGroupForbiddenException.php b/lib/Exception/GetOrganizationHistoricalUsageTotalsByGroupForbiddenException.php deleted file mode 100644 index 53bb489..0000000 --- a/lib/Exception/GetOrganizationHistoricalUsageTotalsByGroupForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationHistoricalUsageTotalsByGroupInternalServerErrorException.php b/lib/Exception/GetOrganizationHistoricalUsageTotalsByGroupInternalServerErrorException.php deleted file mode 100644 index 055313e..0000000 --- a/lib/Exception/GetOrganizationHistoricalUsageTotalsByGroupInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationSSOSettingsForbiddenException.php b/lib/Exception/GetOrganizationSSOSettingsForbiddenException.php deleted file mode 100644 index ae4ac7d..0000000 --- a/lib/Exception/GetOrganizationSSOSettingsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationSSOSettingsInternalServerErrorException.php b/lib/Exception/GetOrganizationSSOSettingsInternalServerErrorException.php deleted file mode 100644 index a61f936..0000000 --- a/lib/Exception/GetOrganizationSSOSettingsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationSSOSettingsNotFoundException.php b/lib/Exception/GetOrganizationSSOSettingsNotFoundException.php deleted file mode 100644 index 9dd5b0b..0000000 --- a/lib/Exception/GetOrganizationSSOSettingsNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationSSOSettingsPaymentRequiredException.php b/lib/Exception/GetOrganizationSSOSettingsPaymentRequiredException.php deleted file mode 100644 index 47b8777..0000000 --- a/lib/Exception/GetOrganizationSSOSettingsPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationSSOSettingsServiceUnavailableException.php b/lib/Exception/GetOrganizationSSOSettingsServiceUnavailableException.php deleted file mode 100644 index aacffb0..0000000 --- a/lib/Exception/GetOrganizationSSOSettingsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationStripeInfoBadRequestException.php b/lib/Exception/GetOrganizationStripeInfoBadRequestException.php deleted file mode 100644 index acfd8a1..0000000 --- a/lib/Exception/GetOrganizationStripeInfoBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationStripeInfoForbiddenException.php b/lib/Exception/GetOrganizationStripeInfoForbiddenException.php deleted file mode 100644 index 7cdddcd..0000000 --- a/lib/Exception/GetOrganizationStripeInfoForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOrganizationStripeInfoInternalServerErrorException.php b/lib/Exception/GetOrganizationStripeInfoInternalServerErrorException.php deleted file mode 100644 index 8bd2e06..0000000 --- a/lib/Exception/GetOrganizationStripeInfoInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverrideHistoryForBitlinkForbiddenException.php b/lib/Exception/GetOverrideHistoryForBitlinkForbiddenException.php deleted file mode 100644 index 4eaba6f..0000000 --- a/lib/Exception/GetOverrideHistoryForBitlinkForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverrideHistoryForBitlinkInternalServerErrorException.php b/lib/Exception/GetOverrideHistoryForBitlinkInternalServerErrorException.php deleted file mode 100644 index 86e20f7..0000000 --- a/lib/Exception/GetOverrideHistoryForBitlinkInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverrideHistoryForBitlinkNotFoundException.php b/lib/Exception/GetOverrideHistoryForBitlinkNotFoundException.php deleted file mode 100644 index 091b18f..0000000 --- a/lib/Exception/GetOverrideHistoryForBitlinkNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverrideHistoryForBitlinkPaymentRequiredException.php b/lib/Exception/GetOverrideHistoryForBitlinkPaymentRequiredException.php deleted file mode 100644 index 09235e3..0000000 --- a/lib/Exception/GetOverrideHistoryForBitlinkPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverrideHistoryForBitlinkServiceUnavailableException.php b/lib/Exception/GetOverrideHistoryForBitlinkServiceUnavailableException.php deleted file mode 100644 index 0cd8ecd..0000000 --- a/lib/Exception/GetOverrideHistoryForBitlinkServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverrideHistoryForBitlinkTooManyRequestsException.php b/lib/Exception/GetOverrideHistoryForBitlinkTooManyRequestsException.php deleted file mode 100644 index 1fbc665..0000000 --- a/lib/Exception/GetOverrideHistoryForBitlinkTooManyRequestsException.php +++ /dev/null @@ -1,40 +0,0 @@ -monthlyLimitExceeded = $monthlyLimitExceeded; - $this->response = $response; - } - - public function getMonthlyLimitExceeded(): \Bitly\Model\MonthlyLimitExceeded - { - return $this->monthlyLimitExceeded; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverrideMetricsByVersionBadRequestException.php b/lib/Exception/GetOverrideMetricsByVersionBadRequestException.php deleted file mode 100644 index ead96a7..0000000 --- a/lib/Exception/GetOverrideMetricsByVersionBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverrideMetricsByVersionForbiddenException.php b/lib/Exception/GetOverrideMetricsByVersionForbiddenException.php deleted file mode 100644 index 203bbba..0000000 --- a/lib/Exception/GetOverrideMetricsByVersionForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverrideMetricsByVersionGoneException.php b/lib/Exception/GetOverrideMetricsByVersionGoneException.php deleted file mode 100644 index 479d46f..0000000 --- a/lib/Exception/GetOverrideMetricsByVersionGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverrideMetricsByVersionInternalServerErrorException.php b/lib/Exception/GetOverrideMetricsByVersionInternalServerErrorException.php deleted file mode 100644 index a7ae458..0000000 --- a/lib/Exception/GetOverrideMetricsByVersionInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverrideMetricsByVersionNotFoundException.php b/lib/Exception/GetOverrideMetricsByVersionNotFoundException.php deleted file mode 100644 index 0b023eb..0000000 --- a/lib/Exception/GetOverrideMetricsByVersionNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverrideMetricsByVersionPaymentRequiredException.php b/lib/Exception/GetOverrideMetricsByVersionPaymentRequiredException.php deleted file mode 100644 index 662767c..0000000 --- a/lib/Exception/GetOverrideMetricsByVersionPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverrideMetricsByVersionServiceUnavailableException.php b/lib/Exception/GetOverrideMetricsByVersionServiceUnavailableException.php deleted file mode 100644 index d47add7..0000000 --- a/lib/Exception/GetOverrideMetricsByVersionServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverridesForBitlinkForbiddenException.php b/lib/Exception/GetOverridesForBitlinkForbiddenException.php deleted file mode 100644 index f7db6dc..0000000 --- a/lib/Exception/GetOverridesForBitlinkForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverridesForBitlinkGoneException.php b/lib/Exception/GetOverridesForBitlinkGoneException.php deleted file mode 100644 index 6b5a45e..0000000 --- a/lib/Exception/GetOverridesForBitlinkGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverridesForBitlinkInternalServerErrorException.php b/lib/Exception/GetOverridesForBitlinkInternalServerErrorException.php deleted file mode 100644 index 632c324..0000000 --- a/lib/Exception/GetOverridesForBitlinkInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverridesForBitlinkNotFoundException.php b/lib/Exception/GetOverridesForBitlinkNotFoundException.php deleted file mode 100644 index db534a1..0000000 --- a/lib/Exception/GetOverridesForBitlinkNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverridesForBitlinkPaymentRequiredException.php b/lib/Exception/GetOverridesForBitlinkPaymentRequiredException.php deleted file mode 100644 index dbd21a5..0000000 --- a/lib/Exception/GetOverridesForBitlinkPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverridesForBitlinkServiceUnavailableException.php b/lib/Exception/GetOverridesForBitlinkServiceUnavailableException.php deleted file mode 100644 index 9be807b..0000000 --- a/lib/Exception/GetOverridesForBitlinkServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverridesForGroupsBadRequestException.php b/lib/Exception/GetOverridesForGroupsBadRequestException.php deleted file mode 100644 index aa5507b..0000000 --- a/lib/Exception/GetOverridesForGroupsBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverridesForGroupsForbiddenException.php b/lib/Exception/GetOverridesForGroupsForbiddenException.php deleted file mode 100644 index e759d7a..0000000 --- a/lib/Exception/GetOverridesForGroupsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverridesForGroupsInternalServerErrorException.php b/lib/Exception/GetOverridesForGroupsInternalServerErrorException.php deleted file mode 100644 index 86795a4..0000000 --- a/lib/Exception/GetOverridesForGroupsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverridesForGroupsNotFoundException.php b/lib/Exception/GetOverridesForGroupsNotFoundException.php deleted file mode 100644 index 5642efe..0000000 --- a/lib/Exception/GetOverridesForGroupsNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverridesForGroupsPaymentRequiredException.php b/lib/Exception/GetOverridesForGroupsPaymentRequiredException.php deleted file mode 100644 index 118cc37..0000000 --- a/lib/Exception/GetOverridesForGroupsPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetOverridesForGroupsServiceUnavailableException.php b/lib/Exception/GetOverridesForGroupsServiceUnavailableException.php deleted file mode 100644 index 4c26cda..0000000 --- a/lib/Exception/GetOverridesForGroupsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetPaymentInvoiceFileForbiddenException.php b/lib/Exception/GetPaymentInvoiceFileForbiddenException.php deleted file mode 100644 index 4424394..0000000 --- a/lib/Exception/GetPaymentInvoiceFileForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetPaymentInvoiceFileInternalServerErrorException.php b/lib/Exception/GetPaymentInvoiceFileInternalServerErrorException.php deleted file mode 100644 index e0f8cb3..0000000 --- a/lib/Exception/GetPaymentInvoiceFileInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetPaymentInvoiceFileNotFoundException.php b/lib/Exception/GetPaymentInvoiceFileNotFoundException.php deleted file mode 100644 index 24d9a8a..0000000 --- a/lib/Exception/GetPaymentInvoiceFileNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetPaymentInvoiceForbiddenException.php b/lib/Exception/GetPaymentInvoiceForbiddenException.php deleted file mode 100644 index 3d43de9..0000000 --- a/lib/Exception/GetPaymentInvoiceForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetPaymentInvoiceInternalServerErrorException.php b/lib/Exception/GetPaymentInvoiceInternalServerErrorException.php deleted file mode 100644 index 3e8c469..0000000 --- a/lib/Exception/GetPaymentInvoiceInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetPaymentInvoicesForbiddenException.php b/lib/Exception/GetPaymentInvoicesForbiddenException.php deleted file mode 100644 index 4dd238f..0000000 --- a/lib/Exception/GetPaymentInvoicesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetPaymentInvoicesInternalServerErrorException.php b/lib/Exception/GetPaymentInvoicesInternalServerErrorException.php deleted file mode 100644 index 4c58c01..0000000 --- a/lib/Exception/GetPaymentInvoicesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetPendingTierForOrgForbiddenException.php b/lib/Exception/GetPendingTierForOrgForbiddenException.php deleted file mode 100644 index 554a0ef..0000000 --- a/lib/Exception/GetPendingTierForOrgForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetPendingTierForOrgInternalServerErrorException.php b/lib/Exception/GetPendingTierForOrgInternalServerErrorException.php deleted file mode 100644 index 14d36c7..0000000 --- a/lib/Exception/GetPendingTierForOrgInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetPendingTierForOrgNotFoundException.php b/lib/Exception/GetPendingTierForOrgNotFoundException.php deleted file mode 100644 index 2b0f8af..0000000 --- a/lib/Exception/GetPendingTierForOrgNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetPrivateGeoInternalServerErrorException.php b/lib/Exception/GetPrivateGeoInternalServerErrorException.php deleted file mode 100644 index a39f5b9..0000000 --- a/lib/Exception/GetPrivateGeoInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetProductUtilizationBadRequestException.php b/lib/Exception/GetProductUtilizationBadRequestException.php deleted file mode 100644 index 5ea0bb2..0000000 --- a/lib/Exception/GetProductUtilizationBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetProductUtilizationForbiddenException.php b/lib/Exception/GetProductUtilizationForbiddenException.php deleted file mode 100644 index b139365..0000000 --- a/lib/Exception/GetProductUtilizationForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetProductUtilizationInternalServerErrorException.php b/lib/Exception/GetProductUtilizationInternalServerErrorException.php deleted file mode 100644 index 20dc0ff..0000000 --- a/lib/Exception/GetProductUtilizationInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetPromoCodeValidPlansInternalServerErrorException.php b/lib/Exception/GetPromoCodeValidPlansInternalServerErrorException.php deleted file mode 100644 index 52892f8..0000000 --- a/lib/Exception/GetPromoCodeValidPlansInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetPromoCodeValidPlansServiceUnavailableException.php b/lib/Exception/GetPromoCodeValidPlansServiceUnavailableException.php deleted file mode 100644 index 434ba99..0000000 --- a/lib/Exception/GetPromoCodeValidPlansServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCHistoryBadRequestException.php b/lib/Exception/GetQRCHistoryBadRequestException.php deleted file mode 100644 index 479b8b6..0000000 --- a/lib/Exception/GetQRCHistoryBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCHistoryForbiddenException.php b/lib/Exception/GetQRCHistoryForbiddenException.php deleted file mode 100644 index 139cfe9..0000000 --- a/lib/Exception/GetQRCHistoryForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCHistoryInternalServerErrorException.php b/lib/Exception/GetQRCHistoryInternalServerErrorException.php deleted file mode 100644 index ae21407..0000000 --- a/lib/Exception/GetQRCHistoryInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCHistoryTooManyRequestsException.php b/lib/Exception/GetQRCHistoryTooManyRequestsException.php deleted file mode 100644 index 3de6e60..0000000 --- a/lib/Exception/GetQRCHistoryTooManyRequestsException.php +++ /dev/null @@ -1,40 +0,0 @@ -monthlyLimitExceeded = $monthlyLimitExceeded; - $this->response = $response; - } - - public function getMonthlyLimitExceeded(): \Bitly\Model\MonthlyLimitExceeded - { - return $this->monthlyLimitExceeded; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeByBitlinkIdBadRequestException.php b/lib/Exception/GetQRCodeByBitlinkIdBadRequestException.php deleted file mode 100644 index 1f47bf2..0000000 --- a/lib/Exception/GetQRCodeByBitlinkIdBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeByBitlinkIdForbiddenException.php b/lib/Exception/GetQRCodeByBitlinkIdForbiddenException.php deleted file mode 100644 index 803b906..0000000 --- a/lib/Exception/GetQRCodeByBitlinkIdForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeByBitlinkIdGoneException.php b/lib/Exception/GetQRCodeByBitlinkIdGoneException.php deleted file mode 100644 index 8bab533..0000000 --- a/lib/Exception/GetQRCodeByBitlinkIdGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeByBitlinkIdInternalServerErrorException.php b/lib/Exception/GetQRCodeByBitlinkIdInternalServerErrorException.php deleted file mode 100644 index ed8ee81..0000000 --- a/lib/Exception/GetQRCodeByBitlinkIdInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeByBitlinkIdNotFoundException.php b/lib/Exception/GetQRCodeByBitlinkIdNotFoundException.php deleted file mode 100644 index 8c69700..0000000 --- a/lib/Exception/GetQRCodeByBitlinkIdNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeByIdBadRequestException.php b/lib/Exception/GetQRCodeByIdBadRequestException.php deleted file mode 100644 index 51fd80c..0000000 --- a/lib/Exception/GetQRCodeByIdBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeByIdForbiddenException.php b/lib/Exception/GetQRCodeByIdForbiddenException.php deleted file mode 100644 index 3077c7b..0000000 --- a/lib/Exception/GetQRCodeByIdForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeByIdGoneException.php b/lib/Exception/GetQRCodeByIdGoneException.php deleted file mode 100644 index 0e8dbd8..0000000 --- a/lib/Exception/GetQRCodeByIdGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeByIdInternalServerErrorException.php b/lib/Exception/GetQRCodeByIdInternalServerErrorException.php deleted file mode 100644 index cc8ba80..0000000 --- a/lib/Exception/GetQRCodeByIdInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeByIdNotFoundException.php b/lib/Exception/GetQRCodeByIdNotFoundException.php deleted file mode 100644 index 68476fc..0000000 --- a/lib/Exception/GetQRCodeByIdNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeCustomizationOptionsBadRequestException.php b/lib/Exception/GetQRCodeCustomizationOptionsBadRequestException.php deleted file mode 100644 index f37b44b..0000000 --- a/lib/Exception/GetQRCodeCustomizationOptionsBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeCustomizationOptionsForbiddenException.php b/lib/Exception/GetQRCodeCustomizationOptionsForbiddenException.php deleted file mode 100644 index 931fe75..0000000 --- a/lib/Exception/GetQRCodeCustomizationOptionsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeCustomizationOptionsInternalServerErrorException.php b/lib/Exception/GetQRCodeCustomizationOptionsInternalServerErrorException.php deleted file mode 100644 index d22232a..0000000 --- a/lib/Exception/GetQRCodeCustomizationOptionsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeCustomizationOptionsNotFoundException.php b/lib/Exception/GetQRCodeCustomizationOptionsNotFoundException.php deleted file mode 100644 index 9975d06..0000000 --- a/lib/Exception/GetQRCodeCustomizationOptionsNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeOverrideMetricsByVersionBadRequestException.php b/lib/Exception/GetQRCodeOverrideMetricsByVersionBadRequestException.php deleted file mode 100644 index c5dfa70..0000000 --- a/lib/Exception/GetQRCodeOverrideMetricsByVersionBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeOverrideMetricsByVersionForbiddenException.php b/lib/Exception/GetQRCodeOverrideMetricsByVersionForbiddenException.php deleted file mode 100644 index ab28196..0000000 --- a/lib/Exception/GetQRCodeOverrideMetricsByVersionForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeOverrideMetricsByVersionGoneException.php b/lib/Exception/GetQRCodeOverrideMetricsByVersionGoneException.php deleted file mode 100644 index 4308d62..0000000 --- a/lib/Exception/GetQRCodeOverrideMetricsByVersionGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeOverrideMetricsByVersionInternalServerErrorException.php b/lib/Exception/GetQRCodeOverrideMetricsByVersionInternalServerErrorException.php deleted file mode 100644 index eb1a605..0000000 --- a/lib/Exception/GetQRCodeOverrideMetricsByVersionInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeOverrideMetricsByVersionNotFoundException.php b/lib/Exception/GetQRCodeOverrideMetricsByVersionNotFoundException.php deleted file mode 100644 index 1d7139e..0000000 --- a/lib/Exception/GetQRCodeOverrideMetricsByVersionNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeOverrideMetricsByVersionPaymentRequiredException.php b/lib/Exception/GetQRCodeOverrideMetricsByVersionPaymentRequiredException.php deleted file mode 100644 index 0990314..0000000 --- a/lib/Exception/GetQRCodeOverrideMetricsByVersionPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeOverrideMetricsByVersionServiceUnavailableException.php b/lib/Exception/GetQRCodeOverrideMetricsByVersionServiceUnavailableException.php deleted file mode 100644 index 5a75d6b..0000000 --- a/lib/Exception/GetQRCodeOverrideMetricsByVersionServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeTemplatesBadRequestException.php b/lib/Exception/GetQRCodeTemplatesBadRequestException.php deleted file mode 100644 index 7939206..0000000 --- a/lib/Exception/GetQRCodeTemplatesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeTemplatesForbiddenException.php b/lib/Exception/GetQRCodeTemplatesForbiddenException.php deleted file mode 100644 index c93ea96..0000000 --- a/lib/Exception/GetQRCodeTemplatesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeTemplatesGoneException.php b/lib/Exception/GetQRCodeTemplatesGoneException.php deleted file mode 100644 index 6c99746..0000000 --- a/lib/Exception/GetQRCodeTemplatesGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeTemplatesInternalServerErrorException.php b/lib/Exception/GetQRCodeTemplatesInternalServerErrorException.php deleted file mode 100644 index 050fe44..0000000 --- a/lib/Exception/GetQRCodeTemplatesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeTemplatesNotFoundException.php b/lib/Exception/GetQRCodeTemplatesNotFoundException.php deleted file mode 100644 index c00073e..0000000 --- a/lib/Exception/GetQRCodeTemplatesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetQRCodeTemplatesPaymentRequiredException.php b/lib/Exception/GetQRCodeTemplatesPaymentRequiredException.php deleted file mode 100644 index 0f7dea9..0000000 --- a/lib/Exception/GetQRCodeTemplatesPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetRegionsListInternalServerErrorException.php b/lib/Exception/GetRegionsListInternalServerErrorException.php deleted file mode 100644 index ce6ad5c..0000000 --- a/lib/Exception/GetRegionsListInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetRetainedEntitiesAfterDowngradeForbiddenException.php b/lib/Exception/GetRetainedEntitiesAfterDowngradeForbiddenException.php deleted file mode 100644 index 100de15..0000000 --- a/lib/Exception/GetRetainedEntitiesAfterDowngradeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetRetainedEntitiesAfterDowngradeInternalServerErrorException.php b/lib/Exception/GetRetainedEntitiesAfterDowngradeInternalServerErrorException.php deleted file mode 100644 index 44b9b44..0000000 --- a/lib/Exception/GetRetainedEntitiesAfterDowngradeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSSOUsersBadRequestException.php b/lib/Exception/GetSSOUsersBadRequestException.php deleted file mode 100644 index 7a9bd2c..0000000 --- a/lib/Exception/GetSSOUsersBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSSOUsersForbiddenException.php b/lib/Exception/GetSSOUsersForbiddenException.php deleted file mode 100644 index 4c78977..0000000 --- a/lib/Exception/GetSSOUsersForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSSOUsersInternalServerErrorException.php b/lib/Exception/GetSSOUsersInternalServerErrorException.php deleted file mode 100644 index 4652e34..0000000 --- a/lib/Exception/GetSSOUsersInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByBrowserBadRequestException.php b/lib/Exception/GetScanMetricsForBitlinkByBrowserBadRequestException.php deleted file mode 100644 index 21b3171..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByBrowserBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByBrowserForbiddenException.php b/lib/Exception/GetScanMetricsForBitlinkByBrowserForbiddenException.php deleted file mode 100644 index fdf9e96..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByBrowserForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByBrowserGoneException.php b/lib/Exception/GetScanMetricsForBitlinkByBrowserGoneException.php deleted file mode 100644 index fb6a7a9..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByBrowserGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByBrowserInternalServerErrorException.php b/lib/Exception/GetScanMetricsForBitlinkByBrowserInternalServerErrorException.php deleted file mode 100644 index 87f00d5..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByBrowserInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByBrowserNotFoundException.php b/lib/Exception/GetScanMetricsForBitlinkByBrowserNotFoundException.php deleted file mode 100644 index b842739..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByBrowserNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByBrowserPaymentRequiredException.php b/lib/Exception/GetScanMetricsForBitlinkByBrowserPaymentRequiredException.php deleted file mode 100644 index e555c56..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByBrowserPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByBrowserServiceUnavailableException.php b/lib/Exception/GetScanMetricsForBitlinkByBrowserServiceUnavailableException.php deleted file mode 100644 index 8693281..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByBrowserServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByCitiesBadRequestException.php b/lib/Exception/GetScanMetricsForBitlinkByCitiesBadRequestException.php deleted file mode 100644 index fcd41c8..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByCitiesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByCitiesForbiddenException.php b/lib/Exception/GetScanMetricsForBitlinkByCitiesForbiddenException.php deleted file mode 100644 index 12e7e88..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByCitiesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByCitiesGoneException.php b/lib/Exception/GetScanMetricsForBitlinkByCitiesGoneException.php deleted file mode 100644 index 70f294f..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByCitiesGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByCitiesInternalServerErrorException.php b/lib/Exception/GetScanMetricsForBitlinkByCitiesInternalServerErrorException.php deleted file mode 100644 index 2b3d83c..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByCitiesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByCitiesNotFoundException.php b/lib/Exception/GetScanMetricsForBitlinkByCitiesNotFoundException.php deleted file mode 100644 index 6774bf5..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByCitiesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByCitiesPaymentRequiredException.php b/lib/Exception/GetScanMetricsForBitlinkByCitiesPaymentRequiredException.php deleted file mode 100644 index 4d3f815..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByCitiesPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByCitiesServiceUnavailableException.php b/lib/Exception/GetScanMetricsForBitlinkByCitiesServiceUnavailableException.php deleted file mode 100644 index 3cc4614..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByCitiesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByCountriesBadRequestException.php b/lib/Exception/GetScanMetricsForBitlinkByCountriesBadRequestException.php deleted file mode 100644 index 45e3dfa..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByCountriesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByCountriesForbiddenException.php b/lib/Exception/GetScanMetricsForBitlinkByCountriesForbiddenException.php deleted file mode 100644 index c8415f7..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByCountriesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByCountriesGoneException.php b/lib/Exception/GetScanMetricsForBitlinkByCountriesGoneException.php deleted file mode 100644 index ec2d1f0..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByCountriesGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByCountriesInternalServerErrorException.php b/lib/Exception/GetScanMetricsForBitlinkByCountriesInternalServerErrorException.php deleted file mode 100644 index fa4c7a3..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByCountriesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByCountriesNotFoundException.php b/lib/Exception/GetScanMetricsForBitlinkByCountriesNotFoundException.php deleted file mode 100644 index 3c29f29..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByCountriesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByCountriesServiceUnavailableException.php b/lib/Exception/GetScanMetricsForBitlinkByCountriesServiceUnavailableException.php deleted file mode 100644 index 1cae79d..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByCountriesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByDevicesOSBadRequestException.php b/lib/Exception/GetScanMetricsForBitlinkByDevicesOSBadRequestException.php deleted file mode 100644 index 1d8411f..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByDevicesOSBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByDevicesOSForbiddenException.php b/lib/Exception/GetScanMetricsForBitlinkByDevicesOSForbiddenException.php deleted file mode 100644 index d1a727e..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByDevicesOSForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByDevicesOSGoneException.php b/lib/Exception/GetScanMetricsForBitlinkByDevicesOSGoneException.php deleted file mode 100644 index 26bdd08..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByDevicesOSGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByDevicesOSInternalServerErrorException.php b/lib/Exception/GetScanMetricsForBitlinkByDevicesOSInternalServerErrorException.php deleted file mode 100644 index aa41b6e..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByDevicesOSInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByDevicesOSNotFoundException.php b/lib/Exception/GetScanMetricsForBitlinkByDevicesOSNotFoundException.php deleted file mode 100644 index 06deda6..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByDevicesOSNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByDevicesOSPaymentRequiredException.php b/lib/Exception/GetScanMetricsForBitlinkByDevicesOSPaymentRequiredException.php deleted file mode 100644 index 94eb17b..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByDevicesOSPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScanMetricsForBitlinkByDevicesOSServiceUnavailableException.php b/lib/Exception/GetScanMetricsForBitlinkByDevicesOSServiceUnavailableException.php deleted file mode 100644 index 9bd8b18..0000000 --- a/lib/Exception/GetScanMetricsForBitlinkByDevicesOSServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScansForBitlinkBadRequestException.php b/lib/Exception/GetScansForBitlinkBadRequestException.php deleted file mode 100644 index 5323d7a..0000000 --- a/lib/Exception/GetScansForBitlinkBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScansForBitlinkForbiddenException.php b/lib/Exception/GetScansForBitlinkForbiddenException.php deleted file mode 100644 index 7aeb968..0000000 --- a/lib/Exception/GetScansForBitlinkForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScansForBitlinkGoneException.php b/lib/Exception/GetScansForBitlinkGoneException.php deleted file mode 100644 index 5a802d7..0000000 --- a/lib/Exception/GetScansForBitlinkGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScansForBitlinkInternalServerErrorException.php b/lib/Exception/GetScansForBitlinkInternalServerErrorException.php deleted file mode 100644 index 4f357f1..0000000 --- a/lib/Exception/GetScansForBitlinkInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScansForBitlinkNotFoundException.php b/lib/Exception/GetScansForBitlinkNotFoundException.php deleted file mode 100644 index 43a2e95..0000000 --- a/lib/Exception/GetScansForBitlinkNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScansForBitlinkServiceUnavailableException.php b/lib/Exception/GetScansForBitlinkServiceUnavailableException.php deleted file mode 100644 index 62a292a..0000000 --- a/lib/Exception/GetScansForBitlinkServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScansSummaryForBitlinkBadRequestException.php b/lib/Exception/GetScansSummaryForBitlinkBadRequestException.php deleted file mode 100644 index 0194d9b..0000000 --- a/lib/Exception/GetScansSummaryForBitlinkBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScansSummaryForBitlinkForbiddenException.php b/lib/Exception/GetScansSummaryForBitlinkForbiddenException.php deleted file mode 100644 index a3b8fe8..0000000 --- a/lib/Exception/GetScansSummaryForBitlinkForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScansSummaryForBitlinkGoneException.php b/lib/Exception/GetScansSummaryForBitlinkGoneException.php deleted file mode 100644 index c0d3ef7..0000000 --- a/lib/Exception/GetScansSummaryForBitlinkGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScansSummaryForBitlinkInternalServerErrorException.php b/lib/Exception/GetScansSummaryForBitlinkInternalServerErrorException.php deleted file mode 100644 index 5cf7ac1..0000000 --- a/lib/Exception/GetScansSummaryForBitlinkInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScansSummaryForBitlinkNotFoundException.php b/lib/Exception/GetScansSummaryForBitlinkNotFoundException.php deleted file mode 100644 index f98b5c0..0000000 --- a/lib/Exception/GetScansSummaryForBitlinkNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetScansSummaryForBitlinkServiceUnavailableException.php b/lib/Exception/GetScansSummaryForBitlinkServiceUnavailableException.php deleted file mode 100644 index 4a40848..0000000 --- a/lib/Exception/GetScansSummaryForBitlinkServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetShopifyShopDomainDetailsBadRequestException.php b/lib/Exception/GetShopifyShopDomainDetailsBadRequestException.php deleted file mode 100644 index c4ab404..0000000 --- a/lib/Exception/GetShopifyShopDomainDetailsBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetShopifyShopDomainDetailsForbiddenException.php b/lib/Exception/GetShopifyShopDomainDetailsForbiddenException.php deleted file mode 100644 index 7373942..0000000 --- a/lib/Exception/GetShopifyShopDomainDetailsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetShopifyShopDomainDetailsInternalServerErrorException.php b/lib/Exception/GetShopifyShopDomainDetailsInternalServerErrorException.php deleted file mode 100644 index fa92e21..0000000 --- a/lib/Exception/GetShopifyShopDomainDetailsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetShopifyShopDomainDetailsNotFoundException.php b/lib/Exception/GetShopifyShopDomainDetailsNotFoundException.php deleted file mode 100644 index 79e217d..0000000 --- a/lib/Exception/GetShopifyShopDomainDetailsNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetShopifyShopDomainDetailsServiceUnavailableException.php b/lib/Exception/GetShopifyShopDomainDetailsServiceUnavailableException.php deleted file mode 100644 index 6a3690f..0000000 --- a/lib/Exception/GetShopifyShopDomainDetailsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteBadRequestException.php b/lib/Exception/GetSiteBadRequestException.php deleted file mode 100644 index 4b7fcbc..0000000 --- a/lib/Exception/GetSiteBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteClicksByCitiesBadRequestException.php b/lib/Exception/GetSiteClicksByCitiesBadRequestException.php deleted file mode 100644 index c281382..0000000 --- a/lib/Exception/GetSiteClicksByCitiesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteClicksByCitiesForbiddenException.php b/lib/Exception/GetSiteClicksByCitiesForbiddenException.php deleted file mode 100644 index 3e0f64f..0000000 --- a/lib/Exception/GetSiteClicksByCitiesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteClicksByCitiesInternalServerErrorException.php b/lib/Exception/GetSiteClicksByCitiesInternalServerErrorException.php deleted file mode 100644 index c8b19e5..0000000 --- a/lib/Exception/GetSiteClicksByCitiesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteClicksByCitiesServiceUnavailableException.php b/lib/Exception/GetSiteClicksByCitiesServiceUnavailableException.php deleted file mode 100644 index 50e4ddc..0000000 --- a/lib/Exception/GetSiteClicksByCitiesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteClicksByCountriesBadRequestException.php b/lib/Exception/GetSiteClicksByCountriesBadRequestException.php deleted file mode 100644 index c5941ba..0000000 --- a/lib/Exception/GetSiteClicksByCountriesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteClicksByCountriesForbiddenException.php b/lib/Exception/GetSiteClicksByCountriesForbiddenException.php deleted file mode 100644 index 9e8effa..0000000 --- a/lib/Exception/GetSiteClicksByCountriesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteClicksByCountriesInternalServerErrorException.php b/lib/Exception/GetSiteClicksByCountriesInternalServerErrorException.php deleted file mode 100644 index 5ae26f5..0000000 --- a/lib/Exception/GetSiteClicksByCountriesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteClicksByCountriesServiceUnavailableException.php b/lib/Exception/GetSiteClicksByCountriesServiceUnavailableException.php deleted file mode 100644 index a2e4178..0000000 --- a/lib/Exception/GetSiteClicksByCountriesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteClicksByDevicesBadRequestException.php b/lib/Exception/GetSiteClicksByDevicesBadRequestException.php deleted file mode 100644 index 78551f1..0000000 --- a/lib/Exception/GetSiteClicksByDevicesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteClicksByDevicesForbiddenException.php b/lib/Exception/GetSiteClicksByDevicesForbiddenException.php deleted file mode 100644 index f9f9790..0000000 --- a/lib/Exception/GetSiteClicksByDevicesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteClicksByDevicesInternalServerErrorException.php b/lib/Exception/GetSiteClicksByDevicesInternalServerErrorException.php deleted file mode 100644 index c11b844..0000000 --- a/lib/Exception/GetSiteClicksByDevicesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteClicksByDevicesServiceUnavailableException.php b/lib/Exception/GetSiteClicksByDevicesServiceUnavailableException.php deleted file mode 100644 index 7138ec4..0000000 --- a/lib/Exception/GetSiteClicksByDevicesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteClicksOverTimeBadRequestException.php b/lib/Exception/GetSiteClicksOverTimeBadRequestException.php deleted file mode 100644 index 6029e6a..0000000 --- a/lib/Exception/GetSiteClicksOverTimeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteClicksOverTimeForbiddenException.php b/lib/Exception/GetSiteClicksOverTimeForbiddenException.php deleted file mode 100644 index d2d38da..0000000 --- a/lib/Exception/GetSiteClicksOverTimeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteClicksOverTimeInternalServerErrorException.php b/lib/Exception/GetSiteClicksOverTimeInternalServerErrorException.php deleted file mode 100644 index f0039b5..0000000 --- a/lib/Exception/GetSiteClicksOverTimeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteClicksOverTimeServiceUnavailableException.php b/lib/Exception/GetSiteClicksOverTimeServiceUnavailableException.php deleted file mode 100644 index 9dc42a1..0000000 --- a/lib/Exception/GetSiteClicksOverTimeServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksBadRequestException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksBadRequestException.php deleted file mode 100644 index c2dce28..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksForbiddenException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksForbiddenException.php deleted file mode 100644 index 4b82786..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksInternalServerErrorException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksInternalServerErrorException.php deleted file mode 100644 index 9a32d58..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksNotFoundException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksNotFoundException.php deleted file mode 100644 index cfac5bd..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksServiceUnavailableException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksServiceUnavailableException.php deleted file mode 100644 index 2fae05d..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByBlocksServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesBadRequestException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesBadRequestException.php deleted file mode 100644 index 511a343..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesForbiddenException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesForbiddenException.php deleted file mode 100644 index 4be0c5f..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesInternalServerErrorException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesInternalServerErrorException.php deleted file mode 100644 index d344ca4..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesNotFoundException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesNotFoundException.php deleted file mode 100644 index 8fe8d74..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesServiceUnavailableException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesServiceUnavailableException.php deleted file mode 100644 index e25e5f6..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCitiesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesBadRequestException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesBadRequestException.php deleted file mode 100644 index 96da585..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesForbiddenException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesForbiddenException.php deleted file mode 100644 index c9c488c..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesInternalServerErrorException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesInternalServerErrorException.php deleted file mode 100644 index e154c42..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesNotFoundException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesNotFoundException.php deleted file mode 100644 index 629ceda..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesServiceUnavailableException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesServiceUnavailableException.php deleted file mode 100644 index 2ac20c4..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByCountriesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesBadRequestException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesBadRequestException.php deleted file mode 100644 index 73fd481..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesForbiddenException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesForbiddenException.php deleted file mode 100644 index 2b05a9a..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesInternalServerErrorException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesInternalServerErrorException.php deleted file mode 100644 index f843a05..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesNotFoundException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesNotFoundException.php deleted file mode 100644 index 378c8a0..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesServiceUnavailableException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesServiceUnavailableException.php deleted file mode 100644 index 70bc379..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsByDevicesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeBadRequestException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeBadRequestException.php deleted file mode 100644 index 665e4d4..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeForbiddenException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeForbiddenException.php deleted file mode 100644 index 9a0a769..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php deleted file mode 100644 index 4301e59..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeNotFoundException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeNotFoundException.php deleted file mode 100644 index c0cccd8..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php b/lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php deleted file mode 100644 index efff577..0000000 --- a/lib/Exception/GetSiteDigitalBusinessCardDownloadsOverTimeServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteFilteredTopPageButtonsBadRequestException.php b/lib/Exception/GetSiteFilteredTopPageButtonsBadRequestException.php deleted file mode 100644 index 28c4fdf..0000000 --- a/lib/Exception/GetSiteFilteredTopPageButtonsBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteFilteredTopPageButtonsForbiddenException.php b/lib/Exception/GetSiteFilteredTopPageButtonsForbiddenException.php deleted file mode 100644 index 64d905c..0000000 --- a/lib/Exception/GetSiteFilteredTopPageButtonsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteFilteredTopPageButtonsInternalServerErrorException.php b/lib/Exception/GetSiteFilteredTopPageButtonsInternalServerErrorException.php deleted file mode 100644 index c753497..0000000 --- a/lib/Exception/GetSiteFilteredTopPageButtonsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteFilteredTopPageButtonsServiceUnavailableException.php b/lib/Exception/GetSiteFilteredTopPageButtonsServiceUnavailableException.php deleted file mode 100644 index 7513d52..0000000 --- a/lib/Exception/GetSiteFilteredTopPageButtonsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteForbiddenException.php b/lib/Exception/GetSiteForbiddenException.php deleted file mode 100644 index 62eea3a..0000000 --- a/lib/Exception/GetSiteForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteInternalServerErrorException.php b/lib/Exception/GetSiteInternalServerErrorException.php deleted file mode 100644 index aac3f79..0000000 --- a/lib/Exception/GetSiteInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteLayoutsBadRequestException.php b/lib/Exception/GetSiteLayoutsBadRequestException.php deleted file mode 100644 index c095506..0000000 --- a/lib/Exception/GetSiteLayoutsBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteLayoutsForbiddenException.php b/lib/Exception/GetSiteLayoutsForbiddenException.php deleted file mode 100644 index aa750c2..0000000 --- a/lib/Exception/GetSiteLayoutsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteLayoutsInternalServerErrorException.php b/lib/Exception/GetSiteLayoutsInternalServerErrorException.php deleted file mode 100644 index 423023b..0000000 --- a/lib/Exception/GetSiteLayoutsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteLayoutsNotFoundException.php b/lib/Exception/GetSiteLayoutsNotFoundException.php deleted file mode 100644 index 5cc21eb..0000000 --- a/lib/Exception/GetSiteLayoutsNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteLayoutsServiceUnavailableException.php b/lib/Exception/GetSiteLayoutsServiceUnavailableException.php deleted file mode 100644 index c6042c0..0000000 --- a/lib/Exception/GetSiteLayoutsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteNotFoundException.php b/lib/Exception/GetSiteNotFoundException.php deleted file mode 100644 index 321e482..0000000 --- a/lib/Exception/GetSiteNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSiteServiceUnavailableException.php b/lib/Exception/GetSiteServiceUnavailableException.php deleted file mode 100644 index bb09dcd..0000000 --- a/lib/Exception/GetSiteServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSitesForGroupBadRequestException.php b/lib/Exception/GetSitesForGroupBadRequestException.php deleted file mode 100644 index 3649ee7..0000000 --- a/lib/Exception/GetSitesForGroupBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSitesForGroupForbiddenException.php b/lib/Exception/GetSitesForGroupForbiddenException.php deleted file mode 100644 index 0ff2817..0000000 --- a/lib/Exception/GetSitesForGroupForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSitesForGroupInternalServerErrorException.php b/lib/Exception/GetSitesForGroupInternalServerErrorException.php deleted file mode 100644 index 51d832b..0000000 --- a/lib/Exception/GetSitesForGroupInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedEngagementsBadRequestException.php b/lib/Exception/GetSortedEngagementsBadRequestException.php deleted file mode 100644 index f29ef01..0000000 --- a/lib/Exception/GetSortedEngagementsBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedEngagementsForbiddenException.php b/lib/Exception/GetSortedEngagementsForbiddenException.php deleted file mode 100644 index d95efd6..0000000 --- a/lib/Exception/GetSortedEngagementsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedEngagementsGoneException.php b/lib/Exception/GetSortedEngagementsGoneException.php deleted file mode 100644 index 3a3bcf1..0000000 --- a/lib/Exception/GetSortedEngagementsGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedEngagementsInternalServerErrorException.php b/lib/Exception/GetSortedEngagementsInternalServerErrorException.php deleted file mode 100644 index 9d240e7..0000000 --- a/lib/Exception/GetSortedEngagementsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedEngagementsNotFoundException.php b/lib/Exception/GetSortedEngagementsNotFoundException.php deleted file mode 100644 index b1c5e23..0000000 --- a/lib/Exception/GetSortedEngagementsNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedEngagementsPaymentRequiredException.php b/lib/Exception/GetSortedEngagementsPaymentRequiredException.php deleted file mode 100644 index 734587e..0000000 --- a/lib/Exception/GetSortedEngagementsPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedEngagementsServiceUnavailableException.php b/lib/Exception/GetSortedEngagementsServiceUnavailableException.php deleted file mode 100644 index d6ec328..0000000 --- a/lib/Exception/GetSortedEngagementsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedScansBadRequestException.php b/lib/Exception/GetSortedScansBadRequestException.php deleted file mode 100644 index 0a0aa5e..0000000 --- a/lib/Exception/GetSortedScansBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedScansForGroupBadRequestException.php b/lib/Exception/GetSortedScansForGroupBadRequestException.php deleted file mode 100644 index 88292bb..0000000 --- a/lib/Exception/GetSortedScansForGroupBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedScansForGroupForbiddenException.php b/lib/Exception/GetSortedScansForGroupForbiddenException.php deleted file mode 100644 index ffd267f..0000000 --- a/lib/Exception/GetSortedScansForGroupForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedScansForGroupGoneException.php b/lib/Exception/GetSortedScansForGroupGoneException.php deleted file mode 100644 index d9a263c..0000000 --- a/lib/Exception/GetSortedScansForGroupGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedScansForGroupInternalServerErrorException.php b/lib/Exception/GetSortedScansForGroupInternalServerErrorException.php deleted file mode 100644 index 46f2dab..0000000 --- a/lib/Exception/GetSortedScansForGroupInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedScansForGroupNotFoundException.php b/lib/Exception/GetSortedScansForGroupNotFoundException.php deleted file mode 100644 index c60cbfb..0000000 --- a/lib/Exception/GetSortedScansForGroupNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedScansForGroupPaymentRequiredException.php b/lib/Exception/GetSortedScansForGroupPaymentRequiredException.php deleted file mode 100644 index 0b987ee..0000000 --- a/lib/Exception/GetSortedScansForGroupPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedScansForGroupServiceUnavailableException.php b/lib/Exception/GetSortedScansForGroupServiceUnavailableException.php deleted file mode 100644 index ba79ae9..0000000 --- a/lib/Exception/GetSortedScansForGroupServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedScansForbiddenException.php b/lib/Exception/GetSortedScansForbiddenException.php deleted file mode 100644 index e8416c8..0000000 --- a/lib/Exception/GetSortedScansForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedScansGoneException.php b/lib/Exception/GetSortedScansGoneException.php deleted file mode 100644 index 7e49d4c..0000000 --- a/lib/Exception/GetSortedScansGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedScansInternalServerErrorException.php b/lib/Exception/GetSortedScansInternalServerErrorException.php deleted file mode 100644 index 760781d..0000000 --- a/lib/Exception/GetSortedScansInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedScansNotFoundException.php b/lib/Exception/GetSortedScansNotFoundException.php deleted file mode 100644 index 723e5b8..0000000 --- a/lib/Exception/GetSortedScansNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedScansPaymentRequiredException.php b/lib/Exception/GetSortedScansPaymentRequiredException.php deleted file mode 100644 index e0e2f0f..0000000 --- a/lib/Exception/GetSortedScansPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetSortedScansServiceUnavailableException.php b/lib/Exception/GetSortedScansServiceUnavailableException.php deleted file mode 100644 index 43a19cf..0000000 --- a/lib/Exception/GetSortedScansServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTemplatesForbiddenException.php b/lib/Exception/GetTemplatesForbiddenException.php deleted file mode 100644 index 78098af..0000000 --- a/lib/Exception/GetTemplatesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTemplatesInternalServerErrorException.php b/lib/Exception/GetTemplatesInternalServerErrorException.php deleted file mode 100644 index bcae906..0000000 --- a/lib/Exception/GetTemplatesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTemplatesNotFoundException.php b/lib/Exception/GetTemplatesNotFoundException.php deleted file mode 100644 index 5c95880..0000000 --- a/lib/Exception/GetTemplatesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTemplatesServiceUnavailableException.php b/lib/Exception/GetTemplatesServiceUnavailableException.php deleted file mode 100644 index 6057225..0000000 --- a/lib/Exception/GetTemplatesServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTierForbiddenException.php b/lib/Exception/GetTierForbiddenException.php deleted file mode 100644 index b60293a..0000000 --- a/lib/Exception/GetTierForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTierInternalServerErrorException.php b/lib/Exception/GetTierInternalServerErrorException.php deleted file mode 100644 index cc527f7..0000000 --- a/lib/Exception/GetTierInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTierNotFoundException.php b/lib/Exception/GetTierNotFoundException.php deleted file mode 100644 index 9e3f463..0000000 --- a/lib/Exception/GetTierNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTierServiceUnavailableException.php b/lib/Exception/GetTierServiceUnavailableException.php deleted file mode 100644 index 5880762..0000000 --- a/lib/Exception/GetTierServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTiersForbiddenException.php b/lib/Exception/GetTiersForbiddenException.php deleted file mode 100644 index d6dcdf6..0000000 --- a/lib/Exception/GetTiersForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTiersInternalServerErrorException.php b/lib/Exception/GetTiersInternalServerErrorException.php deleted file mode 100644 index f205a5f..0000000 --- a/lib/Exception/GetTiersInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTiersServiceUnavailableException.php b/lib/Exception/GetTiersServiceUnavailableException.php deleted file mode 100644 index 8d845e1..0000000 --- a/lib/Exception/GetTiersServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTitleForLongURLForbiddenException.php b/lib/Exception/GetTitleForLongURLForbiddenException.php deleted file mode 100644 index cb5d1c9..0000000 --- a/lib/Exception/GetTitleForLongURLForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTitleForLongURLInternalServerErrorException.php b/lib/Exception/GetTitleForLongURLInternalServerErrorException.php deleted file mode 100644 index 920cb41..0000000 --- a/lib/Exception/GetTitleForLongURLInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTitleForLongURLNotFoundException.php b/lib/Exception/GetTitleForLongURLNotFoundException.php deleted file mode 100644 index 61fc367..0000000 --- a/lib/Exception/GetTitleForLongURLNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTitleForLongURLServiceUnavailableException.php b/lib/Exception/GetTitleForLongURLServiceUnavailableException.php deleted file mode 100644 index ff895ba..0000000 --- a/lib/Exception/GetTitleForLongURLServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTopSortedBitlinksBadRequestException.php b/lib/Exception/GetTopSortedBitlinksBadRequestException.php deleted file mode 100644 index 72885f8..0000000 --- a/lib/Exception/GetTopSortedBitlinksBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTopSortedBitlinksForbiddenException.php b/lib/Exception/GetTopSortedBitlinksForbiddenException.php deleted file mode 100644 index be9583e..0000000 --- a/lib/Exception/GetTopSortedBitlinksForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTopSortedBitlinksGoneException.php b/lib/Exception/GetTopSortedBitlinksGoneException.php deleted file mode 100644 index 4155be8..0000000 --- a/lib/Exception/GetTopSortedBitlinksGoneException.php +++ /dev/null @@ -1,40 +0,0 @@ -gone = $gone; - $this->response = $response; - } - - public function getGone(): \Bitly\Model\Gone - { - return $this->gone; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTopSortedBitlinksInternalServerErrorException.php b/lib/Exception/GetTopSortedBitlinksInternalServerErrorException.php deleted file mode 100644 index d18b627..0000000 --- a/lib/Exception/GetTopSortedBitlinksInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTopSortedBitlinksNotFoundException.php b/lib/Exception/GetTopSortedBitlinksNotFoundException.php deleted file mode 100644 index e92d464..0000000 --- a/lib/Exception/GetTopSortedBitlinksNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTopSortedBitlinksPaymentRequiredException.php b/lib/Exception/GetTopSortedBitlinksPaymentRequiredException.php deleted file mode 100644 index 90575ef..0000000 --- a/lib/Exception/GetTopSortedBitlinksPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTopSortedBitlinksServiceUnavailableException.php b/lib/Exception/GetTopSortedBitlinksServiceUnavailableException.php deleted file mode 100644 index 5b227b1..0000000 --- a/lib/Exception/GetTopSortedBitlinksServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTwoFARecordInternalServerErrorException.php b/lib/Exception/GetTwoFARecordInternalServerErrorException.php deleted file mode 100644 index f35c96f..0000000 --- a/lib/Exception/GetTwoFARecordInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTwoFARecordNotFoundException.php b/lib/Exception/GetTwoFARecordNotFoundException.php deleted file mode 100644 index 488a63f..0000000 --- a/lib/Exception/GetTwoFARecordNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetTwoFARecordServiceUnavailableException.php b/lib/Exception/GetTwoFARecordServiceUnavailableException.php deleted file mode 100644 index f346113..0000000 --- a/lib/Exception/GetTwoFARecordServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetUMGroupPreferencesForbiddenException.php b/lib/Exception/GetUMGroupPreferencesForbiddenException.php deleted file mode 100644 index 3b09849..0000000 --- a/lib/Exception/GetUMGroupPreferencesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetUMGroupPreferencesInternalServerErrorException.php b/lib/Exception/GetUMGroupPreferencesInternalServerErrorException.php deleted file mode 100644 index 56c83c0..0000000 --- a/lib/Exception/GetUMGroupPreferencesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetUMGroupPreferencesNotFoundException.php b/lib/Exception/GetUMGroupPreferencesNotFoundException.php deleted file mode 100644 index 3cbbf4e..0000000 --- a/lib/Exception/GetUMGroupPreferencesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetUMGroupPreferencesUnprocessableEntityException.php b/lib/Exception/GetUMGroupPreferencesUnprocessableEntityException.php deleted file mode 100644 index 38c7a24..0000000 --- a/lib/Exception/GetUMGroupPreferencesUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetUserActivityLogForbiddenException.php b/lib/Exception/GetUserActivityLogForbiddenException.php deleted file mode 100644 index c2447ae..0000000 --- a/lib/Exception/GetUserActivityLogForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetUserActivityLogInternalServerErrorException.php b/lib/Exception/GetUserActivityLogInternalServerErrorException.php deleted file mode 100644 index e68d32b..0000000 --- a/lib/Exception/GetUserActivityLogInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetUserActivityLogServiceUnavailableException.php b/lib/Exception/GetUserActivityLogServiceUnavailableException.php deleted file mode 100644 index 39e100c..0000000 --- a/lib/Exception/GetUserActivityLogServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetUserAvailableTiersForbiddenException.php b/lib/Exception/GetUserAvailableTiersForbiddenException.php deleted file mode 100644 index 0d101e6..0000000 --- a/lib/Exception/GetUserAvailableTiersForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetUserAvailableTiersInternalServerErrorException.php b/lib/Exception/GetUserAvailableTiersInternalServerErrorException.php deleted file mode 100644 index abc6fc3..0000000 --- a/lib/Exception/GetUserAvailableTiersInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetUserAvailableTiersServiceUnavailableException.php b/lib/Exception/GetUserAvailableTiersServiceUnavailableException.php deleted file mode 100644 index f63280e..0000000 --- a/lib/Exception/GetUserAvailableTiersServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetUserOnboardingSurveyResultsForbiddenException.php b/lib/Exception/GetUserOnboardingSurveyResultsForbiddenException.php deleted file mode 100644 index 0f08f15..0000000 --- a/lib/Exception/GetUserOnboardingSurveyResultsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetUserOnboardingSurveyResultsInternalServerErrorException.php b/lib/Exception/GetUserOnboardingSurveyResultsInternalServerErrorException.php deleted file mode 100644 index 9d7d3a4..0000000 --- a/lib/Exception/GetUserOnboardingSurveyResultsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetUserPreferencesBadRequestException.php b/lib/Exception/GetUserPreferencesBadRequestException.php deleted file mode 100644 index f9ce46c..0000000 --- a/lib/Exception/GetUserPreferencesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetUserPreferencesInternalServerErrorException.php b/lib/Exception/GetUserPreferencesInternalServerErrorException.php deleted file mode 100644 index 6af08d9..0000000 --- a/lib/Exception/GetUserPreferencesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetUsersForbiddenException.php b/lib/Exception/GetUsersForbiddenException.php deleted file mode 100644 index 02d215d..0000000 --- a/lib/Exception/GetUsersForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetUsersInternalServerErrorException.php b/lib/Exception/GetUsersInternalServerErrorException.php deleted file mode 100644 index 84c3566..0000000 --- a/lib/Exception/GetUsersInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetUsersNotFoundException.php b/lib/Exception/GetUsersNotFoundException.php deleted file mode 100644 index ca4c953..0000000 --- a/lib/Exception/GetUsersNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetUsersServiceUnavailableException.php b/lib/Exception/GetUsersServiceUnavailableException.php deleted file mode 100644 index 1e9cc3f..0000000 --- a/lib/Exception/GetUsersServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetViewsForLaunchpadForbiddenException.php b/lib/Exception/GetViewsForLaunchpadForbiddenException.php deleted file mode 100644 index 89f6b18..0000000 --- a/lib/Exception/GetViewsForLaunchpadForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetViewsForLaunchpadInternalServerErrorException.php b/lib/Exception/GetViewsForLaunchpadInternalServerErrorException.php deleted file mode 100644 index d429c88..0000000 --- a/lib/Exception/GetViewsForLaunchpadInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetViewsForLaunchpadNotFoundException.php b/lib/Exception/GetViewsForLaunchpadNotFoundException.php deleted file mode 100644 index f5f0b5f..0000000 --- a/lib/Exception/GetViewsForLaunchpadNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetViewsForLaunchpadServiceUnavailableException.php b/lib/Exception/GetViewsForLaunchpadServiceUnavailableException.php deleted file mode 100644 index dd885ec..0000000 --- a/lib/Exception/GetViewsForLaunchpadServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetViewsForSiteForbiddenException.php b/lib/Exception/GetViewsForSiteForbiddenException.php deleted file mode 100644 index e6bc39e..0000000 --- a/lib/Exception/GetViewsForSiteForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetViewsForSiteInternalServerErrorException.php b/lib/Exception/GetViewsForSiteInternalServerErrorException.php deleted file mode 100644 index b285aeb..0000000 --- a/lib/Exception/GetViewsForSiteInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetViewsForSiteNotFoundException.php b/lib/Exception/GetViewsForSiteNotFoundException.php deleted file mode 100644 index 7bd8e4b..0000000 --- a/lib/Exception/GetViewsForSiteNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetViewsForSiteServiceUnavailableException.php b/lib/Exception/GetViewsForSiteServiceUnavailableException.php deleted file mode 100644 index aaa57b6..0000000 --- a/lib/Exception/GetViewsForSiteServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetViewsSummaryForLaunchpadForbiddenException.php b/lib/Exception/GetViewsSummaryForLaunchpadForbiddenException.php deleted file mode 100644 index 4d9dc50..0000000 --- a/lib/Exception/GetViewsSummaryForLaunchpadForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetViewsSummaryForLaunchpadInternalServerErrorException.php b/lib/Exception/GetViewsSummaryForLaunchpadInternalServerErrorException.php deleted file mode 100644 index 149f7db..0000000 --- a/lib/Exception/GetViewsSummaryForLaunchpadInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetViewsSummaryForLaunchpadNotFoundException.php b/lib/Exception/GetViewsSummaryForLaunchpadNotFoundException.php deleted file mode 100644 index 6926712..0000000 --- a/lib/Exception/GetViewsSummaryForLaunchpadNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetViewsSummaryForLaunchpadServiceUnavailableException.php b/lib/Exception/GetViewsSummaryForLaunchpadServiceUnavailableException.php deleted file mode 100644 index 5f888ee..0000000 --- a/lib/Exception/GetViewsSummaryForLaunchpadServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetViewsSummaryForSiteForbiddenException.php b/lib/Exception/GetViewsSummaryForSiteForbiddenException.php deleted file mode 100644 index aca3c7e..0000000 --- a/lib/Exception/GetViewsSummaryForSiteForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetViewsSummaryForSiteInternalServerErrorException.php b/lib/Exception/GetViewsSummaryForSiteInternalServerErrorException.php deleted file mode 100644 index 3f11f40..0000000 --- a/lib/Exception/GetViewsSummaryForSiteInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetViewsSummaryForSiteNotFoundException.php b/lib/Exception/GetViewsSummaryForSiteNotFoundException.php deleted file mode 100644 index ed07c2d..0000000 --- a/lib/Exception/GetViewsSummaryForSiteNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/GetViewsSummaryForSiteServiceUnavailableException.php b/lib/Exception/GetViewsSummaryForSiteServiceUnavailableException.php deleted file mode 100644 index 5e9b1a8..0000000 --- a/lib/Exception/GetViewsSummaryForSiteServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/HandleWebhookForbiddenException.php b/lib/Exception/HandleWebhookForbiddenException.php deleted file mode 100644 index 08a08c6..0000000 --- a/lib/Exception/HandleWebhookForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/HandleWebhookInternalServerErrorException.php b/lib/Exception/HandleWebhookInternalServerErrorException.php deleted file mode 100644 index 9f1b8c6..0000000 --- a/lib/Exception/HandleWebhookInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/HandleWebhookUnprocessableEntityException.php b/lib/Exception/HandleWebhookUnprocessableEntityException.php deleted file mode 100644 index f037526..0000000 --- a/lib/Exception/HandleWebhookUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/NotifyPaymentFailureBadRequestException.php b/lib/Exception/NotifyPaymentFailureBadRequestException.php deleted file mode 100644 index 2c830df..0000000 --- a/lib/Exception/NotifyPaymentFailureBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/NotifyPaymentFailureInternalServerErrorException.php b/lib/Exception/NotifyPaymentFailureInternalServerErrorException.php deleted file mode 100644 index 754e512..0000000 --- a/lib/Exception/NotifyPaymentFailureInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/NotifyPaymentFailureServiceUnavailableException.php b/lib/Exception/NotifyPaymentFailureServiceUnavailableException.php deleted file mode 100644 index 34c3693..0000000 --- a/lib/Exception/NotifyPaymentFailureServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/NotifyPaymentFailureUnprocessableEntityException.php b/lib/Exception/NotifyPaymentFailureUnprocessableEntityException.php deleted file mode 100644 index 2079c40..0000000 --- a/lib/Exception/NotifyPaymentFailureUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PatchCanvaUserBrandBadRequestException.php b/lib/Exception/PatchCanvaUserBrandBadRequestException.php deleted file mode 100644 index 1a3bbf3..0000000 --- a/lib/Exception/PatchCanvaUserBrandBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PatchCanvaUserBrandInternalServerErrorException.php b/lib/Exception/PatchCanvaUserBrandInternalServerErrorException.php deleted file mode 100644 index c5aba13..0000000 --- a/lib/Exception/PatchCanvaUserBrandInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PatchCanvaUserBrandNotFoundException.php b/lib/Exception/PatchCanvaUserBrandNotFoundException.php deleted file mode 100644 index 263a04c..0000000 --- a/lib/Exception/PatchCanvaUserBrandNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PatchOrgControlledDomainBadRequestException.php b/lib/Exception/PatchOrgControlledDomainBadRequestException.php deleted file mode 100644 index bed335c..0000000 --- a/lib/Exception/PatchOrgControlledDomainBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PatchOrgControlledDomainForbiddenException.php b/lib/Exception/PatchOrgControlledDomainForbiddenException.php deleted file mode 100644 index fc64feb..0000000 --- a/lib/Exception/PatchOrgControlledDomainForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PatchOrgControlledDomainInternalServerErrorException.php b/lib/Exception/PatchOrgControlledDomainInternalServerErrorException.php deleted file mode 100644 index 5950b4f..0000000 --- a/lib/Exception/PatchOrgControlledDomainInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PatchOrgControlledDomainPaymentRequiredException.php b/lib/Exception/PatchOrgControlledDomainPaymentRequiredException.php deleted file mode 100644 index e7b81b9..0000000 --- a/lib/Exception/PatchOrgControlledDomainPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PatchOrgControlledDomainUnprocessableEntityException.php b/lib/Exception/PatchOrgControlledDomainUnprocessableEntityException.php deleted file mode 100644 index 2192023..0000000 --- a/lib/Exception/PatchOrgControlledDomainUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PatchOrgInvitationRequestBadRequestException.php b/lib/Exception/PatchOrgInvitationRequestBadRequestException.php deleted file mode 100644 index 85074c1..0000000 --- a/lib/Exception/PatchOrgInvitationRequestBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PatchOrgInvitationRequestForbiddenException.php b/lib/Exception/PatchOrgInvitationRequestForbiddenException.php deleted file mode 100644 index 9a18117..0000000 --- a/lib/Exception/PatchOrgInvitationRequestForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PatchOrgInvitationRequestInternalServerErrorException.php b/lib/Exception/PatchOrgInvitationRequestInternalServerErrorException.php deleted file mode 100644 index e02c37f..0000000 --- a/lib/Exception/PatchOrgInvitationRequestInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PatchOrgInvitationRequestUnprocessableEntityException.php b/lib/Exception/PatchOrgInvitationRequestUnprocessableEntityException.php deleted file mode 100644 index e25a486..0000000 --- a/lib/Exception/PatchOrgInvitationRequestUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PatchUMGroupPreferencesBadRequestException.php b/lib/Exception/PatchUMGroupPreferencesBadRequestException.php deleted file mode 100644 index ceaddae..0000000 --- a/lib/Exception/PatchUMGroupPreferencesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PatchUMGroupPreferencesForbiddenException.php b/lib/Exception/PatchUMGroupPreferencesForbiddenException.php deleted file mode 100644 index c1f4958..0000000 --- a/lib/Exception/PatchUMGroupPreferencesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PatchUMGroupPreferencesInternalServerErrorException.php b/lib/Exception/PatchUMGroupPreferencesInternalServerErrorException.php deleted file mode 100644 index 24a14e3..0000000 --- a/lib/Exception/PatchUMGroupPreferencesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PatchUMGroupPreferencesNotFoundException.php b/lib/Exception/PatchUMGroupPreferencesNotFoundException.php deleted file mode 100644 index f44f051..0000000 --- a/lib/Exception/PatchUMGroupPreferencesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PatchUMGroupPreferencesUnprocessableEntityException.php b/lib/Exception/PatchUMGroupPreferencesUnprocessableEntityException.php deleted file mode 100644 index 94b0ed3..0000000 --- a/lib/Exception/PatchUMGroupPreferencesUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PostGetLinksReportBadRequestException.php b/lib/Exception/PostGetLinksReportBadRequestException.php deleted file mode 100644 index 051475c..0000000 --- a/lib/Exception/PostGetLinksReportBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PostGetLinksReportForbiddenException.php b/lib/Exception/PostGetLinksReportForbiddenException.php deleted file mode 100644 index ceba903..0000000 --- a/lib/Exception/PostGetLinksReportForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PostGetLinksReportInternalServerErrorException.php b/lib/Exception/PostGetLinksReportInternalServerErrorException.php deleted file mode 100644 index 026245e..0000000 --- a/lib/Exception/PostGetLinksReportInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PostGetLinksReportPaymentRequiredException.php b/lib/Exception/PostGetLinksReportPaymentRequiredException.php deleted file mode 100644 index bd19f9b..0000000 --- a/lib/Exception/PostGetLinksReportPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PostGetLinksReportServiceUnavailableException.php b/lib/Exception/PostGetLinksReportServiceUnavailableException.php deleted file mode 100644 index f834677..0000000 --- a/lib/Exception/PostGetLinksReportServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PostGetLinksReportUnprocessableEntityException.php b/lib/Exception/PostGetLinksReportUnprocessableEntityException.php deleted file mode 100644 index 71ec347..0000000 --- a/lib/Exception/PostGetLinksReportUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PostGroupDataExportBadRequestException.php b/lib/Exception/PostGroupDataExportBadRequestException.php deleted file mode 100644 index b8cf151..0000000 --- a/lib/Exception/PostGroupDataExportBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PostGroupDataExportForbiddenException.php b/lib/Exception/PostGroupDataExportForbiddenException.php deleted file mode 100644 index 90aaff4..0000000 --- a/lib/Exception/PostGroupDataExportForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PostGroupDataExportInternalServerErrorException.php b/lib/Exception/PostGroupDataExportInternalServerErrorException.php deleted file mode 100644 index 049ec5b..0000000 --- a/lib/Exception/PostGroupDataExportInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PostGroupDataExportServiceUnavailableException.php b/lib/Exception/PostGroupDataExportServiceUnavailableException.php deleted file mode 100644 index 5f60ab6..0000000 --- a/lib/Exception/PostGroupDataExportServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PostGroupDataExportUnprocessableEntityException.php b/lib/Exception/PostGroupDataExportUnprocessableEntityException.php deleted file mode 100644 index 2b2947a..0000000 --- a/lib/Exception/PostGroupDataExportUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PostOrgUsersDataExportBadRequestException.php b/lib/Exception/PostOrgUsersDataExportBadRequestException.php deleted file mode 100644 index b6d6fec..0000000 --- a/lib/Exception/PostOrgUsersDataExportBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PostOrgUsersDataExportForbiddenException.php b/lib/Exception/PostOrgUsersDataExportForbiddenException.php deleted file mode 100644 index 2596962..0000000 --- a/lib/Exception/PostOrgUsersDataExportForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PostOrgUsersDataExportInternalServerErrorException.php b/lib/Exception/PostOrgUsersDataExportInternalServerErrorException.php deleted file mode 100644 index fa9d471..0000000 --- a/lib/Exception/PostOrgUsersDataExportInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PostOrgUsersDataExportPaymentRequiredException.php b/lib/Exception/PostOrgUsersDataExportPaymentRequiredException.php deleted file mode 100644 index 4880ab0..0000000 --- a/lib/Exception/PostOrgUsersDataExportPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PostOrgUsersDataExportUnprocessableEntityException.php b/lib/Exception/PostOrgUsersDataExportUnprocessableEntityException.php deleted file mode 100644 index 68295d9..0000000 --- a/lib/Exception/PostOrgUsersDataExportUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PrevalidateYouTubeVideoButtonBadRequestException.php b/lib/Exception/PrevalidateYouTubeVideoButtonBadRequestException.php deleted file mode 100644 index 8e05e55..0000000 --- a/lib/Exception/PrevalidateYouTubeVideoButtonBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PrevalidateYouTubeVideoButtonForbiddenException.php b/lib/Exception/PrevalidateYouTubeVideoButtonForbiddenException.php deleted file mode 100644 index 43ad603..0000000 --- a/lib/Exception/PrevalidateYouTubeVideoButtonForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PrevalidateYouTubeVideoButtonInternalServerErrorException.php b/lib/Exception/PrevalidateYouTubeVideoButtonInternalServerErrorException.php deleted file mode 100644 index 90fb353..0000000 --- a/lib/Exception/PrevalidateYouTubeVideoButtonInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PrevalidateYouTubeVideoButtonUnprocessableEntityException.php b/lib/Exception/PrevalidateYouTubeVideoButtonUnprocessableEntityException.php deleted file mode 100644 index c2157a5..0000000 --- a/lib/Exception/PrevalidateYouTubeVideoButtonUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PublishDraftLaunchpadBadRequestException.php b/lib/Exception/PublishDraftLaunchpadBadRequestException.php deleted file mode 100644 index eab2df6..0000000 --- a/lib/Exception/PublishDraftLaunchpadBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PublishDraftLaunchpadForbiddenException.php b/lib/Exception/PublishDraftLaunchpadForbiddenException.php deleted file mode 100644 index 7f76a64..0000000 --- a/lib/Exception/PublishDraftLaunchpadForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PublishDraftLaunchpadInternalServerErrorException.php b/lib/Exception/PublishDraftLaunchpadInternalServerErrorException.php deleted file mode 100644 index bee0f39..0000000 --- a/lib/Exception/PublishDraftLaunchpadInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PublishDraftLaunchpadServiceUnavailableException.php b/lib/Exception/PublishDraftLaunchpadServiceUnavailableException.php deleted file mode 100644 index d38c095..0000000 --- a/lib/Exception/PublishDraftLaunchpadServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PublishSiteBadRequestException.php b/lib/Exception/PublishSiteBadRequestException.php deleted file mode 100644 index 8ee2eae..0000000 --- a/lib/Exception/PublishSiteBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PublishSiteForbiddenException.php b/lib/Exception/PublishSiteForbiddenException.php deleted file mode 100644 index 94be89f..0000000 --- a/lib/Exception/PublishSiteForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PublishSiteInternalServerErrorException.php b/lib/Exception/PublishSiteInternalServerErrorException.php deleted file mode 100644 index 213f1ab..0000000 --- a/lib/Exception/PublishSiteInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PublishSiteServiceUnavailableException.php b/lib/Exception/PublishSiteServiceUnavailableException.php deleted file mode 100644 index cc7998d..0000000 --- a/lib/Exception/PublishSiteServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PurchaseAddOnsBadRequestException.php b/lib/Exception/PurchaseAddOnsBadRequestException.php deleted file mode 100644 index fa43453..0000000 --- a/lib/Exception/PurchaseAddOnsBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PurchaseAddOnsForbiddenException.php b/lib/Exception/PurchaseAddOnsForbiddenException.php deleted file mode 100644 index 25b353e..0000000 --- a/lib/Exception/PurchaseAddOnsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PurchaseAddOnsInternalServerErrorException.php b/lib/Exception/PurchaseAddOnsInternalServerErrorException.php deleted file mode 100644 index 71f3d41..0000000 --- a/lib/Exception/PurchaseAddOnsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PurchaseAddOnsNotFoundException.php b/lib/Exception/PurchaseAddOnsNotFoundException.php deleted file mode 100644 index c86559b..0000000 --- a/lib/Exception/PurchaseAddOnsNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PurchaseAddOnsServiceUnavailableException.php b/lib/Exception/PurchaseAddOnsServiceUnavailableException.php deleted file mode 100644 index 5b68c14..0000000 --- a/lib/Exception/PurchaseAddOnsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PurchaseAddOnsUnprocessableEntityException.php b/lib/Exception/PurchaseAddOnsUnprocessableEntityException.php deleted file mode 100644 index f800d59..0000000 --- a/lib/Exception/PurchaseAddOnsUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PurchaseBsdForbiddenException.php b/lib/Exception/PurchaseBsdForbiddenException.php deleted file mode 100644 index 8073f0a..0000000 --- a/lib/Exception/PurchaseBsdForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PurchaseBsdInternalServerErrorException.php b/lib/Exception/PurchaseBsdInternalServerErrorException.php deleted file mode 100644 index 65f34e5..0000000 --- a/lib/Exception/PurchaseBsdInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PurchaseStripeAddOnsBadRequestException.php b/lib/Exception/PurchaseStripeAddOnsBadRequestException.php deleted file mode 100644 index 6fa2e69..0000000 --- a/lib/Exception/PurchaseStripeAddOnsBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PurchaseStripeAddOnsForbiddenException.php b/lib/Exception/PurchaseStripeAddOnsForbiddenException.php deleted file mode 100644 index 57089c1..0000000 --- a/lib/Exception/PurchaseStripeAddOnsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PurchaseStripeAddOnsInternalServerErrorException.php b/lib/Exception/PurchaseStripeAddOnsInternalServerErrorException.php deleted file mode 100644 index e306172..0000000 --- a/lib/Exception/PurchaseStripeAddOnsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PurchaseStripeAddOnsNotFoundException.php b/lib/Exception/PurchaseStripeAddOnsNotFoundException.php deleted file mode 100644 index 7ed1c3b..0000000 --- a/lib/Exception/PurchaseStripeAddOnsNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PurchaseStripeAddOnsServiceUnavailableException.php b/lib/Exception/PurchaseStripeAddOnsServiceUnavailableException.php deleted file mode 100644 index a49a73f..0000000 --- a/lib/Exception/PurchaseStripeAddOnsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/PurchaseStripeAddOnsUnprocessableEntityException.php b/lib/Exception/PurchaseStripeAddOnsUnprocessableEntityException.php deleted file mode 100644 index 93ac3f8..0000000 --- a/lib/Exception/PurchaseStripeAddOnsUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/RedirectQRCodeDestinationBadRequestException.php b/lib/Exception/RedirectQRCodeDestinationBadRequestException.php deleted file mode 100644 index d672e8a..0000000 --- a/lib/Exception/RedirectQRCodeDestinationBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/RedirectQRCodeDestinationForbiddenException.php b/lib/Exception/RedirectQRCodeDestinationForbiddenException.php deleted file mode 100644 index 8f75d37..0000000 --- a/lib/Exception/RedirectQRCodeDestinationForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/RedirectQRCodeDestinationInternalServerErrorException.php b/lib/Exception/RedirectQRCodeDestinationInternalServerErrorException.php deleted file mode 100644 index d36265c..0000000 --- a/lib/Exception/RedirectQRCodeDestinationInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/RedirectQRCodeDestinationNotFoundException.php b/lib/Exception/RedirectQRCodeDestinationNotFoundException.php deleted file mode 100644 index 807d05c..0000000 --- a/lib/Exception/RedirectQRCodeDestinationNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/RedirectQRCodeDestinationTooManyRequestsException.php b/lib/Exception/RedirectQRCodeDestinationTooManyRequestsException.php deleted file mode 100644 index 37c3d3a..0000000 --- a/lib/Exception/RedirectQRCodeDestinationTooManyRequestsException.php +++ /dev/null @@ -1,40 +0,0 @@ -monthlyLimitExceeded = $monthlyLimitExceeded; - $this->response = $response; - } - - public function getMonthlyLimitExceeded(): \Bitly\Model\MonthlyLimitExceeded - { - return $this->monthlyLimitExceeded; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/RegeneratePaymentInvoiceFileForbiddenException.php b/lib/Exception/RegeneratePaymentInvoiceFileForbiddenException.php deleted file mode 100644 index 88dc338..0000000 --- a/lib/Exception/RegeneratePaymentInvoiceFileForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/RegeneratePaymentInvoiceFileInternalServerErrorException.php b/lib/Exception/RegeneratePaymentInvoiceFileInternalServerErrorException.php deleted file mode 100644 index 2f67793..0000000 --- a/lib/Exception/RegeneratePaymentInvoiceFileInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ReorderBlocksByContainerBadRequestException.php b/lib/Exception/ReorderBlocksByContainerBadRequestException.php deleted file mode 100644 index 315a9e6..0000000 --- a/lib/Exception/ReorderBlocksByContainerBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ReorderBlocksByContainerForbiddenException.php b/lib/Exception/ReorderBlocksByContainerForbiddenException.php deleted file mode 100644 index c4346db..0000000 --- a/lib/Exception/ReorderBlocksByContainerForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ReorderBlocksByContainerInternalServerErrorException.php b/lib/Exception/ReorderBlocksByContainerInternalServerErrorException.php deleted file mode 100644 index 78251dd..0000000 --- a/lib/Exception/ReorderBlocksByContainerInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ReorderBlocksByContainerNotFoundException.php b/lib/Exception/ReorderBlocksByContainerNotFoundException.php deleted file mode 100644 index b035fd2..0000000 --- a/lib/Exception/ReorderBlocksByContainerNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ReorderBlocksByContainerServiceUnavailableException.php b/lib/Exception/ReorderBlocksByContainerServiceUnavailableException.php deleted file mode 100644 index b6ad6df..0000000 --- a/lib/Exception/ReorderBlocksByContainerServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ReorderBlocksByContainerUnprocessableEntityException.php b/lib/Exception/ReorderBlocksByContainerUnprocessableEntityException.php deleted file mode 100644 index 47eca87..0000000 --- a/lib/Exception/ReorderBlocksByContainerUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/RequestUserSARForbiddenException.php b/lib/Exception/RequestUserSARForbiddenException.php deleted file mode 100644 index bc810eb..0000000 --- a/lib/Exception/RequestUserSARForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/RequestUserSARInternalServerErrorException.php b/lib/Exception/RequestUserSARInternalServerErrorException.php deleted file mode 100644 index 879f385..0000000 --- a/lib/Exception/RequestUserSARInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/RequestUserSARServiceUnavailableException.php b/lib/Exception/RequestUserSARServiceUnavailableException.php deleted file mode 100644 index f6f56d4..0000000 --- a/lib/Exception/RequestUserSARServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ResendInvitationForbiddenException.php b/lib/Exception/ResendInvitationForbiddenException.php deleted file mode 100644 index b5e53f5..0000000 --- a/lib/Exception/ResendInvitationForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ResendInvitationInternalServerErrorException.php b/lib/Exception/ResendInvitationInternalServerErrorException.php deleted file mode 100644 index a7a0261..0000000 --- a/lib/Exception/ResendInvitationInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ResendInvitationNotFoundException.php b/lib/Exception/ResendInvitationNotFoundException.php deleted file mode 100644 index c3fa565..0000000 --- a/lib/Exception/ResendInvitationNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ResendInvitationTooManyRequestsException.php b/lib/Exception/ResendInvitationTooManyRequestsException.php deleted file mode 100644 index 1b0cb0e..0000000 --- a/lib/Exception/ResendInvitationTooManyRequestsException.php +++ /dev/null @@ -1,40 +0,0 @@ -monthlyLimitExceeded = $monthlyLimitExceeded; - $this->response = $response; - } - - public function getMonthlyLimitExceeded(): \Bitly\Model\MonthlyLimitExceeded - { - return $this->monthlyLimitExceeded; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ScheduleOrgDowngradeStripeBadRequestException.php b/lib/Exception/ScheduleOrgDowngradeStripeBadRequestException.php deleted file mode 100644 index 25d0ffe..0000000 --- a/lib/Exception/ScheduleOrgDowngradeStripeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ScheduleOrgDowngradeStripeForbiddenException.php b/lib/Exception/ScheduleOrgDowngradeStripeForbiddenException.php deleted file mode 100644 index 0033c2b..0000000 --- a/lib/Exception/ScheduleOrgDowngradeStripeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ScheduleOrgDowngradeStripeInternalServerErrorException.php b/lib/Exception/ScheduleOrgDowngradeStripeInternalServerErrorException.php deleted file mode 100644 index f65dae1..0000000 --- a/lib/Exception/ScheduleOrgDowngradeStripeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ScheduleOrganizationDowngradeBadRequestException.php b/lib/Exception/ScheduleOrganizationDowngradeBadRequestException.php deleted file mode 100644 index 9234ff9..0000000 --- a/lib/Exception/ScheduleOrganizationDowngradeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ScheduleOrganizationDowngradeForbiddenException.php b/lib/Exception/ScheduleOrganizationDowngradeForbiddenException.php deleted file mode 100644 index 4ebf16c..0000000 --- a/lib/Exception/ScheduleOrganizationDowngradeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ScheduleOrganizationDowngradeInternalServerErrorException.php b/lib/Exception/ScheduleOrganizationDowngradeInternalServerErrorException.php deleted file mode 100644 index fa196e8..0000000 --- a/lib/Exception/ScheduleOrganizationDowngradeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SearchDomainsForbiddenException.php b/lib/Exception/SearchDomainsForbiddenException.php deleted file mode 100644 index 3042b89..0000000 --- a/lib/Exception/SearchDomainsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SearchDomainsInternalServerErrorException.php b/lib/Exception/SearchDomainsInternalServerErrorException.php deleted file mode 100644 index a589422..0000000 --- a/lib/Exception/SearchDomainsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SearchGroupUserRolesBadRequestException.php b/lib/Exception/SearchGroupUserRolesBadRequestException.php deleted file mode 100644 index 8088c80..0000000 --- a/lib/Exception/SearchGroupUserRolesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SearchGroupUserRolesForbiddenException.php b/lib/Exception/SearchGroupUserRolesForbiddenException.php deleted file mode 100644 index 8eab56b..0000000 --- a/lib/Exception/SearchGroupUserRolesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SearchGroupUserRolesInternalServerErrorException.php b/lib/Exception/SearchGroupUserRolesInternalServerErrorException.php deleted file mode 100644 index 92a1396..0000000 --- a/lib/Exception/SearchGroupUserRolesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SearchGroupUserRolesNotFoundException.php b/lib/Exception/SearchGroupUserRolesNotFoundException.php deleted file mode 100644 index 6753a03..0000000 --- a/lib/Exception/SearchGroupUserRolesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SearchOrgUserRolesBadRequestException.php b/lib/Exception/SearchOrgUserRolesBadRequestException.php deleted file mode 100644 index 7c11df4..0000000 --- a/lib/Exception/SearchOrgUserRolesBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SearchOrgUserRolesForbiddenException.php b/lib/Exception/SearchOrgUserRolesForbiddenException.php deleted file mode 100644 index c75ea80..0000000 --- a/lib/Exception/SearchOrgUserRolesForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SearchOrgUserRolesInternalServerErrorException.php b/lib/Exception/SearchOrgUserRolesInternalServerErrorException.php deleted file mode 100644 index 0469f92..0000000 --- a/lib/Exception/SearchOrgUserRolesInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SearchOrgUserRolesNotFoundException.php b/lib/Exception/SearchOrgUserRolesNotFoundException.php deleted file mode 100644 index 90031b5..0000000 --- a/lib/Exception/SearchOrgUserRolesNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SendEmailVerificationBadRequestException.php b/lib/Exception/SendEmailVerificationBadRequestException.php deleted file mode 100644 index 2a4840e..0000000 --- a/lib/Exception/SendEmailVerificationBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SendEmailVerificationInternalServerErrorException.php b/lib/Exception/SendEmailVerificationInternalServerErrorException.php deleted file mode 100644 index e8fb2f7..0000000 --- a/lib/Exception/SendEmailVerificationInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SendEmailVerificationNotFoundException.php b/lib/Exception/SendEmailVerificationNotFoundException.php deleted file mode 100644 index 60b078b..0000000 --- a/lib/Exception/SendEmailVerificationNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SendEmailVerificationServiceUnavailableException.php b/lib/Exception/SendEmailVerificationServiceUnavailableException.php deleted file mode 100644 index d534757..0000000 --- a/lib/Exception/SendEmailVerificationServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SendVerificationCodeBadRequestException.php b/lib/Exception/SendVerificationCodeBadRequestException.php deleted file mode 100644 index 10b63a1..0000000 --- a/lib/Exception/SendVerificationCodeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SendVerificationCodeForbiddenException.php b/lib/Exception/SendVerificationCodeForbiddenException.php deleted file mode 100644 index 51e340b..0000000 --- a/lib/Exception/SendVerificationCodeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SendVerificationCodeInternalServerErrorException.php b/lib/Exception/SendVerificationCodeInternalServerErrorException.php deleted file mode 100644 index 542e82d..0000000 --- a/lib/Exception/SendVerificationCodeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SendVerificationCodeNotFoundException.php b/lib/Exception/SendVerificationCodeNotFoundException.php deleted file mode 100644 index fc505c2..0000000 --- a/lib/Exception/SendVerificationCodeNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SendVerificationCodeServiceUnavailableException.php b/lib/Exception/SendVerificationCodeServiceUnavailableException.php deleted file mode 100644 index 655884f..0000000 --- a/lib/Exception/SendVerificationCodeServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SendVerificationCodeUnauthorizedException.php b/lib/Exception/SendVerificationCodeUnauthorizedException.php deleted file mode 100644 index 0f8bc70..0000000 --- a/lib/Exception/SendVerificationCodeUnauthorizedException.php +++ /dev/null @@ -1,40 +0,0 @@ -unauthorized = $unauthorized; - $this->response = $response; - } - - public function getUnauthorized(): \Bitly\Model\Unauthorized - { - return $this->unauthorized; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetOrgPreferenceBadRequestException.php b/lib/Exception/SetOrgPreferenceBadRequestException.php deleted file mode 100644 index 5fe683a..0000000 --- a/lib/Exception/SetOrgPreferenceBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetOrgPreferenceForbiddenException.php b/lib/Exception/SetOrgPreferenceForbiddenException.php deleted file mode 100644 index 3e5a84d..0000000 --- a/lib/Exception/SetOrgPreferenceForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetOrgPreferenceInternalServerErrorException.php b/lib/Exception/SetOrgPreferenceInternalServerErrorException.php deleted file mode 100644 index 7c71364..0000000 --- a/lib/Exception/SetOrgPreferenceInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetOrgPreferenceUnprocessableEntityException.php b/lib/Exception/SetOrgPreferenceUnprocessableEntityException.php deleted file mode 100644 index b4b22df..0000000 --- a/lib/Exception/SetOrgPreferenceUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetPaymentMethodDefaultBadRequestException.php b/lib/Exception/SetPaymentMethodDefaultBadRequestException.php deleted file mode 100644 index 3c5abe7..0000000 --- a/lib/Exception/SetPaymentMethodDefaultBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetPaymentMethodDefaultForbiddenException.php b/lib/Exception/SetPaymentMethodDefaultForbiddenException.php deleted file mode 100644 index d3e8f27..0000000 --- a/lib/Exception/SetPaymentMethodDefaultForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetPaymentMethodDefaultInternalServerErrorException.php b/lib/Exception/SetPaymentMethodDefaultInternalServerErrorException.php deleted file mode 100644 index e184bea..0000000 --- a/lib/Exception/SetPaymentMethodDefaultInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetPaymentMethodDefaultServiceUnavailableException.php b/lib/Exception/SetPaymentMethodDefaultServiceUnavailableException.php deleted file mode 100644 index efbe3d2..0000000 --- a/lib/Exception/SetPaymentMethodDefaultServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetPaymentMethodDefaultUnprocessableEntityException.php b/lib/Exception/SetPaymentMethodDefaultUnprocessableEntityException.php deleted file mode 100644 index e13a99c..0000000 --- a/lib/Exception/SetPaymentMethodDefaultUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetPhoneNumberBadRequestException.php b/lib/Exception/SetPhoneNumberBadRequestException.php deleted file mode 100644 index ac1d3f3..0000000 --- a/lib/Exception/SetPhoneNumberBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetPhoneNumberForbiddenException.php b/lib/Exception/SetPhoneNumberForbiddenException.php deleted file mode 100644 index 4b2bc59..0000000 --- a/lib/Exception/SetPhoneNumberForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetPhoneNumberInternalServerErrorException.php b/lib/Exception/SetPhoneNumberInternalServerErrorException.php deleted file mode 100644 index 6f62a1a..0000000 --- a/lib/Exception/SetPhoneNumberInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetPhoneNumberServiceUnavailableException.php b/lib/Exception/SetPhoneNumberServiceUnavailableException.php deleted file mode 100644 index fa95a78..0000000 --- a/lib/Exception/SetPhoneNumberServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetPhoneNumberUnprocessableEntityException.php b/lib/Exception/SetPhoneNumberUnprocessableEntityException.php deleted file mode 100644 index 6592e3f..0000000 --- a/lib/Exception/SetPhoneNumberUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetStripeDefaultPaymentMethodBadRequestException.php b/lib/Exception/SetStripeDefaultPaymentMethodBadRequestException.php deleted file mode 100644 index ad2d89a..0000000 --- a/lib/Exception/SetStripeDefaultPaymentMethodBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetStripeDefaultPaymentMethodForbiddenException.php b/lib/Exception/SetStripeDefaultPaymentMethodForbiddenException.php deleted file mode 100644 index c8a6a94..0000000 --- a/lib/Exception/SetStripeDefaultPaymentMethodForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetStripeDefaultPaymentMethodInternalServerErrorException.php b/lib/Exception/SetStripeDefaultPaymentMethodInternalServerErrorException.php deleted file mode 100644 index 1866c00..0000000 --- a/lib/Exception/SetStripeDefaultPaymentMethodInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetStripeDefaultPaymentMethodServiceUnavailableException.php b/lib/Exception/SetStripeDefaultPaymentMethodServiceUnavailableException.php deleted file mode 100644 index 878ff3c..0000000 --- a/lib/Exception/SetStripeDefaultPaymentMethodServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetStripeDefaultPaymentMethodUnprocessableEntityException.php b/lib/Exception/SetStripeDefaultPaymentMethodUnprocessableEntityException.php deleted file mode 100644 index 7540f84..0000000 --- a/lib/Exception/SetStripeDefaultPaymentMethodUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetUserPreferenceBadRequestException.php b/lib/Exception/SetUserPreferenceBadRequestException.php deleted file mode 100644 index 0f93140..0000000 --- a/lib/Exception/SetUserPreferenceBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetUserPreferenceInternalServerErrorException.php b/lib/Exception/SetUserPreferenceInternalServerErrorException.php deleted file mode 100644 index dc9e843..0000000 --- a/lib/Exception/SetUserPreferenceInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/SetUserPreferenceUnprocessableEntityException.php b/lib/Exception/SetUserPreferenceUnprocessableEntityException.php deleted file mode 100644 index 0915e34..0000000 --- a/lib/Exception/SetUserPreferenceUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ThirdPartyAppLookupForbiddenException.php b/lib/Exception/ThirdPartyAppLookupForbiddenException.php deleted file mode 100644 index 692357d..0000000 --- a/lib/Exception/ThirdPartyAppLookupForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ThirdPartyAppLookupInternalServerErrorException.php b/lib/Exception/ThirdPartyAppLookupInternalServerErrorException.php deleted file mode 100644 index 4ec8bbc..0000000 --- a/lib/Exception/ThirdPartyAppLookupInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ThirdPartyAppLookupNotFoundException.php b/lib/Exception/ThirdPartyAppLookupNotFoundException.php deleted file mode 100644 index 87fc3b4..0000000 --- a/lib/Exception/ThirdPartyAppLookupNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ThirdPartyAppLookupPaymentRequiredException.php b/lib/Exception/ThirdPartyAppLookupPaymentRequiredException.php deleted file mode 100644 index 53aef32..0000000 --- a/lib/Exception/ThirdPartyAppLookupPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ThirdPartyAppLookupServiceUnavailableException.php b/lib/Exception/ThirdPartyAppLookupServiceUnavailableException.php deleted file mode 100644 index 654829c..0000000 --- a/lib/Exception/ThirdPartyAppLookupServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UnauthorizedException.php b/lib/Exception/UnauthorizedException.php deleted file mode 100644 index 4c2a0e9..0000000 --- a/lib/Exception/UnauthorizedException.php +++ /dev/null @@ -1,19 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateAnalyticsModuleForbiddenException.php b/lib/Exception/UpdateAnalyticsModuleForbiddenException.php deleted file mode 100644 index 0254cf5..0000000 --- a/lib/Exception/UpdateAnalyticsModuleForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateAnalyticsModuleInternalServerErrorException.php b/lib/Exception/UpdateAnalyticsModuleInternalServerErrorException.php deleted file mode 100644 index 19b883c..0000000 --- a/lib/Exception/UpdateAnalyticsModuleInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateAnalyticsModuleNotFoundException.php b/lib/Exception/UpdateAnalyticsModuleNotFoundException.php deleted file mode 100644 index e1aa2e7..0000000 --- a/lib/Exception/UpdateAnalyticsModuleNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateAnalyticsModuleServiceUnavailableException.php b/lib/Exception/UpdateAnalyticsModuleServiceUnavailableException.php deleted file mode 100644 index d045ca6..0000000 --- a/lib/Exception/UpdateAnalyticsModuleServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateAnalyticsReportBadRequestException.php b/lib/Exception/UpdateAnalyticsReportBadRequestException.php deleted file mode 100644 index 32468f8..0000000 --- a/lib/Exception/UpdateAnalyticsReportBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateAnalyticsReportForbiddenException.php b/lib/Exception/UpdateAnalyticsReportForbiddenException.php deleted file mode 100644 index 2bf8a41..0000000 --- a/lib/Exception/UpdateAnalyticsReportForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateAnalyticsReportInternalServerErrorException.php b/lib/Exception/UpdateAnalyticsReportInternalServerErrorException.php deleted file mode 100644 index 83c0b93..0000000 --- a/lib/Exception/UpdateAnalyticsReportInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateAnalyticsReportNotFoundException.php b/lib/Exception/UpdateAnalyticsReportNotFoundException.php deleted file mode 100644 index f61b17e..0000000 --- a/lib/Exception/UpdateAnalyticsReportNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateAnalyticsReportServiceUnavailableException.php b/lib/Exception/UpdateAnalyticsReportServiceUnavailableException.php deleted file mode 100644 index 0a4d377..0000000 --- a/lib/Exception/UpdateAnalyticsReportServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateAppAssociationsBadRequestException.php b/lib/Exception/UpdateAppAssociationsBadRequestException.php deleted file mode 100644 index 9805702..0000000 --- a/lib/Exception/UpdateAppAssociationsBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateAppAssociationsForbiddenException.php b/lib/Exception/UpdateAppAssociationsForbiddenException.php deleted file mode 100644 index f03c3d7..0000000 --- a/lib/Exception/UpdateAppAssociationsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateAppAssociationsInternalServerErrorException.php b/lib/Exception/UpdateAppAssociationsInternalServerErrorException.php deleted file mode 100644 index 3563802..0000000 --- a/lib/Exception/UpdateAppAssociationsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateAppAssociationsNotFoundException.php b/lib/Exception/UpdateAppAssociationsNotFoundException.php deleted file mode 100644 index e7832ff..0000000 --- a/lib/Exception/UpdateAppAssociationsNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateAppAssociationsPaymentRequiredException.php b/lib/Exception/UpdateAppAssociationsPaymentRequiredException.php deleted file mode 100644 index 1b38e54..0000000 --- a/lib/Exception/UpdateAppAssociationsPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateAppAssociationsServiceUnavailableException.php b/lib/Exception/UpdateAppAssociationsServiceUnavailableException.php deleted file mode 100644 index f65e2a5..0000000 --- a/lib/Exception/UpdateAppAssociationsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateBillingInfoBadRequestException.php b/lib/Exception/UpdateBillingInfoBadRequestException.php deleted file mode 100644 index dde7813..0000000 --- a/lib/Exception/UpdateBillingInfoBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateBillingInfoForbiddenException.php b/lib/Exception/UpdateBillingInfoForbiddenException.php deleted file mode 100644 index 9ffb031..0000000 --- a/lib/Exception/UpdateBillingInfoForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateBillingInfoInternalServerErrorException.php b/lib/Exception/UpdateBillingInfoInternalServerErrorException.php deleted file mode 100644 index c221736..0000000 --- a/lib/Exception/UpdateBillingInfoInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateBillingInfoUnprocessableEntityException.php b/lib/Exception/UpdateBillingInfoUnprocessableEntityException.php deleted file mode 100644 index 3e0c46a..0000000 --- a/lib/Exception/UpdateBillingInfoUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateDeeplinkAppForbiddenException.php b/lib/Exception/UpdateDeeplinkAppForbiddenException.php deleted file mode 100644 index 7626a06..0000000 --- a/lib/Exception/UpdateDeeplinkAppForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateDeeplinkAppInternalServerErrorException.php b/lib/Exception/UpdateDeeplinkAppInternalServerErrorException.php deleted file mode 100644 index 288fe0c..0000000 --- a/lib/Exception/UpdateDeeplinkAppInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateDeeplinkAppNotFoundException.php b/lib/Exception/UpdateDeeplinkAppNotFoundException.php deleted file mode 100644 index 0342011..0000000 --- a/lib/Exception/UpdateDeeplinkAppNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateDeeplinkAppPaymentRequiredException.php b/lib/Exception/UpdateDeeplinkAppPaymentRequiredException.php deleted file mode 100644 index a98727a..0000000 --- a/lib/Exception/UpdateDeeplinkAppPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateDeeplinkAppServiceUnavailableException.php b/lib/Exception/UpdateDeeplinkAppServiceUnavailableException.php deleted file mode 100644 index a15e221..0000000 --- a/lib/Exception/UpdateDeeplinkAppServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateDeeplinkAppUnprocessableEntityException.php b/lib/Exception/UpdateDeeplinkAppUnprocessableEntityException.php deleted file mode 100644 index 1cbefc6..0000000 --- a/lib/Exception/UpdateDeeplinkAppUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateDeeplinkRuleForbiddenException.php b/lib/Exception/UpdateDeeplinkRuleForbiddenException.php deleted file mode 100644 index 940ac3c..0000000 --- a/lib/Exception/UpdateDeeplinkRuleForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateDeeplinkRuleInternalServerErrorException.php b/lib/Exception/UpdateDeeplinkRuleInternalServerErrorException.php deleted file mode 100644 index 4b54b17..0000000 --- a/lib/Exception/UpdateDeeplinkRuleInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateDeeplinkRuleNotFoundException.php b/lib/Exception/UpdateDeeplinkRuleNotFoundException.php deleted file mode 100644 index 16baa5a..0000000 --- a/lib/Exception/UpdateDeeplinkRuleNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateDeeplinkRulePaymentRequiredException.php b/lib/Exception/UpdateDeeplinkRulePaymentRequiredException.php deleted file mode 100644 index 107be32..0000000 --- a/lib/Exception/UpdateDeeplinkRulePaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateDeeplinkRuleServiceUnavailableException.php b/lib/Exception/UpdateDeeplinkRuleServiceUnavailableException.php deleted file mode 100644 index a14033e..0000000 --- a/lib/Exception/UpdateDeeplinkRuleServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateDeeplinkRuleUnprocessableEntityException.php b/lib/Exception/UpdateDeeplinkRuleUnprocessableEntityException.php deleted file mode 100644 index f5b5658..0000000 --- a/lib/Exception/UpdateDeeplinkRuleUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateEmailBadRequestException.php b/lib/Exception/UpdateEmailBadRequestException.php deleted file mode 100644 index d722d73..0000000 --- a/lib/Exception/UpdateEmailBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateEmailForbiddenException.php b/lib/Exception/UpdateEmailForbiddenException.php deleted file mode 100644 index 698d595..0000000 --- a/lib/Exception/UpdateEmailForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateEmailInternalServerErrorException.php b/lib/Exception/UpdateEmailInternalServerErrorException.php deleted file mode 100644 index 921359e..0000000 --- a/lib/Exception/UpdateEmailInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateEmailNotFoundException.php b/lib/Exception/UpdateEmailNotFoundException.php deleted file mode 100644 index c049441..0000000 --- a/lib/Exception/UpdateEmailNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateEmailServiceUnavailableException.php b/lib/Exception/UpdateEmailServiceUnavailableException.php deleted file mode 100644 index 8ac47e3..0000000 --- a/lib/Exception/UpdateEmailServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateEntitiesRetainedOnDowngradeBadRequestException.php b/lib/Exception/UpdateEntitiesRetainedOnDowngradeBadRequestException.php deleted file mode 100644 index 2e3d37f..0000000 --- a/lib/Exception/UpdateEntitiesRetainedOnDowngradeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateEntitiesRetainedOnDowngradeForbiddenException.php b/lib/Exception/UpdateEntitiesRetainedOnDowngradeForbiddenException.php deleted file mode 100644 index ea85964..0000000 --- a/lib/Exception/UpdateEntitiesRetainedOnDowngradeForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateEntitiesRetainedOnDowngradeInternalServerErrorException.php b/lib/Exception/UpdateEntitiesRetainedOnDowngradeInternalServerErrorException.php deleted file mode 100644 index d3534a8..0000000 --- a/lib/Exception/UpdateEntitiesRetainedOnDowngradeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateEntitiesRetainedOnDowngradeUnprocessableEntityException.php b/lib/Exception/UpdateEntitiesRetainedOnDowngradeUnprocessableEntityException.php deleted file mode 100644 index 0c2187b..0000000 --- a/lib/Exception/UpdateEntitiesRetainedOnDowngradeUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateImageBadRequestException.php b/lib/Exception/UpdateImageBadRequestException.php deleted file mode 100644 index ccea181..0000000 --- a/lib/Exception/UpdateImageBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateImageForbiddenException.php b/lib/Exception/UpdateImageForbiddenException.php deleted file mode 100644 index 312245d..0000000 --- a/lib/Exception/UpdateImageForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateImageInternalServerErrorException.php b/lib/Exception/UpdateImageInternalServerErrorException.php deleted file mode 100644 index f964b9e..0000000 --- a/lib/Exception/UpdateImageInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateImageNotFoundException.php b/lib/Exception/UpdateImageNotFoundException.php deleted file mode 100644 index 304dcd5..0000000 --- a/lib/Exception/UpdateImageNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateImageServiceUnavailableException.php b/lib/Exception/UpdateImageServiceUnavailableException.php deleted file mode 100644 index bcae315..0000000 --- a/lib/Exception/UpdateImageServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadBadRequestException.php b/lib/Exception/UpdateLaunchpadBadRequestException.php deleted file mode 100644 index d562663..0000000 --- a/lib/Exception/UpdateLaunchpadBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadBitlinkContentBadRequestException.php b/lib/Exception/UpdateLaunchpadBitlinkContentBadRequestException.php deleted file mode 100644 index fe43345..0000000 --- a/lib/Exception/UpdateLaunchpadBitlinkContentBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadBitlinkContentForbiddenException.php b/lib/Exception/UpdateLaunchpadBitlinkContentForbiddenException.php deleted file mode 100644 index 850de59..0000000 --- a/lib/Exception/UpdateLaunchpadBitlinkContentForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadBitlinkContentInternalServerErrorException.php b/lib/Exception/UpdateLaunchpadBitlinkContentInternalServerErrorException.php deleted file mode 100644 index f254e6d..0000000 --- a/lib/Exception/UpdateLaunchpadBitlinkContentInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadBitlinkContentNotFoundException.php b/lib/Exception/UpdateLaunchpadBitlinkContentNotFoundException.php deleted file mode 100644 index 0ed3cf7..0000000 --- a/lib/Exception/UpdateLaunchpadBitlinkContentNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadBitlinkContentServiceUnavailableException.php b/lib/Exception/UpdateLaunchpadBitlinkContentServiceUnavailableException.php deleted file mode 100644 index a0b7177..0000000 --- a/lib/Exception/UpdateLaunchpadBitlinkContentServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadButtonBadRequestException.php b/lib/Exception/UpdateLaunchpadButtonBadRequestException.php deleted file mode 100644 index 4a28a4f..0000000 --- a/lib/Exception/UpdateLaunchpadButtonBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadButtonForbiddenException.php b/lib/Exception/UpdateLaunchpadButtonForbiddenException.php deleted file mode 100644 index cc72749..0000000 --- a/lib/Exception/UpdateLaunchpadButtonForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadButtonInternalServerErrorException.php b/lib/Exception/UpdateLaunchpadButtonInternalServerErrorException.php deleted file mode 100644 index 68bac60..0000000 --- a/lib/Exception/UpdateLaunchpadButtonInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadButtonNotFoundException.php b/lib/Exception/UpdateLaunchpadButtonNotFoundException.php deleted file mode 100644 index db8ccca..0000000 --- a/lib/Exception/UpdateLaunchpadButtonNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadButtonServiceUnavailableException.php b/lib/Exception/UpdateLaunchpadButtonServiceUnavailableException.php deleted file mode 100644 index 6fefc55..0000000 --- a/lib/Exception/UpdateLaunchpadButtonServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadButtonSortOrderBadRequestException.php b/lib/Exception/UpdateLaunchpadButtonSortOrderBadRequestException.php deleted file mode 100644 index 31b79f7..0000000 --- a/lib/Exception/UpdateLaunchpadButtonSortOrderBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadButtonSortOrderForbiddenException.php b/lib/Exception/UpdateLaunchpadButtonSortOrderForbiddenException.php deleted file mode 100644 index 1257bf7..0000000 --- a/lib/Exception/UpdateLaunchpadButtonSortOrderForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadButtonSortOrderInternalServerErrorException.php b/lib/Exception/UpdateLaunchpadButtonSortOrderInternalServerErrorException.php deleted file mode 100644 index 75e7d5d..0000000 --- a/lib/Exception/UpdateLaunchpadButtonSortOrderInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadButtonSortOrderNotFoundException.php b/lib/Exception/UpdateLaunchpadButtonSortOrderNotFoundException.php deleted file mode 100644 index 76b88e3..0000000 --- a/lib/Exception/UpdateLaunchpadButtonSortOrderNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadButtonSortOrderServiceUnavailableException.php b/lib/Exception/UpdateLaunchpadButtonSortOrderServiceUnavailableException.php deleted file mode 100644 index 6fee48e..0000000 --- a/lib/Exception/UpdateLaunchpadButtonSortOrderServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadCarouselContentBadRequestException.php b/lib/Exception/UpdateLaunchpadCarouselContentBadRequestException.php deleted file mode 100644 index 427ecdd..0000000 --- a/lib/Exception/UpdateLaunchpadCarouselContentBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadCarouselContentForbiddenException.php b/lib/Exception/UpdateLaunchpadCarouselContentForbiddenException.php deleted file mode 100644 index a75a0c7..0000000 --- a/lib/Exception/UpdateLaunchpadCarouselContentForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadCarouselContentInternalServerErrorException.php b/lib/Exception/UpdateLaunchpadCarouselContentInternalServerErrorException.php deleted file mode 100644 index 788ca1a..0000000 --- a/lib/Exception/UpdateLaunchpadCarouselContentInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadCarouselContentNotFoundException.php b/lib/Exception/UpdateLaunchpadCarouselContentNotFoundException.php deleted file mode 100644 index 2a4b92e..0000000 --- a/lib/Exception/UpdateLaunchpadCarouselContentNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadCarouselContentServiceUnavailableException.php b/lib/Exception/UpdateLaunchpadCarouselContentServiceUnavailableException.php deleted file mode 100644 index b54f5c4..0000000 --- a/lib/Exception/UpdateLaunchpadCarouselContentServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadCarouselContentUnprocessableEntityException.php b/lib/Exception/UpdateLaunchpadCarouselContentUnprocessableEntityException.php deleted file mode 100644 index fa97ab3..0000000 --- a/lib/Exception/UpdateLaunchpadCarouselContentUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadForbiddenException.php b/lib/Exception/UpdateLaunchpadForbiddenException.php deleted file mode 100644 index c5cb258..0000000 --- a/lib/Exception/UpdateLaunchpadForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadGridContentBadRequestException.php b/lib/Exception/UpdateLaunchpadGridContentBadRequestException.php deleted file mode 100644 index 0669f57..0000000 --- a/lib/Exception/UpdateLaunchpadGridContentBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadGridContentForbiddenException.php b/lib/Exception/UpdateLaunchpadGridContentForbiddenException.php deleted file mode 100644 index 05dc8e3..0000000 --- a/lib/Exception/UpdateLaunchpadGridContentForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadGridContentInternalServerErrorException.php b/lib/Exception/UpdateLaunchpadGridContentInternalServerErrorException.php deleted file mode 100644 index ce0fe7d..0000000 --- a/lib/Exception/UpdateLaunchpadGridContentInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadGridContentNotFoundException.php b/lib/Exception/UpdateLaunchpadGridContentNotFoundException.php deleted file mode 100644 index 0038b62..0000000 --- a/lib/Exception/UpdateLaunchpadGridContentNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadGridContentServiceUnavailableException.php b/lib/Exception/UpdateLaunchpadGridContentServiceUnavailableException.php deleted file mode 100644 index 2494f9a..0000000 --- a/lib/Exception/UpdateLaunchpadGridContentServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadGridContentUnprocessableEntityException.php b/lib/Exception/UpdateLaunchpadGridContentUnprocessableEntityException.php deleted file mode 100644 index cba8cab..0000000 --- a/lib/Exception/UpdateLaunchpadGridContentUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadImageByImageUseBadRequestException.php b/lib/Exception/UpdateLaunchpadImageByImageUseBadRequestException.php deleted file mode 100644 index b4575c8..0000000 --- a/lib/Exception/UpdateLaunchpadImageByImageUseBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadImageByImageUseForbiddenException.php b/lib/Exception/UpdateLaunchpadImageByImageUseForbiddenException.php deleted file mode 100644 index 523b4cb..0000000 --- a/lib/Exception/UpdateLaunchpadImageByImageUseForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadImageByImageUseInternalServerErrorException.php b/lib/Exception/UpdateLaunchpadImageByImageUseInternalServerErrorException.php deleted file mode 100644 index 51d5a2e..0000000 --- a/lib/Exception/UpdateLaunchpadImageByImageUseInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadImageByImageUseNotFoundException.php b/lib/Exception/UpdateLaunchpadImageByImageUseNotFoundException.php deleted file mode 100644 index bfdd0f5..0000000 --- a/lib/Exception/UpdateLaunchpadImageByImageUseNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadImageByImageUseServiceUnavailableException.php b/lib/Exception/UpdateLaunchpadImageByImageUseServiceUnavailableException.php deleted file mode 100644 index 8f228ee..0000000 --- a/lib/Exception/UpdateLaunchpadImageByImageUseServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadImageContentBadRequestException.php b/lib/Exception/UpdateLaunchpadImageContentBadRequestException.php deleted file mode 100644 index c78f810..0000000 --- a/lib/Exception/UpdateLaunchpadImageContentBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadImageContentForbiddenException.php b/lib/Exception/UpdateLaunchpadImageContentForbiddenException.php deleted file mode 100644 index 4f79920..0000000 --- a/lib/Exception/UpdateLaunchpadImageContentForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadImageContentInternalServerErrorException.php b/lib/Exception/UpdateLaunchpadImageContentInternalServerErrorException.php deleted file mode 100644 index bcc6683..0000000 --- a/lib/Exception/UpdateLaunchpadImageContentInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadImageContentNotFoundException.php b/lib/Exception/UpdateLaunchpadImageContentNotFoundException.php deleted file mode 100644 index 5138769..0000000 --- a/lib/Exception/UpdateLaunchpadImageContentNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadImageContentServiceUnavailableException.php b/lib/Exception/UpdateLaunchpadImageContentServiceUnavailableException.php deleted file mode 100644 index d1e4ead..0000000 --- a/lib/Exception/UpdateLaunchpadImageContentServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadInternalServerErrorException.php b/lib/Exception/UpdateLaunchpadInternalServerErrorException.php deleted file mode 100644 index 30370b5..0000000 --- a/lib/Exception/UpdateLaunchpadInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadNotFoundException.php b/lib/Exception/UpdateLaunchpadNotFoundException.php deleted file mode 100644 index 112932e..0000000 --- a/lib/Exception/UpdateLaunchpadNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadServiceUnavailableException.php b/lib/Exception/UpdateLaunchpadServiceUnavailableException.php deleted file mode 100644 index 086e6e4..0000000 --- a/lib/Exception/UpdateLaunchpadServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadSocialBadRequestException.php b/lib/Exception/UpdateLaunchpadSocialBadRequestException.php deleted file mode 100644 index 6d62dc2..0000000 --- a/lib/Exception/UpdateLaunchpadSocialBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadSocialForbiddenException.php b/lib/Exception/UpdateLaunchpadSocialForbiddenException.php deleted file mode 100644 index 186f17e..0000000 --- a/lib/Exception/UpdateLaunchpadSocialForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadSocialInternalServerErrorException.php b/lib/Exception/UpdateLaunchpadSocialInternalServerErrorException.php deleted file mode 100644 index 0050cef..0000000 --- a/lib/Exception/UpdateLaunchpadSocialInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadSocialNotFoundException.php b/lib/Exception/UpdateLaunchpadSocialNotFoundException.php deleted file mode 100644 index 04a63a2..0000000 --- a/lib/Exception/UpdateLaunchpadSocialNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadSocialServiceUnavailableException.php b/lib/Exception/UpdateLaunchpadSocialServiceUnavailableException.php deleted file mode 100644 index f5f38eb..0000000 --- a/lib/Exception/UpdateLaunchpadSocialServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadTooManyRequestsException.php b/lib/Exception/UpdateLaunchpadTooManyRequestsException.php deleted file mode 100644 index 32a72a6..0000000 --- a/lib/Exception/UpdateLaunchpadTooManyRequestsException.php +++ /dev/null @@ -1,40 +0,0 @@ -monthlyLimitExceeded = $monthlyLimitExceeded; - $this->response = $response; - } - - public function getMonthlyLimitExceeded(): \Bitly\Model\MonthlyLimitExceeded - { - return $this->monthlyLimitExceeded; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadYoutubeVideoBadRequestException.php b/lib/Exception/UpdateLaunchpadYoutubeVideoBadRequestException.php deleted file mode 100644 index 5c2886e..0000000 --- a/lib/Exception/UpdateLaunchpadYoutubeVideoBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadYoutubeVideoForbiddenException.php b/lib/Exception/UpdateLaunchpadYoutubeVideoForbiddenException.php deleted file mode 100644 index 569e3be..0000000 --- a/lib/Exception/UpdateLaunchpadYoutubeVideoForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadYoutubeVideoInternalServerErrorException.php b/lib/Exception/UpdateLaunchpadYoutubeVideoInternalServerErrorException.php deleted file mode 100644 index f36dea2..0000000 --- a/lib/Exception/UpdateLaunchpadYoutubeVideoInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadYoutubeVideoNotFoundException.php b/lib/Exception/UpdateLaunchpadYoutubeVideoNotFoundException.php deleted file mode 100644 index c4a1f78..0000000 --- a/lib/Exception/UpdateLaunchpadYoutubeVideoNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLaunchpadYoutubeVideoServiceUnavailableException.php b/lib/Exception/UpdateLaunchpadYoutubeVideoServiceUnavailableException.php deleted file mode 100644 index 6708351..0000000 --- a/lib/Exception/UpdateLaunchpadYoutubeVideoServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLinkBadRequestException.php b/lib/Exception/UpdateLinkBadRequestException.php deleted file mode 100644 index 6230771..0000000 --- a/lib/Exception/UpdateLinkBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLinkConflictException.php b/lib/Exception/UpdateLinkConflictException.php deleted file mode 100644 index 35a16ff..0000000 --- a/lib/Exception/UpdateLinkConflictException.php +++ /dev/null @@ -1,40 +0,0 @@ -conflict = $conflict; - $this->response = $response; - } - - public function getConflict(): \Bitly\Model\Conflict - { - return $this->conflict; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLinkExpectationFailedException.php b/lib/Exception/UpdateLinkExpectationFailedException.php deleted file mode 100644 index f26e7fa..0000000 --- a/lib/Exception/UpdateLinkExpectationFailedException.php +++ /dev/null @@ -1,40 +0,0 @@ -expectationFailed = $expectationFailed; - $this->response = $response; - } - - public function getExpectationFailed(): \Bitly\Model\ExpectationFailed - { - return $this->expectationFailed; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLinkForbiddenException.php b/lib/Exception/UpdateLinkForbiddenException.php deleted file mode 100644 index cb17554..0000000 --- a/lib/Exception/UpdateLinkForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLinkInternalServerErrorException.php b/lib/Exception/UpdateLinkInternalServerErrorException.php deleted file mode 100644 index 153f2d3..0000000 --- a/lib/Exception/UpdateLinkInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLinkNotFoundException.php b/lib/Exception/UpdateLinkNotFoundException.php deleted file mode 100644 index ed67aab..0000000 --- a/lib/Exception/UpdateLinkNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLinkPaymentRequiredException.php b/lib/Exception/UpdateLinkPaymentRequiredException.php deleted file mode 100644 index 8af75d7..0000000 --- a/lib/Exception/UpdateLinkPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLinkServiceUnavailableException.php b/lib/Exception/UpdateLinkServiceUnavailableException.php deleted file mode 100644 index c9cf38f..0000000 --- a/lib/Exception/UpdateLinkServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLinkTooManyRequestsException.php b/lib/Exception/UpdateLinkTooManyRequestsException.php deleted file mode 100644 index be3a217..0000000 --- a/lib/Exception/UpdateLinkTooManyRequestsException.php +++ /dev/null @@ -1,40 +0,0 @@ -monthlyLimitExceeded = $monthlyLimitExceeded; - $this->response = $response; - } - - public function getMonthlyLimitExceeded(): \Bitly\Model\MonthlyLimitExceeded - { - return $this->monthlyLimitExceeded; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateLinkUnprocessableEntityException.php b/lib/Exception/UpdateLinkUnprocessableEntityException.php deleted file mode 100644 index 4467f3c..0000000 --- a/lib/Exception/UpdateLinkUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOAuthAppBadRequestException.php b/lib/Exception/UpdateOAuthAppBadRequestException.php deleted file mode 100644 index 041a7e5..0000000 --- a/lib/Exception/UpdateOAuthAppBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOAuthAppClientSecretForbiddenException.php b/lib/Exception/UpdateOAuthAppClientSecretForbiddenException.php deleted file mode 100644 index 847fd70..0000000 --- a/lib/Exception/UpdateOAuthAppClientSecretForbiddenException.php +++ /dev/null @@ -1,30 +0,0 @@ -response = $response; - } - - public function getResponse(): ?\Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOAuthAppClientSecretInternalServerErrorException.php b/lib/Exception/UpdateOAuthAppClientSecretInternalServerErrorException.php deleted file mode 100644 index 0bca099..0000000 --- a/lib/Exception/UpdateOAuthAppClientSecretInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOAuthAppClientSecretNotFoundException.php b/lib/Exception/UpdateOAuthAppClientSecretNotFoundException.php deleted file mode 100644 index 8bbff45..0000000 --- a/lib/Exception/UpdateOAuthAppClientSecretNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOAuthAppClientSecretServiceUnavailableException.php b/lib/Exception/UpdateOAuthAppClientSecretServiceUnavailableException.php deleted file mode 100644 index 8c61670..0000000 --- a/lib/Exception/UpdateOAuthAppClientSecretServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOAuthAppForbiddenException.php b/lib/Exception/UpdateOAuthAppForbiddenException.php deleted file mode 100644 index 41c1366..0000000 --- a/lib/Exception/UpdateOAuthAppForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOAuthAppInternalServerErrorException.php b/lib/Exception/UpdateOAuthAppInternalServerErrorException.php deleted file mode 100644 index 5a3489c..0000000 --- a/lib/Exception/UpdateOAuthAppInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOAuthAppNotFoundException.php b/lib/Exception/UpdateOAuthAppNotFoundException.php deleted file mode 100644 index 15e0906..0000000 --- a/lib/Exception/UpdateOAuthAppNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOAuthAppServiceUnavailableException.php b/lib/Exception/UpdateOAuthAppServiceUnavailableException.php deleted file mode 100644 index eee9c71..0000000 --- a/lib/Exception/UpdateOAuthAppServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOrganizationForbiddenException.php b/lib/Exception/UpdateOrganizationForbiddenException.php deleted file mode 100644 index 4910c23..0000000 --- a/lib/Exception/UpdateOrganizationForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOrganizationInternalServerErrorException.php b/lib/Exception/UpdateOrganizationInternalServerErrorException.php deleted file mode 100644 index 2061acb..0000000 --- a/lib/Exception/UpdateOrganizationInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOrganizationNotFoundException.php b/lib/Exception/UpdateOrganizationNotFoundException.php deleted file mode 100644 index 6a6f5dc..0000000 --- a/lib/Exception/UpdateOrganizationNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOrganizationSSOSettingsForbiddenException.php b/lib/Exception/UpdateOrganizationSSOSettingsForbiddenException.php deleted file mode 100644 index 4bec6af..0000000 --- a/lib/Exception/UpdateOrganizationSSOSettingsForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOrganizationSSOSettingsInternalServerErrorException.php b/lib/Exception/UpdateOrganizationSSOSettingsInternalServerErrorException.php deleted file mode 100644 index 92c4935..0000000 --- a/lib/Exception/UpdateOrganizationSSOSettingsInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOrganizationSSOSettingsNotFoundException.php b/lib/Exception/UpdateOrganizationSSOSettingsNotFoundException.php deleted file mode 100644 index 34107d2..0000000 --- a/lib/Exception/UpdateOrganizationSSOSettingsNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOrganizationSSOSettingsPaymentRequiredException.php b/lib/Exception/UpdateOrganizationSSOSettingsPaymentRequiredException.php deleted file mode 100644 index 392d791..0000000 --- a/lib/Exception/UpdateOrganizationSSOSettingsPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOrganizationSSOSettingsServiceUnavailableException.php b/lib/Exception/UpdateOrganizationSSOSettingsServiceUnavailableException.php deleted file mode 100644 index c0025b6..0000000 --- a/lib/Exception/UpdateOrganizationSSOSettingsServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOrganizationSSOSettingsUnprocessableEntityException.php b/lib/Exception/UpdateOrganizationSSOSettingsUnprocessableEntityException.php deleted file mode 100644 index 4d9dc73..0000000 --- a/lib/Exception/UpdateOrganizationSSOSettingsUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOrganizationServiceUnavailableException.php b/lib/Exception/UpdateOrganizationServiceUnavailableException.php deleted file mode 100644 index 989a6b5..0000000 --- a/lib/Exception/UpdateOrganizationServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOverridesForBitlinkBadRequestException.php b/lib/Exception/UpdateOverridesForBitlinkBadRequestException.php deleted file mode 100644 index c334032..0000000 --- a/lib/Exception/UpdateOverridesForBitlinkBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOverridesForBitlinkForbiddenException.php b/lib/Exception/UpdateOverridesForBitlinkForbiddenException.php deleted file mode 100644 index 8e3d443..0000000 --- a/lib/Exception/UpdateOverridesForBitlinkForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOverridesForBitlinkInternalServerErrorException.php b/lib/Exception/UpdateOverridesForBitlinkInternalServerErrorException.php deleted file mode 100644 index 207dbb7..0000000 --- a/lib/Exception/UpdateOverridesForBitlinkInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOverridesForBitlinkNotFoundException.php b/lib/Exception/UpdateOverridesForBitlinkNotFoundException.php deleted file mode 100644 index 0162e20..0000000 --- a/lib/Exception/UpdateOverridesForBitlinkNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOverridesForBitlinkPaymentRequiredException.php b/lib/Exception/UpdateOverridesForBitlinkPaymentRequiredException.php deleted file mode 100644 index a5ab2f5..0000000 --- a/lib/Exception/UpdateOverridesForBitlinkPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOverridesForBitlinkServiceUnavailableException.php b/lib/Exception/UpdateOverridesForBitlinkServiceUnavailableException.php deleted file mode 100644 index 1c7c742..0000000 --- a/lib/Exception/UpdateOverridesForBitlinkServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOverridesForBitlinkTooManyRequestsException.php b/lib/Exception/UpdateOverridesForBitlinkTooManyRequestsException.php deleted file mode 100644 index 41a90f2..0000000 --- a/lib/Exception/UpdateOverridesForBitlinkTooManyRequestsException.php +++ /dev/null @@ -1,40 +0,0 @@ -tooManyRequests = $tooManyRequests; - $this->response = $response; - } - - public function getTooManyRequests(): \Bitly\Model\TooManyRequests - { - return $this->tooManyRequests; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateOverridesForBitlinkUnprocessableEntityException.php b/lib/Exception/UpdateOverridesForBitlinkUnprocessableEntityException.php deleted file mode 100644 index 364ad9e..0000000 --- a/lib/Exception/UpdateOverridesForBitlinkUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdatePaymentContactInfoBadRequestException.php b/lib/Exception/UpdatePaymentContactInfoBadRequestException.php deleted file mode 100644 index 468211f..0000000 --- a/lib/Exception/UpdatePaymentContactInfoBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdatePaymentContactInfoForbiddenException.php b/lib/Exception/UpdatePaymentContactInfoForbiddenException.php deleted file mode 100644 index 64097db..0000000 --- a/lib/Exception/UpdatePaymentContactInfoForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdatePaymentContactInfoInternalServerErrorException.php b/lib/Exception/UpdatePaymentContactInfoInternalServerErrorException.php deleted file mode 100644 index 98dd3ce..0000000 --- a/lib/Exception/UpdatePaymentContactInfoInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdatePaymentContactInfoNotFoundException.php b/lib/Exception/UpdatePaymentContactInfoNotFoundException.php deleted file mode 100644 index 3899876..0000000 --- a/lib/Exception/UpdatePaymentContactInfoNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdatePaymentContactInfoUnprocessableEntityException.php b/lib/Exception/UpdatePaymentContactInfoUnprocessableEntityException.php deleted file mode 100644 index 0b48036..0000000 --- a/lib/Exception/UpdatePaymentContactInfoUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateSiteAppearanceBadRequestException.php b/lib/Exception/UpdateSiteAppearanceBadRequestException.php deleted file mode 100644 index 9f2c4b6..0000000 --- a/lib/Exception/UpdateSiteAppearanceBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateSiteAppearanceForbiddenException.php b/lib/Exception/UpdateSiteAppearanceForbiddenException.php deleted file mode 100644 index dd09539..0000000 --- a/lib/Exception/UpdateSiteAppearanceForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateSiteAppearanceInternalServerErrorException.php b/lib/Exception/UpdateSiteAppearanceInternalServerErrorException.php deleted file mode 100644 index c35e2f2..0000000 --- a/lib/Exception/UpdateSiteAppearanceInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateSiteAppearanceNotFoundException.php b/lib/Exception/UpdateSiteAppearanceNotFoundException.php deleted file mode 100644 index db98111..0000000 --- a/lib/Exception/UpdateSiteAppearanceNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateSiteAppearanceServiceUnavailableException.php b/lib/Exception/UpdateSiteAppearanceServiceUnavailableException.php deleted file mode 100644 index a9bf6d5..0000000 --- a/lib/Exception/UpdateSiteAppearanceServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateSiteButtonBadRequestException.php b/lib/Exception/UpdateSiteButtonBadRequestException.php deleted file mode 100644 index 277e390..0000000 --- a/lib/Exception/UpdateSiteButtonBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateSiteButtonExpectationFailedException.php b/lib/Exception/UpdateSiteButtonExpectationFailedException.php deleted file mode 100644 index a10398d..0000000 --- a/lib/Exception/UpdateSiteButtonExpectationFailedException.php +++ /dev/null @@ -1,40 +0,0 @@ -expectationFailed = $expectationFailed; - $this->response = $response; - } - - public function getExpectationFailed(): \Bitly\Model\ExpectationFailed - { - return $this->expectationFailed; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateSiteButtonForbiddenException.php b/lib/Exception/UpdateSiteButtonForbiddenException.php deleted file mode 100644 index b0385c3..0000000 --- a/lib/Exception/UpdateSiteButtonForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateSiteButtonInternalServerErrorException.php b/lib/Exception/UpdateSiteButtonInternalServerErrorException.php deleted file mode 100644 index b19561d..0000000 --- a/lib/Exception/UpdateSiteButtonInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateSiteButtonNotFoundException.php b/lib/Exception/UpdateSiteButtonNotFoundException.php deleted file mode 100644 index 5cf4003..0000000 --- a/lib/Exception/UpdateSiteButtonNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateSiteButtonTooManyRequestsException.php b/lib/Exception/UpdateSiteButtonTooManyRequestsException.php deleted file mode 100644 index b77689a..0000000 --- a/lib/Exception/UpdateSiteButtonTooManyRequestsException.php +++ /dev/null @@ -1,40 +0,0 @@ -monthlyLimitExceeded = $monthlyLimitExceeded; - $this->response = $response; - } - - public function getMonthlyLimitExceeded(): \Bitly\Model\MonthlyLimitExceeded - { - return $this->monthlyLimitExceeded; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateSiteButtonUnprocessableEntityException.php b/lib/Exception/UpdateSiteButtonUnprocessableEntityException.php deleted file mode 100644 index 78fbdff..0000000 --- a/lib/Exception/UpdateSiteButtonUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateSitesToKeepBadRequestException.php b/lib/Exception/UpdateSitesToKeepBadRequestException.php deleted file mode 100644 index 040b6b8..0000000 --- a/lib/Exception/UpdateSitesToKeepBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateSitesToKeepForbiddenException.php b/lib/Exception/UpdateSitesToKeepForbiddenException.php deleted file mode 100644 index 21acf6a..0000000 --- a/lib/Exception/UpdateSitesToKeepForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateSitesToKeepInternalServerErrorException.php b/lib/Exception/UpdateSitesToKeepInternalServerErrorException.php deleted file mode 100644 index d0c6178..0000000 --- a/lib/Exception/UpdateSitesToKeepInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateSitesToKeepUnprocessableEntityException.php b/lib/Exception/UpdateSitesToKeepUnprocessableEntityException.php deleted file mode 100644 index f55ff0c..0000000 --- a/lib/Exception/UpdateSitesToKeepUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateStripeCustomerBadRequestException.php b/lib/Exception/UpdateStripeCustomerBadRequestException.php deleted file mode 100644 index 407e18c..0000000 --- a/lib/Exception/UpdateStripeCustomerBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateStripeCustomerForbiddenException.php b/lib/Exception/UpdateStripeCustomerForbiddenException.php deleted file mode 100644 index 9e6da65..0000000 --- a/lib/Exception/UpdateStripeCustomerForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateStripeCustomerInternalServerErrorException.php b/lib/Exception/UpdateStripeCustomerInternalServerErrorException.php deleted file mode 100644 index 83e5ea6..0000000 --- a/lib/Exception/UpdateStripeCustomerInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateStripeCustomerUnprocessableEntityException.php b/lib/Exception/UpdateStripeCustomerUnprocessableEntityException.php deleted file mode 100644 index 1c8847b..0000000 --- a/lib/Exception/UpdateStripeCustomerUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateUserWithRoleBadRequestException.php b/lib/Exception/UpdateUserWithRoleBadRequestException.php deleted file mode 100644 index ee153ba..0000000 --- a/lib/Exception/UpdateUserWithRoleBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateUserWithRoleForbiddenException.php b/lib/Exception/UpdateUserWithRoleForbiddenException.php deleted file mode 100644 index d934f93..0000000 --- a/lib/Exception/UpdateUserWithRoleForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateUserWithRoleInternalServerErrorException.php b/lib/Exception/UpdateUserWithRoleInternalServerErrorException.php deleted file mode 100644 index 809625d..0000000 --- a/lib/Exception/UpdateUserWithRoleInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateUserWithRoleServiceUnavailableException.php b/lib/Exception/UpdateUserWithRoleServiceUnavailableException.php deleted file mode 100644 index 7cbcc0f..0000000 --- a/lib/Exception/UpdateUserWithRoleServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpdateUserWithRoleUnprocessableEntityException.php b/lib/Exception/UpdateUserWithRoleUnprocessableEntityException.php deleted file mode 100644 index c390dbd..0000000 --- a/lib/Exception/UpdateUserWithRoleUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpgradeOrganizationBadRequestException.php b/lib/Exception/UpgradeOrganizationBadRequestException.php deleted file mode 100644 index a8dcd1a..0000000 --- a/lib/Exception/UpgradeOrganizationBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpgradeOrganizationForbiddenException.php b/lib/Exception/UpgradeOrganizationForbiddenException.php deleted file mode 100644 index 64b39fb..0000000 --- a/lib/Exception/UpgradeOrganizationForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpgradeOrganizationInternalServerErrorException.php b/lib/Exception/UpgradeOrganizationInternalServerErrorException.php deleted file mode 100644 index 6d4077d..0000000 --- a/lib/Exception/UpgradeOrganizationInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpgradeOrganizationUnprocessableEntityException.php b/lib/Exception/UpgradeOrganizationUnprocessableEntityException.php deleted file mode 100644 index 1111212..0000000 --- a/lib/Exception/UpgradeOrganizationUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpgradeOrganizationWithStripeSubscriptionBadRequestException.php b/lib/Exception/UpgradeOrganizationWithStripeSubscriptionBadRequestException.php deleted file mode 100644 index 7ec1cad..0000000 --- a/lib/Exception/UpgradeOrganizationWithStripeSubscriptionBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpgradeOrganizationWithStripeSubscriptionForbiddenException.php b/lib/Exception/UpgradeOrganizationWithStripeSubscriptionForbiddenException.php deleted file mode 100644 index a7e909d..0000000 --- a/lib/Exception/UpgradeOrganizationWithStripeSubscriptionForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpgradeOrganizationWithStripeSubscriptionInternalServerErrorException.php b/lib/Exception/UpgradeOrganizationWithStripeSubscriptionInternalServerErrorException.php deleted file mode 100644 index ba1c7db..0000000 --- a/lib/Exception/UpgradeOrganizationWithStripeSubscriptionInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpgradeOrganizationWithStripeSubscriptionUnprocessableEntityException.php b/lib/Exception/UpgradeOrganizationWithStripeSubscriptionUnprocessableEntityException.php deleted file mode 100644 index be7c627..0000000 --- a/lib/Exception/UpgradeOrganizationWithStripeSubscriptionUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpgradeQRCodeToBitlinkBadRequestException.php b/lib/Exception/UpgradeQRCodeToBitlinkBadRequestException.php deleted file mode 100644 index ff425ac..0000000 --- a/lib/Exception/UpgradeQRCodeToBitlinkBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpgradeQRCodeToBitlinkForbiddenException.php b/lib/Exception/UpgradeQRCodeToBitlinkForbiddenException.php deleted file mode 100644 index 088f31a..0000000 --- a/lib/Exception/UpgradeQRCodeToBitlinkForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpgradeQRCodeToBitlinkInternalServerErrorException.php b/lib/Exception/UpgradeQRCodeToBitlinkInternalServerErrorException.php deleted file mode 100644 index 59db500..0000000 --- a/lib/Exception/UpgradeQRCodeToBitlinkInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpgradeQRCodeToBitlinkNotFoundException.php b/lib/Exception/UpgradeQRCodeToBitlinkNotFoundException.php deleted file mode 100644 index 06242f3..0000000 --- a/lib/Exception/UpgradeQRCodeToBitlinkNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpgradeQRCodeToBitlinkTooManyRequestsException.php b/lib/Exception/UpgradeQRCodeToBitlinkTooManyRequestsException.php deleted file mode 100644 index c84b04e..0000000 --- a/lib/Exception/UpgradeQRCodeToBitlinkTooManyRequestsException.php +++ /dev/null @@ -1,40 +0,0 @@ -monthlyLimitExceeded = $monthlyLimitExceeded; - $this->response = $response; - } - - public function getMonthlyLimitExceeded(): \Bitly\Model\MonthlyLimitExceeded - { - return $this->monthlyLimitExceeded; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UploadImageBadRequestException.php b/lib/Exception/UploadImageBadRequestException.php deleted file mode 100644 index 43bc4fa..0000000 --- a/lib/Exception/UploadImageBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UploadImageForbiddenException.php b/lib/Exception/UploadImageForbiddenException.php deleted file mode 100644 index 831e6de..0000000 --- a/lib/Exception/UploadImageForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UploadImageInternalServerErrorException.php b/lib/Exception/UploadImageInternalServerErrorException.php deleted file mode 100644 index 4a62674..0000000 --- a/lib/Exception/UploadImageInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UploadImageNotFoundException.php b/lib/Exception/UploadImageNotFoundException.php deleted file mode 100644 index 6ae45c9..0000000 --- a/lib/Exception/UploadImageNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UploadImageServiceUnavailableException.php b/lib/Exception/UploadImageServiceUnavailableException.php deleted file mode 100644 index c32b27c..0000000 --- a/lib/Exception/UploadImageServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UploadLaunchpadImageBadRequestException.php b/lib/Exception/UploadLaunchpadImageBadRequestException.php deleted file mode 100644 index 4392d7f..0000000 --- a/lib/Exception/UploadLaunchpadImageBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UploadLaunchpadImageForbiddenException.php b/lib/Exception/UploadLaunchpadImageForbiddenException.php deleted file mode 100644 index 582551b..0000000 --- a/lib/Exception/UploadLaunchpadImageForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UploadLaunchpadImageInternalServerErrorException.php b/lib/Exception/UploadLaunchpadImageInternalServerErrorException.php deleted file mode 100644 index 5247276..0000000 --- a/lib/Exception/UploadLaunchpadImageInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UploadLaunchpadImageNotFoundException.php b/lib/Exception/UploadLaunchpadImageNotFoundException.php deleted file mode 100644 index 38e48ed..0000000 --- a/lib/Exception/UploadLaunchpadImageNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UploadLaunchpadImageServiceUnavailableException.php b/lib/Exception/UploadLaunchpadImageServiceUnavailableException.php deleted file mode 100644 index 9525e3b..0000000 --- a/lib/Exception/UploadLaunchpadImageServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpsertOrgEmailForbiddenException.php b/lib/Exception/UpsertOrgEmailForbiddenException.php deleted file mode 100644 index 5468a00..0000000 --- a/lib/Exception/UpsertOrgEmailForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpsertOrgEmailInternalServerErrorException.php b/lib/Exception/UpsertOrgEmailInternalServerErrorException.php deleted file mode 100644 index 241d8eb..0000000 --- a/lib/Exception/UpsertOrgEmailInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpsertOrgEmailNotFoundException.php b/lib/Exception/UpsertOrgEmailNotFoundException.php deleted file mode 100644 index 0ddf316..0000000 --- a/lib/Exception/UpsertOrgEmailNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UpsertOrgEmailServiceUnavailableException.php b/lib/Exception/UpsertOrgEmailServiceUnavailableException.php deleted file mode 100644 index 63a60c4..0000000 --- a/lib/Exception/UpsertOrgEmailServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UserAcceptInviteBadRequestException.php b/lib/Exception/UserAcceptInviteBadRequestException.php deleted file mode 100644 index 686a1f0..0000000 --- a/lib/Exception/UserAcceptInviteBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UserAcceptInviteForbiddenException.php b/lib/Exception/UserAcceptInviteForbiddenException.php deleted file mode 100644 index 0f8d51c..0000000 --- a/lib/Exception/UserAcceptInviteForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UserAcceptInviteInternalServerErrorException.php b/lib/Exception/UserAcceptInviteInternalServerErrorException.php deleted file mode 100644 index 8d56ee7..0000000 --- a/lib/Exception/UserAcceptInviteInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/UserAcceptInviteUnprocessableEntityException.php b/lib/Exception/UserAcceptInviteUnprocessableEntityException.php deleted file mode 100644 index ac42c92..0000000 --- a/lib/Exception/UserAcceptInviteUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidateBulkUploadBadRequestException.php b/lib/Exception/ValidateBulkUploadBadRequestException.php deleted file mode 100644 index df8e1ca..0000000 --- a/lib/Exception/ValidateBulkUploadBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidateBulkUploadForbiddenException.php b/lib/Exception/ValidateBulkUploadForbiddenException.php deleted file mode 100644 index 37a76a7..0000000 --- a/lib/Exception/ValidateBulkUploadForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidateBulkUploadInternalServerErrorException.php b/lib/Exception/ValidateBulkUploadInternalServerErrorException.php deleted file mode 100644 index 9777636..0000000 --- a/lib/Exception/ValidateBulkUploadInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidateBulkUploadNotFoundException.php b/lib/Exception/ValidateBulkUploadNotFoundException.php deleted file mode 100644 index f04d075..0000000 --- a/lib/Exception/ValidateBulkUploadNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidateBulkUploadPaymentRequiredException.php b/lib/Exception/ValidateBulkUploadPaymentRequiredException.php deleted file mode 100644 index f0cc299..0000000 --- a/lib/Exception/ValidateBulkUploadPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidateBulkUploadServiceUnavailableException.php b/lib/Exception/ValidateBulkUploadServiceUnavailableException.php deleted file mode 100644 index dc40c09..0000000 --- a/lib/Exception/ValidateBulkUploadServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidateBulkUploadUnprocessableEntityException.php b/lib/Exception/ValidateBulkUploadUnprocessableEntityException.php deleted file mode 100644 index 0e57b09..0000000 --- a/lib/Exception/ValidateBulkUploadUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidateCustomDomainBadRequestException.php b/lib/Exception/ValidateCustomDomainBadRequestException.php deleted file mode 100644 index 04a061b..0000000 --- a/lib/Exception/ValidateCustomDomainBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidateCustomDomainForbiddenException.php b/lib/Exception/ValidateCustomDomainForbiddenException.php deleted file mode 100644 index d311ba5..0000000 --- a/lib/Exception/ValidateCustomDomainForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidateCustomDomainInternalServerErrorException.php b/lib/Exception/ValidateCustomDomainInternalServerErrorException.php deleted file mode 100644 index c135aa6..0000000 --- a/lib/Exception/ValidateCustomDomainInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidateCustomDomainNotFoundException.php b/lib/Exception/ValidateCustomDomainNotFoundException.php deleted file mode 100644 index faf3160..0000000 --- a/lib/Exception/ValidateCustomDomainNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidateCustomDomainServiceUnavailableException.php b/lib/Exception/ValidateCustomDomainServiceUnavailableException.php deleted file mode 100644 index 4ba1c44..0000000 --- a/lib/Exception/ValidateCustomDomainServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidateCustomDomainUnprocessableEntityException.php b/lib/Exception/ValidateCustomDomainUnprocessableEntityException.php deleted file mode 100644 index a44ca17..0000000 --- a/lib/Exception/ValidateCustomDomainUnprocessableEntityException.php +++ /dev/null @@ -1,40 +0,0 @@ -unprocessableEntity = $unprocessableEntity; - $this->response = $response; - } - - public function getUnprocessableEntity(): \Bitly\Model\UnprocessableEntity - { - return $this->unprocessableEntity; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidatePromoCodeBadRequestException.php b/lib/Exception/ValidatePromoCodeBadRequestException.php deleted file mode 100644 index d7531f7..0000000 --- a/lib/Exception/ValidatePromoCodeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidatePromoCodeInternalServerErrorException.php b/lib/Exception/ValidatePromoCodeInternalServerErrorException.php deleted file mode 100644 index 6694054..0000000 --- a/lib/Exception/ValidatePromoCodeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidatePromoCodeNotFoundException.php b/lib/Exception/ValidatePromoCodeNotFoundException.php deleted file mode 100644 index e7693e5..0000000 --- a/lib/Exception/ValidatePromoCodeNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidatePromoCodeServiceUnavailableException.php b/lib/Exception/ValidatePromoCodeServiceUnavailableException.php deleted file mode 100644 index 2bc4415..0000000 --- a/lib/Exception/ValidatePromoCodeServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidateStripePromoCodeBadRequestException.php b/lib/Exception/ValidateStripePromoCodeBadRequestException.php deleted file mode 100644 index bc534b9..0000000 --- a/lib/Exception/ValidateStripePromoCodeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidateStripePromoCodeInternalServerErrorException.php b/lib/Exception/ValidateStripePromoCodeInternalServerErrorException.php deleted file mode 100644 index e97d9d2..0000000 --- a/lib/Exception/ValidateStripePromoCodeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidateStripePromoCodeNotFoundException.php b/lib/Exception/ValidateStripePromoCodeNotFoundException.php deleted file mode 100644 index 3ec43d6..0000000 --- a/lib/Exception/ValidateStripePromoCodeNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/ValidateStripePromoCodeServiceUnavailableException.php b/lib/Exception/ValidateStripePromoCodeServiceUnavailableException.php deleted file mode 100644 index 292f139..0000000 --- a/lib/Exception/ValidateStripePromoCodeServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/VerifySSOSlugForbiddenException.php b/lib/Exception/VerifySSOSlugForbiddenException.php deleted file mode 100644 index 7f35657..0000000 --- a/lib/Exception/VerifySSOSlugForbiddenException.php +++ /dev/null @@ -1,40 +0,0 @@ -forbidden = $forbidden; - $this->response = $response; - } - - public function getForbidden(): \Bitly\Model\Forbidden - { - return $this->forbidden; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/VerifySSOSlugInternalServerErrorException.php b/lib/Exception/VerifySSOSlugInternalServerErrorException.php deleted file mode 100644 index 4663a0c..0000000 --- a/lib/Exception/VerifySSOSlugInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/VerifySSOSlugNotFoundException.php b/lib/Exception/VerifySSOSlugNotFoundException.php deleted file mode 100644 index cd96db7..0000000 --- a/lib/Exception/VerifySSOSlugNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/VerifySSOSlugPaymentRequiredException.php b/lib/Exception/VerifySSOSlugPaymentRequiredException.php deleted file mode 100644 index d117bd5..0000000 --- a/lib/Exception/VerifySSOSlugPaymentRequiredException.php +++ /dev/null @@ -1,40 +0,0 @@ -upgradeRequired = $upgradeRequired; - $this->response = $response; - } - - public function getUpgradeRequired(): \Bitly\Model\UpgradeRequired - { - return $this->upgradeRequired; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/VerifySSOSlugServiceUnavailableException.php b/lib/Exception/VerifySSOSlugServiceUnavailableException.php deleted file mode 100644 index 5512cc4..0000000 --- a/lib/Exception/VerifySSOSlugServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/VerifyTwoFactorCodeBadRequestException.php b/lib/Exception/VerifyTwoFactorCodeBadRequestException.php deleted file mode 100644 index a851ad2..0000000 --- a/lib/Exception/VerifyTwoFactorCodeBadRequestException.php +++ /dev/null @@ -1,40 +0,0 @@ -badRequest = $badRequest; - $this->response = $response; - } - - public function getBadRequest(): \Bitly\Model\BadRequest - { - return $this->badRequest; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/VerifyTwoFactorCodeInternalServerErrorException.php b/lib/Exception/VerifyTwoFactorCodeInternalServerErrorException.php deleted file mode 100644 index 1069a23..0000000 --- a/lib/Exception/VerifyTwoFactorCodeInternalServerErrorException.php +++ /dev/null @@ -1,40 +0,0 @@ -internalError = $internalError; - $this->response = $response; - } - - public function getInternalError(): \Bitly\Model\InternalError - { - return $this->internalError; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/VerifyTwoFactorCodeNotFoundException.php b/lib/Exception/VerifyTwoFactorCodeNotFoundException.php deleted file mode 100644 index 5a7d4fb..0000000 --- a/lib/Exception/VerifyTwoFactorCodeNotFoundException.php +++ /dev/null @@ -1,40 +0,0 @@ -notFound = $notFound; - $this->response = $response; - } - - public function getNotFound(): \Bitly\Model\NotFound - { - return $this->notFound; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Exception/VerifyTwoFactorCodeServiceUnavailableException.php b/lib/Exception/VerifyTwoFactorCodeServiceUnavailableException.php deleted file mode 100644 index 99717af..0000000 --- a/lib/Exception/VerifyTwoFactorCodeServiceUnavailableException.php +++ /dev/null @@ -1,40 +0,0 @@ -temporarilyUnavailable = $temporarilyUnavailable; - $this->response = $response; - } - - public function getTemporarilyUnavailable(): \Bitly\Model\TemporarilyUnavailable - { - return $this->temporarilyUnavailable; - } - - public function getResponse(): \Psr\Http\Message\ResponseInterface - { - return $this->response; - } -} diff --git a/lib/Model/AccessFeature.php b/lib/Model/AccessFeature.php deleted file mode 100644 index 6fe8691..0000000 --- a/lib/Model/AccessFeature.php +++ /dev/null @@ -1,142 +0,0 @@ -initialized); - } - /** - * ISO_TIMESTAMP. - * - * @var string - */ - protected $created; - /** - * ISO_TIMESTAMP. - * - * @var string - */ - protected $modified; - /** - * @var string - */ - protected $id; - /** - * @var string - */ - protected $name; - /** - * @var bool - */ - protected $hasAccess; - /** - * @var bool - */ - protected $isTierDefault; - - /** - * ISO_TIMESTAMP. - */ - public function getCreated(): string - { - return $this->created; - } - - /** - * ISO_TIMESTAMP. - */ - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - /** - * ISO_TIMESTAMP. - */ - public function getModified(): string - { - return $this->modified; - } - - /** - * ISO_TIMESTAMP. - */ - public function setModified(string $modified): self - { - $this->initialized['modified'] = true; - $this->modified = $modified; - - return $this; - } - - public function getId(): string - { - return $this->id; - } - - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getHasAccess(): bool - { - return $this->hasAccess; - } - - public function setHasAccess(bool $hasAccess): self - { - $this->initialized['hasAccess'] = true; - $this->hasAccess = $hasAccess; - - return $this; - } - - public function getIsTierDefault(): bool - { - return $this->isTierDefault; - } - - public function setIsTierDefault(bool $isTierDefault): self - { - $this->initialized['isTierDefault'] = true; - $this->isTierDefault = $isTierDefault; - - return $this; - } -} diff --git a/lib/Model/AccessFeatures.php b/lib/Model/AccessFeatures.php deleted file mode 100644 index 4dde6e6..0000000 --- a/lib/Model/AccessFeatures.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $accessFeatures; - - /** - * @return list - */ - public function getAccessFeatures(): array - { - return $this->accessFeatures; - } - - /** - * @param list $accessFeatures - */ - public function setAccessFeatures(array $accessFeatures): self - { - $this->initialized['accessFeatures'] = true; - $this->accessFeatures = $accessFeatures; - - return $this; - } -} diff --git a/lib/Model/ActivityLog.php b/lib/Model/ActivityLog.php deleted file mode 100644 index 282f7be..0000000 --- a/lib/Model/ActivityLog.php +++ /dev/null @@ -1,284 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $actionDescription; - /** - * @var string - */ - protected $actionLogin; - /** - * ISO timestamp. - * - * @var string - */ - protected $ts; - /** - * @var string - */ - protected $user; - /** - * @var string - */ - protected $action; - /** - * @var string - */ - protected $orgGuid; - /** - * @var string - */ - protected $id; - /** - * @var string - */ - protected $countryCode; - /** - * @var string - */ - protected $region; - /** - * @var string - */ - protected $subRegion; - /** - * @var string - */ - protected $city; - /** - * @var string - */ - protected $isp; - /** - * Indicates an action take by Bitly. - * - * @var bool - */ - protected $bitlyAdmin; - /** - * @var array - */ - protected $metadata; - - public function getActionDescription(): string - { - return $this->actionDescription; - } - - public function setActionDescription(string $actionDescription): self - { - $this->initialized['actionDescription'] = true; - $this->actionDescription = $actionDescription; - - return $this; - } - - public function getActionLogin(): string - { - return $this->actionLogin; - } - - public function setActionLogin(string $actionLogin): self - { - $this->initialized['actionLogin'] = true; - $this->actionLogin = $actionLogin; - - return $this; - } - - /** - * ISO timestamp. - */ - public function getTs(): string - { - return $this->ts; - } - - /** - * ISO timestamp. - */ - public function setTs(string $ts): self - { - $this->initialized['ts'] = true; - $this->ts = $ts; - - return $this; - } - - public function getUser(): string - { - return $this->user; - } - - public function setUser(string $user): self - { - $this->initialized['user'] = true; - $this->user = $user; - - return $this; - } - - public function getAction(): string - { - return $this->action; - } - - public function setAction(string $action): self - { - $this->initialized['action'] = true; - $this->action = $action; - - return $this; - } - - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - public function getId(): string - { - return $this->id; - } - - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getCountryCode(): string - { - return $this->countryCode; - } - - public function setCountryCode(string $countryCode): self - { - $this->initialized['countryCode'] = true; - $this->countryCode = $countryCode; - - return $this; - } - - public function getRegion(): string - { - return $this->region; - } - - public function setRegion(string $region): self - { - $this->initialized['region'] = true; - $this->region = $region; - - return $this; - } - - public function getSubRegion(): string - { - return $this->subRegion; - } - - public function setSubRegion(string $subRegion): self - { - $this->initialized['subRegion'] = true; - $this->subRegion = $subRegion; - - return $this; - } - - public function getCity(): string - { - return $this->city; - } - - public function setCity(string $city): self - { - $this->initialized['city'] = true; - $this->city = $city; - - return $this; - } - - public function getIsp(): string - { - return $this->isp; - } - - public function setIsp(string $isp): self - { - $this->initialized['isp'] = true; - $this->isp = $isp; - - return $this; - } - - /** - * Indicates an action take by Bitly. - */ - public function getBitlyAdmin(): bool - { - return $this->bitlyAdmin; - } - - /** - * Indicates an action take by Bitly. - */ - public function setBitlyAdmin(bool $bitlyAdmin): self - { - $this->initialized['bitlyAdmin'] = true; - $this->bitlyAdmin = $bitlyAdmin; - - return $this; - } - - /** - * @return array - */ - public function getMetadata(): iterable - { - return $this->metadata; - } - - /** - * @param array $metadata - */ - public function setMetadata(iterable $metadata): self - { - $this->initialized['metadata'] = true; - $this->metadata = $metadata; - - return $this; - } -} diff --git a/lib/Model/ActivityLogs.php b/lib/Model/ActivityLogs.php deleted file mode 100644 index 8be1394..0000000 --- a/lib/Model/ActivityLogs.php +++ /dev/null @@ -1,64 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $nextPage; - /** - * @var list - */ - protected $activity; - - public function getNextPage(): string - { - return $this->nextPage; - } - - public function setNextPage(string $nextPage): self - { - $this->initialized['nextPage'] = true; - $this->nextPage = $nextPage; - - return $this; - } - - /** - * @return list - */ - public function getActivity(): array - { - return $this->activity; - } - - /** - * @param list $activity - */ - public function setActivity(array $activity): self - { - $this->initialized['activity'] = true; - $this->activity = $activity; - - return $this; - } -} diff --git a/lib/Model/AddOn.php b/lib/Model/AddOn.php deleted file mode 100644 index 4e0d122..0000000 --- a/lib/Model/AddOn.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $featureName; - /** - * @var float - */ - protected $quantity; - - public function getFeatureName(): string - { - return $this->featureName; - } - - public function setFeatureName(string $featureName): self - { - $this->initialized['featureName'] = true; - $this->featureName = $featureName; - - return $this; - } - - public function getQuantity(): float - { - return $this->quantity; - } - - public function setQuantity(float $quantity): self - { - $this->initialized['quantity'] = true; - $this->quantity = $quantity; - - return $this; - } -} diff --git a/lib/Model/AddOnSetting.php b/lib/Model/AddOnSetting.php deleted file mode 100644 index e1fb1fd..0000000 --- a/lib/Model/AddOnSetting.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $featureName; - /** - * @var int - */ - protected $limit; - /** - * @var string - */ - protected $product; - /** - * @var int - */ - protected $incr; - /** - * @var float - */ - protected $price; - /** - * @var PriceMap - */ - protected $priceMap; - - public function getFeatureName(): string - { - return $this->featureName; - } - - public function setFeatureName(string $featureName): self - { - $this->initialized['featureName'] = true; - $this->featureName = $featureName; - - return $this; - } - - public function getLimit(): int - { - return $this->limit; - } - - public function setLimit(int $limit): self - { - $this->initialized['limit'] = true; - $this->limit = $limit; - - return $this; - } - - public function getProduct(): string - { - return $this->product; - } - - public function setProduct(string $product): self - { - $this->initialized['product'] = true; - $this->product = $product; - - return $this; - } - - public function getIncr(): int - { - return $this->incr; - } - - public function setIncr(int $incr): self - { - $this->initialized['incr'] = true; - $this->incr = $incr; - - return $this; - } - - public function getPrice(): float - { - return $this->price; - } - - public function setPrice(float $price): self - { - $this->initialized['price'] = true; - $this->price = $price; - - return $this; - } - - public function getPriceMap(): PriceMap - { - return $this->priceMap; - } - - public function setPriceMap(PriceMap $priceMap): self - { - $this->initialized['priceMap'] = true; - $this->priceMap = $priceMap; - - return $this; - } -} diff --git a/lib/Model/AddOnUsage.php b/lib/Model/AddOnUsage.php deleted file mode 100644 index 2b4ddb4..0000000 --- a/lib/Model/AddOnUsage.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $amountPurchased; - /** - * @var int - */ - protected $amountAvailableForPurchase; - /** - * @var int - */ - protected $amountUsed; - - public function getAmountPurchased(): int - { - return $this->amountPurchased; - } - - public function setAmountPurchased(int $amountPurchased): self - { - $this->initialized['amountPurchased'] = true; - $this->amountPurchased = $amountPurchased; - - return $this; - } - - public function getAmountAvailableForPurchase(): int - { - return $this->amountAvailableForPurchase; - } - - public function setAmountAvailableForPurchase(int $amountAvailableForPurchase): self - { - $this->initialized['amountAvailableForPurchase'] = true; - $this->amountAvailableForPurchase = $amountAvailableForPurchase; - - return $this; - } - - public function getAmountUsed(): int - { - return $this->amountUsed; - } - - public function setAmountUsed(int $amountUsed): self - { - $this->initialized['amountUsed'] = true; - $this->amountUsed = $amountUsed; - - return $this; - } -} diff --git a/lib/Model/AddOns.php b/lib/Model/AddOns.php deleted file mode 100644 index a11b360..0000000 --- a/lib/Model/AddOns.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $addOns; - - /** - * @return list - */ - public function getAddOns(): array - { - return $this->addOns; - } - - /** - * @param list $addOns - */ - public function setAddOns(array $addOns): self - { - $this->initialized['addOns'] = true; - $this->addOns = $addOns; - - return $this; - } -} diff --git a/lib/Model/Address.php b/lib/Model/Address.php deleted file mode 100644 index 9ce40e6..0000000 --- a/lib/Model/Address.php +++ /dev/null @@ -1,143 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $recipientName; - /** - * @var string - */ - protected $line1; - /** - * @var string - */ - protected $line2; - /** - * @var string - */ - protected $city; - /** - * @var string - */ - protected $state; - /** - * @var string - */ - protected $postalCode; - /** - * @var string - */ - protected $countryCode; - - public function getRecipientName(): string - { - return $this->recipientName; - } - - public function setRecipientName(string $recipientName): self - { - $this->initialized['recipientName'] = true; - $this->recipientName = $recipientName; - - return $this; - } - - public function getLine1(): string - { - return $this->line1; - } - - public function setLine1(string $line1): self - { - $this->initialized['line1'] = true; - $this->line1 = $line1; - - return $this; - } - - public function getLine2(): string - { - return $this->line2; - } - - public function setLine2(string $line2): self - { - $this->initialized['line2'] = true; - $this->line2 = $line2; - - return $this; - } - - public function getCity(): string - { - return $this->city; - } - - public function setCity(string $city): self - { - $this->initialized['city'] = true; - $this->city = $city; - - return $this; - } - - public function getState(): string - { - return $this->state; - } - - public function setState(string $state): self - { - $this->initialized['state'] = true; - $this->state = $state; - - return $this; - } - - public function getPostalCode(): string - { - return $this->postalCode; - } - - public function setPostalCode(string $postalCode): self - { - $this->initialized['postalCode'] = true; - $this->postalCode = $postalCode; - - return $this; - } - - public function getCountryCode(): string - { - return $this->countryCode; - } - - public function setCountryCode(string $countryCode): self - { - $this->initialized['countryCode'] = true; - $this->countryCode = $countryCode; - - return $this; - } -} diff --git a/lib/Model/AggregateClicksForBitlinks.php b/lib/Model/AggregateClicksForBitlinks.php deleted file mode 100644 index 63b79d6..0000000 --- a/lib/Model/AggregateClicksForBitlinks.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $unitReference; - /** - * @var string - */ - protected $unit; - /** - * @var float - */ - protected $units; - /** - * @var string - */ - protected $info; - /** - * @var list - */ - protected $clicks; - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnits(): float - { - return $this->units; - } - - public function setUnits(float $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getInfo(): string - { - return $this->info; - } - - public function setInfo(string $info): self - { - $this->initialized['info'] = true; - $this->info = $info; - - return $this; - } - - /** - * @return list - */ - public function getClicks(): array - { - return $this->clicks; - } - - /** - * @param list $clicks - */ - public function setClicks(array $clicks): self - { - $this->initialized['clicks'] = true; - $this->clicks = $clicks; - - return $this; - } -} diff --git a/lib/Model/AggregateClicksForBitlinksByCitiesFacet.php b/lib/Model/AggregateClicksForBitlinksByCitiesFacet.php deleted file mode 100644 index b82e101..0000000 --- a/lib/Model/AggregateClicksForBitlinksByCitiesFacet.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $unitReference; - /** - * @var string - */ - protected $unit; - /** - * @var float - */ - protected $units; - /** - * @var string - */ - protected $info; - /** - * @var string - */ - protected $facet; - /** - * @var list - */ - protected $totalsForTimePeriod; - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnits(): float - { - return $this->units; - } - - public function setUnits(float $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getInfo(): string - { - return $this->info; - } - - public function setInfo(string $info): self - { - $this->initialized['info'] = true; - $this->info = $info; - - return $this; - } - - public function getFacet(): string - { - return $this->facet; - } - - public function setFacet(string $facet): self - { - $this->initialized['facet'] = true; - $this->facet = $facet; - - return $this; - } - - /** - * @return list - */ - public function getTotalsForTimePeriod(): array - { - return $this->totalsForTimePeriod; - } - - /** - * @param list $totalsForTimePeriod - */ - public function setTotalsForTimePeriod(array $totalsForTimePeriod): self - { - $this->initialized['totalsForTimePeriod'] = true; - $this->totalsForTimePeriod = $totalsForTimePeriod; - - return $this; - } -} diff --git a/lib/Model/AggregateClicksForBitlinksByFacet.php b/lib/Model/AggregateClicksForBitlinksByFacet.php deleted file mode 100644 index f2308aa..0000000 --- a/lib/Model/AggregateClicksForBitlinksByFacet.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $unitReference; - /** - * @var string - */ - protected $unit; - /** - * @var float - */ - protected $units; - /** - * @var string - */ - protected $info; - /** - * @var string - */ - protected $facet; - /** - * @var list - */ - protected $totalsForTimePeriod; - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnits(): float - { - return $this->units; - } - - public function setUnits(float $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getInfo(): string - { - return $this->info; - } - - public function setInfo(string $info): self - { - $this->initialized['info'] = true; - $this->info = $info; - - return $this; - } - - public function getFacet(): string - { - return $this->facet; - } - - public function setFacet(string $facet): self - { - $this->initialized['facet'] = true; - $this->facet = $facet; - - return $this; - } - - /** - * @return list - */ - public function getTotalsForTimePeriod(): array - { - return $this->totalsForTimePeriod; - } - - /** - * @param list $totalsForTimePeriod - */ - public function setTotalsForTimePeriod(array $totalsForTimePeriod): self - { - $this->initialized['totalsForTimePeriod'] = true; - $this->totalsForTimePeriod = $totalsForTimePeriod; - - return $this; - } -} diff --git a/lib/Model/AggregateLaunchpadsOverviewGetResponse200.php b/lib/Model/AggregateLaunchpadsOverviewGetResponse200.php deleted file mode 100644 index 453aed1..0000000 --- a/lib/Model/AggregateLaunchpadsOverviewGetResponse200.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var float - */ - protected $views; - /** - * @var float - */ - protected $clicks; - /** - * @var string - */ - protected $info; - - public function getViews(): float - { - return $this->views; - } - - public function setViews(float $views): self - { - $this->initialized['views'] = true; - $this->views = $views; - - return $this; - } - - public function getClicks(): float - { - return $this->clicks; - } - - public function setClicks(float $clicks): self - { - $this->initialized['clicks'] = true; - $this->clicks = $clicks; - - return $this; - } - - public function getInfo(): string - { - return $this->info; - } - - public function setInfo(string $info): self - { - $this->initialized['info'] = true; - $this->info = $info; - - return $this; - } -} diff --git a/lib/Model/AggregateSitesOverviewGetResponse200.php b/lib/Model/AggregateSitesOverviewGetResponse200.php deleted file mode 100644 index df0124b..0000000 --- a/lib/Model/AggregateSitesOverviewGetResponse200.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var float - */ - protected $views; - /** - * @var float - */ - protected $clicks; - /** - * @var string - */ - protected $info; - - public function getViews(): float - { - return $this->views; - } - - public function setViews(float $views): self - { - $this->initialized['views'] = true; - $this->views = $views; - - return $this; - } - - public function getClicks(): float - { - return $this->clicks; - } - - public function setClicks(float $clicks): self - { - $this->initialized['clicks'] = true; - $this->clicks = $clicks; - - return $this; - } - - public function getInfo(): string - { - return $this->info; - } - - public function setInfo(string $info): self - { - $this->initialized['info'] = true; - $this->info = $info; - - return $this; - } -} diff --git a/lib/Model/AnalyticsReport.php b/lib/Model/AnalyticsReport.php deleted file mode 100644 index 9905110..0000000 --- a/lib/Model/AnalyticsReport.php +++ /dev/null @@ -1,194 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $reportGuid; - /** - * @var string - */ - protected $login; - /** - * @var string - */ - protected $groupGuid; - /** - * @var string - */ - protected $lastModifiedBy; - /** - * @var string - */ - protected $userFullName; - /** - * @var string - */ - protected $created; - /** - * @var string - */ - protected $modified; - /** - * @var bool - */ - protected $isActive; - /** - * @var string - */ - protected $reportType; - /** - * @var ReportSettings - */ - protected $settings; - - public function getReportGuid(): string - { - return $this->reportGuid; - } - - public function setReportGuid(string $reportGuid): self - { - $this->initialized['reportGuid'] = true; - $this->reportGuid = $reportGuid; - - return $this; - } - - public function getLogin(): string - { - return $this->login; - } - - public function setLogin(string $login): self - { - $this->initialized['login'] = true; - $this->login = $login; - - return $this; - } - - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } - - public function getLastModifiedBy(): string - { - return $this->lastModifiedBy; - } - - public function setLastModifiedBy(string $lastModifiedBy): self - { - $this->initialized['lastModifiedBy'] = true; - $this->lastModifiedBy = $lastModifiedBy; - - return $this; - } - - public function getUserFullName(): string - { - return $this->userFullName; - } - - public function setUserFullName(string $userFullName): self - { - $this->initialized['userFullName'] = true; - $this->userFullName = $userFullName; - - return $this; - } - - public function getCreated(): string - { - return $this->created; - } - - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getModified(): string - { - return $this->modified; - } - - public function setModified(string $modified): self - { - $this->initialized['modified'] = true; - $this->modified = $modified; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getReportType(): string - { - return $this->reportType; - } - - public function setReportType(string $reportType): self - { - $this->initialized['reportType'] = true; - $this->reportType = $reportType; - - return $this; - } - - public function getSettings(): ReportSettings - { - return $this->settings; - } - - public function setSettings(ReportSettings $settings): self - { - $this->initialized['settings'] = true; - $this->settings = $settings; - - return $this; - } -} diff --git a/lib/Model/AnalyticsReportContent.php b/lib/Model/AnalyticsReportContent.php deleted file mode 100644 index 4801a03..0000000 --- a/lib/Model/AnalyticsReportContent.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $title; - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } -} diff --git a/lib/Model/AnalyticsReports.php b/lib/Model/AnalyticsReports.php deleted file mode 100644 index aca65f1..0000000 --- a/lib/Model/AnalyticsReports.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $reports; - - /** - * @return list - */ - public function getReports(): array - { - return $this->reports; - } - - /** - * @param list $reports - */ - public function setReports(array $reports): self - { - $this->initialized['reports'] = true; - $this->reports = $reports; - - return $this; - } -} diff --git a/lib/Model/AnnualRenewalReminderRequest.php b/lib/Model/AnnualRenewalReminderRequest.php deleted file mode 100644 index 1b9e9ab..0000000 --- a/lib/Model/AnnualRenewalReminderRequest.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $subscriptionID; - /** - * @var string - */ - protected $orgGuid; - - public function getSubscriptionID(): string - { - return $this->subscriptionID; - } - - public function setSubscriptionID(string $subscriptionID): self - { - $this->initialized['subscriptionID'] = true; - $this->subscriptionID = $subscriptionID; - - return $this; - } - - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } -} diff --git a/lib/Model/AppAssociationDetail.php b/lib/Model/AppAssociationDetail.php deleted file mode 100644 index e53e3df..0000000 --- a/lib/Model/AppAssociationDetail.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $appGuid; - /** - * @var int - */ - protected $priority; - /** - * @var string - */ - protected $os; - /** - * @var bool - */ - protected $fallback; - - public function getAppGuid(): string - { - return $this->appGuid; - } - - public function setAppGuid(string $appGuid): self - { - $this->initialized['appGuid'] = true; - $this->appGuid = $appGuid; - - return $this; - } - - public function getPriority(): int - { - return $this->priority; - } - - public function setPriority(int $priority): self - { - $this->initialized['priority'] = true; - $this->priority = $priority; - - return $this; - } - - public function getOs(): string - { - return $this->os; - } - - public function setOs(string $os): self - { - $this->initialized['os'] = true; - $this->os = $os; - - return $this; - } - - public function getFallback(): bool - { - return $this->fallback; - } - - public function setFallback(bool $fallback): self - { - $this->initialized['fallback'] = true; - $this->fallback = $fallback; - - return $this; - } -} diff --git a/lib/Model/AppAssociations.php b/lib/Model/AppAssociations.php deleted file mode 100644 index 5587263..0000000 --- a/lib/Model/AppAssociations.php +++ /dev/null @@ -1,121 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $customDomain; - /** - * @var list - */ - protected $iosApps; - /** - * @var list - */ - protected $androidApps; - /** - * @var string - */ - protected $iosInstallPreference; - /** - * @var string - */ - protected $androidInstallPreference; - - public function getCustomDomain(): string - { - return $this->customDomain; - } - - public function setCustomDomain(string $customDomain): self - { - $this->initialized['customDomain'] = true; - $this->customDomain = $customDomain; - - return $this; - } - - /** - * @return list - */ - public function getIosApps(): array - { - return $this->iosApps; - } - - /** - * @param list $iosApps - */ - public function setIosApps(array $iosApps): self - { - $this->initialized['iosApps'] = true; - $this->iosApps = $iosApps; - - return $this; - } - - /** - * @return list - */ - public function getAndroidApps(): array - { - return $this->androidApps; - } - - /** - * @param list $androidApps - */ - public function setAndroidApps(array $androidApps): self - { - $this->initialized['androidApps'] = true; - $this->androidApps = $androidApps; - - return $this; - } - - public function getIosInstallPreference(): string - { - return $this->iosInstallPreference; - } - - public function setIosInstallPreference(string $iosInstallPreference): self - { - $this->initialized['iosInstallPreference'] = true; - $this->iosInstallPreference = $iosInstallPreference; - - return $this; - } - - public function getAndroidInstallPreference(): string - { - return $this->androidInstallPreference; - } - - public function setAndroidInstallPreference(string $androidInstallPreference): self - { - $this->initialized['androidInstallPreference'] = true; - $this->androidInstallPreference = $androidInstallPreference; - - return $this; - } -} diff --git a/lib/Model/ApplyDiscount.php b/lib/Model/ApplyDiscount.php deleted file mode 100644 index e3858d1..0000000 --- a/lib/Model/ApplyDiscount.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $promoCode; - - public function getPromoCode(): string - { - return $this->promoCode; - } - - public function setPromoCode(string $promoCode): self - { - $this->initialized['promoCode'] = true; - $this->promoCode = $promoCode; - - return $this; - } -} diff --git a/lib/Model/ApplyTemplateRequest.php b/lib/Model/ApplyTemplateRequest.php deleted file mode 100644 index b6f9d1a..0000000 --- a/lib/Model/ApplyTemplateRequest.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $templateGuid; - - public function getTemplateGuid(): string - { - return $this->templateGuid; - } - - public function setTemplateGuid(string $templateGuid): self - { - $this->initialized['templateGuid'] = true; - $this->templateGuid = $templateGuid; - - return $this; - } -} diff --git a/lib/Model/Authorization.php b/lib/Model/Authorization.php deleted file mode 100644 index 2c52dcc..0000000 --- a/lib/Model/Authorization.php +++ /dev/null @@ -1,100 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $id; - /** - * @var string - */ - protected $clientId; - /** - * ISO timestamp. - * - * @var string - */ - protected $created; - /** - * @var OAuthAppWithOwnerLogin - */ - protected $app; - - public function getId(): string - { - return $this->id; - } - - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getClientId(): string - { - return $this->clientId; - } - - public function setClientId(string $clientId): self - { - $this->initialized['clientId'] = true; - $this->clientId = $clientId; - - return $this; - } - - /** - * ISO timestamp. - */ - public function getCreated(): string - { - return $this->created; - } - - /** - * ISO timestamp. - */ - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getApp(): OAuthAppWithOwnerLogin - { - return $this->app; - } - - public function setApp(OAuthAppWithOwnerLogin $app): self - { - $this->initialized['app'] = true; - $this->app = $app; - - return $this; - } -} diff --git a/lib/Model/Authorizations.php b/lib/Model/Authorizations.php deleted file mode 100644 index ef113c9..0000000 --- a/lib/Model/Authorizations.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $authorizations; - - /** - * @return list - */ - public function getAuthorizations(): array - { - return $this->authorizations; - } - - /** - * @param list $authorizations - */ - public function setAuthorizations(array $authorizations): self - { - $this->initialized['authorizations'] = true; - $this->authorizations = $authorizations; - - return $this; - } -} diff --git a/lib/Model/AutobrandedDomain.php b/lib/Model/AutobrandedDomain.php deleted file mode 100644 index ffb9b13..0000000 --- a/lib/Model/AutobrandedDomain.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $result; - - /** - * @return list - */ - public function getResult(): array - { - return $this->result; - } - - /** - * @param list $result - */ - public function setResult(array $result): self - { - $this->initialized['result'] = true; - $this->result = $result; - - return $this; - } -} diff --git a/lib/Model/AutobrandedDomainResultItem.php b/lib/Model/AutobrandedDomainResultItem.php deleted file mode 100644 index 5f5dfee..0000000 --- a/lib/Model/AutobrandedDomainResultItem.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $longUrl; - /** - * @var string - */ - protected $autobrandedDomain; - /** - * @var string - */ - protected $error; - - public function getLongUrl(): string - { - return $this->longUrl; - } - - public function setLongUrl(string $longUrl): self - { - $this->initialized['longUrl'] = true; - $this->longUrl = $longUrl; - - return $this; - } - - public function getAutobrandedDomain(): string - { - return $this->autobrandedDomain; - } - - public function setAutobrandedDomain(string $autobrandedDomain): self - { - $this->initialized['autobrandedDomain'] = true; - $this->autobrandedDomain = $autobrandedDomain; - - return $this; - } - - public function getError(): string - { - return $this->error; - } - - public function setError(string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } -} diff --git a/lib/Model/BSDAISearchPrompt.php b/lib/Model/BSDAISearchPrompt.php deleted file mode 100644 index f8880c3..0000000 --- a/lib/Model/BSDAISearchPrompt.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $prompt; - - public function getPrompt(): string - { - return $this->prompt; - } - - public function setPrompt(string $prompt): self - { - $this->initialized['prompt'] = true; - $this->prompt = $prompt; - - return $this; - } -} diff --git a/lib/Model/BSDSearchResult.php b/lib/Model/BSDSearchResult.php deleted file mode 100644 index 5f090b8..0000000 --- a/lib/Model/BSDSearchResult.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $domain; - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } -} diff --git a/lib/Model/BSDSearchResults.php b/lib/Model/BSDSearchResults.php deleted file mode 100644 index f2f3cb3..0000000 --- a/lib/Model/BSDSearchResults.php +++ /dev/null @@ -1,64 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $results; - /** - * @var InputDomain - */ - protected $inputDomain; - - /** - * @return list - */ - public function getResults(): array - { - return $this->results; - } - - /** - * @param list $results - */ - public function setResults(array $results): self - { - $this->initialized['results'] = true; - $this->results = $results; - - return $this; - } - - public function getInputDomain(): InputDomain - { - return $this->inputDomain; - } - - public function setInputDomain(InputDomain $inputDomain): self - { - $this->initialized['inputDomain'] = true; - $this->inputDomain = $inputDomain; - - return $this; - } -} diff --git a/lib/Model/BaseBitlinkClicksMetrics.php b/lib/Model/BaseBitlinkClicksMetrics.php deleted file mode 100644 index 85c3093..0000000 --- a/lib/Model/BaseBitlinkClicksMetrics.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $unit; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $facet; - /** - * @var string - */ - protected $unitReference; - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getFacet(): string - { - return $this->facet; - } - - public function setFacet(string $facet): self - { - $this->initialized['facet'] = true; - $this->facet = $facet; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } -} diff --git a/lib/Model/BasicInfo.php b/lib/Model/BasicInfo.php deleted file mode 100644 index 57af88b..0000000 --- a/lib/Model/BasicInfo.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $companyName; - /** - * @var string - */ - protected $vatId; - - public function getCompanyName(): string - { - return $this->companyName; - } - - public function setCompanyName(string $companyName): self - { - $this->initialized['companyName'] = true; - $this->companyName = $companyName; - - return $this; - } - - public function getVatId(): string - { - return $this->vatId; - } - - public function setVatId(string $vatId): self - { - $this->initialized['vatId'] = true; - $this->vatId = $vatId; - - return $this; - } -} diff --git a/lib/Model/BillingAccount.php b/lib/Model/BillingAccount.php deleted file mode 100644 index 8ee1ba1..0000000 --- a/lib/Model/BillingAccount.php +++ /dev/null @@ -1,415 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $accountId; - /** - * @var string - */ - protected $accountNum; - /** - * @var string - */ - protected $cardType; - /** - * @var string - */ - protected $currency; - /** - * @var string - */ - protected $billingProvider; - /** - * ISO timestamp. - */ - protected $endDate; - /** - * ISO timestamp. - * - * @var string - */ - protected $subscriptionStartDate; - /** - * @var string - */ - protected $lastFourDigits; - /** - * @var string - */ - protected $paymentMethodType; - /** - * ISO timestamp. - * - * @var string - */ - protected $renewalDate; - /** - * @var float - */ - protected $subscriptionPrice; - /** - * @var string - */ - protected $subscriptionStatus; - /** - * @var string - */ - protected $taxId; - /** - * @var string - */ - protected $companyName; - /** - * @var string - */ - protected $migrationStatus; - /** - * @var string - */ - protected $stripeAccount; - /** - * @var list - */ - protected $upcomingSubscriptions; - /** - * @var BillingInfo - */ - protected $billingInfo; - /** - * @var Contacts - */ - protected $contacts; - /** - * @var ContactInfo - */ - protected $contactInfo; - /** - * @var list - */ - protected $subscriptionDiscounts; - - public function getAccountId(): string - { - return $this->accountId; - } - - public function setAccountId(string $accountId): self - { - $this->initialized['accountId'] = true; - $this->accountId = $accountId; - - return $this; - } - - public function getAccountNum(): string - { - return $this->accountNum; - } - - public function setAccountNum(string $accountNum): self - { - $this->initialized['accountNum'] = true; - $this->accountNum = $accountNum; - - return $this; - } - - public function getCardType(): string - { - return $this->cardType; - } - - public function setCardType(string $cardType): self - { - $this->initialized['cardType'] = true; - $this->cardType = $cardType; - - return $this; - } - - public function getCurrency(): string - { - return $this->currency; - } - - public function setCurrency(string $currency): self - { - $this->initialized['currency'] = true; - $this->currency = $currency; - - return $this; - } - - public function getBillingProvider(): string - { - return $this->billingProvider; - } - - public function setBillingProvider(string $billingProvider): self - { - $this->initialized['billingProvider'] = true; - $this->billingProvider = $billingProvider; - - return $this; - } - - /** - * ISO timestamp. - */ - public function getEndDate() - { - return $this->endDate; - } - - /** - * ISO timestamp. - */ - public function setEndDate($endDate): self - { - $this->initialized['endDate'] = true; - $this->endDate = $endDate; - - return $this; - } - - /** - * ISO timestamp. - */ - public function getSubscriptionStartDate(): string - { - return $this->subscriptionStartDate; - } - - /** - * ISO timestamp. - */ - public function setSubscriptionStartDate(string $subscriptionStartDate): self - { - $this->initialized['subscriptionStartDate'] = true; - $this->subscriptionStartDate = $subscriptionStartDate; - - return $this; - } - - public function getLastFourDigits(): string - { - return $this->lastFourDigits; - } - - public function setLastFourDigits(string $lastFourDigits): self - { - $this->initialized['lastFourDigits'] = true; - $this->lastFourDigits = $lastFourDigits; - - return $this; - } - - public function getPaymentMethodType(): string - { - return $this->paymentMethodType; - } - - public function setPaymentMethodType(string $paymentMethodType): self - { - $this->initialized['paymentMethodType'] = true; - $this->paymentMethodType = $paymentMethodType; - - return $this; - } - - /** - * ISO timestamp. - */ - public function getRenewalDate(): string - { - return $this->renewalDate; - } - - /** - * ISO timestamp. - */ - public function setRenewalDate(string $renewalDate): self - { - $this->initialized['renewalDate'] = true; - $this->renewalDate = $renewalDate; - - return $this; - } - - public function getSubscriptionPrice(): float - { - return $this->subscriptionPrice; - } - - public function setSubscriptionPrice(float $subscriptionPrice): self - { - $this->initialized['subscriptionPrice'] = true; - $this->subscriptionPrice = $subscriptionPrice; - - return $this; - } - - public function getSubscriptionStatus(): string - { - return $this->subscriptionStatus; - } - - public function setSubscriptionStatus(string $subscriptionStatus): self - { - $this->initialized['subscriptionStatus'] = true; - $this->subscriptionStatus = $subscriptionStatus; - - return $this; - } - - public function getTaxId(): string - { - return $this->taxId; - } - - public function setTaxId(string $taxId): self - { - $this->initialized['taxId'] = true; - $this->taxId = $taxId; - - return $this; - } - - public function getCompanyName(): string - { - return $this->companyName; - } - - public function setCompanyName(string $companyName): self - { - $this->initialized['companyName'] = true; - $this->companyName = $companyName; - - return $this; - } - - public function getMigrationStatus(): string - { - return $this->migrationStatus; - } - - public function setMigrationStatus(string $migrationStatus): self - { - $this->initialized['migrationStatus'] = true; - $this->migrationStatus = $migrationStatus; - - return $this; - } - - public function getStripeAccount(): string - { - return $this->stripeAccount; - } - - public function setStripeAccount(string $stripeAccount): self - { - $this->initialized['stripeAccount'] = true; - $this->stripeAccount = $stripeAccount; - - return $this; - } - - /** - * @return list - */ - public function getUpcomingSubscriptions(): array - { - return $this->upcomingSubscriptions; - } - - /** - * @param list $upcomingSubscriptions - */ - public function setUpcomingSubscriptions(array $upcomingSubscriptions): self - { - $this->initialized['upcomingSubscriptions'] = true; - $this->upcomingSubscriptions = $upcomingSubscriptions; - - return $this; - } - - public function getBillingInfo(): BillingInfo - { - return $this->billingInfo; - } - - public function setBillingInfo(BillingInfo $billingInfo): self - { - $this->initialized['billingInfo'] = true; - $this->billingInfo = $billingInfo; - - return $this; - } - - public function getContacts(): Contacts - { - return $this->contacts; - } - - public function setContacts(Contacts $contacts): self - { - $this->initialized['contacts'] = true; - $this->contacts = $contacts; - - return $this; - } - - public function getContactInfo(): ContactInfo - { - return $this->contactInfo; - } - - public function setContactInfo(ContactInfo $contactInfo): self - { - $this->initialized['contactInfo'] = true; - $this->contactInfo = $contactInfo; - - return $this; - } - - /** - * @return list - */ - public function getSubscriptionDiscounts(): array - { - return $this->subscriptionDiscounts; - } - - /** - * @param list $subscriptionDiscounts - */ - public function setSubscriptionDiscounts(array $subscriptionDiscounts): self - { - $this->initialized['subscriptionDiscounts'] = true; - $this->subscriptionDiscounts = $subscriptionDiscounts; - - return $this; - } -} diff --git a/lib/Model/BillingAccountID.php b/lib/Model/BillingAccountID.php deleted file mode 100644 index 72efbcd..0000000 --- a/lib/Model/BillingAccountID.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $billingAccountId; - - public function getBillingAccountId(): string - { - return $this->billingAccountId; - } - - public function setBillingAccountId(string $billingAccountId): self - { - $this->initialized['billingAccountId'] = true; - $this->billingAccountId = $billingAccountId; - - return $this; - } -} diff --git a/lib/Model/BillingAddress.php b/lib/Model/BillingAddress.php deleted file mode 100644 index 6dafccb..0000000 --- a/lib/Model/BillingAddress.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $address1; - /** - * @var string - */ - protected $address2; - /** - * @var string - */ - protected $city; - /** - * @var string - */ - protected $state; - /** - * @var string - */ - protected $zipCode; - /** - * @var string - */ - protected $country; - - public function getAddress1(): string - { - return $this->address1; - } - - public function setAddress1(string $address1): self - { - $this->initialized['address1'] = true; - $this->address1 = $address1; - - return $this; - } - - public function getAddress2(): string - { - return $this->address2; - } - - public function setAddress2(string $address2): self - { - $this->initialized['address2'] = true; - $this->address2 = $address2; - - return $this; - } - - public function getCity(): string - { - return $this->city; - } - - public function setCity(string $city): self - { - $this->initialized['city'] = true; - $this->city = $city; - - return $this; - } - - public function getState(): string - { - return $this->state; - } - - public function setState(string $state): self - { - $this->initialized['state'] = true; - $this->state = $state; - - return $this; - } - - public function getZipCode(): string - { - return $this->zipCode; - } - - public function setZipCode(string $zipCode): self - { - $this->initialized['zipCode'] = true; - $this->zipCode = $zipCode; - - return $this; - } - - public function getCountry(): string - { - return $this->country; - } - - public function setCountry(string $country): self - { - $this->initialized['country'] = true; - $this->country = $country; - - return $this; - } -} diff --git a/lib/Model/BillingAgreement.php b/lib/Model/BillingAgreement.php deleted file mode 100644 index 882d287..0000000 --- a/lib/Model/BillingAgreement.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $id; - /** - * @var string - */ - protected $state; - /** - * @var Payer - */ - protected $payer; - /** - * @var Address - */ - protected $shippingAddress; - /** - * @var string - */ - protected $createTime; - /** - * @var string - */ - protected $updateTime; - - public function getId(): string - { - return $this->id; - } - - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getState(): string - { - return $this->state; - } - - public function setState(string $state): self - { - $this->initialized['state'] = true; - $this->state = $state; - - return $this; - } - - public function getPayer(): Payer - { - return $this->payer; - } - - public function setPayer(Payer $payer): self - { - $this->initialized['payer'] = true; - $this->payer = $payer; - - return $this; - } - - public function getShippingAddress(): Address - { - return $this->shippingAddress; - } - - public function setShippingAddress(Address $shippingAddress): self - { - $this->initialized['shippingAddress'] = true; - $this->shippingAddress = $shippingAddress; - - return $this; - } - - public function getCreateTime(): string - { - return $this->createTime; - } - - public function setCreateTime(string $createTime): self - { - $this->initialized['createTime'] = true; - $this->createTime = $createTime; - - return $this; - } - - public function getUpdateTime(): string - { - return $this->updateTime; - } - - public function setUpdateTime(string $updateTime): self - { - $this->initialized['updateTime'] = true; - $this->updateTime = $updateTime; - - return $this; - } -} diff --git a/lib/Model/BillingAgreementToken.php b/lib/Model/BillingAgreementToken.php deleted file mode 100644 index 8533f5e..0000000 --- a/lib/Model/BillingAgreementToken.php +++ /dev/null @@ -1,49 +0,0 @@ -initialized); - } - /** - * PayPal Session Token. - * - * @var string - */ - protected $paypalTokenId; - - /** - * PayPal Session Token. - */ - public function getPaypalTokenId(): string - { - return $this->paypalTokenId; - } - - /** - * PayPal Session Token. - */ - public function setPaypalTokenId(string $paypalTokenId): self - { - $this->initialized['paypalTokenId'] = true; - $this->paypalTokenId = $paypalTokenId; - - return $this; - } -} diff --git a/lib/Model/BillingContact.php b/lib/Model/BillingContact.php deleted file mode 100644 index 817293b..0000000 --- a/lib/Model/BillingContact.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $billingContactId; - /** - * @var string - */ - protected $firstName; - /** - * @var string - */ - protected $lastName; - /** - * @var string - */ - protected $phone; - /** - * @var string - */ - protected $email; - /** - * @var string - */ - protected $description; - - public function getBillingContactId(): string - { - return $this->billingContactId; - } - - public function setBillingContactId(string $billingContactId): self - { - $this->initialized['billingContactId'] = true; - $this->billingContactId = $billingContactId; - - return $this; - } - - public function getFirstName(): string - { - return $this->firstName; - } - - public function setFirstName(string $firstName): self - { - $this->initialized['firstName'] = true; - $this->firstName = $firstName; - - return $this; - } - - public function getLastName(): string - { - return $this->lastName; - } - - public function setLastName(string $lastName): self - { - $this->initialized['lastName'] = true; - $this->lastName = $lastName; - - return $this; - } - - public function getPhone(): string - { - return $this->phone; - } - - public function setPhone(string $phone): self - { - $this->initialized['phone'] = true; - $this->phone = $phone; - - return $this; - } - - public function getEmail(): string - { - return $this->email; - } - - public function setEmail(string $email): self - { - $this->initialized['email'] = true; - $this->email = $email; - - return $this; - } - - public function getDescription(): string - { - return $this->description; - } - - public function setDescription(string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } -} diff --git a/lib/Model/BillingDowngrade.php b/lib/Model/BillingDowngrade.php deleted file mode 100644 index d89d3bb..0000000 --- a/lib/Model/BillingDowngrade.php +++ /dev/null @@ -1,127 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $tierName; - /** - * @var list - */ - protected $groupGuids; - /** - * @var list - */ - protected $micrositeGuids; - /** - * @var list - */ - protected $usersToRetain; - /** - * @var string - */ - protected $promoCode; - - public function getTierName(): string - { - return $this->tierName; - } - - public function setTierName(string $tierName): self - { - $this->initialized['tierName'] = true; - $this->tierName = $tierName; - - return $this; - } - - /** - * @return list - */ - public function getGroupGuids(): array - { - return $this->groupGuids; - } - - /** - * @param list $groupGuids - */ - public function setGroupGuids(array $groupGuids): self - { - $this->initialized['groupGuids'] = true; - $this->groupGuids = $groupGuids; - - return $this; - } - - /** - * @return list - */ - public function getMicrositeGuids(): array - { - return $this->micrositeGuids; - } - - /** - * @param list $micrositeGuids - */ - public function setMicrositeGuids(array $micrositeGuids): self - { - $this->initialized['micrositeGuids'] = true; - $this->micrositeGuids = $micrositeGuids; - - return $this; - } - - /** - * @return list - */ - public function getUsersToRetain(): array - { - return $this->usersToRetain; - } - - /** - * @param list $usersToRetain - */ - public function setUsersToRetain(array $usersToRetain): self - { - $this->initialized['usersToRetain'] = true; - $this->usersToRetain = $usersToRetain; - - return $this; - } - - public function getPromoCode(): string - { - return $this->promoCode; - } - - public function setPromoCode(string $promoCode): self - { - $this->initialized['promoCode'] = true; - $this->promoCode = $promoCode; - - return $this; - } -} diff --git a/lib/Model/BillingInfo.php b/lib/Model/BillingInfo.php deleted file mode 100644 index 00471db..0000000 --- a/lib/Model/BillingInfo.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var BillingContact - */ - protected $billingContact; - /** - * @var BasicInfo - */ - protected $basicInfo; - /** - * @var BillingAddress - */ - protected $billingAddress; - - public function getBillingContact(): BillingContact - { - return $this->billingContact; - } - - public function setBillingContact(BillingContact $billingContact): self - { - $this->initialized['billingContact'] = true; - $this->billingContact = $billingContact; - - return $this; - } - - public function getBasicInfo(): BasicInfo - { - return $this->basicInfo; - } - - public function setBasicInfo(BasicInfo $basicInfo): self - { - $this->initialized['basicInfo'] = true; - $this->basicInfo = $basicInfo; - - return $this; - } - - public function getBillingAddress(): BillingAddress - { - return $this->billingAddress; - } - - public function setBillingAddress(BillingAddress $billingAddress): self - { - $this->initialized['billingAddress'] = true; - $this->billingAddress = $billingAddress; - - return $this; - } -} diff --git a/lib/Model/BillingProvider.php b/lib/Model/BillingProvider.php deleted file mode 100644 index 576b4c7..0000000 --- a/lib/Model/BillingProvider.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $billingProvider; - - public function getBillingProvider(): string - { - return $this->billingProvider; - } - - public function setBillingProvider(string $billingProvider): self - { - $this->initialized['billingProvider'] = true; - $this->billingProvider = $billingProvider; - - return $this; - } -} diff --git a/lib/Model/BillingSignature.php b/lib/Model/BillingSignature.php deleted file mode 100644 index 74a0799..0000000 --- a/lib/Model/BillingSignature.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $signature; - /** - * @var string - */ - protected $token; - /** - * @var string - */ - protected $tenantId; - /** - * @var string - */ - protected $key; - /** - * @var string - */ - protected $iframeId; - /** - * @var string - */ - protected $fieldAccountId; - - public function getSignature(): string - { - return $this->signature; - } - - public function setSignature(string $signature): self - { - $this->initialized['signature'] = true; - $this->signature = $signature; - - return $this; - } - - public function getToken(): string - { - return $this->token; - } - - public function setToken(string $token): self - { - $this->initialized['token'] = true; - $this->token = $token; - - return $this; - } - - public function getTenantId(): string - { - return $this->tenantId; - } - - public function setTenantId(string $tenantId): self - { - $this->initialized['tenantId'] = true; - $this->tenantId = $tenantId; - - return $this; - } - - public function getKey(): string - { - return $this->key; - } - - public function setKey(string $key): self - { - $this->initialized['key'] = true; - $this->key = $key; - - return $this; - } - - public function getIframeId(): string - { - return $this->iframeId; - } - - public function setIframeId(string $iframeId): self - { - $this->initialized['iframeId'] = true; - $this->iframeId = $iframeId; - - return $this; - } - - public function getFieldAccountId(): string - { - return $this->fieldAccountId; - } - - public function setFieldAccountId(string $fieldAccountId): self - { - $this->initialized['fieldAccountId'] = true; - $this->fieldAccountId = $fieldAccountId; - - return $this; - } -} diff --git a/lib/Model/BitlinkClicks.php b/lib/Model/BitlinkClicks.php deleted file mode 100644 index bba5789..0000000 --- a/lib/Model/BitlinkClicks.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $bitlinkClicks; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unit; - /** - * @var string - */ - protected $unitReference; - - /** - * @return list - */ - public function getBitlinkClicks(): array - { - return $this->bitlinkClicks; - } - - /** - * @param list $bitlinkClicks - */ - public function setBitlinkClicks(array $bitlinkClicks): self - { - $this->initialized['bitlinkClicks'] = true; - $this->bitlinkClicks = $bitlinkClicks; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } -} diff --git a/lib/Model/BitlinkClicksMetric.php b/lib/Model/BitlinkClicksMetric.php deleted file mode 100644 index 26f95e6..0000000 --- a/lib/Model/BitlinkClicksMetric.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $bitlinkClicks; - /** - * @var string - */ - protected $value; - - public function getBitlinkClicks(): int - { - return $this->bitlinkClicks; - } - - public function setBitlinkClicks(int $bitlinkClicks): self - { - $this->initialized['bitlinkClicks'] = true; - $this->bitlinkClicks = $bitlinkClicks; - - return $this; - } - - public function getValue(): string - { - return $this->value; - } - - public function setValue(string $value): self - { - $this->initialized['value'] = true; - $this->value = $value; - - return $this; - } -} diff --git a/lib/Model/BitlinkClicksMetrics.php b/lib/Model/BitlinkClicksMetrics.php deleted file mode 100644 index f9330ea..0000000 --- a/lib/Model/BitlinkClicksMetrics.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $unit; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $facet; - /** - * @var string - */ - protected $unitReference; - /** - * @var list - */ - protected $metrics; - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getFacet(): string - { - return $this->facet; - } - - public function setFacet(string $facet): self - { - $this->initialized['facet'] = true; - $this->facet = $facet; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - /** - * @return list - */ - public function getMetrics(): array - { - return $this->metrics; - } - - /** - * @param list $metrics - */ - public function setMetrics(array $metrics): self - { - $this->initialized['metrics'] = true; - $this->metrics = $metrics; - - return $this; - } -} diff --git a/lib/Model/BitlinkClicksSummary.php b/lib/Model/BitlinkClicksSummary.php deleted file mode 100644 index c16d3f3..0000000 --- a/lib/Model/BitlinkClicksSummary.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $totalBitlinkClicks; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unit; - /** - * @var string - */ - protected $unitReference; - - public function getTotalBitlinkClicks(): int - { - return $this->totalBitlinkClicks; - } - - public function setTotalBitlinkClicks(int $totalBitlinkClicks): self - { - $this->initialized['totalBitlinkClicks'] = true; - $this->totalBitlinkClicks = $totalBitlinkClicks; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } -} diff --git a/lib/Model/BitlinkContentResponse.php b/lib/Model/BitlinkContentResponse.php deleted file mode 100644 index 1489853..0000000 --- a/lib/Model/BitlinkContentResponse.php +++ /dev/null @@ -1,109 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $bitlinkId; - /** - * @var string - */ - protected $linkTitle; - /** - * @var string - */ - protected $description; - /** - * @var bool - */ - protected $isPinned; - /** - * @var string - */ - protected $imageUrl; - - public function getBitlinkId(): string - { - return $this->bitlinkId; - } - - public function setBitlinkId(string $bitlinkId): self - { - $this->initialized['bitlinkId'] = true; - $this->bitlinkId = $bitlinkId; - - return $this; - } - - public function getLinkTitle(): string - { - return $this->linkTitle; - } - - public function setLinkTitle(string $linkTitle): self - { - $this->initialized['linkTitle'] = true; - $this->linkTitle = $linkTitle; - - return $this; - } - - public function getDescription(): string - { - return $this->description; - } - - public function setDescription(string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - public function getImageUrl(): string - { - return $this->imageUrl; - } - - public function setImageUrl(string $imageUrl): self - { - $this->initialized['imageUrl'] = true; - $this->imageUrl = $imageUrl; - - return $this; - } -} diff --git a/lib/Model/BitlinkEngagements.php b/lib/Model/BitlinkEngagements.php deleted file mode 100644 index 2d6d015..0000000 --- a/lib/Model/BitlinkEngagements.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $unitReference; - /** - * @var float - */ - protected $unit; - /** - * @var string - */ - protected $units; - /** - * @var list - */ - protected $clicksOverTime; - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - public function getUnit(): float - { - return $this->unit; - } - - public function setUnit(float $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnits(): string - { - return $this->units; - } - - public function setUnits(string $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - /** - * @return list - */ - public function getClicksOverTime(): array - { - return $this->clicksOverTime; - } - - /** - * @param list $clicksOverTime - */ - public function setClicksOverTime(array $clicksOverTime): self - { - $this->initialized['clicksOverTime'] = true; - $this->clicksOverTime = $clicksOverTime; - - return $this; - } -} diff --git a/lib/Model/BitlinkHistory.php b/lib/Model/BitlinkHistory.php deleted file mode 100644 index aa5b844..0000000 --- a/lib/Model/BitlinkHistory.php +++ /dev/null @@ -1,258 +0,0 @@ -initialized); - } - /** - * @var array - */ - protected $references; - /** - * The domain and backhalf of the parent override. - * - * @var string - */ - protected $id; - /** - * @var string - */ - protected $groupGuid; - /** - * The domain and backhalf of the underlying hash link. - * - * @var string - */ - protected $targetBitlinkId; - /** - * The backhalf of the underlying hash link. - * - * @var string - */ - protected $hash; - /** - * @var string - */ - protected $login; - /** - * @var string - */ - protected $longUrl; - /** - * @var string - */ - protected $createdAt; - /** - * @var string - */ - protected $deactivatedAt; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isDeleted; - /** - * @var float - */ - protected $version; - - /** - * @return array - */ - public function getReferences(): iterable - { - return $this->references; - } - - /** - * @param array $references - */ - public function setReferences(iterable $references): self - { - $this->initialized['references'] = true; - $this->references = $references; - - return $this; - } - - /** - * The domain and backhalf of the parent override. - */ - public function getId(): string - { - return $this->id; - } - - /** - * The domain and backhalf of the parent override. - */ - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } - - /** - * The domain and backhalf of the underlying hash link. - */ - public function getTargetBitlinkId(): string - { - return $this->targetBitlinkId; - } - - /** - * The domain and backhalf of the underlying hash link. - */ - public function setTargetBitlinkId(string $targetBitlinkId): self - { - $this->initialized['targetBitlinkId'] = true; - $this->targetBitlinkId = $targetBitlinkId; - - return $this; - } - - /** - * The backhalf of the underlying hash link. - */ - public function getHash(): string - { - return $this->hash; - } - - /** - * The backhalf of the underlying hash link. - */ - public function setHash(string $hash): self - { - $this->initialized['hash'] = true; - $this->hash = $hash; - - return $this; - } - - public function getLogin(): string - { - return $this->login; - } - - public function setLogin(string $login): self - { - $this->initialized['login'] = true; - $this->login = $login; - - return $this; - } - - public function getLongUrl(): string - { - return $this->longUrl; - } - - public function setLongUrl(string $longUrl): self - { - $this->initialized['longUrl'] = true; - $this->longUrl = $longUrl; - - return $this; - } - - public function getCreatedAt(): string - { - return $this->createdAt; - } - - public function setCreatedAt(string $createdAt): self - { - $this->initialized['createdAt'] = true; - $this->createdAt = $createdAt; - - return $this; - } - - public function getDeactivatedAt(): string - { - return $this->deactivatedAt; - } - - public function setDeactivatedAt(string $deactivatedAt): self - { - $this->initialized['deactivatedAt'] = true; - $this->deactivatedAt = $deactivatedAt; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsDeleted(): bool - { - return $this->isDeleted; - } - - public function setIsDeleted(bool $isDeleted): self - { - $this->initialized['isDeleted'] = true; - $this->isDeleted = $isDeleted; - - return $this; - } - - public function getVersion(): float - { - return $this->version; - } - - public function setVersion(float $version): self - { - $this->initialized['version'] = true; - $this->version = $version; - - return $this; - } -} diff --git a/lib/Model/BitlinkOverrideHistory.php b/lib/Model/BitlinkOverrideHistory.php deleted file mode 100644 index ebccb6d..0000000 --- a/lib/Model/BitlinkOverrideHistory.php +++ /dev/null @@ -1,64 +0,0 @@ -initialized); - } - /** - * @var list>|null - */ - protected $bitlinks; - /** - * @var int - */ - protected $totalCount; - - /** - * @return list>|null - */ - public function getBitlinks(): ?array - { - return $this->bitlinks; - } - - /** - * @param list>|null $bitlinks - */ - public function setBitlinks(?array $bitlinks): self - { - $this->initialized['bitlinks'] = true; - $this->bitlinks = $bitlinks; - - return $this; - } - - public function getTotalCount(): int - { - return $this->totalCount; - } - - public function setTotalCount(int $totalCount): self - { - $this->initialized['totalCount'] = true; - $this->totalCount = $totalCount; - - return $this; - } -} diff --git a/lib/Model/BitlinkOverrides.php b/lib/Model/BitlinkOverrides.php deleted file mode 100644 index 00db648..0000000 --- a/lib/Model/BitlinkOverrides.php +++ /dev/null @@ -1,174 +0,0 @@ -initialized); - } - /** - * @var array - */ - protected $references; - /** - * @var string - */ - protected $id; - /** - * @var string - */ - protected $rules; - /** - * @var int - */ - protected $version; - /** - * @var string - */ - protected $created; - /** - * @var string - */ - protected $modified; - /** - * The fully qualified URL to the Override which is the Bitly link to use. Ex: https://foo.com/bar. - * - * @var string - */ - protected $link; - /** - * @var string - */ - protected $groupGuid; - - /** - * @return array - */ - public function getReferences(): iterable - { - return $this->references; - } - - /** - * @param array $references - */ - public function setReferences(iterable $references): self - { - $this->initialized['references'] = true; - $this->references = $references; - - return $this; - } - - public function getId(): string - { - return $this->id; - } - - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getRules(): string - { - return $this->rules; - } - - public function setRules(string $rules): self - { - $this->initialized['rules'] = true; - $this->rules = $rules; - - return $this; - } - - public function getVersion(): int - { - return $this->version; - } - - public function setVersion(int $version): self - { - $this->initialized['version'] = true; - $this->version = $version; - - return $this; - } - - public function getCreated(): string - { - return $this->created; - } - - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getModified(): string - { - return $this->modified; - } - - public function setModified(string $modified): self - { - $this->initialized['modified'] = true; - $this->modified = $modified; - - return $this; - } - - /** - * The fully qualified URL to the Override which is the Bitly link to use. Ex: https://foo.com/bar. - */ - public function getLink(): string - { - return $this->link; - } - - /** - * The fully qualified URL to the Override which is the Bitly link to use. Ex: https://foo.com/bar. - */ - public function setLink(string $link): self - { - $this->initialized['link'] = true; - $this->link = $link; - - return $this; - } - - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } -} diff --git a/lib/Model/BitlinkOverridesData.php b/lib/Model/BitlinkOverridesData.php deleted file mode 100644 index eabc763..0000000 --- a/lib/Model/BitlinkOverridesData.php +++ /dev/null @@ -1,64 +0,0 @@ -initialized); - } - /** - * @var list> - */ - protected $overrides; - /** - * @var int - */ - protected $totalCount; - - /** - * @return list> - */ - public function getOverrides(): array - { - return $this->overrides; - } - - /** - * @param list> $overrides - */ - public function setOverrides(array $overrides): self - { - $this->initialized['overrides'] = true; - $this->overrides = $overrides; - - return $this; - } - - public function getTotalCount(): int - { - return $this->totalCount; - } - - public function setTotalCount(int $totalCount): self - { - $this->initialized['totalCount'] = true; - $this->totalCount = $totalCount; - - return $this; - } -} diff --git a/lib/Model/BitlySiteAppearance.php b/lib/Model/BitlySiteAppearance.php deleted file mode 100644 index 9bf37c4..0000000 --- a/lib/Model/BitlySiteAppearance.php +++ /dev/null @@ -1,448 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $layoutV2; - /** - * @var BitlySiteHeaderAppearance - */ - protected $headerAppearance; - /** - * @var int - */ - protected $themeId; - /** - * @var bool - */ - protected $hideBitlyLogo; - /** - * @var string - */ - protected $layout; - /** - * @var string - */ - protected $font; - /** - * Enum of style preference values on a Bitly Site. - * - * @var string - */ - protected $stylePreference; - /** - * @var string - */ - protected $backgroundColor; - /** - * @var string - */ - protected $bottomBackgroundColor; - /** - * @var string - */ - protected $textColor; - /** - * @var string - */ - protected $descriptionColor; - /** - * @var string - */ - protected $backgroundPreference; - /** - * Available image alignment types for Site background images. - * - * @var string - */ - protected $backgroundImageAlignment; - /** - * @var string - */ - protected $backgroundImageUrl; - /** - * @var string - */ - protected $backgroundImageGuid; - /** - * @var string - */ - protected $avatarImageUrl; - /** - * @var string - */ - protected $avatarImageGuid; - /** - * @var string - */ - protected $defaultButtonBackgroundColor; - /** - * @var string - */ - protected $defaultButtonTextColor; - /** - * @var string - */ - protected $defaultButtonShape; - /** - * @var string - */ - protected $defaultButtonShadow; - /** - * @var string - */ - protected $defaultSocialIconColor; - /** - * @var string - */ - protected $defaultSocialIconLayout; - /** - * @var string - */ - protected $defaultSocialIconPosition; - - public function getLayoutV2(): int - { - return $this->layoutV2; - } - - public function setLayoutV2(int $layoutV2): self - { - $this->initialized['layoutV2'] = true; - $this->layoutV2 = $layoutV2; - - return $this; - } - - public function getHeaderAppearance(): BitlySiteHeaderAppearance - { - return $this->headerAppearance; - } - - public function setHeaderAppearance(BitlySiteHeaderAppearance $headerAppearance): self - { - $this->initialized['headerAppearance'] = true; - $this->headerAppearance = $headerAppearance; - - return $this; - } - - public function getThemeId(): int - { - return $this->themeId; - } - - public function setThemeId(int $themeId): self - { - $this->initialized['themeId'] = true; - $this->themeId = $themeId; - - return $this; - } - - public function getHideBitlyLogo(): bool - { - return $this->hideBitlyLogo; - } - - public function setHideBitlyLogo(bool $hideBitlyLogo): self - { - $this->initialized['hideBitlyLogo'] = true; - $this->hideBitlyLogo = $hideBitlyLogo; - - return $this; - } - - public function getLayout(): string - { - return $this->layout; - } - - public function setLayout(string $layout): self - { - $this->initialized['layout'] = true; - $this->layout = $layout; - - return $this; - } - - public function getFont(): string - { - return $this->font; - } - - public function setFont(string $font): self - { - $this->initialized['font'] = true; - $this->font = $font; - - return $this; - } - - /** - * Enum of style preference values on a Bitly Site. - */ - public function getStylePreference(): string - { - return $this->stylePreference; - } - - /** - * Enum of style preference values on a Bitly Site. - */ - public function setStylePreference(string $stylePreference): self - { - $this->initialized['stylePreference'] = true; - $this->stylePreference = $stylePreference; - - return $this; - } - - public function getBackgroundColor(): string - { - return $this->backgroundColor; - } - - public function setBackgroundColor(string $backgroundColor): self - { - $this->initialized['backgroundColor'] = true; - $this->backgroundColor = $backgroundColor; - - return $this; - } - - public function getBottomBackgroundColor(): string - { - return $this->bottomBackgroundColor; - } - - public function setBottomBackgroundColor(string $bottomBackgroundColor): self - { - $this->initialized['bottomBackgroundColor'] = true; - $this->bottomBackgroundColor = $bottomBackgroundColor; - - return $this; - } - - public function getTextColor(): string - { - return $this->textColor; - } - - public function setTextColor(string $textColor): self - { - $this->initialized['textColor'] = true; - $this->textColor = $textColor; - - return $this; - } - - public function getDescriptionColor(): string - { - return $this->descriptionColor; - } - - public function setDescriptionColor(string $descriptionColor): self - { - $this->initialized['descriptionColor'] = true; - $this->descriptionColor = $descriptionColor; - - return $this; - } - - public function getBackgroundPreference(): string - { - return $this->backgroundPreference; - } - - public function setBackgroundPreference(string $backgroundPreference): self - { - $this->initialized['backgroundPreference'] = true; - $this->backgroundPreference = $backgroundPreference; - - return $this; - } - - /** - * Available image alignment types for Site background images. - */ - public function getBackgroundImageAlignment(): string - { - return $this->backgroundImageAlignment; - } - - /** - * Available image alignment types for Site background images. - */ - public function setBackgroundImageAlignment(string $backgroundImageAlignment): self - { - $this->initialized['backgroundImageAlignment'] = true; - $this->backgroundImageAlignment = $backgroundImageAlignment; - - return $this; - } - - public function getBackgroundImageUrl(): string - { - return $this->backgroundImageUrl; - } - - public function setBackgroundImageUrl(string $backgroundImageUrl): self - { - $this->initialized['backgroundImageUrl'] = true; - $this->backgroundImageUrl = $backgroundImageUrl; - - return $this; - } - - public function getBackgroundImageGuid(): string - { - return $this->backgroundImageGuid; - } - - public function setBackgroundImageGuid(string $backgroundImageGuid): self - { - $this->initialized['backgroundImageGuid'] = true; - $this->backgroundImageGuid = $backgroundImageGuid; - - return $this; - } - - public function getAvatarImageUrl(): string - { - return $this->avatarImageUrl; - } - - public function setAvatarImageUrl(string $avatarImageUrl): self - { - $this->initialized['avatarImageUrl'] = true; - $this->avatarImageUrl = $avatarImageUrl; - - return $this; - } - - public function getAvatarImageGuid(): string - { - return $this->avatarImageGuid; - } - - public function setAvatarImageGuid(string $avatarImageGuid): self - { - $this->initialized['avatarImageGuid'] = true; - $this->avatarImageGuid = $avatarImageGuid; - - return $this; - } - - public function getDefaultButtonBackgroundColor(): string - { - return $this->defaultButtonBackgroundColor; - } - - public function setDefaultButtonBackgroundColor(string $defaultButtonBackgroundColor): self - { - $this->initialized['defaultButtonBackgroundColor'] = true; - $this->defaultButtonBackgroundColor = $defaultButtonBackgroundColor; - - return $this; - } - - public function getDefaultButtonTextColor(): string - { - return $this->defaultButtonTextColor; - } - - public function setDefaultButtonTextColor(string $defaultButtonTextColor): self - { - $this->initialized['defaultButtonTextColor'] = true; - $this->defaultButtonTextColor = $defaultButtonTextColor; - - return $this; - } - - public function getDefaultButtonShape(): string - { - return $this->defaultButtonShape; - } - - public function setDefaultButtonShape(string $defaultButtonShape): self - { - $this->initialized['defaultButtonShape'] = true; - $this->defaultButtonShape = $defaultButtonShape; - - return $this; - } - - public function getDefaultButtonShadow(): string - { - return $this->defaultButtonShadow; - } - - public function setDefaultButtonShadow(string $defaultButtonShadow): self - { - $this->initialized['defaultButtonShadow'] = true; - $this->defaultButtonShadow = $defaultButtonShadow; - - return $this; - } - - public function getDefaultSocialIconColor(): string - { - return $this->defaultSocialIconColor; - } - - public function setDefaultSocialIconColor(string $defaultSocialIconColor): self - { - $this->initialized['defaultSocialIconColor'] = true; - $this->defaultSocialIconColor = $defaultSocialIconColor; - - return $this; - } - - public function getDefaultSocialIconLayout(): string - { - return $this->defaultSocialIconLayout; - } - - public function setDefaultSocialIconLayout(string $defaultSocialIconLayout): self - { - $this->initialized['defaultSocialIconLayout'] = true; - $this->defaultSocialIconLayout = $defaultSocialIconLayout; - - return $this; - } - - public function getDefaultSocialIconPosition(): string - { - return $this->defaultSocialIconPosition; - } - - public function setDefaultSocialIconPosition(string $defaultSocialIconPosition): self - { - $this->initialized['defaultSocialIconPosition'] = true; - $this->defaultSocialIconPosition = $defaultSocialIconPosition; - - return $this; - } -} diff --git a/lib/Model/BitlySiteContent.php b/lib/Model/BitlySiteContent.php deleted file mode 100644 index f3b0881..0000000 --- a/lib/Model/BitlySiteContent.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $displayName; - /** - * @var string - */ - protected $description; - - public function getDisplayName(): string - { - return $this->displayName; - } - - public function setDisplayName(string $displayName): self - { - $this->initialized['displayName'] = true; - $this->displayName = $displayName; - - return $this; - } - - public function getDescription(): string - { - return $this->description; - } - - public function setDescription(string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } -} diff --git a/lib/Model/BitlySiteHeaderAppearance.php b/lib/Model/BitlySiteHeaderAppearance.php deleted file mode 100644 index a1257e7..0000000 --- a/lib/Model/BitlySiteHeaderAppearance.php +++ /dev/null @@ -1,500 +0,0 @@ -initialized); - } - /** - * Enum of banner type options on a Bitly Site. - * - * @var string - */ - protected $bannerType; - /** - * Enum of profile image sizes on a Bitly Site. - * - * @var string - */ - protected $profileImageSize; - /** - * Enum of profile image shapes on a Bitly Site. - * - * @var string - */ - protected $profileImageShape; - /** - * Enum of profile image border sizes on a Bitly Site. - * - * @var string - */ - protected $profileImageBorderSize; - /** - * Enum of the profile image type options on a Bitly Site. - * - * @var string - */ - protected $profileImageType; - /** - * Enum of the profile image locations available on a Bitly Site. - * - * @var string - */ - protected $profileImageLocation; - /** - * @var bool - */ - protected $profileImageOverflow; - /** - * Enum of the available text locations on a Bitly Site. - * - * @var string - */ - protected $textLocation; - /** - * Enum of text sizes on a Bitly Site. - * - * @var string - */ - protected $titleSize; - /** - * Enum of text alignment values on a Bitly Site. - * - * @var string - */ - protected $titleAlignment; - /** - * Enum of text sizes on a Bitly Site. - * - * @var string - */ - protected $titleWeight; - /** - * Enum of border type values on a Bitly Site. - * - * @var string - */ - protected $titleBorderType; - /** - * Enum of text sizes on a Bitly Site. - * - * @var string - */ - protected $descriptionSize; - /** - * Enum of text alignment values on a Bitly Site. - * - * @var string - */ - protected $descriptionAlignment; - /** - * Enum of text sizes on a Bitly Site. - * - * @var string - */ - protected $descriptionWeight; - /** - * Enum of border type values on a Bitly Site. - * - * @var string - */ - protected $descriptionBorderType; - /** - * @var string - */ - protected $headerBackgroundColor; - /** - * @var string - */ - protected $bannerImageUrl; - /** - * Enum of style preference values on a Bitly Site. - * - * @var string - */ - protected $headerStylePreference; - /** - * Available image alignment types for Site background images. - * - * @var string - */ - protected $bannerImageAlignment; - - /** - * Enum of banner type options on a Bitly Site. - */ - public function getBannerType(): string - { - return $this->bannerType; - } - - /** - * Enum of banner type options on a Bitly Site. - */ - public function setBannerType(string $bannerType): self - { - $this->initialized['bannerType'] = true; - $this->bannerType = $bannerType; - - return $this; - } - - /** - * Enum of profile image sizes on a Bitly Site. - */ - public function getProfileImageSize(): string - { - return $this->profileImageSize; - } - - /** - * Enum of profile image sizes on a Bitly Site. - */ - public function setProfileImageSize(string $profileImageSize): self - { - $this->initialized['profileImageSize'] = true; - $this->profileImageSize = $profileImageSize; - - return $this; - } - - /** - * Enum of profile image shapes on a Bitly Site. - */ - public function getProfileImageShape(): string - { - return $this->profileImageShape; - } - - /** - * Enum of profile image shapes on a Bitly Site. - */ - public function setProfileImageShape(string $profileImageShape): self - { - $this->initialized['profileImageShape'] = true; - $this->profileImageShape = $profileImageShape; - - return $this; - } - - /** - * Enum of profile image border sizes on a Bitly Site. - */ - public function getProfileImageBorderSize(): string - { - return $this->profileImageBorderSize; - } - - /** - * Enum of profile image border sizes on a Bitly Site. - */ - public function setProfileImageBorderSize(string $profileImageBorderSize): self - { - $this->initialized['profileImageBorderSize'] = true; - $this->profileImageBorderSize = $profileImageBorderSize; - - return $this; - } - - /** - * Enum of the profile image type options on a Bitly Site. - */ - public function getProfileImageType(): string - { - return $this->profileImageType; - } - - /** - * Enum of the profile image type options on a Bitly Site. - */ - public function setProfileImageType(string $profileImageType): self - { - $this->initialized['profileImageType'] = true; - $this->profileImageType = $profileImageType; - - return $this; - } - - /** - * Enum of the profile image locations available on a Bitly Site. - */ - public function getProfileImageLocation(): string - { - return $this->profileImageLocation; - } - - /** - * Enum of the profile image locations available on a Bitly Site. - */ - public function setProfileImageLocation(string $profileImageLocation): self - { - $this->initialized['profileImageLocation'] = true; - $this->profileImageLocation = $profileImageLocation; - - return $this; - } - - public function getProfileImageOverflow(): bool - { - return $this->profileImageOverflow; - } - - public function setProfileImageOverflow(bool $profileImageOverflow): self - { - $this->initialized['profileImageOverflow'] = true; - $this->profileImageOverflow = $profileImageOverflow; - - return $this; - } - - /** - * Enum of the available text locations on a Bitly Site. - */ - public function getTextLocation(): string - { - return $this->textLocation; - } - - /** - * Enum of the available text locations on a Bitly Site. - */ - public function setTextLocation(string $textLocation): self - { - $this->initialized['textLocation'] = true; - $this->textLocation = $textLocation; - - return $this; - } - - /** - * Enum of text sizes on a Bitly Site. - */ - public function getTitleSize(): string - { - return $this->titleSize; - } - - /** - * Enum of text sizes on a Bitly Site. - */ - public function setTitleSize(string $titleSize): self - { - $this->initialized['titleSize'] = true; - $this->titleSize = $titleSize; - - return $this; - } - - /** - * Enum of text alignment values on a Bitly Site. - */ - public function getTitleAlignment(): string - { - return $this->titleAlignment; - } - - /** - * Enum of text alignment values on a Bitly Site. - */ - public function setTitleAlignment(string $titleAlignment): self - { - $this->initialized['titleAlignment'] = true; - $this->titleAlignment = $titleAlignment; - - return $this; - } - - /** - * Enum of text sizes on a Bitly Site. - */ - public function getTitleWeight(): string - { - return $this->titleWeight; - } - - /** - * Enum of text sizes on a Bitly Site. - */ - public function setTitleWeight(string $titleWeight): self - { - $this->initialized['titleWeight'] = true; - $this->titleWeight = $titleWeight; - - return $this; - } - - /** - * Enum of border type values on a Bitly Site. - */ - public function getTitleBorderType(): string - { - return $this->titleBorderType; - } - - /** - * Enum of border type values on a Bitly Site. - */ - public function setTitleBorderType(string $titleBorderType): self - { - $this->initialized['titleBorderType'] = true; - $this->titleBorderType = $titleBorderType; - - return $this; - } - - /** - * Enum of text sizes on a Bitly Site. - */ - public function getDescriptionSize(): string - { - return $this->descriptionSize; - } - - /** - * Enum of text sizes on a Bitly Site. - */ - public function setDescriptionSize(string $descriptionSize): self - { - $this->initialized['descriptionSize'] = true; - $this->descriptionSize = $descriptionSize; - - return $this; - } - - /** - * Enum of text alignment values on a Bitly Site. - */ - public function getDescriptionAlignment(): string - { - return $this->descriptionAlignment; - } - - /** - * Enum of text alignment values on a Bitly Site. - */ - public function setDescriptionAlignment(string $descriptionAlignment): self - { - $this->initialized['descriptionAlignment'] = true; - $this->descriptionAlignment = $descriptionAlignment; - - return $this; - } - - /** - * Enum of text sizes on a Bitly Site. - */ - public function getDescriptionWeight(): string - { - return $this->descriptionWeight; - } - - /** - * Enum of text sizes on a Bitly Site. - */ - public function setDescriptionWeight(string $descriptionWeight): self - { - $this->initialized['descriptionWeight'] = true; - $this->descriptionWeight = $descriptionWeight; - - return $this; - } - - /** - * Enum of border type values on a Bitly Site. - */ - public function getDescriptionBorderType(): string - { - return $this->descriptionBorderType; - } - - /** - * Enum of border type values on a Bitly Site. - */ - public function setDescriptionBorderType(string $descriptionBorderType): self - { - $this->initialized['descriptionBorderType'] = true; - $this->descriptionBorderType = $descriptionBorderType; - - return $this; - } - - public function getHeaderBackgroundColor(): string - { - return $this->headerBackgroundColor; - } - - public function setHeaderBackgroundColor(string $headerBackgroundColor): self - { - $this->initialized['headerBackgroundColor'] = true; - $this->headerBackgroundColor = $headerBackgroundColor; - - return $this; - } - - public function getBannerImageUrl(): string - { - return $this->bannerImageUrl; - } - - public function setBannerImageUrl(string $bannerImageUrl): self - { - $this->initialized['bannerImageUrl'] = true; - $this->bannerImageUrl = $bannerImageUrl; - - return $this; - } - - /** - * Enum of style preference values on a Bitly Site. - */ - public function getHeaderStylePreference(): string - { - return $this->headerStylePreference; - } - - /** - * Enum of style preference values on a Bitly Site. - */ - public function setHeaderStylePreference(string $headerStylePreference): self - { - $this->initialized['headerStylePreference'] = true; - $this->headerStylePreference = $headerStylePreference; - - return $this; - } - - /** - * Available image alignment types for Site background images. - */ - public function getBannerImageAlignment(): string - { - return $this->bannerImageAlignment; - } - - /** - * Available image alignment types for Site background images. - */ - public function setBannerImageAlignment(string $bannerImageAlignment): self - { - $this->initialized['bannerImageAlignment'] = true; - $this->bannerImageAlignment = $bannerImageAlignment; - - return $this; - } -} diff --git a/lib/Model/BitlySiteLayout.php b/lib/Model/BitlySiteLayout.php deleted file mode 100644 index 2579b7c..0000000 --- a/lib/Model/BitlySiteLayout.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $id; - /** - * @var BitlySiteHeaderAppearance - */ - protected $headerAppearance; - /** - * @var bool - */ - protected $isPaid; - /** - * @var bool - */ - protected $isActive; - - public function getId(): int - { - return $this->id; - } - - public function setId(int $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getHeaderAppearance(): BitlySiteHeaderAppearance - { - return $this->headerAppearance; - } - - public function setHeaderAppearance(BitlySiteHeaderAppearance $headerAppearance): self - { - $this->initialized['headerAppearance'] = true; - $this->headerAppearance = $headerAppearance; - - return $this; - } - - public function getIsPaid(): bool - { - return $this->isPaid; - } - - public function setIsPaid(bool $isPaid): self - { - $this->initialized['isPaid'] = true; - $this->isPaid = $isPaid; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } -} diff --git a/lib/Model/BitlySites.php b/lib/Model/BitlySites.php deleted file mode 100644 index 4c2350c..0000000 --- a/lib/Model/BitlySites.php +++ /dev/null @@ -1,89 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $groupGuid; - /** - * @var list> - */ - protected $sites; - /** - * Specifies how to query the next set of results. - * - * @var MicrositePagination - */ - protected $pagination; - - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } - - /** - * @return list> - */ - public function getSites(): array - { - return $this->sites; - } - - /** - * @param list> $sites - */ - public function setSites(array $sites): self - { - $this->initialized['sites'] = true; - $this->sites = $sites; - - return $this; - } - - /** - * Specifies how to query the next set of results. - */ - public function getPagination(): MicrositePagination - { - return $this->pagination; - } - - /** - * Specifies how to query the next set of results. - */ - public function setPagination(MicrositePagination $pagination): self - { - $this->initialized['pagination'] = true; - $this->pagination = $pagination; - - return $this; - } -} diff --git a/lib/Model/BlockContentDigitalBusinessCard.php b/lib/Model/BlockContentDigitalBusinessCard.php deleted file mode 100644 index f92d06d..0000000 --- a/lib/Model/BlockContentDigitalBusinessCard.php +++ /dev/null @@ -1,183 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $digitalBusinessCardId; - /** - * @var string - */ - protected $layout; - /** - * @var string - */ - protected $firstName; - /** - * @var string - */ - protected $lastName; - /** - * @var string - */ - protected $jobTitle; - /** - * @var string - */ - protected $company; - /** - * @var string - */ - protected $pronouns; - /** - * @var list - */ - protected $contacts; - /** - * @var bool - */ - protected $downloadEnabled; - - public function getDigitalBusinessCardId(): string - { - return $this->digitalBusinessCardId; - } - - public function setDigitalBusinessCardId(string $digitalBusinessCardId): self - { - $this->initialized['digitalBusinessCardId'] = true; - $this->digitalBusinessCardId = $digitalBusinessCardId; - - return $this; - } - - public function getLayout(): string - { - return $this->layout; - } - - public function setLayout(string $layout): self - { - $this->initialized['layout'] = true; - $this->layout = $layout; - - return $this; - } - - public function getFirstName(): string - { - return $this->firstName; - } - - public function setFirstName(string $firstName): self - { - $this->initialized['firstName'] = true; - $this->firstName = $firstName; - - return $this; - } - - public function getLastName(): string - { - return $this->lastName; - } - - public function setLastName(string $lastName): self - { - $this->initialized['lastName'] = true; - $this->lastName = $lastName; - - return $this; - } - - public function getJobTitle(): string - { - return $this->jobTitle; - } - - public function setJobTitle(string $jobTitle): self - { - $this->initialized['jobTitle'] = true; - $this->jobTitle = $jobTitle; - - return $this; - } - - public function getCompany(): string - { - return $this->company; - } - - public function setCompany(string $company): self - { - $this->initialized['company'] = true; - $this->company = $company; - - return $this; - } - - public function getPronouns(): string - { - return $this->pronouns; - } - - public function setPronouns(string $pronouns): self - { - $this->initialized['pronouns'] = true; - $this->pronouns = $pronouns; - - return $this; - } - - /** - * @return list - */ - public function getContacts(): array - { - return $this->contacts; - } - - /** - * @param list $contacts - */ - public function setContacts(array $contacts): self - { - $this->initialized['contacts'] = true; - $this->contacts = $contacts; - - return $this; - } - - public function getDownloadEnabled(): bool - { - return $this->downloadEnabled; - } - - public function setDownloadEnabled(bool $downloadEnabled): self - { - $this->initialized['downloadEnabled'] = true; - $this->downloadEnabled = $downloadEnabled; - - return $this; - } -} diff --git a/lib/Model/BlockContentSocial.php b/lib/Model/BlockContentSocial.php deleted file mode 100644 index efeda34..0000000 --- a/lib/Model/BlockContentSocial.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $channel; - /** - * @var string - */ - protected $channelUrl; - - public function getChannel(): string - { - return $this->channel; - } - - public function setChannel(string $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getChannelUrl(): string - { - return $this->channelUrl; - } - - public function setChannelUrl(string $channelUrl): self - { - $this->initialized['channelUrl'] = true; - $this->channelUrl = $channelUrl; - - return $this; - } -} diff --git a/lib/Model/BlockContentYoutube.php b/lib/Model/BlockContentYoutube.php deleted file mode 100644 index 25a9ce0..0000000 --- a/lib/Model/BlockContentYoutube.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $thumbnailUrl; - - public function getThumbnailUrl(): string - { - return $this->thumbnailUrl; - } - - public function setThumbnailUrl(string $thumbnailUrl): self - { - $this->initialized['thumbnailUrl'] = true; - $this->thumbnailUrl = $thumbnailUrl; - - return $this; - } -} diff --git a/lib/Model/BlockOrder.php b/lib/Model/BlockOrder.php deleted file mode 100644 index be3233e..0000000 --- a/lib/Model/BlockOrder.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $blockId; - /** - * @var int - */ - protected $sortOrder; - - public function getBlockId(): string - { - return $this->blockId; - } - - public function setBlockId(string $blockId): self - { - $this->initialized['blockId'] = true; - $this->blockId = $blockId; - - return $this; - } - - public function getSortOrder(): int - { - return $this->sortOrder; - } - - public function setSortOrder(int $sortOrder): self - { - $this->initialized['sortOrder'] = true; - $this->sortOrder = $sortOrder; - - return $this; - } -} diff --git a/lib/Model/BlockOrders.php b/lib/Model/BlockOrders.php deleted file mode 100644 index c4d604c..0000000 --- a/lib/Model/BlockOrders.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $blockOrder; - - /** - * @return list - */ - public function getBlockOrder(): array - { - return $this->blockOrder; - } - - /** - * @param list $blockOrder - */ - public function setBlockOrder(array $blockOrder): self - { - $this->initialized['blockOrder'] = true; - $this->blockOrder = $blockOrder; - - return $this; - } -} diff --git a/lib/Model/BrandCampaign.php b/lib/Model/BrandCampaign.php deleted file mode 100644 index ab89ba6..0000000 --- a/lib/Model/BrandCampaign.php +++ /dev/null @@ -1,109 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $totalBitlinks; - /** - * @var CampaignChannels - */ - protected $campaignChannels; - /** - * @var string - */ - protected $guid; - /** - * @var string - */ - protected $name; - /** - * @var string - */ - protected $description; - - public function getTotalBitlinks(): int - { - return $this->totalBitlinks; - } - - public function setTotalBitlinks(int $totalBitlinks): self - { - $this->initialized['totalBitlinks'] = true; - $this->totalBitlinks = $totalBitlinks; - - return $this; - } - - public function getCampaignChannels(): CampaignChannels - { - return $this->campaignChannels; - } - - public function setCampaignChannels(CampaignChannels $campaignChannels): self - { - $this->initialized['campaignChannels'] = true; - $this->campaignChannels = $campaignChannels; - - return $this; - } - - public function getGuid(): string - { - return $this->guid; - } - - public function setGuid(string $guid): self - { - $this->initialized['guid'] = true; - $this->guid = $guid; - - return $this; - } - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): string - { - return $this->description; - } - - public function setDescription(string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } -} diff --git a/lib/Model/BrandCampaignsResponse.php b/lib/Model/BrandCampaignsResponse.php deleted file mode 100644 index c56f1df..0000000 --- a/lib/Model/BrandCampaignsResponse.php +++ /dev/null @@ -1,64 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $brandCampaigns; - /** - * @var int - */ - protected $total; - - /** - * @return list - */ - public function getBrandCampaigns(): array - { - return $this->brandCampaigns; - } - - /** - * @param list $brandCampaigns - */ - public function setBrandCampaigns(array $brandCampaigns): self - { - $this->initialized['brandCampaigns'] = true; - $this->brandCampaigns = $brandCampaigns; - - return $this; - } - - public function getTotal(): int - { - return $this->total; - } - - public function setTotal(int $total): self - { - $this->initialized['total'] = true; - $this->total = $total; - - return $this; - } -} diff --git a/lib/Model/BulkAddQRCodeResponse.php b/lib/Model/BulkAddQRCodeResponse.php deleted file mode 100644 index d2f3863..0000000 --- a/lib/Model/BulkAddQRCodeResponse.php +++ /dev/null @@ -1,109 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $message; - /** - * @var int - */ - protected $successes; - /** - * @var int - */ - protected $csvFormatFailures; - /** - * @var int - */ - protected $qrCodeSaveFailures; - /** - * @var int - */ - protected $keywordFailures; - - public function getMessage(): string - { - return $this->message; - } - - public function setMessage(string $message): self - { - $this->initialized['message'] = true; - $this->message = $message; - - return $this; - } - - public function getSuccesses(): int - { - return $this->successes; - } - - public function setSuccesses(int $successes): self - { - $this->initialized['successes'] = true; - $this->successes = $successes; - - return $this; - } - - public function getCsvFormatFailures(): int - { - return $this->csvFormatFailures; - } - - public function setCsvFormatFailures(int $csvFormatFailures): self - { - $this->initialized['csvFormatFailures'] = true; - $this->csvFormatFailures = $csvFormatFailures; - - return $this; - } - - public function getQrCodeSaveFailures(): int - { - return $this->qrCodeSaveFailures; - } - - public function setQrCodeSaveFailures(int $qrCodeSaveFailures): self - { - $this->initialized['qrCodeSaveFailures'] = true; - $this->qrCodeSaveFailures = $qrCodeSaveFailures; - - return $this; - } - - public function getKeywordFailures(): int - { - return $this->keywordFailures; - } - - public function setKeywordFailures(int $keywordFailures): self - { - $this->initialized['keywordFailures'] = true; - $this->keywordFailures = $keywordFailures; - - return $this; - } -} diff --git a/lib/Model/BulkAddResponse.php b/lib/Model/BulkAddResponse.php deleted file mode 100644 index 9d3da78..0000000 --- a/lib/Model/BulkAddResponse.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $message; - /** - * @var BulkAddResponseData - */ - protected $data; - - public function getMessage(): string - { - return $this->message; - } - - public function setMessage(string $message): self - { - $this->initialized['message'] = true; - $this->message = $message; - - return $this; - } - - public function getData(): BulkAddResponseData - { - return $this->data; - } - - public function setData(BulkAddResponseData $data): self - { - $this->initialized['data'] = true; - $this->data = $data; - - return $this; - } -} diff --git a/lib/Model/BulkAddResponseData.php b/lib/Model/BulkAddResponseData.php deleted file mode 100644 index 43a006b..0000000 --- a/lib/Model/BulkAddResponseData.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $successes; - /** - * @var int - */ - protected $csvFormatFailures; - /** - * @var int - */ - protected $linkSaveFailures; - /** - * @var int - */ - protected $keywordFailures; - /** - * @var int - */ - protected $channelBitlinkFailures; - /** - * @var list - */ - protected $results; - - public function getSuccesses(): int - { - return $this->successes; - } - - public function setSuccesses(int $successes): self - { - $this->initialized['successes'] = true; - $this->successes = $successes; - - return $this; - } - - public function getCsvFormatFailures(): int - { - return $this->csvFormatFailures; - } - - public function setCsvFormatFailures(int $csvFormatFailures): self - { - $this->initialized['csvFormatFailures'] = true; - $this->csvFormatFailures = $csvFormatFailures; - - return $this; - } - - public function getLinkSaveFailures(): int - { - return $this->linkSaveFailures; - } - - public function setLinkSaveFailures(int $linkSaveFailures): self - { - $this->initialized['linkSaveFailures'] = true; - $this->linkSaveFailures = $linkSaveFailures; - - return $this; - } - - public function getKeywordFailures(): int - { - return $this->keywordFailures; - } - - public function setKeywordFailures(int $keywordFailures): self - { - $this->initialized['keywordFailures'] = true; - $this->keywordFailures = $keywordFailures; - - return $this; - } - - public function getChannelBitlinkFailures(): int - { - return $this->channelBitlinkFailures; - } - - public function setChannelBitlinkFailures(int $channelBitlinkFailures): self - { - $this->initialized['channelBitlinkFailures'] = true; - $this->channelBitlinkFailures = $channelBitlinkFailures; - - return $this; - } - - /** - * @return list - */ - public function getResults(): array - { - return $this->results; - } - - /** - * @param list $results - */ - public function setResults(array $results): self - { - $this->initialized['results'] = true; - $this->results = $results; - - return $this; - } -} diff --git a/lib/Model/BulkShortenUpload.php b/lib/Model/BulkShortenUpload.php deleted file mode 100644 index 03bb096..0000000 --- a/lib/Model/BulkShortenUpload.php +++ /dev/null @@ -1,143 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $orgGuid; - /** - * @var string - */ - protected $groupGuid; - /** - * @var string - */ - protected $reportUrl; - /** - * @var string - */ - protected $name; - /** - * @var string - */ - protected $uploadedBy; - /** - * @var string - */ - protected $status; - /** - * @var string - */ - protected $created; - - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } - - public function getReportUrl(): string - { - return $this->reportUrl; - } - - public function setReportUrl(string $reportUrl): self - { - $this->initialized['reportUrl'] = true; - $this->reportUrl = $reportUrl; - - return $this; - } - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getUploadedBy(): string - { - return $this->uploadedBy; - } - - public function setUploadedBy(string $uploadedBy): self - { - $this->initialized['uploadedBy'] = true; - $this->uploadedBy = $uploadedBy; - - return $this; - } - - public function getStatus(): string - { - return $this->status; - } - - public function setStatus(string $status): self - { - $this->initialized['status'] = true; - $this->status = $status; - - return $this; - } - - public function getCreated(): string - { - return $this->created; - } - - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } -} diff --git a/lib/Model/BulkShortenUploadData.php b/lib/Model/BulkShortenUploadData.php deleted file mode 100644 index d682fc3..0000000 --- a/lib/Model/BulkShortenUploadData.php +++ /dev/null @@ -1,64 +0,0 @@ -initialized); - } - /** - * @var array - */ - protected $headers; - /** - * @var string - */ - protected $uploadUrl; - - /** - * @return array - */ - public function getHeaders(): iterable - { - return $this->headers; - } - - /** - * @param array $headers - */ - public function setHeaders(iterable $headers): self - { - $this->initialized['headers'] = true; - $this->headers = $headers; - - return $this; - } - - public function getUploadUrl(): string - { - return $this->uploadUrl; - } - - public function setUploadUrl(string $uploadUrl): self - { - $this->initialized['uploadUrl'] = true; - $this->uploadUrl = $uploadUrl; - - return $this; - } -} diff --git a/lib/Model/BulkShortenUploads.php b/lib/Model/BulkShortenUploads.php deleted file mode 100644 index 7ab9bde..0000000 --- a/lib/Model/BulkShortenUploads.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $uploads; - - /** - * @return list - */ - public function getUploads(): array - { - return $this->uploads; - } - - /** - * @param list $uploads - */ - public function setUploads(array $uploads): self - { - $this->initialized['uploads'] = true; - $this->uploads = $uploads; - - return $this; - } -} diff --git a/lib/Model/BulkUpload.php b/lib/Model/BulkUpload.php deleted file mode 100644 index 5226fa8..0000000 --- a/lib/Model/BulkUpload.php +++ /dev/null @@ -1,160 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $orgGuid; - /** - * @var string - */ - protected $groupGuid; - /** - * @var string - */ - protected $reportUrl; - /** - * @var string - */ - protected $name; - /** - * @var string - */ - protected $uploadedBy; - /** - * @var string - */ - protected $status; - /** - * @var string - */ - protected $created; - /** - * @var string - */ - protected $uploadType; - - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } - - public function getReportUrl(): string - { - return $this->reportUrl; - } - - public function setReportUrl(string $reportUrl): self - { - $this->initialized['reportUrl'] = true; - $this->reportUrl = $reportUrl; - - return $this; - } - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getUploadedBy(): string - { - return $this->uploadedBy; - } - - public function setUploadedBy(string $uploadedBy): self - { - $this->initialized['uploadedBy'] = true; - $this->uploadedBy = $uploadedBy; - - return $this; - } - - public function getStatus(): string - { - return $this->status; - } - - public function setStatus(string $status): self - { - $this->initialized['status'] = true; - $this->status = $status; - - return $this; - } - - public function getCreated(): string - { - return $this->created; - } - - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getUploadType(): string - { - return $this->uploadType; - } - - public function setUploadType(string $uploadType): self - { - $this->initialized['uploadType'] = true; - $this->uploadType = $uploadType; - - return $this; - } -} diff --git a/lib/Model/BulkUploadData.php b/lib/Model/BulkUploadData.php deleted file mode 100644 index 708298c..0000000 --- a/lib/Model/BulkUploadData.php +++ /dev/null @@ -1,64 +0,0 @@ -initialized); - } - /** - * @var array - */ - protected $headers; - /** - * @var string - */ - protected $uploadUrl; - - /** - * @return array - */ - public function getHeaders(): iterable - { - return $this->headers; - } - - /** - * @param array $headers - */ - public function setHeaders(iterable $headers): self - { - $this->initialized['headers'] = true; - $this->headers = $headers; - - return $this; - } - - public function getUploadUrl(): string - { - return $this->uploadUrl; - } - - public function setUploadUrl(string $uploadUrl): self - { - $this->initialized['uploadUrl'] = true; - $this->uploadUrl = $uploadUrl; - - return $this; - } -} diff --git a/lib/Model/BulkUploadValidate.php b/lib/Model/BulkUploadValidate.php deleted file mode 100644 index d31e002..0000000 --- a/lib/Model/BulkUploadValidate.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $groupGuid; - /** - * @var string - */ - protected $email; - /** - * @var string - */ - protected $filename; - /** - * @var string - */ - protected $domain; - /** - * @var string - */ - protected $uploadType; - /** - * @var string - */ - protected $templateId; - - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } - - public function getEmail(): string - { - return $this->email; - } - - public function setEmail(string $email): self - { - $this->initialized['email'] = true; - $this->email = $email; - - return $this; - } - - public function getFilename(): string - { - return $this->filename; - } - - public function setFilename(string $filename): self - { - $this->initialized['filename'] = true; - $this->filename = $filename; - - return $this; - } - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - public function getUploadType(): string - { - return $this->uploadType; - } - - public function setUploadType(string $uploadType): self - { - $this->initialized['uploadType'] = true; - $this->uploadType = $uploadType; - - return $this; - } - - public function getTemplateId(): string - { - return $this->templateId; - } - - public function setTemplateId(string $templateId): self - { - $this->initialized['templateId'] = true; - $this->templateId = $templateId; - - return $this; - } -} diff --git a/lib/Model/BulkUploads.php b/lib/Model/BulkUploads.php deleted file mode 100644 index 35ea509..0000000 --- a/lib/Model/BulkUploads.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $uploads; - - /** - * @return list - */ - public function getUploads(): array - { - return $this->uploads; - } - - /** - * @param list $uploads - */ - public function setUploads(array $uploads): self - { - $this->initialized['uploads'] = true; - $this->uploads = $uploads; - - return $this; - } -} diff --git a/lib/Model/ButtonClicks.php b/lib/Model/ButtonClicks.php deleted file mode 100644 index 4556ee3..0000000 --- a/lib/Model/ButtonClicks.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $bitlinkScans; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unit; - /** - * @var string - */ - protected $unitReference; - - /** - * @return list - */ - public function getBitlinkScans(): array - { - return $this->bitlinkScans; - } - - /** - * @param list $bitlinkScans - */ - public function setBitlinkScans(array $bitlinkScans): self - { - $this->initialized['bitlinkScans'] = true; - $this->bitlinkScans = $bitlinkScans; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } -} diff --git a/lib/Model/ButtonClicksSummary.php b/lib/Model/ButtonClicksSummary.php deleted file mode 100644 index 1608c1b..0000000 --- a/lib/Model/ButtonClicksSummary.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $totalButtonClicks; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unit; - /** - * @var string - */ - protected $unitReference; - - public function getTotalButtonClicks(): int - { - return $this->totalButtonClicks; - } - - public function setTotalButtonClicks(int $totalButtonClicks): self - { - $this->initialized['totalButtonClicks'] = true; - $this->totalButtonClicks = $totalButtonClicks; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } -} diff --git a/lib/Model/CampaignAddBitlink.php b/lib/Model/CampaignAddBitlink.php deleted file mode 100644 index ff212b6..0000000 --- a/lib/Model/CampaignAddBitlink.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $channelGuids; - /** - * @var string - */ - protected $url; - /** - * @var bool - */ - protected $addUtmParams; - - /** - * @return list - */ - public function getChannelGuids(): array - { - return $this->channelGuids; - } - - /** - * @param list $channelGuids - */ - public function setChannelGuids(array $channelGuids): self - { - $this->initialized['channelGuids'] = true; - $this->channelGuids = $channelGuids; - - return $this; - } - - public function getUrl(): string - { - return $this->url; - } - - public function setUrl(string $url): self - { - $this->initialized['url'] = true; - $this->url = $url; - - return $this; - } - - public function getAddUtmParams(): bool - { - return $this->addUtmParams; - } - - public function setAddUtmParams(bool $addUtmParams): self - { - $this->initialized['addUtmParams'] = true; - $this->addUtmParams = $addUtmParams; - - return $this; - } -} diff --git a/lib/Model/CampaignAddBitlinkResponse.php b/lib/Model/CampaignAddBitlinkResponse.php deleted file mode 100644 index e2e1a4e..0000000 --- a/lib/Model/CampaignAddBitlinkResponse.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $message; - /** - * @var CampaignAddBitlinkResponseData - */ - protected $data; - - public function getMessage(): string - { - return $this->message; - } - - public function setMessage(string $message): self - { - $this->initialized['message'] = true; - $this->message = $message; - - return $this; - } - - public function getData(): CampaignAddBitlinkResponseData - { - return $this->data; - } - - public function setData(CampaignAddBitlinkResponseData $data): self - { - $this->initialized['data'] = true; - $this->data = $data; - - return $this; - } -} diff --git a/lib/Model/CampaignAddBitlinkResponseData.php b/lib/Model/CampaignAddBitlinkResponseData.php deleted file mode 100644 index 5f9d3fe..0000000 --- a/lib/Model/CampaignAddBitlinkResponseData.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $successes; - /** - * @var int - */ - protected $shortenFailures; - /** - * @var int - */ - protected $otherLinkFailures; - /** - * @var int - */ - protected $createBitlinkFailures; - /** - * @var list - */ - protected $results; - - public function getSuccesses(): int - { - return $this->successes; - } - - public function setSuccesses(int $successes): self - { - $this->initialized['successes'] = true; - $this->successes = $successes; - - return $this; - } - - public function getShortenFailures(): int - { - return $this->shortenFailures; - } - - public function setShortenFailures(int $shortenFailures): self - { - $this->initialized['shortenFailures'] = true; - $this->shortenFailures = $shortenFailures; - - return $this; - } - - public function getOtherLinkFailures(): int - { - return $this->otherLinkFailures; - } - - public function setOtherLinkFailures(int $otherLinkFailures): self - { - $this->initialized['otherLinkFailures'] = true; - $this->otherLinkFailures = $otherLinkFailures; - - return $this; - } - - public function getCreateBitlinkFailures(): int - { - return $this->createBitlinkFailures; - } - - public function setCreateBitlinkFailures(int $createBitlinkFailures): self - { - $this->initialized['createBitlinkFailures'] = true; - $this->createBitlinkFailures = $createBitlinkFailures; - - return $this; - } - - /** - * @return list - */ - public function getResults(): array - { - return $this->results; - } - - /** - * @param list $results - */ - public function setResults(array $results): self - { - $this->initialized['results'] = true; - $this->results = $results; - - return $this; - } -} diff --git a/lib/Model/CampaignAddBitlinkResult.php b/lib/Model/CampaignAddBitlinkResult.php deleted file mode 100644 index b9cded1..0000000 --- a/lib/Model/CampaignAddBitlinkResult.php +++ /dev/null @@ -1,160 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $channelGuid; - /** - * @var string - */ - protected $bitlinkId; - /** - * @var string - */ - protected $longUrl; - /** - * @var string - */ - protected $url; - /** - * @var bool - */ - protected $newChannelBitlink; - /** - * @var string - */ - protected $shortenLinkError; - /** - * @var string - */ - protected $channelBitlinkError; - /** - * @var string - */ - protected $otherLinkError; - - public function getChannelGuid(): string - { - return $this->channelGuid; - } - - public function setChannelGuid(string $channelGuid): self - { - $this->initialized['channelGuid'] = true; - $this->channelGuid = $channelGuid; - - return $this; - } - - public function getBitlinkId(): string - { - return $this->bitlinkId; - } - - public function setBitlinkId(string $bitlinkId): self - { - $this->initialized['bitlinkId'] = true; - $this->bitlinkId = $bitlinkId; - - return $this; - } - - public function getLongUrl(): string - { - return $this->longUrl; - } - - public function setLongUrl(string $longUrl): self - { - $this->initialized['longUrl'] = true; - $this->longUrl = $longUrl; - - return $this; - } - - public function getUrl(): string - { - return $this->url; - } - - public function setUrl(string $url): self - { - $this->initialized['url'] = true; - $this->url = $url; - - return $this; - } - - public function getNewChannelBitlink(): bool - { - return $this->newChannelBitlink; - } - - public function setNewChannelBitlink(bool $newChannelBitlink): self - { - $this->initialized['newChannelBitlink'] = true; - $this->newChannelBitlink = $newChannelBitlink; - - return $this; - } - - public function getShortenLinkError(): string - { - return $this->shortenLinkError; - } - - public function setShortenLinkError(string $shortenLinkError): self - { - $this->initialized['shortenLinkError'] = true; - $this->shortenLinkError = $shortenLinkError; - - return $this; - } - - public function getChannelBitlinkError(): string - { - return $this->channelBitlinkError; - } - - public function setChannelBitlinkError(string $channelBitlinkError): self - { - $this->initialized['channelBitlinkError'] = true; - $this->channelBitlinkError = $channelBitlinkError; - - return $this; - } - - public function getOtherLinkError(): string - { - return $this->otherLinkError; - } - - public function setOtherLinkError(string $otherLinkError): self - { - $this->initialized['otherLinkError'] = true; - $this->otherLinkError = $otherLinkError; - - return $this; - } -} diff --git a/lib/Model/CampaignChannel.php b/lib/Model/CampaignChannel.php deleted file mode 100644 index e0e2b7c..0000000 --- a/lib/Model/CampaignChannel.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $name; - /** - * @var string - */ - protected $guid; - /** - * @var string - */ - protected $campaignGuid; - /** - * @var string - */ - protected $channelGuid; - /** - * @var string - */ - protected $channelName; - /** - * @var ChannelBitlinks - */ - protected $channelBitlinks; - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getGuid(): string - { - return $this->guid; - } - - public function setGuid(string $guid): self - { - $this->initialized['guid'] = true; - $this->guid = $guid; - - return $this; - } - - public function getCampaignGuid(): string - { - return $this->campaignGuid; - } - - public function setCampaignGuid(string $campaignGuid): self - { - $this->initialized['campaignGuid'] = true; - $this->campaignGuid = $campaignGuid; - - return $this; - } - - public function getChannelGuid(): string - { - return $this->channelGuid; - } - - public function setChannelGuid(string $channelGuid): self - { - $this->initialized['channelGuid'] = true; - $this->channelGuid = $channelGuid; - - return $this; - } - - public function getChannelName(): string - { - return $this->channelName; - } - - public function setChannelName(string $channelName): self - { - $this->initialized['channelName'] = true; - $this->channelName = $channelName; - - return $this; - } - - public function getChannelBitlinks(): ChannelBitlinks - { - return $this->channelBitlinks; - } - - public function setChannelBitlinks(ChannelBitlinks $channelBitlinks): self - { - $this->initialized['channelBitlinks'] = true; - $this->channelBitlinks = $channelBitlinks; - - return $this; - } -} diff --git a/lib/Model/CampaignChannelClicks.php b/lib/Model/CampaignChannelClicks.php deleted file mode 100644 index 3a39e80..0000000 --- a/lib/Model/CampaignChannelClicks.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $channelGuid; - /** - * @var string - */ - protected $channelName; - /** - * @var int - */ - protected $createdTs; - /** - * @var int - */ - protected $totalClicks; - /** - * @var list - */ - protected $clicks; - /** - * @var ChannelBitlinks - */ - protected $channelBitlinks; - - public function getChannelGuid(): string - { - return $this->channelGuid; - } - - public function setChannelGuid(string $channelGuid): self - { - $this->initialized['channelGuid'] = true; - $this->channelGuid = $channelGuid; - - return $this; - } - - public function getChannelName(): string - { - return $this->channelName; - } - - public function setChannelName(string $channelName): self - { - $this->initialized['channelName'] = true; - $this->channelName = $channelName; - - return $this; - } - - public function getCreatedTs(): int - { - return $this->createdTs; - } - - public function setCreatedTs(int $createdTs): self - { - $this->initialized['createdTs'] = true; - $this->createdTs = $createdTs; - - return $this; - } - - public function getTotalClicks(): int - { - return $this->totalClicks; - } - - public function setTotalClicks(int $totalClicks): self - { - $this->initialized['totalClicks'] = true; - $this->totalClicks = $totalClicks; - - return $this; - } - - /** - * @return list - */ - public function getClicks(): array - { - return $this->clicks; - } - - /** - * @param list $clicks - */ - public function setClicks(array $clicks): self - { - $this->initialized['clicks'] = true; - $this->clicks = $clicks; - - return $this; - } - - public function getChannelBitlinks(): ChannelBitlinks - { - return $this->channelBitlinks; - } - - public function setChannelBitlinks(ChannelBitlinks $channelBitlinks): self - { - $this->initialized['channelBitlinks'] = true; - $this->channelBitlinks = $channelBitlinks; - - return $this; - } -} diff --git a/lib/Model/CampaignChannels.php b/lib/Model/CampaignChannels.php deleted file mode 100644 index 2e2090a..0000000 --- a/lib/Model/CampaignChannels.php +++ /dev/null @@ -1,64 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $channels; - /** - * @var int - */ - protected $total; - - /** - * @return list - */ - public function getChannels(): array - { - return $this->channels; - } - - /** - * @param list $channels - */ - public function setChannels(array $channels): self - { - $this->initialized['channels'] = true; - $this->channels = $channels; - - return $this; - } - - public function getTotal(): int - { - return $this->total; - } - - public function setTotal(int $total): self - { - $this->initialized['total'] = true; - $this->total = $total; - - return $this; - } -} diff --git a/lib/Model/CampaignClickData.php b/lib/Model/CampaignClickData.php deleted file mode 100644 index e6feb78..0000000 --- a/lib/Model/CampaignClickData.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $ts; - /** - * @var int - */ - protected $clicks; - - public function getTs(): int - { - return $this->ts; - } - - public function setTs(int $ts): self - { - $this->initialized['ts'] = true; - $this->ts = $ts; - - return $this; - } - - public function getClicks(): int - { - return $this->clicks; - } - - public function setClicks(int $clicks): self - { - $this->initialized['clicks'] = true; - $this->clicks = $clicks; - - return $this; - } -} diff --git a/lib/Model/CampaignClicks.php b/lib/Model/CampaignClicks.php deleted file mode 100644 index 7c48221..0000000 --- a/lib/Model/CampaignClicks.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $unit; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unitReference; - /** - * @var bool - */ - protected $rollup; - /** - * @var int - */ - protected $limit; - /** - * @var CampaignClicksData - */ - protected $data; - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - public function getRollup(): bool - { - return $this->rollup; - } - - public function setRollup(bool $rollup): self - { - $this->initialized['rollup'] = true; - $this->rollup = $rollup; - - return $this; - } - - public function getLimit(): int - { - return $this->limit; - } - - public function setLimit(int $limit): self - { - $this->initialized['limit'] = true; - $this->limit = $limit; - - return $this; - } - - public function getData(): CampaignClicksData - { - return $this->data; - } - - public function setData(CampaignClicksData $data): self - { - $this->initialized['data'] = true; - $this->data = $data; - - return $this; - } -} diff --git a/lib/Model/CampaignClicksData.php b/lib/Model/CampaignClicksData.php deleted file mode 100644 index 8efc036..0000000 --- a/lib/Model/CampaignClicksData.php +++ /dev/null @@ -1,166 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $guid; - /** - * @var string - */ - protected $brandGuid; - /** - * @var string - */ - protected $createdBy; - /** - * @var string - */ - protected $name; - /** - * @var string - */ - protected $description; - /** - * @var int - */ - protected $createdTs; - /** - * @var int - */ - protected $totalClicks; - /** - * @var list - */ - protected $campaignChannels; - - public function getGuid(): string - { - return $this->guid; - } - - public function setGuid(string $guid): self - { - $this->initialized['guid'] = true; - $this->guid = $guid; - - return $this; - } - - public function getBrandGuid(): string - { - return $this->brandGuid; - } - - public function setBrandGuid(string $brandGuid): self - { - $this->initialized['brandGuid'] = true; - $this->brandGuid = $brandGuid; - - return $this; - } - - public function getCreatedBy(): string - { - return $this->createdBy; - } - - public function setCreatedBy(string $createdBy): self - { - $this->initialized['createdBy'] = true; - $this->createdBy = $createdBy; - - return $this; - } - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): string - { - return $this->description; - } - - public function setDescription(string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getCreatedTs(): int - { - return $this->createdTs; - } - - public function setCreatedTs(int $createdTs): self - { - $this->initialized['createdTs'] = true; - $this->createdTs = $createdTs; - - return $this; - } - - public function getTotalClicks(): int - { - return $this->totalClicks; - } - - public function setTotalClicks(int $totalClicks): self - { - $this->initialized['totalClicks'] = true; - $this->totalClicks = $totalClicks; - - return $this; - } - - /** - * @return list - */ - public function getCampaignChannels(): array - { - return $this->campaignChannels; - } - - /** - * @param list $campaignChannels - */ - public function setCampaignChannels(array $campaignChannels): self - { - $this->initialized['campaignChannels'] = true; - $this->campaignChannels = $campaignChannels; - - return $this; - } -} diff --git a/lib/Model/CampaignsCampaignGuidAddURLsPostBody.php b/lib/Model/CampaignsCampaignGuidAddURLsPostBody.php deleted file mode 100644 index 9a6b877..0000000 --- a/lib/Model/CampaignsCampaignGuidAddURLsPostBody.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $file; - - public function getFile(): string - { - return $this->file; - } - - public function setFile(string $file): self - { - $this->initialized['file'] = true; - $this->file = $file; - - return $this; - } -} diff --git a/lib/Model/ChannelBitlink.php b/lib/Model/ChannelBitlink.php deleted file mode 100644 index 14d7ed8..0000000 --- a/lib/Model/ChannelBitlink.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $bitlinkId; - /** - * @var string - */ - protected $campaignGuid; - /** - * @var string - */ - protected $channelGuid; - - public function getBitlinkId(): string - { - return $this->bitlinkId; - } - - public function setBitlinkId(string $bitlinkId): self - { - $this->initialized['bitlinkId'] = true; - $this->bitlinkId = $bitlinkId; - - return $this; - } - - public function getCampaignGuid(): string - { - return $this->campaignGuid; - } - - public function setCampaignGuid(string $campaignGuid): self - { - $this->initialized['campaignGuid'] = true; - $this->campaignGuid = $campaignGuid; - - return $this; - } - - public function getChannelGuid(): string - { - return $this->channelGuid; - } - - public function setChannelGuid(string $channelGuid): self - { - $this->initialized['channelGuid'] = true; - $this->channelGuid = $channelGuid; - - return $this; - } -} diff --git a/lib/Model/ChannelBitlinks.php b/lib/Model/ChannelBitlinks.php deleted file mode 100644 index e1f91b9..0000000 --- a/lib/Model/ChannelBitlinks.php +++ /dev/null @@ -1,64 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $bitlinks; - /** - * @var int - */ - protected $total; - - /** - * @return list - */ - public function getBitlinks(): array - { - return $this->bitlinks; - } - - /** - * @param list $bitlinks - */ - public function setBitlinks(array $bitlinks): self - { - $this->initialized['bitlinks'] = true; - $this->bitlinks = $bitlinks; - - return $this; - } - - public function getTotal(): int - { - return $this->total; - } - - public function setTotal(int $total): self - { - $this->initialized['total'] = true; - $this->total = $total; - - return $this; - } -} diff --git a/lib/Model/Charges.php b/lib/Model/Charges.php deleted file mode 100644 index 92f65d3..0000000 --- a/lib/Model/Charges.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var float - */ - protected $chargeAmount; - /** - * @var string - */ - protected $chargeName; - /** - * @var string - */ - protected $processingType; - /** - * @var float - */ - protected $taxAmount; - - public function getChargeAmount(): float - { - return $this->chargeAmount; - } - - public function setChargeAmount(float $chargeAmount): self - { - $this->initialized['chargeAmount'] = true; - $this->chargeAmount = $chargeAmount; - - return $this; - } - - public function getChargeName(): string - { - return $this->chargeName; - } - - public function setChargeName(string $chargeName): self - { - $this->initialized['chargeName'] = true; - $this->chargeName = $chargeName; - - return $this; - } - - public function getProcessingType(): string - { - return $this->processingType; - } - - public function setProcessingType(string $processingType): self - { - $this->initialized['processingType'] = true; - $this->processingType = $processingType; - - return $this; - } - - public function getTaxAmount(): float - { - return $this->taxAmount; - } - - public function setTaxAmount(float $taxAmount): self - { - $this->initialized['taxAmount'] = true; - $this->taxAmount = $taxAmount; - - return $this; - } -} diff --git a/lib/Model/ChartVisualization.php b/lib/Model/ChartVisualization.php deleted file mode 100644 index e79c59e..0000000 --- a/lib/Model/ChartVisualization.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $type; - /** - * @var TimeComparisonDetails - */ - protected $timeComparisonDetails; - - public function getType(): string - { - return $this->type; - } - - public function setType(string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getTimeComparisonDetails(): TimeComparisonDetails - { - return $this->timeComparisonDetails; - } - - public function setTimeComparisonDetails(TimeComparisonDetails $timeComparisonDetails): self - { - $this->initialized['timeComparisonDetails'] = true; - $this->timeComparisonDetails = $timeComparisonDetails; - - return $this; - } -} diff --git a/lib/Model/CityBitlinkClicksMetric.php b/lib/Model/CityBitlinkClicksMetric.php deleted file mode 100644 index 5ff2a76..0000000 --- a/lib/Model/CityBitlinkClicksMetric.php +++ /dev/null @@ -1,109 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $bitlinkClicks; - /** - * @var string - */ - protected $city; - /** - * @var string - */ - protected $subregion; - /** - * @var string - */ - protected $region; - /** - * @var string - */ - protected $country; - - public function getBitlinkClicks(): int - { - return $this->bitlinkClicks; - } - - public function setBitlinkClicks(int $bitlinkClicks): self - { - $this->initialized['bitlinkClicks'] = true; - $this->bitlinkClicks = $bitlinkClicks; - - return $this; - } - - public function getCity(): string - { - return $this->city; - } - - public function setCity(string $city): self - { - $this->initialized['city'] = true; - $this->city = $city; - - return $this; - } - - public function getSubregion(): string - { - return $this->subregion; - } - - public function setSubregion(string $subregion): self - { - $this->initialized['subregion'] = true; - $this->subregion = $subregion; - - return $this; - } - - public function getRegion(): string - { - return $this->region; - } - - public function setRegion(string $region): self - { - $this->initialized['region'] = true; - $this->region = $region; - - return $this; - } - - public function getCountry(): string - { - return $this->country; - } - - public function setCountry(string $country): self - { - $this->initialized['country'] = true; - $this->country = $country; - - return $this; - } -} diff --git a/lib/Model/CityBitlinkClicksMetrics.php b/lib/Model/CityBitlinkClicksMetrics.php deleted file mode 100644 index abc5b90..0000000 --- a/lib/Model/CityBitlinkClicksMetrics.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $unit; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $facet; - /** - * @var string - */ - protected $unitReference; - /** - * @var list - */ - protected $metrics; - /** - * @var OtherBitlinkClicksMetrics - */ - protected $otherMetrics; - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getFacet(): string - { - return $this->facet; - } - - public function setFacet(string $facet): self - { - $this->initialized['facet'] = true; - $this->facet = $facet; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - /** - * @return list - */ - public function getMetrics(): array - { - return $this->metrics; - } - - /** - * @param list $metrics - */ - public function setMetrics(array $metrics): self - { - $this->initialized['metrics'] = true; - $this->metrics = $metrics; - - return $this; - } - - public function getOtherMetrics(): OtherBitlinkClicksMetrics - { - return $this->otherMetrics; - } - - public function setOtherMetrics(OtherBitlinkClicksMetrics $otherMetrics): self - { - $this->initialized['otherMetrics'] = true; - $this->otherMetrics = $otherMetrics; - - return $this; - } -} diff --git a/lib/Model/CityDownloadMetric.php b/lib/Model/CityDownloadMetric.php deleted file mode 100644 index 20c18ee..0000000 --- a/lib/Model/CityDownloadMetric.php +++ /dev/null @@ -1,109 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $downloads; - /** - * @var string - */ - protected $region; - /** - * @var string - */ - protected $subregion; - /** - * @var string - */ - protected $city; - /** - * @var string - */ - protected $coutry; - - public function getDownloads(): int - { - return $this->downloads; - } - - public function setDownloads(int $downloads): self - { - $this->initialized['downloads'] = true; - $this->downloads = $downloads; - - return $this; - } - - public function getRegion(): string - { - return $this->region; - } - - public function setRegion(string $region): self - { - $this->initialized['region'] = true; - $this->region = $region; - - return $this; - } - - public function getSubregion(): string - { - return $this->subregion; - } - - public function setSubregion(string $subregion): self - { - $this->initialized['subregion'] = true; - $this->subregion = $subregion; - - return $this; - } - - public function getCity(): string - { - return $this->city; - } - - public function setCity(string $city): self - { - $this->initialized['city'] = true; - $this->city = $city; - - return $this; - } - - public function getCoutry(): string - { - return $this->coutry; - } - - public function setCoutry(string $coutry): self - { - $this->initialized['coutry'] = true; - $this->coutry = $coutry; - - return $this; - } -} diff --git a/lib/Model/CityDownloadMetrics.php b/lib/Model/CityDownloadMetrics.php deleted file mode 100644 index 2148972..0000000 --- a/lib/Model/CityDownloadMetrics.php +++ /dev/null @@ -1,149 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $metrics; - /** - * @var OtherDownloadMetric - */ - protected $otherMetrics; - /** - * @var int - */ - protected $size; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unit; - /** - * @var string - */ - protected $unitReference; - /** - * @var string - */ - protected $facet; - - /** - * @return list - */ - public function getMetrics(): array - { - return $this->metrics; - } - - /** - * @param list $metrics - */ - public function setMetrics(array $metrics): self - { - $this->initialized['metrics'] = true; - $this->metrics = $metrics; - - return $this; - } - - public function getOtherMetrics(): OtherDownloadMetric - { - return $this->otherMetrics; - } - - public function setOtherMetrics(OtherDownloadMetric $otherMetrics): self - { - $this->initialized['otherMetrics'] = true; - $this->otherMetrics = $otherMetrics; - - return $this; - } - - public function getSize(): int - { - return $this->size; - } - - public function setSize(int $size): self - { - $this->initialized['size'] = true; - $this->size = $size; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - public function getFacet(): string - { - return $this->facet; - } - - public function setFacet(string $facet): self - { - $this->initialized['facet'] = true; - $this->facet = $facet; - - return $this; - } -} diff --git a/lib/Model/CityViewMetrics.php b/lib/Model/CityViewMetrics.php deleted file mode 100644 index 906d9c0..0000000 --- a/lib/Model/CityViewMetrics.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $unit; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $facet; - /** - * @var string - */ - protected $unitReference; - /** - * @var list - */ - protected $launchpadViews; - /** - * @var OtherViewMetrics - */ - protected $otherMetrics; - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getFacet(): string - { - return $this->facet; - } - - public function setFacet(string $facet): self - { - $this->initialized['facet'] = true; - $this->facet = $facet; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - /** - * @return list - */ - public function getLaunchpadViews(): array - { - return $this->launchpadViews; - } - - /** - * @param list $launchpadViews - */ - public function setLaunchpadViews(array $launchpadViews): self - { - $this->initialized['launchpadViews'] = true; - $this->launchpadViews = $launchpadViews; - - return $this; - } - - public function getOtherMetrics(): OtherViewMetrics - { - return $this->otherMetrics; - } - - public function setOtherMetrics(OtherViewMetrics $otherMetrics): self - { - $this->initialized['otherMetrics'] = true; - $this->otherMetrics = $otherMetrics; - - return $this; - } -} diff --git a/lib/Model/ClicksByCitiesFacet.php b/lib/Model/ClicksByCitiesFacet.php deleted file mode 100644 index 7a78b66..0000000 --- a/lib/Model/ClicksByCitiesFacet.php +++ /dev/null @@ -1,109 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $city; - /** - * @var float - */ - protected $clicks; - /** - * @var string - */ - protected $region; - /** - * @var string - */ - protected $subregion; - /** - * @var string - */ - protected $country; - - public function getCity(): string - { - return $this->city; - } - - public function setCity(string $city): self - { - $this->initialized['city'] = true; - $this->city = $city; - - return $this; - } - - public function getClicks(): float - { - return $this->clicks; - } - - public function setClicks(float $clicks): self - { - $this->initialized['clicks'] = true; - $this->clicks = $clicks; - - return $this; - } - - public function getRegion(): string - { - return $this->region; - } - - public function setRegion(string $region): self - { - $this->initialized['region'] = true; - $this->region = $region; - - return $this; - } - - public function getSubregion(): string - { - return $this->subregion; - } - - public function setSubregion(string $subregion): self - { - $this->initialized['subregion'] = true; - $this->subregion = $subregion; - - return $this; - } - - public function getCountry(): string - { - return $this->country; - } - - public function setCountry(string $country): self - { - $this->initialized['country'] = true; - $this->country = $country; - - return $this; - } -} diff --git a/lib/Model/ClicksByFacet.php b/lib/Model/ClicksByFacet.php deleted file mode 100644 index b37a345..0000000 --- a/lib/Model/ClicksByFacet.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $value; - /** - * @var float - */ - protected $clicks; - - public function getValue(): string - { - return $this->value; - } - - public function setValue(string $value): self - { - $this->initialized['value'] = true; - $this->value = $value; - - return $this; - } - - public function getClicks(): float - { - return $this->clicks; - } - - public function setClicks(float $clicks): self - { - $this->initialized['clicks'] = true; - $this->clicks = $clicks; - - return $this; - } -} diff --git a/lib/Model/ClicksCount.php b/lib/Model/ClicksCount.php deleted file mode 100644 index f83611b..0000000 --- a/lib/Model/ClicksCount.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $bitlinkId; - /** - * @var int - */ - protected $clicks; - /** - * @var string - */ - protected $error; - - public function getBitlinkId(): string - { - return $this->bitlinkId; - } - - public function setBitlinkId(string $bitlinkId): self - { - $this->initialized['bitlinkId'] = true; - $this->bitlinkId = $bitlinkId; - - return $this; - } - - public function getClicks(): int - { - return $this->clicks; - } - - public function setClicks(int $clicks): self - { - $this->initialized['clicks'] = true; - $this->clicks = $clicks; - - return $this; - } - - public function getError(): string - { - return $this->error; - } - - public function setError(string $error): self - { - $this->initialized['error'] = true; - $this->error = $error; - - return $this; - } -} diff --git a/lib/Model/ClicksForAggregate.php b/lib/Model/ClicksForAggregate.php deleted file mode 100644 index a7ef55e..0000000 --- a/lib/Model/ClicksForAggregate.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $date; - /** - * @var int - */ - protected $clicks; - - public function getDate(): int - { - return $this->date; - } - - public function setDate(int $date): self - { - $this->initialized['date'] = true; - $this->date = $date; - - return $this; - } - - public function getClicks(): int - { - return $this->clicks; - } - - public function setClicks(int $clicks): self - { - $this->initialized['clicks'] = true; - $this->clicks = $clicks; - - return $this; - } -} diff --git a/lib/Model/ClicksForBitlinks.php b/lib/Model/ClicksForBitlinks.php deleted file mode 100644 index f3d7ee7..0000000 --- a/lib/Model/ClicksForBitlinks.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $clicks; - - /** - * @return list - */ - public function getClicks(): array - { - return $this->clicks; - } - - /** - * @param list $clicks - */ - public function setClicks(array $clicks): self - { - $this->initialized['clicks'] = true; - $this->clicks = $clicks; - - return $this; - } -} diff --git a/lib/Model/ClicksOverTime.php b/lib/Model/ClicksOverTime.php deleted file mode 100644 index dd68a1e..0000000 --- a/lib/Model/ClicksOverTime.php +++ /dev/null @@ -1,64 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $date; - /** - * @var list - */ - protected $engagementsByFacet; - - public function getDate(): string - { - return $this->date; - } - - public function setDate(string $date): self - { - $this->initialized['date'] = true; - $this->date = $date; - - return $this; - } - - /** - * @return list - */ - public function getEngagementsByFacet(): array - { - return $this->engagementsByFacet; - } - - /** - * @param list $engagementsByFacet - */ - public function setEngagementsByFacet(array $engagementsByFacet): self - { - $this->initialized['engagementsByFacet'] = true; - $this->engagementsByFacet = $engagementsByFacet; - - return $this; - } -} diff --git a/lib/Model/ConsumableFeature.php b/lib/Model/ConsumableFeature.php deleted file mode 100644 index 00e14bc..0000000 --- a/lib/Model/ConsumableFeature.php +++ /dev/null @@ -1,165 +0,0 @@ -initialized); - } - /** - * ISO_TIMESTAMP. - * - * @var string - */ - protected $created; - /** - * ISO_TIMESTAMP. - * - * @var string - */ - protected $modified; - /** - * @var string - */ - protected $id; - /** - * @var string - */ - protected $name; - /** - * @var int - */ - protected $limit; - /** - * @var bool - */ - protected $isTierDefault; - /** - * @var list - */ - protected $addOns; - - /** - * ISO_TIMESTAMP. - */ - public function getCreated(): string - { - return $this->created; - } - - /** - * ISO_TIMESTAMP. - */ - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - /** - * ISO_TIMESTAMP. - */ - public function getModified(): string - { - return $this->modified; - } - - /** - * ISO_TIMESTAMP. - */ - public function setModified(string $modified): self - { - $this->initialized['modified'] = true; - $this->modified = $modified; - - return $this; - } - - public function getId(): string - { - return $this->id; - } - - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getLimit(): int - { - return $this->limit; - } - - public function setLimit(int $limit): self - { - $this->initialized['limit'] = true; - $this->limit = $limit; - - return $this; - } - - public function getIsTierDefault(): bool - { - return $this->isTierDefault; - } - - public function setIsTierDefault(bool $isTierDefault): self - { - $this->initialized['isTierDefault'] = true; - $this->isTierDefault = $isTierDefault; - - return $this; - } - - /** - * @return list - */ - public function getAddOns(): array - { - return $this->addOns; - } - - /** - * @param list $addOns - */ - public function setAddOns(array $addOns): self - { - $this->initialized['addOns'] = true; - $this->addOns = $addOns; - - return $this; - } -} diff --git a/lib/Model/ConsumableFeatureAddOn.php b/lib/Model/ConsumableFeatureAddOn.php deleted file mode 100644 index f4963f1..0000000 --- a/lib/Model/ConsumableFeatureAddOn.php +++ /dev/null @@ -1,175 +0,0 @@ -initialized); - } - /** - * ISO_TIMESTAMP. - * - * @var string - */ - protected $created; - /** - * ISO_TIMESTAMP. - * - * @var string - */ - protected $modified; - /** - * ISO_TIMESTAMP. - * - * @var string - */ - protected $startDate; - /** - * ISO_TIMESTAMP. - * - * @var string - */ - protected $endDate; - /** - * @var string - */ - protected $featureName; - /** - * @var int - */ - protected $quantity; - /** - * @var bool - */ - protected $isActive; - - /** - * ISO_TIMESTAMP. - */ - public function getCreated(): string - { - return $this->created; - } - - /** - * ISO_TIMESTAMP. - */ - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - /** - * ISO_TIMESTAMP. - */ - public function getModified(): string - { - return $this->modified; - } - - /** - * ISO_TIMESTAMP. - */ - public function setModified(string $modified): self - { - $this->initialized['modified'] = true; - $this->modified = $modified; - - return $this; - } - - /** - * ISO_TIMESTAMP. - */ - public function getStartDate(): string - { - return $this->startDate; - } - - /** - * ISO_TIMESTAMP. - */ - public function setStartDate(string $startDate): self - { - $this->initialized['startDate'] = true; - $this->startDate = $startDate; - - return $this; - } - - /** - * ISO_TIMESTAMP. - */ - public function getEndDate(): string - { - return $this->endDate; - } - - /** - * ISO_TIMESTAMP. - */ - public function setEndDate(string $endDate): self - { - $this->initialized['endDate'] = true; - $this->endDate = $endDate; - - return $this; - } - - public function getFeatureName(): string - { - return $this->featureName; - } - - public function setFeatureName(string $featureName): self - { - $this->initialized['featureName'] = true; - $this->featureName = $featureName; - - return $this; - } - - public function getQuantity(): int - { - return $this->quantity; - } - - public function setQuantity(int $quantity): self - { - $this->initialized['quantity'] = true; - $this->quantity = $quantity; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } -} diff --git a/lib/Model/ConsumableFeatureFull.php b/lib/Model/ConsumableFeatureFull.php deleted file mode 100644 index 732a8d0..0000000 --- a/lib/Model/ConsumableFeatureFull.php +++ /dev/null @@ -1,210 +0,0 @@ -initialized); - } - /** - * ISO_TIMESTAMP. - * - * @var string - */ - protected $created; - /** - * ISO_TIMESTAMP. - * - * @var string - */ - protected $modified; - /** - * @var string - */ - protected $id; - /** - * @var string - */ - protected $name; - /** - * @var int - */ - protected $limit; - /** - * @var bool - */ - protected $isTierDefault; - /** - * @var bool - */ - protected $isEnforced; - /** - * @var bool - */ - protected $isLimited; - /** - * @var int - */ - protected $count; - /** - * @var AddOnUsage - */ - protected $addOnUsage; - - /** - * ISO_TIMESTAMP. - */ - public function getCreated(): string - { - return $this->created; - } - - /** - * ISO_TIMESTAMP. - */ - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - /** - * ISO_TIMESTAMP. - */ - public function getModified(): string - { - return $this->modified; - } - - /** - * ISO_TIMESTAMP. - */ - public function setModified(string $modified): self - { - $this->initialized['modified'] = true; - $this->modified = $modified; - - return $this; - } - - public function getId(): string - { - return $this->id; - } - - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getLimit(): int - { - return $this->limit; - } - - public function setLimit(int $limit): self - { - $this->initialized['limit'] = true; - $this->limit = $limit; - - return $this; - } - - public function getIsTierDefault(): bool - { - return $this->isTierDefault; - } - - public function setIsTierDefault(bool $isTierDefault): self - { - $this->initialized['isTierDefault'] = true; - $this->isTierDefault = $isTierDefault; - - return $this; - } - - public function getIsEnforced(): bool - { - return $this->isEnforced; - } - - public function setIsEnforced(bool $isEnforced): self - { - $this->initialized['isEnforced'] = true; - $this->isEnforced = $isEnforced; - - return $this; - } - - public function getIsLimited(): bool - { - return $this->isLimited; - } - - public function setIsLimited(bool $isLimited): self - { - $this->initialized['isLimited'] = true; - $this->isLimited = $isLimited; - - return $this; - } - - public function getCount(): int - { - return $this->count; - } - - public function setCount(int $count): self - { - $this->initialized['count'] = true; - $this->count = $count; - - return $this; - } - - public function getAddOnUsage(): AddOnUsage - { - return $this->addOnUsage; - } - - public function setAddOnUsage(AddOnUsage $addOnUsage): self - { - $this->initialized['addOnUsage'] = true; - $this->addOnUsage = $addOnUsage; - - return $this; - } -} diff --git a/lib/Model/ConsumableFeatures.php b/lib/Model/ConsumableFeatures.php deleted file mode 100644 index eec6a9a..0000000 --- a/lib/Model/ConsumableFeatures.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $consumableFeatures; - - /** - * @return list - */ - public function getConsumableFeatures(): array - { - return $this->consumableFeatures; - } - - /** - * @param list $consumableFeatures - */ - public function setConsumableFeatures(array $consumableFeatures): self - { - $this->initialized['consumableFeatures'] = true; - $this->consumableFeatures = $consumableFeatures; - - return $this; - } -} diff --git a/lib/Model/ContactInfo.php b/lib/Model/ContactInfo.php deleted file mode 100644 index d1d7c4f..0000000 --- a/lib/Model/ContactInfo.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $firstName; - /** - * @var string - */ - protected $lastName; - /** - * @var BillingAddress - */ - protected $address; - - public function getFirstName(): string - { - return $this->firstName; - } - - public function setFirstName(string $firstName): self - { - $this->initialized['firstName'] = true; - $this->firstName = $firstName; - - return $this; - } - - public function getLastName(): string - { - return $this->lastName; - } - - public function setLastName(string $lastName): self - { - $this->initialized['lastName'] = true; - $this->lastName = $lastName; - - return $this; - } - - public function getAddress(): BillingAddress - { - return $this->address; - } - - public function setAddress(BillingAddress $address): self - { - $this->initialized['address'] = true; - $this->address = $address; - - return $this; - } -} diff --git a/lib/Model/Contacts.php b/lib/Model/Contacts.php deleted file mode 100644 index 4b450ec..0000000 --- a/lib/Model/Contacts.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var BillingInfo - */ - protected $soldTo; - /** - * @var ContactInfo - */ - protected $billTo; - - public function getSoldTo(): BillingInfo - { - return $this->soldTo; - } - - public function setSoldTo(BillingInfo $soldTo): self - { - $this->initialized['soldTo'] = true; - $this->soldTo = $soldTo; - - return $this; - } - - public function getBillTo(): ContactInfo - { - return $this->billTo; - } - - public function setBillTo(ContactInfo $billTo): self - { - $this->initialized['billTo'] = true; - $this->billTo = $billTo; - - return $this; - } -} diff --git a/lib/Model/ContentRequestBitlink.php b/lib/Model/ContentRequestBitlink.php deleted file mode 100644 index dacaaad..0000000 --- a/lib/Model/ContentRequestBitlink.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $bitlink; - /** - * @var string - */ - protected $title; - /** - * @var bool - */ - protected $isPinned; - /** - * @var string - */ - protected $description; - - public function getBitlink(): string - { - return $this->bitlink; - } - - public function setBitlink(string $bitlink): self - { - $this->initialized['bitlink'] = true; - $this->bitlink = $bitlink; - - return $this; - } - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - public function getDescription(): string - { - return $this->description; - } - - public function setDescription(string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } -} diff --git a/lib/Model/ContentRequestSocial.php b/lib/Model/ContentRequestSocial.php deleted file mode 100644 index 0a67daa..0000000 --- a/lib/Model/ContentRequestSocial.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $url; - /** - * @var string - */ - protected $channel; - - public function getUrl(): string - { - return $this->url; - } - - public function setUrl(string $url): self - { - $this->initialized['url'] = true; - $this->url = $url; - - return $this; - } - - public function getChannel(): string - { - return $this->channel; - } - - public function setChannel(string $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } -} diff --git a/lib/Model/CountryCode.php b/lib/Model/CountryCode.php deleted file mode 100644 index bb30b4f..0000000 --- a/lib/Model/CountryCode.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $countryName; - /** - * @var int - */ - protected $callingCode; - /** - * @var string - */ - protected $iSO2; - /** - * @var string - */ - protected $iSO3; - - public function getCountryName(): string - { - return $this->countryName; - } - - public function setCountryName(string $countryName): self - { - $this->initialized['countryName'] = true; - $this->countryName = $countryName; - - return $this; - } - - public function getCallingCode(): int - { - return $this->callingCode; - } - - public function setCallingCode(int $callingCode): self - { - $this->initialized['callingCode'] = true; - $this->callingCode = $callingCode; - - return $this; - } - - public function getISO2(): string - { - return $this->iSO2; - } - - public function setISO2(string $iSO2): self - { - $this->initialized['iSO2'] = true; - $this->iSO2 = $iSO2; - - return $this; - } - - public function getISO3(): string - { - return $this->iSO3; - } - - public function setISO3(string $iSO3): self - { - $this->initialized['iSO3'] = true; - $this->iSO3 = $iSO3; - - return $this; - } -} diff --git a/lib/Model/CreateAnalyticsModule.php b/lib/Model/CreateAnalyticsModule.php deleted file mode 100644 index f344286..0000000 --- a/lib/Model/CreateAnalyticsModule.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var ModuleSettings - */ - protected $moduleSettings; - /** - * @var string - */ - protected $groupGuid; - /** - * @var string - */ - protected $reportGuid; - - public function getModuleSettings(): ModuleSettings - { - return $this->moduleSettings; - } - - public function setModuleSettings(ModuleSettings $moduleSettings): self - { - $this->initialized['moduleSettings'] = true; - $this->moduleSettings = $moduleSettings; - - return $this; - } - - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } - - public function getReportGuid(): string - { - return $this->reportGuid; - } - - public function setReportGuid(string $reportGuid): self - { - $this->initialized['reportGuid'] = true; - $this->reportGuid = $reportGuid; - - return $this; - } -} diff --git a/lib/Model/CreateAnalyticsReport.php b/lib/Model/CreateAnalyticsReport.php deleted file mode 100644 index 86a2ca2..0000000 --- a/lib/Model/CreateAnalyticsReport.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var ReportSettings - */ - protected $reportSettings; - /** - * @var string - */ - protected $reportType; - - public function getReportSettings(): ReportSettings - { - return $this->reportSettings; - } - - public function setReportSettings(ReportSettings $reportSettings): self - { - $this->initialized['reportSettings'] = true; - $this->reportSettings = $reportSettings; - - return $this; - } - - public function getReportType(): string - { - return $this->reportType; - } - - public function setReportType(string $reportType): self - { - $this->initialized['reportType'] = true; - $this->reportType = $reportType; - - return $this; - } -} diff --git a/lib/Model/CreateCustomerBody.php b/lib/Model/CreateCustomerBody.php deleted file mode 100644 index eb75c8c..0000000 --- a/lib/Model/CreateCustomerBody.php +++ /dev/null @@ -1,109 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $orgGuid; - /** - * @var BillingAddress - */ - protected $taxAddress; - /** - * @var BillingInfo - */ - protected $invoiceInfo; - /** - * @var string - */ - protected $companyName; - /** - * @var string - */ - protected $taxId; - - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - public function getTaxAddress(): BillingAddress - { - return $this->taxAddress; - } - - public function setTaxAddress(BillingAddress $taxAddress): self - { - $this->initialized['taxAddress'] = true; - $this->taxAddress = $taxAddress; - - return $this; - } - - public function getInvoiceInfo(): BillingInfo - { - return $this->invoiceInfo; - } - - public function setInvoiceInfo(BillingInfo $invoiceInfo): self - { - $this->initialized['invoiceInfo'] = true; - $this->invoiceInfo = $invoiceInfo; - - return $this; - } - - public function getCompanyName(): string - { - return $this->companyName; - } - - public function setCompanyName(string $companyName): self - { - $this->initialized['companyName'] = true; - $this->companyName = $companyName; - - return $this; - } - - public function getTaxId(): string - { - return $this->taxId; - } - - public function setTaxId(string $taxId): self - { - $this->initialized['taxId'] = true; - $this->taxId = $taxId; - - return $this; - } -} diff --git a/lib/Model/CreateCustomerResponse.php b/lib/Model/CreateCustomerResponse.php deleted file mode 100644 index d2d2607..0000000 --- a/lib/Model/CreateCustomerResponse.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $id; - /** - * @var string - */ - protected $customer; - /** - * @var string - */ - protected $clientSecret; - - public function getId(): string - { - return $this->id; - } - - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getCustomer(): string - { - return $this->customer; - } - - public function setCustomer(string $customer): self - { - $this->initialized['customer'] = true; - $this->customer = $customer; - - return $this; - } - - public function getClientSecret(): string - { - return $this->clientSecret; - } - - public function setClientSecret(string $clientSecret): self - { - $this->initialized['clientSecret'] = true; - $this->clientSecret = $clientSecret; - - return $this; - } -} diff --git a/lib/Model/CreateFocusRequest.php b/lib/Model/CreateFocusRequest.php deleted file mode 100644 index b4455f2..0000000 --- a/lib/Model/CreateFocusRequest.php +++ /dev/null @@ -1,49 +0,0 @@ -initialized); - } - /** - * The ID of the QR code. - * - * @var string - */ - protected $qrcodeId; - - /** - * The ID of the QR code. - */ - public function getQrcodeId(): string - { - return $this->qrcodeId; - } - - /** - * The ID of the QR code. - */ - public function setQrcodeId(string $qrcodeId): self - { - $this->initialized['qrcodeId'] = true; - $this->qrcodeId = $qrcodeId; - - return $this; - } -} diff --git a/lib/Model/CreateFocusResponse.php b/lib/Model/CreateFocusResponse.php deleted file mode 100644 index 7c04dc3..0000000 --- a/lib/Model/CreateFocusResponse.php +++ /dev/null @@ -1,49 +0,0 @@ -initialized); - } - /** - * The URL that deep links to the Canva app. - * - * @var string - */ - protected $continueUrl; - - /** - * The URL that deep links to the Canva app. - */ - public function getContinueUrl(): string - { - return $this->continueUrl; - } - - /** - * The URL that deep links to the Canva app. - */ - public function setContinueUrl(string $continueUrl): self - { - $this->initialized['continueUrl'] = true; - $this->continueUrl = $continueUrl; - - return $this; - } -} diff --git a/lib/Model/CreateLaunchpad.php b/lib/Model/CreateLaunchpad.php deleted file mode 100644 index abc55cc..0000000 --- a/lib/Model/CreateLaunchpad.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $groupGuid; - /** - * @var string - */ - protected $domain; - /** - * @var string - */ - protected $keyword; - /** - * @var string - */ - protected $uri; - - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - public function getKeyword(): string - { - return $this->keyword; - } - - public function setKeyword(string $keyword): self - { - $this->initialized['keyword'] = true; - $this->keyword = $keyword; - - return $this; - } - - public function getUri(): string - { - return $this->uri; - } - - public function setUri(string $uri): self - { - $this->initialized['uri'] = true; - $this->uri = $uri; - - return $this; - } -} diff --git a/lib/Model/CreateOAuthAppReq.php b/lib/Model/CreateOAuthAppReq.php deleted file mode 100644 index 724ba63..0000000 --- a/lib/Model/CreateOAuthAppReq.php +++ /dev/null @@ -1,138 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $redirectUris; - /** - * @var list - */ - protected $ipAllowlist; - /** - * @var string - */ - protected $name; - /** - * @var string - */ - protected $description; - /** - * @var string - */ - protected $link; - /** - * @var bool - */ - protected $requireOauthPkce; - - /** - * @return list - */ - public function getRedirectUris(): array - { - return $this->redirectUris; - } - - /** - * @param list $redirectUris - */ - public function setRedirectUris(array $redirectUris): self - { - $this->initialized['redirectUris'] = true; - $this->redirectUris = $redirectUris; - - return $this; - } - - /** - * @return list - */ - public function getIpAllowlist(): array - { - return $this->ipAllowlist; - } - - /** - * @param list $ipAllowlist - */ - public function setIpAllowlist(array $ipAllowlist): self - { - $this->initialized['ipAllowlist'] = true; - $this->ipAllowlist = $ipAllowlist; - - return $this; - } - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getDescription(): string - { - return $this->description; - } - - public function setDescription(string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getLink(): string - { - return $this->link; - } - - public function setLink(string $link): self - { - $this->initialized['link'] = true; - $this->link = $link; - - return $this; - } - - public function getRequireOauthPkce(): bool - { - return $this->requireOauthPkce; - } - - public function setRequireOauthPkce(bool $requireOauthPkce): self - { - $this->initialized['requireOauthPkce'] = true; - $this->requireOauthPkce = $requireOauthPkce; - - return $this; - } -} diff --git a/lib/Model/CreateOrgDomainVerificationEmailRequest.php b/lib/Model/CreateOrgDomainVerificationEmailRequest.php deleted file mode 100644 index 31027ca..0000000 --- a/lib/Model/CreateOrgDomainVerificationEmailRequest.php +++ /dev/null @@ -1,74 +0,0 @@ -initialized); - } - /** - * Org GUID which the admin user belongs to, and is requesting to create a controlled domain. - * - * @var string - */ - protected $orgGuid; - /** - * Domain which the admin user is requesting to create an org controlled domain. - * - * @var string - */ - protected $domain; - - /** - * Org GUID which the admin user belongs to, and is requesting to create a controlled domain. - */ - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - /** - * Org GUID which the admin user belongs to, and is requesting to create a controlled domain. - */ - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - /** - * Domain which the admin user is requesting to create an org controlled domain. - */ - public function getDomain(): string - { - return $this->domain; - } - - /** - * Domain which the admin user is requesting to create an org controlled domain. - */ - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } -} diff --git a/lib/Model/CreateOverrideRules.php b/lib/Model/CreateOverrideRules.php deleted file mode 100644 index d5fe4bc..0000000 --- a/lib/Model/CreateOverrideRules.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $rules; - /** - * @var string - */ - protected $groupGuid; - - public function getRules(): string - { - return $this->rules; - } - - public function setRules(string $rules): self - { - $this->initialized['rules'] = true; - $this->rules = $rules; - - return $this; - } - - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } -} diff --git a/lib/Model/CreatePaymentMethod.php b/lib/Model/CreatePaymentMethod.php deleted file mode 100644 index 6132da1..0000000 --- a/lib/Model/CreatePaymentMethod.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $type; - /** - * @var string - */ - protected $paypalBaid; - /** - * @var string - */ - protected $paypalEmail; - - public function getType(): string - { - return $this->type; - } - - public function setType(string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getPaypalBaid(): string - { - return $this->paypalBaid; - } - - public function setPaypalBaid(string $paypalBaid): self - { - $this->initialized['paypalBaid'] = true; - $this->paypalBaid = $paypalBaid; - - return $this; - } - - public function getPaypalEmail(): string - { - return $this->paypalEmail; - } - - public function setPaypalEmail(string $paypalEmail): self - { - $this->initialized['paypalEmail'] = true; - $this->paypalEmail = $paypalEmail; - - return $this; - } -} diff --git a/lib/Model/CreateQRCodeRequest.php b/lib/Model/CreateQRCodeRequest.php deleted file mode 100644 index eb491c6..0000000 --- a/lib/Model/CreateQRCodeRequest.php +++ /dev/null @@ -1,208 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $title; - /** - * @var string - */ - protected $groupGuid; - /** - * Options for customizing a QR Code's appearance. - * - * @var QRCodeCustomizations - */ - protected $renderCustomizations; - /** - * A boolean representing if any of the QR code's customization values have been changed from their default setting. - * - * @var bool - */ - protected $isCustomized; - /** - * The type of dynamic/static content the QR serves, e.g. Link In Bio page, micro site, bitlink, email, text, Wifi, etc. - * - * @var string - */ - protected $qrCodeType; - /** - * An object containing relevant properties for dynamic QR codes, i.e. ones that are linked to a bitlink. - * - * @var QRCodeDynamic - */ - protected $dynamicContent; - /** - * Determines the image format of the returned QR code. - * - * @var string - */ - protected $format = 'png'; - /** - * Contains GS1 related metadata. - * - * @var GS1Metadata - */ - protected $gs1; - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } - - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } - - /** - * Options for customizing a QR Code's appearance. - */ - public function getRenderCustomizations(): QRCodeCustomizations - { - return $this->renderCustomizations; - } - - /** - * Options for customizing a QR Code's appearance. - */ - public function setRenderCustomizations(QRCodeCustomizations $renderCustomizations): self - { - $this->initialized['renderCustomizations'] = true; - $this->renderCustomizations = $renderCustomizations; - - return $this; - } - - /** - * A boolean representing if any of the QR code's customization values have been changed from their default setting. - */ - public function getIsCustomized(): bool - { - return $this->isCustomized; - } - - /** - * A boolean representing if any of the QR code's customization values have been changed from their default setting. - */ - public function setIsCustomized(bool $isCustomized): self - { - $this->initialized['isCustomized'] = true; - $this->isCustomized = $isCustomized; - - return $this; - } - - /** - * The type of dynamic/static content the QR serves, e.g. Link In Bio page, micro site, bitlink, email, text, Wifi, etc. - */ - public function getQrCodeType(): string - { - return $this->qrCodeType; - } - - /** - * The type of dynamic/static content the QR serves, e.g. Link In Bio page, micro site, bitlink, email, text, Wifi, etc. - */ - public function setQrCodeType(string $qrCodeType): self - { - $this->initialized['qrCodeType'] = true; - $this->qrCodeType = $qrCodeType; - - return $this; - } - - /** - * An object containing relevant properties for dynamic QR codes, i.e. ones that are linked to a bitlink. - */ - public function getDynamicContent(): QRCodeDynamic - { - return $this->dynamicContent; - } - - /** - * An object containing relevant properties for dynamic QR codes, i.e. ones that are linked to a bitlink. - */ - public function setDynamicContent(QRCodeDynamic $dynamicContent): self - { - $this->initialized['dynamicContent'] = true; - $this->dynamicContent = $dynamicContent; - - return $this; - } - - /** - * Determines the image format of the returned QR code. - */ - public function getFormat(): string - { - return $this->format; - } - - /** - * Determines the image format of the returned QR code. - */ - public function setFormat(string $format): self - { - $this->initialized['format'] = true; - $this->format = $format; - - return $this; - } - - /** - * Contains GS1 related metadata. - */ - public function getGs1(): GS1Metadata - { - return $this->gs1; - } - - /** - * Contains GS1 related metadata. - */ - public function setGs1(GS1Metadata $gs1): self - { - $this->initialized['gs1'] = true; - $this->gs1 = $gs1; - - return $this; - } -} diff --git a/lib/Model/CreateSubscriptionBody.php b/lib/Model/CreateSubscriptionBody.php deleted file mode 100644 index 206fbb9..0000000 --- a/lib/Model/CreateSubscriptionBody.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $customerId; - /** - * @var string - */ - protected $orgGuid; - /** - * @var string - */ - protected $tierName; - /** - * @var string - */ - protected $promoCode; - /** - * @var string - */ - protected $paymentMethodId; - /** - * @var string - */ - protected $currency = 'USD'; - - public function getCustomerId(): string - { - return $this->customerId; - } - - public function setCustomerId(string $customerId): self - { - $this->initialized['customerId'] = true; - $this->customerId = $customerId; - - return $this; - } - - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - public function getTierName(): string - { - return $this->tierName; - } - - public function setTierName(string $tierName): self - { - $this->initialized['tierName'] = true; - $this->tierName = $tierName; - - return $this; - } - - public function getPromoCode(): string - { - return $this->promoCode; - } - - public function setPromoCode(string $promoCode): self - { - $this->initialized['promoCode'] = true; - $this->promoCode = $promoCode; - - return $this; - } - - public function getPaymentMethodId(): string - { - return $this->paymentMethodId; - } - - public function setPaymentMethodId(string $paymentMethodId): self - { - $this->initialized['paymentMethodId'] = true; - $this->paymentMethodId = $paymentMethodId; - - return $this; - } - - public function getCurrency(): string - { - return $this->currency; - } - - public function setCurrency(string $currency): self - { - $this->initialized['currency'] = true; - $this->currency = $currency; - - return $this; - } -} diff --git a/lib/Model/CreateSubscriptionResponse.php b/lib/Model/CreateSubscriptionResponse.php deleted file mode 100644 index bfaafca..0000000 --- a/lib/Model/CreateSubscriptionResponse.php +++ /dev/null @@ -1,109 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $id; - /** - * @var string - */ - protected $object; - /** - * @var string - */ - protected $customer; - /** - * @var string - */ - protected $status; - /** - * @var CreateSubscriptionResponseLatestInvoice - */ - protected $latestInvoice; - - public function getId(): string - { - return $this->id; - } - - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getObject(): string - { - return $this->object; - } - - public function setObject(string $object): self - { - $this->initialized['object'] = true; - $this->object = $object; - - return $this; - } - - public function getCustomer(): string - { - return $this->customer; - } - - public function setCustomer(string $customer): self - { - $this->initialized['customer'] = true; - $this->customer = $customer; - - return $this; - } - - public function getStatus(): string - { - return $this->status; - } - - public function setStatus(string $status): self - { - $this->initialized['status'] = true; - $this->status = $status; - - return $this; - } - - public function getLatestInvoice(): CreateSubscriptionResponseLatestInvoice - { - return $this->latestInvoice; - } - - public function setLatestInvoice(CreateSubscriptionResponseLatestInvoice $latestInvoice): self - { - $this->initialized['latestInvoice'] = true; - $this->latestInvoice = $latestInvoice; - - return $this; - } -} diff --git a/lib/Model/CreateSubscriptionResponseLatestInvoice.php b/lib/Model/CreateSubscriptionResponseLatestInvoice.php deleted file mode 100644 index feb409a..0000000 --- a/lib/Model/CreateSubscriptionResponseLatestInvoice.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $id; - - public function getId(): string - { - return $this->id; - } - - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } -} diff --git a/lib/Model/CreateUserBody.php b/lib/Model/CreateUserBody.php deleted file mode 100644 index ef8adf4..0000000 --- a/lib/Model/CreateUserBody.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $login; - /** - * @var string - */ - protected $name; - /** - * @var string - */ - protected $email; - /** - * @var string - */ - protected $fullName; - /** - * @var string - */ - protected $inviteToken; - /** - * @var string - */ - protected $campaignSource; - - public function getLogin(): string - { - return $this->login; - } - - public function setLogin(string $login): self - { - $this->initialized['login'] = true; - $this->login = $login; - - return $this; - } - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getEmail(): string - { - return $this->email; - } - - public function setEmail(string $email): self - { - $this->initialized['email'] = true; - $this->email = $email; - - return $this; - } - - public function getFullName(): string - { - return $this->fullName; - } - - public function setFullName(string $fullName): self - { - $this->initialized['fullName'] = true; - $this->fullName = $fullName; - - return $this; - } - - public function getInviteToken(): string - { - return $this->inviteToken; - } - - public function setInviteToken(string $inviteToken): self - { - $this->initialized['inviteToken'] = true; - $this->inviteToken = $inviteToken; - - return $this; - } - - public function getCampaignSource(): string - { - return $this->campaignSource; - } - - public function setCampaignSource(string $campaignSource): self - { - $this->initialized['campaignSource'] = true; - $this->campaignSource = $campaignSource; - - return $this; - } -} diff --git a/lib/Model/CurrencyList.php b/lib/Model/CurrencyList.php deleted file mode 100644 index cf7dc7f..0000000 --- a/lib/Model/CurrencyList.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $supportedCurrencies; - - /** - * @return list - */ - public function getSupportedCurrencies(): array - { - return $this->supportedCurrencies; - } - - /** - * @param list $supportedCurrencies - */ - public function setSupportedCurrencies(array $supportedCurrencies): self - { - $this->initialized['supportedCurrencies'] = true; - $this->supportedCurrencies = $supportedCurrencies; - - return $this; - } -} diff --git a/lib/Model/CustomDomain.php b/lib/Model/CustomDomain.php deleted file mode 100644 index 25d73ba..0000000 --- a/lib/Model/CustomDomain.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $organizationGuid; - /** - * @var string - */ - protected $customDomain; - - public function getOrganizationGuid(): string - { - return $this->organizationGuid; - } - - public function setOrganizationGuid(string $organizationGuid): self - { - $this->initialized['organizationGuid'] = true; - $this->organizationGuid = $organizationGuid; - - return $this; - } - - public function getCustomDomain(): string - { - return $this->customDomain; - } - - public function setCustomDomain(string $customDomain): self - { - $this->initialized['customDomain'] = true; - $this->customDomain = $customDomain; - - return $this; - } -} diff --git a/lib/Model/CustomDomainBody.php b/lib/Model/CustomDomainBody.php deleted file mode 100644 index 18bc709..0000000 --- a/lib/Model/CustomDomainBody.php +++ /dev/null @@ -1,333 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $customDomain; - /** - * @var bool - */ - protected $isActive; - /** - * @var list - */ - protected $groupGuids; - /** - * @var string - */ - protected $sslConfigurationError; - /** - * @var string - */ - protected $configurationLastCheckTs; - /** - * @var string - */ - protected $rootRedirect; - /** - * @var bool - */ - protected $httpsBitlinks; - /** - * @var bool - */ - protected $sslAutoconfigureError; - /** - * @var bool - */ - protected $httpsEnabled; - /** - * @var bool - */ - protected $hstsEnabled; - /** - * @var int - */ - protected $created; - /** - * @var string - */ - protected $wildcardRedirect; - /** - * @var string - */ - protected $validationStatus; - /** - * @var string - */ - protected $validationError; - /** - * @var list - */ - protected $deeplinkApps; - /** - * @var bool - */ - protected $upgradeInsecureRequests; - /** - * SSL Certification. - * - * @var PublicSSLCert - */ - protected $sslCert; - - public function getCustomDomain(): string - { - return $this->customDomain; - } - - public function setCustomDomain(string $customDomain): self - { - $this->initialized['customDomain'] = true; - $this->customDomain = $customDomain; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - /** - * @return list - */ - public function getGroupGuids(): array - { - return $this->groupGuids; - } - - /** - * @param list $groupGuids - */ - public function setGroupGuids(array $groupGuids): self - { - $this->initialized['groupGuids'] = true; - $this->groupGuids = $groupGuids; - - return $this; - } - - public function getSslConfigurationError(): string - { - return $this->sslConfigurationError; - } - - public function setSslConfigurationError(string $sslConfigurationError): self - { - $this->initialized['sslConfigurationError'] = true; - $this->sslConfigurationError = $sslConfigurationError; - - return $this; - } - - public function getConfigurationLastCheckTs(): string - { - return $this->configurationLastCheckTs; - } - - public function setConfigurationLastCheckTs(string $configurationLastCheckTs): self - { - $this->initialized['configurationLastCheckTs'] = true; - $this->configurationLastCheckTs = $configurationLastCheckTs; - - return $this; - } - - public function getRootRedirect(): string - { - return $this->rootRedirect; - } - - public function setRootRedirect(string $rootRedirect): self - { - $this->initialized['rootRedirect'] = true; - $this->rootRedirect = $rootRedirect; - - return $this; - } - - public function getHttpsBitlinks(): bool - { - return $this->httpsBitlinks; - } - - public function setHttpsBitlinks(bool $httpsBitlinks): self - { - $this->initialized['httpsBitlinks'] = true; - $this->httpsBitlinks = $httpsBitlinks; - - return $this; - } - - public function getSslAutoconfigureError(): bool - { - return $this->sslAutoconfigureError; - } - - public function setSslAutoconfigureError(bool $sslAutoconfigureError): self - { - $this->initialized['sslAutoconfigureError'] = true; - $this->sslAutoconfigureError = $sslAutoconfigureError; - - return $this; - } - - public function getHttpsEnabled(): bool - { - return $this->httpsEnabled; - } - - public function setHttpsEnabled(bool $httpsEnabled): self - { - $this->initialized['httpsEnabled'] = true; - $this->httpsEnabled = $httpsEnabled; - - return $this; - } - - public function getHstsEnabled(): bool - { - return $this->hstsEnabled; - } - - public function setHstsEnabled(bool $hstsEnabled): self - { - $this->initialized['hstsEnabled'] = true; - $this->hstsEnabled = $hstsEnabled; - - return $this; - } - - public function getCreated(): int - { - return $this->created; - } - - public function setCreated(int $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getWildcardRedirect(): string - { - return $this->wildcardRedirect; - } - - public function setWildcardRedirect(string $wildcardRedirect): self - { - $this->initialized['wildcardRedirect'] = true; - $this->wildcardRedirect = $wildcardRedirect; - - return $this; - } - - public function getValidationStatus(): string - { - return $this->validationStatus; - } - - public function setValidationStatus(string $validationStatus): self - { - $this->initialized['validationStatus'] = true; - $this->validationStatus = $validationStatus; - - return $this; - } - - public function getValidationError(): string - { - return $this->validationError; - } - - public function setValidationError(string $validationError): self - { - $this->initialized['validationError'] = true; - $this->validationError = $validationError; - - return $this; - } - - /** - * @return list - */ - public function getDeeplinkApps(): array - { - return $this->deeplinkApps; - } - - /** - * @param list $deeplinkApps - */ - public function setDeeplinkApps(array $deeplinkApps): self - { - $this->initialized['deeplinkApps'] = true; - $this->deeplinkApps = $deeplinkApps; - - return $this; - } - - public function getUpgradeInsecureRequests(): bool - { - return $this->upgradeInsecureRequests; - } - - public function setUpgradeInsecureRequests(bool $upgradeInsecureRequests): self - { - $this->initialized['upgradeInsecureRequests'] = true; - $this->upgradeInsecureRequests = $upgradeInsecureRequests; - - return $this; - } - - /** - * SSL Certification. - */ - public function getSslCert(): PublicSSLCert - { - return $this->sslCert; - } - - /** - * SSL Certification. - */ - public function setSslCert(PublicSSLCert $sslCert): self - { - $this->initialized['sslCert'] = true; - $this->sslCert = $sslCert; - - return $this; - } -} diff --git a/lib/Model/CustomDomains.php b/lib/Model/CustomDomains.php deleted file mode 100644 index 13f7ef7..0000000 --- a/lib/Model/CustomDomains.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $customDomains; - - /** - * @return list - */ - public function getCustomDomains(): array - { - return $this->customDomains; - } - - /** - * @param list $customDomains - */ - public function setCustomDomains(array $customDomains): self - { - $this->initialized['customDomains'] = true; - $this->customDomains = $customDomains; - - return $this; - } -} diff --git a/lib/Model/DataExportQuery.php b/lib/Model/DataExportQuery.php deleted file mode 100644 index 03a9ba2..0000000 --- a/lib/Model/DataExportQuery.php +++ /dev/null @@ -1,456 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $reportType; - /** - * @var list - */ - protected $emails; - /** - * @var int - */ - protected $createdBefore; - /** - * @var int - */ - protected $createdAfter; - /** - * @var int - */ - protected $modifiedAfter; - /** - * @var string - */ - protected $query; - /** - * @var string - */ - protected $keyword; - /** - * @var string - */ - protected $archived; - /** - * @var string - */ - protected $linkDeeplinks; - /** - * @var string - */ - protected $customBitlink; - /** - * @var list - */ - protected $creatingLogins; - /** - * @var string - */ - protected $isCustomized; - /** - * @var string - */ - protected $isGs1; - /** - * @var list - */ - protected $qrcTypes; - /** - * @var list - */ - protected $tags; - /** - * @var list - */ - protected $campaignIds; - /** - * @var string - */ - protected $unit; - /** - * @var int - */ - protected $units; - /** - * @var int - */ - protected $unitReference; - /** - * Includes the maximum available history for the user in the report. Default is false. - * - * @var bool - */ - protected $includeMaxHistory; - /** - * The minimum number of clicks a link must have in order to be included in the report during their max history. Default is 0 which means all links are included. For example, value of 100 means only links at least a 100 clicks during this time period (max history) will be included in the report. - * - * @var int - */ - protected $maxHistoryMinimumCount; - /** - * Parameters for custom metrics column in the report. Each entry in the array will result in a new metrics column in the report. - * - * @var list - */ - protected $metricsColumns; - - public function getReportType(): string - { - return $this->reportType; - } - - public function setReportType(string $reportType): self - { - $this->initialized['reportType'] = true; - $this->reportType = $reportType; - - return $this; - } - - /** - * @return list - */ - public function getEmails(): array - { - return $this->emails; - } - - /** - * @param list $emails - */ - public function setEmails(array $emails): self - { - $this->initialized['emails'] = true; - $this->emails = $emails; - - return $this; - } - - public function getCreatedBefore(): int - { - return $this->createdBefore; - } - - public function setCreatedBefore(int $createdBefore): self - { - $this->initialized['createdBefore'] = true; - $this->createdBefore = $createdBefore; - - return $this; - } - - public function getCreatedAfter(): int - { - return $this->createdAfter; - } - - public function setCreatedAfter(int $createdAfter): self - { - $this->initialized['createdAfter'] = true; - $this->createdAfter = $createdAfter; - - return $this; - } - - public function getModifiedAfter(): int - { - return $this->modifiedAfter; - } - - public function setModifiedAfter(int $modifiedAfter): self - { - $this->initialized['modifiedAfter'] = true; - $this->modifiedAfter = $modifiedAfter; - - return $this; - } - - public function getQuery(): string - { - return $this->query; - } - - public function setQuery(string $query): self - { - $this->initialized['query'] = true; - $this->query = $query; - - return $this; - } - - public function getKeyword(): string - { - return $this->keyword; - } - - public function setKeyword(string $keyword): self - { - $this->initialized['keyword'] = true; - $this->keyword = $keyword; - - return $this; - } - - public function getArchived(): string - { - return $this->archived; - } - - public function setArchived(string $archived): self - { - $this->initialized['archived'] = true; - $this->archived = $archived; - - return $this; - } - - public function getLinkDeeplinks(): string - { - return $this->linkDeeplinks; - } - - public function setLinkDeeplinks(string $linkDeeplinks): self - { - $this->initialized['linkDeeplinks'] = true; - $this->linkDeeplinks = $linkDeeplinks; - - return $this; - } - - public function getCustomBitlink(): string - { - return $this->customBitlink; - } - - public function setCustomBitlink(string $customBitlink): self - { - $this->initialized['customBitlink'] = true; - $this->customBitlink = $customBitlink; - - return $this; - } - - /** - * @return list - */ - public function getCreatingLogins(): array - { - return $this->creatingLogins; - } - - /** - * @param list $creatingLogins - */ - public function setCreatingLogins(array $creatingLogins): self - { - $this->initialized['creatingLogins'] = true; - $this->creatingLogins = $creatingLogins; - - return $this; - } - - public function getIsCustomized(): string - { - return $this->isCustomized; - } - - public function setIsCustomized(string $isCustomized): self - { - $this->initialized['isCustomized'] = true; - $this->isCustomized = $isCustomized; - - return $this; - } - - public function getIsGs1(): string - { - return $this->isGs1; - } - - public function setIsGs1(string $isGs1): self - { - $this->initialized['isGs1'] = true; - $this->isGs1 = $isGs1; - - return $this; - } - - /** - * @return list - */ - public function getQrcTypes(): array - { - return $this->qrcTypes; - } - - /** - * @param list $qrcTypes - */ - public function setQrcTypes(array $qrcTypes): self - { - $this->initialized['qrcTypes'] = true; - $this->qrcTypes = $qrcTypes; - - return $this; - } - - /** - * @return list - */ - public function getTags(): array - { - return $this->tags; - } - - /** - * @param list $tags - */ - public function setTags(array $tags): self - { - $this->initialized['tags'] = true; - $this->tags = $tags; - - return $this; - } - - /** - * @return list - */ - public function getCampaignIds(): array - { - return $this->campaignIds; - } - - /** - * @param list $campaignIds - */ - public function setCampaignIds(array $campaignIds): self - { - $this->initialized['campaignIds'] = true; - $this->campaignIds = $campaignIds; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnitReference(): int - { - return $this->unitReference; - } - - public function setUnitReference(int $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - /** - * Includes the maximum available history for the user in the report. Default is false. - */ - public function getIncludeMaxHistory(): bool - { - return $this->includeMaxHistory; - } - - /** - * Includes the maximum available history for the user in the report. Default is false. - */ - public function setIncludeMaxHistory(bool $includeMaxHistory): self - { - $this->initialized['includeMaxHistory'] = true; - $this->includeMaxHistory = $includeMaxHistory; - - return $this; - } - - /** - * The minimum number of clicks a link must have in order to be included in the report during their max history. Default is 0 which means all links are included. For example, value of 100 means only links at least a 100 clicks during this time period (max history) will be included in the report. - */ - public function getMaxHistoryMinimumCount(): int - { - return $this->maxHistoryMinimumCount; - } - - /** - * The minimum number of clicks a link must have in order to be included in the report during their max history. Default is 0 which means all links are included. For example, value of 100 means only links at least a 100 clicks during this time period (max history) will be included in the report. - */ - public function setMaxHistoryMinimumCount(int $maxHistoryMinimumCount): self - { - $this->initialized['maxHistoryMinimumCount'] = true; - $this->maxHistoryMinimumCount = $maxHistoryMinimumCount; - - return $this; - } - - /** - * Parameters for custom metrics column in the report. Each entry in the array will result in a new metrics column in the report. - * - * @return list - */ - public function getMetricsColumns(): array - { - return $this->metricsColumns; - } - - /** - * Parameters for custom metrics column in the report. Each entry in the array will result in a new metrics column in the report. - * - * @param list $metricsColumns - */ - public function setMetricsColumns(array $metricsColumns): self - { - $this->initialized['metricsColumns'] = true; - $this->metricsColumns = $metricsColumns; - - return $this; - } -} diff --git a/lib/Model/DayEngagements.php b/lib/Model/DayEngagements.php deleted file mode 100644 index 81dc7ff..0000000 --- a/lib/Model/DayEngagements.php +++ /dev/null @@ -1,109 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $date; - /** - * @var float - */ - protected $clicks; - /** - * @var float - */ - protected $scans; - /** - * @var float - */ - protected $buttonClicks; - /** - * @var float - */ - protected $total; - - public function getDate(): string - { - return $this->date; - } - - public function setDate(string $date): self - { - $this->initialized['date'] = true; - $this->date = $date; - - return $this; - } - - public function getClicks(): float - { - return $this->clicks; - } - - public function setClicks(float $clicks): self - { - $this->initialized['clicks'] = true; - $this->clicks = $clicks; - - return $this; - } - - public function getScans(): float - { - return $this->scans; - } - - public function setScans(float $scans): self - { - $this->initialized['scans'] = true; - $this->scans = $scans; - - return $this; - } - - public function getButtonClicks(): float - { - return $this->buttonClicks; - } - - public function setButtonClicks(float $buttonClicks): self - { - $this->initialized['buttonClicks'] = true; - $this->buttonClicks = $buttonClicks; - - return $this; - } - - public function getTotal(): float - { - return $this->total; - } - - public function setTotal(float $total): self - { - $this->initialized['total'] = true; - $this->total = $total; - - return $this; - } -} diff --git a/lib/Model/DeactivateUser.php b/lib/Model/DeactivateUser.php deleted file mode 100644 index 42e1afb..0000000 --- a/lib/Model/DeactivateUser.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var DeactivateUserFeedback - */ - protected $feedback; - /** - * @var string - */ - protected $confirmText; - - public function getFeedback(): DeactivateUserFeedback - { - return $this->feedback; - } - - public function setFeedback(DeactivateUserFeedback $feedback): self - { - $this->initialized['feedback'] = true; - $this->feedback = $feedback; - - return $this; - } - - public function getConfirmText(): string - { - return $this->confirmText; - } - - public function setConfirmText(string $confirmText): self - { - $this->initialized['confirmText'] = true; - $this->confirmText = $confirmText; - - return $this; - } -} diff --git a/lib/Model/DeactivateUserFeedback.php b/lib/Model/DeactivateUserFeedback.php deleted file mode 100644 index ccdc24d..0000000 --- a/lib/Model/DeactivateUserFeedback.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $selection; - /** - * @var string - */ - protected $optionalText; - - public function getSelection(): string - { - return $this->selection; - } - - public function setSelection(string $selection): self - { - $this->initialized['selection'] = true; - $this->selection = $selection; - - return $this; - } - - public function getOptionalText(): string - { - return $this->optionalText; - } - - public function setOptionalText(string $optionalText): self - { - $this->initialized['optionalText'] = true; - $this->optionalText = $optionalText; - - return $this; - } -} diff --git a/lib/Model/DecideRequest.php b/lib/Model/DecideRequest.php deleted file mode 100644 index 517232d..0000000 --- a/lib/Model/DecideRequest.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $flag; - /** - * @var string - */ - protected $orgGuid; - /** - * @var string - */ - protected $action; - - public function getFlag(): string - { - return $this->flag; - } - - public function setFlag(string $flag): self - { - $this->initialized['flag'] = true; - $this->flag = $flag; - - return $this; - } - - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - public function getAction(): string - { - return $this->action; - } - - public function setAction(string $action): self - { - $this->initialized['action'] = true; - $this->action = $action; - - return $this; - } -} diff --git a/lib/Model/DecideResponse.php b/lib/Model/DecideResponse.php deleted file mode 100644 index bc1a9a9..0000000 --- a/lib/Model/DecideResponse.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $variationKey; - /** - * @var bool - */ - protected $enabled; - - public function getVariationKey(): string - { - return $this->variationKey; - } - - public function setVariationKey(string $variationKey): self - { - $this->initialized['variationKey'] = true; - $this->variationKey = $variationKey; - - return $this; - } - - public function getEnabled(): bool - { - return $this->enabled; - } - - public function setEnabled(bool $enabled): self - { - $this->initialized['enabled'] = true; - $this->enabled = $enabled; - - return $this; - } -} diff --git a/lib/Model/DeeplinkApp.php b/lib/Model/DeeplinkApp.php deleted file mode 100644 index 6d68031..0000000 --- a/lib/Model/DeeplinkApp.php +++ /dev/null @@ -1,251 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $guid; - /** - * @var string - */ - protected $organizationGuid; - /** - * @var string - */ - protected $thirdPartyAppId; - /** - * @var string - */ - protected $scheme; - /** - * @var string - */ - protected $name; - /** - * @var string - */ - protected $iconUrl; - /** - * @var string - */ - protected $installUrl; - /** - * @var string - */ - protected $os; - /** - * @var string - */ - protected $modifiedTs; - /** - * @var string - */ - protected $createdTs; - /** - * @var string - */ - protected $legacyAppId; - /** - * @var string - */ - protected $appleAppEntitlementId; - /** - * @var list - */ - protected $androidSha256; - - public function getGuid(): string - { - return $this->guid; - } - - public function setGuid(string $guid): self - { - $this->initialized['guid'] = true; - $this->guid = $guid; - - return $this; - } - - public function getOrganizationGuid(): string - { - return $this->organizationGuid; - } - - public function setOrganizationGuid(string $organizationGuid): self - { - $this->initialized['organizationGuid'] = true; - $this->organizationGuid = $organizationGuid; - - return $this; - } - - public function getThirdPartyAppId(): string - { - return $this->thirdPartyAppId; - } - - public function setThirdPartyAppId(string $thirdPartyAppId): self - { - $this->initialized['thirdPartyAppId'] = true; - $this->thirdPartyAppId = $thirdPartyAppId; - - return $this; - } - - public function getScheme(): string - { - return $this->scheme; - } - - public function setScheme(string $scheme): self - { - $this->initialized['scheme'] = true; - $this->scheme = $scheme; - - return $this; - } - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getIconUrl(): string - { - return $this->iconUrl; - } - - public function setIconUrl(string $iconUrl): self - { - $this->initialized['iconUrl'] = true; - $this->iconUrl = $iconUrl; - - return $this; - } - - public function getInstallUrl(): string - { - return $this->installUrl; - } - - public function setInstallUrl(string $installUrl): self - { - $this->initialized['installUrl'] = true; - $this->installUrl = $installUrl; - - return $this; - } - - public function getOs(): string - { - return $this->os; - } - - public function setOs(string $os): self - { - $this->initialized['os'] = true; - $this->os = $os; - - return $this; - } - - public function getModifiedTs(): string - { - return $this->modifiedTs; - } - - public function setModifiedTs(string $modifiedTs): self - { - $this->initialized['modifiedTs'] = true; - $this->modifiedTs = $modifiedTs; - - return $this; - } - - public function getCreatedTs(): string - { - return $this->createdTs; - } - - public function setCreatedTs(string $createdTs): self - { - $this->initialized['createdTs'] = true; - $this->createdTs = $createdTs; - - return $this; - } - - public function getLegacyAppId(): string - { - return $this->legacyAppId; - } - - public function setLegacyAppId(string $legacyAppId): self - { - $this->initialized['legacyAppId'] = true; - $this->legacyAppId = $legacyAppId; - - return $this; - } - - public function getAppleAppEntitlementId(): string - { - return $this->appleAppEntitlementId; - } - - public function setAppleAppEntitlementId(string $appleAppEntitlementId): self - { - $this->initialized['appleAppEntitlementId'] = true; - $this->appleAppEntitlementId = $appleAppEntitlementId; - - return $this; - } - - /** - * @return list - */ - public function getAndroidSha256(): array - { - return $this->androidSha256; - } - - /** - * @param list $androidSha256 - */ - public function setAndroidSha256(array $androidSha256): self - { - $this->initialized['androidSha256'] = true; - $this->androidSha256 = $androidSha256; - - return $this; - } -} diff --git a/lib/Model/DeeplinkApps.php b/lib/Model/DeeplinkApps.php deleted file mode 100644 index 21b7ba3..0000000 --- a/lib/Model/DeeplinkApps.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $apps; - - /** - * @return list - */ - public function getApps(): array - { - return $this->apps; - } - - /** - * @param list $apps - */ - public function setApps(array $apps): self - { - $this->initialized['apps'] = true; - $this->apps = $apps; - - return $this; - } -} diff --git a/lib/Model/DeeplinkMetric.php b/lib/Model/DeeplinkMetric.php deleted file mode 100644 index 1f77103..0000000 --- a/lib/Model/DeeplinkMetric.php +++ /dev/null @@ -1,109 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $appOpens; - /** - * @var int - */ - protected $appInstalls; - /** - * @var int - */ - protected $storeVisits; - /** - * @var int - */ - protected $webOpens; - /** - * @var int - */ - protected $interstitalViews; - - public function getAppOpens(): int - { - return $this->appOpens; - } - - public function setAppOpens(int $appOpens): self - { - $this->initialized['appOpens'] = true; - $this->appOpens = $appOpens; - - return $this; - } - - public function getAppInstalls(): int - { - return $this->appInstalls; - } - - public function setAppInstalls(int $appInstalls): self - { - $this->initialized['appInstalls'] = true; - $this->appInstalls = $appInstalls; - - return $this; - } - - public function getStoreVisits(): int - { - return $this->storeVisits; - } - - public function setStoreVisits(int $storeVisits): self - { - $this->initialized['storeVisits'] = true; - $this->storeVisits = $storeVisits; - - return $this; - } - - public function getWebOpens(): int - { - return $this->webOpens; - } - - public function setWebOpens(int $webOpens): self - { - $this->initialized['webOpens'] = true; - $this->webOpens = $webOpens; - - return $this; - } - - public function getInterstitalViews(): int - { - return $this->interstitalViews; - } - - public function setInterstitalViews(int $interstitalViews): self - { - $this->initialized['interstitalViews'] = true; - $this->interstitalViews = $interstitalViews; - - return $this; - } -} diff --git a/lib/Model/DeeplinkMetricsRollup.php b/lib/Model/DeeplinkMetricsRollup.php deleted file mode 100644 index a04654b..0000000 --- a/lib/Model/DeeplinkMetricsRollup.php +++ /dev/null @@ -1,150 +0,0 @@ -initialized); - } - /** - * @var DeeplinkMetric - */ - protected $ios; - /** - * @var DeeplinkMetric - */ - protected $android; - /** - * @var DeeplinkMetric - */ - protected $other; - /** - * the unit of time queried for (minute, hour, day, week, month). - * - * @var string - */ - protected $unit = 'day'; - /** - * the number of units queried for. - * - * @var int - */ - protected $units = -1; - /** - * data returned up to this reference timestamp ISO-8601 format. - * - * @var string - */ - protected $unitReference; - - public function getIos(): DeeplinkMetric - { - return $this->ios; - } - - public function setIos(DeeplinkMetric $ios): self - { - $this->initialized['ios'] = true; - $this->ios = $ios; - - return $this; - } - - public function getAndroid(): DeeplinkMetric - { - return $this->android; - } - - public function setAndroid(DeeplinkMetric $android): self - { - $this->initialized['android'] = true; - $this->android = $android; - - return $this; - } - - public function getOther(): DeeplinkMetric - { - return $this->other; - } - - public function setOther(DeeplinkMetric $other): self - { - $this->initialized['other'] = true; - $this->other = $other; - - return $this; - } - - /** - * the unit of time queried for (minute, hour, day, week, month). - */ - public function getUnit(): string - { - return $this->unit; - } - - /** - * the unit of time queried for (minute, hour, day, week, month). - */ - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - /** - * the number of units queried for. - */ - public function getUnits(): int - { - return $this->units; - } - - /** - * the number of units queried for. - */ - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - /** - * data returned up to this reference timestamp ISO-8601 format. - */ - public function getUnitReference(): string - { - return $this->unitReference; - } - - /** - * data returned up to this reference timestamp ISO-8601 format. - */ - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } -} diff --git a/lib/Model/DeeplinkRules.php b/lib/Model/DeeplinkRules.php deleted file mode 100644 index e3ab8ec..0000000 --- a/lib/Model/DeeplinkRules.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $rules; - - /** - * @return list - */ - public function getRules(): array - { - return $this->rules; - } - - /** - * @param list $rules - */ - public function setRules(array $rules): self - { - $this->initialized['rules'] = true; - $this->rules = $rules; - - return $this; - } -} diff --git a/lib/Model/DefaultAccessFeature.php b/lib/Model/DefaultAccessFeature.php deleted file mode 100644 index 7bf5ccb..0000000 --- a/lib/Model/DefaultAccessFeature.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $name; - /** - * @var bool - */ - protected $hasAccess; - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getHasAccess(): bool - { - return $this->hasAccess; - } - - public function setHasAccess(bool $hasAccess): self - { - $this->initialized['hasAccess'] = true; - $this->hasAccess = $hasAccess; - - return $this; - } -} diff --git a/lib/Model/DefaultConsumableFeature.php b/lib/Model/DefaultConsumableFeature.php deleted file mode 100644 index abca6d8..0000000 --- a/lib/Model/DefaultConsumableFeature.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $name; - /** - * @var int - */ - protected $limit; - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getLimit(): int - { - return $this->limit; - } - - public function setLimit(int $limit): self - { - $this->initialized['limit'] = true; - $this->limit = $limit; - - return $this; - } -} diff --git a/lib/Model/DeletedQRCodeResponse.php b/lib/Model/DeletedQRCodeResponse.php deleted file mode 100644 index 26f97d2..0000000 --- a/lib/Model/DeletedQRCodeResponse.php +++ /dev/null @@ -1,49 +0,0 @@ -initialized); - } - /** - * The QR code's id, as a guid. - * - * @var string - */ - protected $qrcodeId; - - /** - * The QR code's id, as a guid. - */ - public function getQrcodeId(): string - { - return $this->qrcodeId; - } - - /** - * The QR code's id, as a guid. - */ - public function setQrcodeId(string $qrcodeId): self - { - $this->initialized['qrcodeId'] = true; - $this->qrcodeId = $qrcodeId; - - return $this; - } -} diff --git a/lib/Model/DeviceDownloadMetric.php b/lib/Model/DeviceDownloadMetric.php deleted file mode 100644 index 083aafa..0000000 --- a/lib/Model/DeviceDownloadMetric.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $downloads; - /** - * @var string - */ - protected $deviceType; - - public function getDownloads(): int - { - return $this->downloads; - } - - public function setDownloads(int $downloads): self - { - $this->initialized['downloads'] = true; - $this->downloads = $downloads; - - return $this; - } - - public function getDeviceType(): string - { - return $this->deviceType; - } - - public function setDeviceType(string $deviceType): self - { - $this->initialized['deviceType'] = true; - $this->deviceType = $deviceType; - - return $this; - } -} diff --git a/lib/Model/DeviceDownloadMetrics.php b/lib/Model/DeviceDownloadMetrics.php deleted file mode 100644 index 8d37791..0000000 --- a/lib/Model/DeviceDownloadMetrics.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $metrics; - /** - * @var int - */ - protected $size; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unit; - /** - * @var string - */ - protected $unitReference; - /** - * @var string - */ - protected $facet; - - /** - * @return list - */ - public function getMetrics(): array - { - return $this->metrics; - } - - /** - * @param list $metrics - */ - public function setMetrics(array $metrics): self - { - $this->initialized['metrics'] = true; - $this->metrics = $metrics; - - return $this; - } - - public function getSize(): int - { - return $this->size; - } - - public function setSize(int $size): self - { - $this->initialized['size'] = true; - $this->size = $size; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - public function getFacet(): string - { - return $this->facet; - } - - public function setFacet(string $facet): self - { - $this->initialized['facet'] = true; - $this->facet = $facet; - - return $this; - } -} diff --git a/lib/Model/DigitalBusinessCardContact.php b/lib/Model/DigitalBusinessCardContact.php deleted file mode 100644 index 4193720..0000000 --- a/lib/Model/DigitalBusinessCardContact.php +++ /dev/null @@ -1,109 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $contactMethod; - /** - * @var string - */ - protected $methodType; - /** - * @var string - */ - protected $value; - /** - * @var int - */ - protected $sortOrder; - /** - * @var string - */ - protected $bitlinkId; - - public function getContactMethod(): string - { - return $this->contactMethod; - } - - public function setContactMethod(string $contactMethod): self - { - $this->initialized['contactMethod'] = true; - $this->contactMethod = $contactMethod; - - return $this; - } - - public function getMethodType(): string - { - return $this->methodType; - } - - public function setMethodType(string $methodType): self - { - $this->initialized['methodType'] = true; - $this->methodType = $methodType; - - return $this; - } - - public function getValue(): string - { - return $this->value; - } - - public function setValue(string $value): self - { - $this->initialized['value'] = true; - $this->value = $value; - - return $this; - } - - public function getSortOrder(): int - { - return $this->sortOrder; - } - - public function setSortOrder(int $sortOrder): self - { - $this->initialized['sortOrder'] = true; - $this->sortOrder = $sortOrder; - - return $this; - } - - public function getBitlinkId(): string - { - return $this->bitlinkId; - } - - public function setBitlinkId(string $bitlinkId): self - { - $this->initialized['bitlinkId'] = true; - $this->bitlinkId = $bitlinkId; - - return $this; - } -} diff --git a/lib/Model/DigitalBusinessCardContent.php b/lib/Model/DigitalBusinessCardContent.php deleted file mode 100644 index 02ef319..0000000 --- a/lib/Model/DigitalBusinessCardContent.php +++ /dev/null @@ -1,217 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $digitalBusinessCardId; - /** - * @var string - */ - protected $linkTitle; - /** - * @var string - */ - protected $layout; - /** - * @var string - */ - protected $firstName; - /** - * @var string - */ - protected $lastName; - /** - * @var string - */ - protected $pronouns; - /** - * @var string - */ - protected $company; - /** - * @var string - */ - protected $jobTitle; - /** - * @var list - */ - protected $contacts; - /** - * @var bool - */ - protected $downloadEnabled; - /** - * @var DigitalBusinessCardContentFile - */ - protected $file; - - public function getDigitalBusinessCardId(): string - { - return $this->digitalBusinessCardId; - } - - public function setDigitalBusinessCardId(string $digitalBusinessCardId): self - { - $this->initialized['digitalBusinessCardId'] = true; - $this->digitalBusinessCardId = $digitalBusinessCardId; - - return $this; - } - - public function getLinkTitle(): string - { - return $this->linkTitle; - } - - public function setLinkTitle(string $linkTitle): self - { - $this->initialized['linkTitle'] = true; - $this->linkTitle = $linkTitle; - - return $this; - } - - public function getLayout(): string - { - return $this->layout; - } - - public function setLayout(string $layout): self - { - $this->initialized['layout'] = true; - $this->layout = $layout; - - return $this; - } - - public function getFirstName(): string - { - return $this->firstName; - } - - public function setFirstName(string $firstName): self - { - $this->initialized['firstName'] = true; - $this->firstName = $firstName; - - return $this; - } - - public function getLastName(): string - { - return $this->lastName; - } - - public function setLastName(string $lastName): self - { - $this->initialized['lastName'] = true; - $this->lastName = $lastName; - - return $this; - } - - public function getPronouns(): string - { - return $this->pronouns; - } - - public function setPronouns(string $pronouns): self - { - $this->initialized['pronouns'] = true; - $this->pronouns = $pronouns; - - return $this; - } - - public function getCompany(): string - { - return $this->company; - } - - public function setCompany(string $company): self - { - $this->initialized['company'] = true; - $this->company = $company; - - return $this; - } - - public function getJobTitle(): string - { - return $this->jobTitle; - } - - public function setJobTitle(string $jobTitle): self - { - $this->initialized['jobTitle'] = true; - $this->jobTitle = $jobTitle; - - return $this; - } - - /** - * @return list - */ - public function getContacts(): array - { - return $this->contacts; - } - - /** - * @param list $contacts - */ - public function setContacts(array $contacts): self - { - $this->initialized['contacts'] = true; - $this->contacts = $contacts; - - return $this; - } - - public function getDownloadEnabled(): bool - { - return $this->downloadEnabled; - } - - public function setDownloadEnabled(bool $downloadEnabled): self - { - $this->initialized['downloadEnabled'] = true; - $this->downloadEnabled = $downloadEnabled; - - return $this; - } - - public function getFile(): DigitalBusinessCardContentFile - { - return $this->file; - } - - public function setFile(DigitalBusinessCardContentFile $file): self - { - $this->initialized['file'] = true; - $this->file = $file; - - return $this; - } -} diff --git a/lib/Model/DigitalBusinessCardContentFile.php b/lib/Model/DigitalBusinessCardContentFile.php deleted file mode 100644 index a5740dd..0000000 --- a/lib/Model/DigitalBusinessCardContentFile.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $fileName; - /** - * @var string - */ - protected $data; - - public function getFileName(): string - { - return $this->fileName; - } - - public function setFileName(string $fileName): self - { - $this->initialized['fileName'] = true; - $this->fileName = $fileName; - - return $this; - } - - public function getData(): string - { - return $this->data; - } - - public function setData(string $data): self - { - $this->initialized['data'] = true; - $this->data = $data; - - return $this; - } -} diff --git a/lib/Model/DomainAgreement.php b/lib/Model/DomainAgreement.php deleted file mode 100644 index ebb21c4..0000000 --- a/lib/Model/DomainAgreement.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $agreementKey; - /** - * @var string - */ - protected $content; - /** - * @var string - */ - protected $title; - /** - * @var string - */ - protected $url; - - public function getAgreementKey(): string - { - return $this->agreementKey; - } - - public function setAgreementKey(string $agreementKey): self - { - $this->initialized['agreementKey'] = true; - $this->agreementKey = $agreementKey; - - return $this; - } - - public function getContent(): string - { - return $this->content; - } - - public function setContent(string $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } - - public function getUrl(): string - { - return $this->url; - } - - public function setUrl(string $url): self - { - $this->initialized['url'] = true; - $this->url = $url; - - return $this; - } -} diff --git a/lib/Model/DomainAgreements.php b/lib/Model/DomainAgreements.php deleted file mode 100644 index 71b3ff7..0000000 --- a/lib/Model/DomainAgreements.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $domainAgreements; - - /** - * @return list - */ - public function getDomainAgreements(): array - { - return $this->domainAgreements; - } - - /** - * @param list $domainAgreements - */ - public function setDomainAgreements(array $domainAgreements): self - { - $this->initialized['domainAgreements'] = true; - $this->domainAgreements = $domainAgreements; - - return $this; - } -} diff --git a/lib/Model/DomainDNS.php b/lib/Model/DomainDNS.php deleted file mode 100644 index fedc157..0000000 --- a/lib/Model/DomainDNS.php +++ /dev/null @@ -1,153 +0,0 @@ -initialized); - } - /** - * the requested domain. - * - * @var string - */ - protected $domain; - /** - * the detected DNS provider for the requested domain. - * - * @var string - */ - protected $dnsProvider; - /** - * the type of DNS record returned. - * - * @var string - */ - protected $type; - /** - * the records returned by the lookup. - * - * @var list - */ - protected $records; - /** - * whether the returned records represent a valid configuration. - * - * @var bool - */ - protected $recordsValid; - - /** - * the requested domain. - */ - public function getDomain(): string - { - return $this->domain; - } - - /** - * the requested domain. - */ - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - /** - * the detected DNS provider for the requested domain. - */ - public function getDnsProvider(): string - { - return $this->dnsProvider; - } - - /** - * the detected DNS provider for the requested domain. - */ - public function setDnsProvider(string $dnsProvider): self - { - $this->initialized['dnsProvider'] = true; - $this->dnsProvider = $dnsProvider; - - return $this; - } - - /** - * the type of DNS record returned. - */ - public function getType(): string - { - return $this->type; - } - - /** - * the type of DNS record returned. - */ - public function setType(string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * the records returned by the lookup. - * - * @return list - */ - public function getRecords(): array - { - return $this->records; - } - - /** - * the records returned by the lookup. - * - * @param list $records - */ - public function setRecords(array $records): self - { - $this->initialized['records'] = true; - $this->records = $records; - - return $this; - } - - /** - * whether the returned records represent a valid configuration. - */ - public function getRecordsValid(): bool - { - return $this->recordsValid; - } - - /** - * whether the returned records represent a valid configuration. - */ - public function setRecordsValid(bool $recordsValid): self - { - $this->initialized['recordsValid'] = true; - $this->recordsValid = $recordsValid; - - return $this; - } -} diff --git a/lib/Model/DomainPurchase.php b/lib/Model/DomainPurchase.php deleted file mode 100644 index 3493435..0000000 --- a/lib/Model/DomainPurchase.php +++ /dev/null @@ -1,117 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $domain; - /** - * @var int - */ - protected $orderId; - /** - * @var string - */ - protected $vendor; - /** - * @var string - */ - protected $orgGuid; - /** - * ISO timestamp. - * - * @var string - */ - protected $created; - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - public function getOrderId(): int - { - return $this->orderId; - } - - public function setOrderId(int $orderId): self - { - $this->initialized['orderId'] = true; - $this->orderId = $orderId; - - return $this; - } - - public function getVendor(): string - { - return $this->vendor; - } - - public function setVendor(string $vendor): self - { - $this->initialized['vendor'] = true; - $this->vendor = $vendor; - - return $this; - } - - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - /** - * ISO timestamp. - */ - public function getCreated(): string - { - return $this->created; - } - - /** - * ISO timestamp. - */ - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } -} diff --git a/lib/Model/DomainRegistrarInfo.php b/lib/Model/DomainRegistrarInfo.php deleted file mode 100644 index e463720..0000000 --- a/lib/Model/DomainRegistrarInfo.php +++ /dev/null @@ -1,174 +0,0 @@ -initialized); - } - /** - * name of the requested domain. - * - * @var string - */ - protected $domain; - /** - * processing status of the domain. - * - * @var string - */ - protected $status; - /** - * whether the domain is configured to automatically renew. - * - * @var bool - */ - protected $renewAuto; - /** - * date the domain must renew by. - * - * @var string - */ - protected $renewDeadline; - /** - * when the domain will expire. - * - * @var string - */ - protected $expires; - /** - * whether the domain is protected from expiration. - * - * @var bool - */ - protected $expirationProtected; - - /** - * name of the requested domain. - */ - public function getDomain(): string - { - return $this->domain; - } - - /** - * name of the requested domain. - */ - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - /** - * processing status of the domain. - */ - public function getStatus(): string - { - return $this->status; - } - - /** - * processing status of the domain. - */ - public function setStatus(string $status): self - { - $this->initialized['status'] = true; - $this->status = $status; - - return $this; - } - - /** - * whether the domain is configured to automatically renew. - */ - public function getRenewAuto(): bool - { - return $this->renewAuto; - } - - /** - * whether the domain is configured to automatically renew. - */ - public function setRenewAuto(bool $renewAuto): self - { - $this->initialized['renewAuto'] = true; - $this->renewAuto = $renewAuto; - - return $this; - } - - /** - * date the domain must renew by. - */ - public function getRenewDeadline(): string - { - return $this->renewDeadline; - } - - /** - * date the domain must renew by. - */ - public function setRenewDeadline(string $renewDeadline): self - { - $this->initialized['renewDeadline'] = true; - $this->renewDeadline = $renewDeadline; - - return $this; - } - - /** - * when the domain will expire. - */ - public function getExpires(): string - { - return $this->expires; - } - - /** - * when the domain will expire. - */ - public function setExpires(string $expires): self - { - $this->initialized['expires'] = true; - $this->expires = $expires; - - return $this; - } - - /** - * whether the domain is protected from expiration. - */ - public function getExpirationProtected(): bool - { - return $this->expirationProtected; - } - - /** - * whether the domain is protected from expiration. - */ - public function setExpirationProtected(bool $expirationProtected): self - { - $this->initialized['expirationProtected'] = true; - $this->expirationProtected = $expirationProtected; - - return $this; - } -} diff --git a/lib/Model/DomainStatus.php b/lib/Model/DomainStatus.php deleted file mode 100644 index 62399ed..0000000 --- a/lib/Model/DomainStatus.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $domain; - /** - * @var string - */ - protected $zone; - /** - * @var string - */ - protected $status; - /** - * @var string - */ - protected $price; - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - public function getZone(): string - { - return $this->zone; - } - - public function setZone(string $zone): self - { - $this->initialized['zone'] = true; - $this->zone = $zone; - - return $this; - } - - public function getStatus(): string - { - return $this->status; - } - - public function setStatus(string $status): self - { - $this->initialized['status'] = true; - $this->status = $status; - - return $this; - } - - public function getPrice(): string - { - return $this->price; - } - - public function setPrice(string $price): self - { - $this->initialized['price'] = true; - $this->price = $price; - - return $this; - } -} diff --git a/lib/Model/DomainUpdate.php b/lib/Model/DomainUpdate.php deleted file mode 100644 index 8272969..0000000 --- a/lib/Model/DomainUpdate.php +++ /dev/null @@ -1,109 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $rootRedirect; - /** - * @var string - */ - protected $wildcardRedirect; - /** - * @var bool - */ - protected $httpsEnabled; - /** - * @var bool - */ - protected $hstsEnabled; - /** - * @var bool - */ - protected $upgradeInsecureRequests; - - public function getRootRedirect(): string - { - return $this->rootRedirect; - } - - public function setRootRedirect(string $rootRedirect): self - { - $this->initialized['rootRedirect'] = true; - $this->rootRedirect = $rootRedirect; - - return $this; - } - - public function getWildcardRedirect(): string - { - return $this->wildcardRedirect; - } - - public function setWildcardRedirect(string $wildcardRedirect): self - { - $this->initialized['wildcardRedirect'] = true; - $this->wildcardRedirect = $wildcardRedirect; - - return $this; - } - - public function getHttpsEnabled(): bool - { - return $this->httpsEnabled; - } - - public function setHttpsEnabled(bool $httpsEnabled): self - { - $this->initialized['httpsEnabled'] = true; - $this->httpsEnabled = $httpsEnabled; - - return $this; - } - - public function getHstsEnabled(): bool - { - return $this->hstsEnabled; - } - - public function setHstsEnabled(bool $hstsEnabled): self - { - $this->initialized['hstsEnabled'] = true; - $this->hstsEnabled = $hstsEnabled; - - return $this; - } - - public function getUpgradeInsecureRequests(): bool - { - return $this->upgradeInsecureRequests; - } - - public function setUpgradeInsecureRequests(bool $upgradeInsecureRequests): self - { - $this->initialized['upgradeInsecureRequests'] = true; - $this->upgradeInsecureRequests = $upgradeInsecureRequests; - - return $this; - } -} diff --git a/lib/Model/DomainValidate.php b/lib/Model/DomainValidate.php deleted file mode 100644 index 3ea3005..0000000 --- a/lib/Model/DomainValidate.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $organizationGuid; - /** - * @var string - */ - protected $customDomain; - /** - * @var string - */ - protected $domain; - /** - * @var string - */ - protected $subdomain; - /** - * @var list - */ - protected $groupGuids; - /** - * @var bool - */ - protected $prevalidate; - - public function getOrganizationGuid(): string - { - return $this->organizationGuid; - } - - public function setOrganizationGuid(string $organizationGuid): self - { - $this->initialized['organizationGuid'] = true; - $this->organizationGuid = $organizationGuid; - - return $this; - } - - public function getCustomDomain(): string - { - return $this->customDomain; - } - - public function setCustomDomain(string $customDomain): self - { - $this->initialized['customDomain'] = true; - $this->customDomain = $customDomain; - - return $this; - } - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - public function getSubdomain(): string - { - return $this->subdomain; - } - - public function setSubdomain(string $subdomain): self - { - $this->initialized['subdomain'] = true; - $this->subdomain = $subdomain; - - return $this; - } - - /** - * @return list - */ - public function getGroupGuids(): array - { - return $this->groupGuids; - } - - /** - * @param list $groupGuids - */ - public function setGroupGuids(array $groupGuids): self - { - $this->initialized['groupGuids'] = true; - $this->groupGuids = $groupGuids; - - return $this; - } - - public function getPrevalidate(): bool - { - return $this->prevalidate; - } - - public function setPrevalidate(bool $prevalidate): self - { - $this->initialized['prevalidate'] = true; - $this->prevalidate = $prevalidate; - - return $this; - } -} diff --git a/lib/Model/DomainValidateBody.php b/lib/Model/DomainValidateBody.php deleted file mode 100644 index ecc4eab..0000000 --- a/lib/Model/DomainValidateBody.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $organizationGuid; - /** - * @var string - */ - protected $customDomain; - /** - * @var list - */ - protected $groupGuids; - /** - * @var bool - */ - protected $prevalidate; - - public function getOrganizationGuid(): string - { - return $this->organizationGuid; - } - - public function setOrganizationGuid(string $organizationGuid): self - { - $this->initialized['organizationGuid'] = true; - $this->organizationGuid = $organizationGuid; - - return $this; - } - - public function getCustomDomain(): string - { - return $this->customDomain; - } - - public function setCustomDomain(string $customDomain): self - { - $this->initialized['customDomain'] = true; - $this->customDomain = $customDomain; - - return $this; - } - - /** - * @return list - */ - public function getGroupGuids(): array - { - return $this->groupGuids; - } - - /** - * @param list $groupGuids - */ - public function setGroupGuids(array $groupGuids): self - { - $this->initialized['groupGuids'] = true; - $this->groupGuids = $groupGuids; - - return $this; - } - - public function getPrevalidate(): bool - { - return $this->prevalidate; - } - - public function setPrevalidate(bool $prevalidate): self - { - $this->initialized['prevalidate'] = true; - $this->prevalidate = $prevalidate; - - return $this; - } -} diff --git a/lib/Model/DowngradeOrgBody.php b/lib/Model/DowngradeOrgBody.php deleted file mode 100644 index 0cc62ee..0000000 --- a/lib/Model/DowngradeOrgBody.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $orgGuid; - /** - * @var string - */ - protected $accountNum; - /** - * @var string - */ - protected $termEndDate; - /** - * @var string - */ - protected $subscriptionNum; - - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - public function getAccountNum(): string - { - return $this->accountNum; - } - - public function setAccountNum(string $accountNum): self - { - $this->initialized['accountNum'] = true; - $this->accountNum = $accountNum; - - return $this; - } - - public function getTermEndDate(): string - { - return $this->termEndDate; - } - - public function setTermEndDate(string $termEndDate): self - { - $this->initialized['termEndDate'] = true; - $this->termEndDate = $termEndDate; - - return $this; - } - - public function getSubscriptionNum(): string - { - return $this->subscriptionNum; - } - - public function setSubscriptionNum(string $subscriptionNum): self - { - $this->initialized['subscriptionNum'] = true; - $this->subscriptionNum = $subscriptionNum; - - return $this; - } -} diff --git a/lib/Model/DownloadMetric.php b/lib/Model/DownloadMetric.php deleted file mode 100644 index 3fa12c4..0000000 --- a/lib/Model/DownloadMetric.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $downloads; - /** - * @var string - */ - protected $value; - - public function getDownloads(): int - { - return $this->downloads; - } - - public function setDownloads(int $downloads): self - { - $this->initialized['downloads'] = true; - $this->downloads = $downloads; - - return $this; - } - - public function getValue(): string - { - return $this->value; - } - - public function setValue(string $value): self - { - $this->initialized['value'] = true; - $this->value = $value; - - return $this; - } -} diff --git a/lib/Model/DownloadMetrics.php b/lib/Model/DownloadMetrics.php deleted file mode 100644 index c43f2fa..0000000 --- a/lib/Model/DownloadMetrics.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $metrics; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unit; - /** - * @var string - */ - protected $unitReference; - /** - * @var string - */ - protected $facet; - - /** - * @return list - */ - public function getMetrics(): array - { - return $this->metrics; - } - - /** - * @param list $metrics - */ - public function setMetrics(array $metrics): self - { - $this->initialized['metrics'] = true; - $this->metrics = $metrics; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - public function getFacet(): string - { - return $this->facet; - } - - public function setFacet(string $facet): self - { - $this->initialized['facet'] = true; - $this->facet = $facet; - - return $this; - } -} diff --git a/lib/Model/DownloadsOverTime.php b/lib/Model/DownloadsOverTime.php deleted file mode 100644 index 62d74c8..0000000 --- a/lib/Model/DownloadsOverTime.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $data; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unit; - /** - * @var int - */ - protected $unitReference; - - /** - * @return list - */ - public function getData(): array - { - return $this->data; - } - - /** - * @param list $data - */ - public function setData(array $data): self - { - $this->initialized['data'] = true; - $this->data = $data; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnitReference(): int - { - return $this->unitReference; - } - - public function setUnitReference(int $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } -} diff --git a/lib/Model/EmailBody.php b/lib/Model/EmailBody.php deleted file mode 100644 index 32043ed..0000000 --- a/lib/Model/EmailBody.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $email; - /** - * @var bool - */ - protected $isPrimary; - /** - * @var string - */ - protected $status; - - public function getEmail(): string - { - return $this->email; - } - - public function setEmail(string $email): self - { - $this->initialized['email'] = true; - $this->email = $email; - - return $this; - } - - public function getIsPrimary(): bool - { - return $this->isPrimary; - } - - public function setIsPrimary(bool $isPrimary): self - { - $this->initialized['isPrimary'] = true; - $this->isPrimary = $isPrimary; - - return $this; - } - - public function getStatus(): string - { - return $this->status; - } - - public function setStatus(string $status): self - { - $this->initialized['status'] = true; - $this->status = $status; - - return $this; - } -} diff --git a/lib/Model/EncodingLogin.php b/lib/Model/EncodingLogin.php deleted file mode 100644 index 4272ff0..0000000 --- a/lib/Model/EncodingLogin.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $encodingLogin; - - /** - * @return list - */ - public function getEncodingLogin(): array - { - return $this->encodingLogin; - } - - /** - * @param list $encodingLogin - */ - public function setEncodingLogin(array $encodingLogin): self - { - $this->initialized['encodingLogin'] = true; - $this->encodingLogin = $encodingLogin; - - return $this; - } -} diff --git a/lib/Model/Engagement.php b/lib/Model/Engagement.php deleted file mode 100644 index 7707c62..0000000 --- a/lib/Model/Engagement.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $libButtonClicks; - /** - * @var int - */ - protected $clicks; - /** - * @var int - */ - protected $scans; - - public function getLibButtonClicks(): int - { - return $this->libButtonClicks; - } - - public function setLibButtonClicks(int $libButtonClicks): self - { - $this->initialized['libButtonClicks'] = true; - $this->libButtonClicks = $libButtonClicks; - - return $this; - } - - public function getClicks(): int - { - return $this->clicks; - } - - public function setClicks(int $clicks): self - { - $this->initialized['clicks'] = true; - $this->clicks = $clicks; - - return $this; - } - - public function getScans(): int - { - return $this->scans; - } - - public function setScans(int $scans): self - { - $this->initialized['scans'] = true; - $this->scans = $scans; - - return $this; - } -} diff --git a/lib/Model/EngagementForSort.php b/lib/Model/EngagementForSort.php deleted file mode 100644 index d1259a1..0000000 --- a/lib/Model/EngagementForSort.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var float - */ - protected $engagements; - /** - * @var string - */ - protected $bitlink; - - public function getEngagements(): float - { - return $this->engagements; - } - - public function setEngagements(float $engagements): self - { - $this->initialized['engagements'] = true; - $this->engagements = $engagements; - - return $this; - } - - public function getBitlink(): string - { - return $this->bitlink; - } - - public function setBitlink(string $bitlink): self - { - $this->initialized['bitlink'] = true; - $this->bitlink = $bitlink; - - return $this; - } -} diff --git a/lib/Model/Engagements.php b/lib/Model/Engagements.php deleted file mode 100644 index 32a8023..0000000 --- a/lib/Model/Engagements.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $engagementCount; - /** - * @var Engagement - */ - protected $engagements; - /** - * @var string - */ - protected $date; - - public function getEngagementCount(): int - { - return $this->engagementCount; - } - - public function setEngagementCount(int $engagementCount): self - { - $this->initialized['engagementCount'] = true; - $this->engagementCount = $engagementCount; - - return $this; - } - - public function getEngagements(): Engagement - { - return $this->engagements; - } - - public function setEngagements(Engagement $engagements): self - { - $this->initialized['engagements'] = true; - $this->engagements = $engagements; - - return $this; - } - - public function getDate(): string - { - return $this->date; - } - - public function setDate(string $date): self - { - $this->initialized['date'] = true; - $this->date = $date; - - return $this; - } -} diff --git a/lib/Model/EngagementsDailySummary.php b/lib/Model/EngagementsDailySummary.php deleted file mode 100644 index 141c321..0000000 --- a/lib/Model/EngagementsDailySummary.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $engagements; - /** - * @var string - */ - protected $refDate; - /** - * @var float - */ - protected $days; - - /** - * @return list - */ - public function getEngagements(): array - { - return $this->engagements; - } - - /** - * @param list $engagements - */ - public function setEngagements(array $engagements): self - { - $this->initialized['engagements'] = true; - $this->engagements = $engagements; - - return $this; - } - - public function getRefDate(): string - { - return $this->refDate; - } - - public function setRefDate(string $refDate): self - { - $this->initialized['refDate'] = true; - $this->refDate = $refDate; - - return $this; - } - - public function getDays(): float - { - return $this->days; - } - - public function setDays(float $days): self - { - $this->initialized['days'] = true; - $this->days = $days; - - return $this; - } -} diff --git a/lib/Model/EngagementsDayDrillDown.php b/lib/Model/EngagementsDayDrillDown.php deleted file mode 100644 index ba43776..0000000 --- a/lib/Model/EngagementsDayDrillDown.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $engagements; - /** - * @var float - */ - protected $refDate; - /** - * @var float - */ - protected $total; - - /** - * @return list - */ - public function getEngagements(): array - { - return $this->engagements; - } - - /** - * @param list $engagements - */ - public function setEngagements(array $engagements): self - { - $this->initialized['engagements'] = true; - $this->engagements = $engagements; - - return $this; - } - - public function getRefDate(): float - { - return $this->refDate; - } - - public function setRefDate(float $refDate): self - { - $this->initialized['refDate'] = true; - $this->refDate = $refDate; - - return $this; - } - - public function getTotal(): float - { - return $this->total; - } - - public function setTotal(float $total): self - { - $this->initialized['total'] = true; - $this->total = $total; - - return $this; - } -} diff --git a/lib/Model/EvaluateInterventionRequest.php b/lib/Model/EvaluateInterventionRequest.php deleted file mode 100644 index e5e5790..0000000 --- a/lib/Model/EvaluateInterventionRequest.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $orgGuid; - - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } -} diff --git a/lib/Model/EvaluateInterventionResponse.php b/lib/Model/EvaluateInterventionResponse.php deleted file mode 100644 index b390f48..0000000 --- a/lib/Model/EvaluateInterventionResponse.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $tier; - /** - * @var string - */ - protected $intervention; - /** - * @var EvaluateInterventionResponseMonthlyPromo - */ - protected $monthlyPromo; - /** - * @var EvaluateInterventionResponseAnnualPromo - */ - protected $annualPromo; - - public function getTier(): string - { - return $this->tier; - } - - public function setTier(string $tier): self - { - $this->initialized['tier'] = true; - $this->tier = $tier; - - return $this; - } - - public function getIntervention(): string - { - return $this->intervention; - } - - public function setIntervention(string $intervention): self - { - $this->initialized['intervention'] = true; - $this->intervention = $intervention; - - return $this; - } - - public function getMonthlyPromo(): EvaluateInterventionResponseMonthlyPromo - { - return $this->monthlyPromo; - } - - public function setMonthlyPromo(EvaluateInterventionResponseMonthlyPromo $monthlyPromo): self - { - $this->initialized['monthlyPromo'] = true; - $this->monthlyPromo = $monthlyPromo; - - return $this; - } - - public function getAnnualPromo(): EvaluateInterventionResponseAnnualPromo - { - return $this->annualPromo; - } - - public function setAnnualPromo(EvaluateInterventionResponseAnnualPromo $annualPromo): self - { - $this->initialized['annualPromo'] = true; - $this->annualPromo = $annualPromo; - - return $this; - } -} diff --git a/lib/Model/EvaluateInterventionResponseAnnualPromo.php b/lib/Model/EvaluateInterventionResponseAnnualPromo.php deleted file mode 100644 index 0bad751..0000000 --- a/lib/Model/EvaluateInterventionResponseAnnualPromo.php +++ /dev/null @@ -1,149 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $promoCode; - /** - * @var bool - */ - protected $isValid; - /** - * @var string - */ - protected $discountType; - /** - * @var float - */ - protected $discountAmount; - /** - * @var int - */ - protected $numPeriodsToApplyDiscount; - /** - * @var string - */ - protected $numPeriodsToApplyDiscountType; - /** - * @var list - */ - protected $validPlans; - - public function getPromoCode(): string - { - return $this->promoCode; - } - - public function setPromoCode(string $promoCode): self - { - $this->initialized['promoCode'] = true; - $this->promoCode = $promoCode; - - return $this; - } - - public function getIsValid(): bool - { - return $this->isValid; - } - - public function setIsValid(bool $isValid): self - { - $this->initialized['isValid'] = true; - $this->isValid = $isValid; - - return $this; - } - - public function getDiscountType(): string - { - return $this->discountType; - } - - public function setDiscountType(string $discountType): self - { - $this->initialized['discountType'] = true; - $this->discountType = $discountType; - - return $this; - } - - public function getDiscountAmount(): float - { - return $this->discountAmount; - } - - public function setDiscountAmount(float $discountAmount): self - { - $this->initialized['discountAmount'] = true; - $this->discountAmount = $discountAmount; - - return $this; - } - - public function getNumPeriodsToApplyDiscount(): int - { - return $this->numPeriodsToApplyDiscount; - } - - public function setNumPeriodsToApplyDiscount(int $numPeriodsToApplyDiscount): self - { - $this->initialized['numPeriodsToApplyDiscount'] = true; - $this->numPeriodsToApplyDiscount = $numPeriodsToApplyDiscount; - - return $this; - } - - public function getNumPeriodsToApplyDiscountType(): string - { - return $this->numPeriodsToApplyDiscountType; - } - - public function setNumPeriodsToApplyDiscountType(string $numPeriodsToApplyDiscountType): self - { - $this->initialized['numPeriodsToApplyDiscountType'] = true; - $this->numPeriodsToApplyDiscountType = $numPeriodsToApplyDiscountType; - - return $this; - } - - /** - * @return list - */ - public function getValidPlans(): array - { - return $this->validPlans; - } - - /** - * @param list $validPlans - */ - public function setValidPlans(array $validPlans): self - { - $this->initialized['validPlans'] = true; - $this->validPlans = $validPlans; - - return $this; - } -} diff --git a/lib/Model/EvaluateInterventionResponseMonthlyPromo.php b/lib/Model/EvaluateInterventionResponseMonthlyPromo.php deleted file mode 100644 index 3e57778..0000000 --- a/lib/Model/EvaluateInterventionResponseMonthlyPromo.php +++ /dev/null @@ -1,149 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $promoCode; - /** - * @var bool - */ - protected $isValid; - /** - * @var string - */ - protected $discountType; - /** - * @var float - */ - protected $discountAmount; - /** - * @var int - */ - protected $numPeriodsToApplyDiscount; - /** - * @var string - */ - protected $numPeriodsToApplyDiscountType; - /** - * @var list - */ - protected $validPlans; - - public function getPromoCode(): string - { - return $this->promoCode; - } - - public function setPromoCode(string $promoCode): self - { - $this->initialized['promoCode'] = true; - $this->promoCode = $promoCode; - - return $this; - } - - public function getIsValid(): bool - { - return $this->isValid; - } - - public function setIsValid(bool $isValid): self - { - $this->initialized['isValid'] = true; - $this->isValid = $isValid; - - return $this; - } - - public function getDiscountType(): string - { - return $this->discountType; - } - - public function setDiscountType(string $discountType): self - { - $this->initialized['discountType'] = true; - $this->discountType = $discountType; - - return $this; - } - - public function getDiscountAmount(): float - { - return $this->discountAmount; - } - - public function setDiscountAmount(float $discountAmount): self - { - $this->initialized['discountAmount'] = true; - $this->discountAmount = $discountAmount; - - return $this; - } - - public function getNumPeriodsToApplyDiscount(): int - { - return $this->numPeriodsToApplyDiscount; - } - - public function setNumPeriodsToApplyDiscount(int $numPeriodsToApplyDiscount): self - { - $this->initialized['numPeriodsToApplyDiscount'] = true; - $this->numPeriodsToApplyDiscount = $numPeriodsToApplyDiscount; - - return $this; - } - - public function getNumPeriodsToApplyDiscountType(): string - { - return $this->numPeriodsToApplyDiscountType; - } - - public function setNumPeriodsToApplyDiscountType(string $numPeriodsToApplyDiscountType): self - { - $this->initialized['numPeriodsToApplyDiscountType'] = true; - $this->numPeriodsToApplyDiscountType = $numPeriodsToApplyDiscountType; - - return $this; - } - - /** - * @return list - */ - public function getValidPlans(): array - { - return $this->validPlans; - } - - /** - * @param list $validPlans - */ - public function setValidPlans(array $validPlans): self - { - $this->initialized['validPlans'] = true; - $this->validPlans = $validPlans; - - return $this; - } -} diff --git a/lib/Model/Event.php b/lib/Model/Event.php deleted file mode 100644 index ffea6ba..0000000 --- a/lib/Model/Event.php +++ /dev/null @@ -1,160 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $login; - /** - * @var string - */ - protected $orgGuid; - /** - * @var string - */ - protected $groupGuid; - /** - * @var string - */ - protected $uiAction; - /** - * @var string - */ - protected $uiActionDate; - /** - * @var string - */ - protected $initiatedBy; - /** - * @var string - */ - protected $referrer; - /** - * @var string - */ - protected $action; - - public function getLogin(): string - { - return $this->login; - } - - public function setLogin(string $login): self - { - $this->initialized['login'] = true; - $this->login = $login; - - return $this; - } - - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } - - public function getUiAction(): string - { - return $this->uiAction; - } - - public function setUiAction(string $uiAction): self - { - $this->initialized['uiAction'] = true; - $this->uiAction = $uiAction; - - return $this; - } - - public function getUiActionDate(): string - { - return $this->uiActionDate; - } - - public function setUiActionDate(string $uiActionDate): self - { - $this->initialized['uiActionDate'] = true; - $this->uiActionDate = $uiActionDate; - - return $this; - } - - public function getInitiatedBy(): string - { - return $this->initiatedBy; - } - - public function setInitiatedBy(string $initiatedBy): self - { - $this->initialized['initiatedBy'] = true; - $this->initiatedBy = $initiatedBy; - - return $this; - } - - public function getReferrer(): string - { - return $this->referrer; - } - - public function setReferrer(string $referrer): self - { - $this->initialized['referrer'] = true; - $this->referrer = $referrer; - - return $this; - } - - public function getAction(): string - { - return $this->action; - } - - public function setAction(string $action): self - { - $this->initialized['action'] = true; - $this->action = $action; - - return $this; - } -} diff --git a/lib/Model/FacetCountData.php b/lib/Model/FacetCountData.php deleted file mode 100644 index 90287b3..0000000 --- a/lib/Model/FacetCountData.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $ts; - /** - * @var int - */ - protected $totalCount; - /** - * @var list - */ - protected $items; - - public function getTs(): int - { - return $this->ts; - } - - public function setTs(int $ts): self - { - $this->initialized['ts'] = true; - $this->ts = $ts; - - return $this; - } - - public function getTotalCount(): int - { - return $this->totalCount; - } - - public function setTotalCount(int $totalCount): self - { - $this->initialized['totalCount'] = true; - $this->totalCount = $totalCount; - - return $this; - } - - /** - * @return list - */ - public function getItems(): array - { - return $this->items; - } - - /** - * @param list $items - */ - public function setItems(array $items): self - { - $this->initialized['items'] = true; - $this->items = $items; - - return $this; - } -} diff --git a/lib/Model/FacetCountItem.php b/lib/Model/FacetCountItem.php deleted file mode 100644 index e5ab199..0000000 --- a/lib/Model/FacetCountItem.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $count; - /** - * @var string - */ - protected $value; - - public function getCount(): int - { - return $this->count; - } - - public function setCount(int $count): self - { - $this->initialized['count'] = true; - $this->count = $count; - - return $this; - } - - public function getValue(): string - { - return $this->value; - } - - public function setValue(string $value): self - { - $this->initialized['value'] = true; - $this->value = $value; - - return $this; - } -} diff --git a/lib/Model/FeatureUsage.php b/lib/Model/FeatureUsage.php deleted file mode 100644 index dcfd37e..0000000 --- a/lib/Model/FeatureUsage.php +++ /dev/null @@ -1,82 +0,0 @@ -initialized); - } - /** - * an array of all of the organizations consumable features. - * - * @var list - */ - protected $consumableFeatures; - /** - * an array of all of the organizations access features. - * - * @var list - */ - protected $accessFeatures; - - /** - * an array of all of the organizations consumable features. - * - * @return list - */ - public function getConsumableFeatures(): array - { - return $this->consumableFeatures; - } - - /** - * an array of all of the organizations consumable features. - * - * @param list $consumableFeatures - */ - public function setConsumableFeatures(array $consumableFeatures): self - { - $this->initialized['consumableFeatures'] = true; - $this->consumableFeatures = $consumableFeatures; - - return $this; - } - - /** - * an array of all of the organizations access features. - * - * @return list - */ - public function getAccessFeatures(): array - { - return $this->accessFeatures; - } - - /** - * an array of all of the organizations access features. - * - * @param list $accessFeatures - */ - public function setAccessFeatures(array $accessFeatures): self - { - $this->initialized['accessFeatures'] = true; - $this->accessFeatures = $accessFeatures; - - return $this; - } -} diff --git a/lib/Model/Feedback.php b/lib/Model/Feedback.php deleted file mode 100644 index 433d714..0000000 --- a/lib/Model/Feedback.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $selection; - /** - * @var string - */ - protected $optionalText; - - public function getSelection(): string - { - return $this->selection; - } - - public function setSelection(string $selection): self - { - $this->initialized['selection'] = true; - $this->selection = $selection; - - return $this; - } - - public function getOptionalText(): string - { - return $this->optionalText; - } - - public function setOptionalText(string $optionalText): self - { - $this->initialized['optionalText'] = true; - $this->optionalText = $optionalText; - - return $this; - } -} diff --git a/lib/Model/FormCapturePayload.php b/lib/Model/FormCapturePayload.php deleted file mode 100644 index b91a9c5..0000000 --- a/lib/Model/FormCapturePayload.php +++ /dev/null @@ -1,183 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $name; - /** - * @var string - */ - protected $version; - /** - * @var string - */ - protected $submitText; - /** - * @var string - */ - protected $skipText; - /** - * @var string - */ - protected $login; - /** - * @var string - */ - protected $orgGuid; - /** - * @var string - */ - protected $groupGuid; - /** - * @var string - */ - protected $responseStatus; - /** - * @var list - */ - protected $pages; - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getVersion(): string - { - return $this->version; - } - - public function setVersion(string $version): self - { - $this->initialized['version'] = true; - $this->version = $version; - - return $this; - } - - public function getSubmitText(): string - { - return $this->submitText; - } - - public function setSubmitText(string $submitText): self - { - $this->initialized['submitText'] = true; - $this->submitText = $submitText; - - return $this; - } - - public function getSkipText(): string - { - return $this->skipText; - } - - public function setSkipText(string $skipText): self - { - $this->initialized['skipText'] = true; - $this->skipText = $skipText; - - return $this; - } - - public function getLogin(): string - { - return $this->login; - } - - public function setLogin(string $login): self - { - $this->initialized['login'] = true; - $this->login = $login; - - return $this; - } - - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } - - public function getResponseStatus(): string - { - return $this->responseStatus; - } - - public function setResponseStatus(string $responseStatus): self - { - $this->initialized['responseStatus'] = true; - $this->responseStatus = $responseStatus; - - return $this; - } - - /** - * @return list - */ - public function getPages(): array - { - return $this->pages; - } - - /** - * @param list $pages - */ - public function setPages(array $pages): self - { - $this->initialized['pages'] = true; - $this->pages = $pages; - - return $this; - } -} diff --git a/lib/Model/FormConfig.php b/lib/Model/FormConfig.php deleted file mode 100644 index 36e3130..0000000 --- a/lib/Model/FormConfig.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $options; - - /** - * @return list - */ - public function getOptions(): array - { - return $this->options; - } - - /** - * @param list $options - */ - public function setOptions(array $options): self - { - $this->initialized['options'] = true; - $this->options = $options; - - return $this; - } -} diff --git a/lib/Model/FormField.php b/lib/Model/FormField.php deleted file mode 100644 index dd261a1..0000000 --- a/lib/Model/FormField.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $name; - /** - * @var string - */ - protected $fieldType; - /** - * @var string - */ - protected $label; - /** - * @var bool - */ - protected $required; - /** - * @var string - */ - protected $response; - /** - * @var FormConfig - */ - protected $config; - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getFieldType(): string - { - return $this->fieldType; - } - - public function setFieldType(string $fieldType): self - { - $this->initialized['fieldType'] = true; - $this->fieldType = $fieldType; - - return $this; - } - - public function getLabel(): string - { - return $this->label; - } - - public function setLabel(string $label): self - { - $this->initialized['label'] = true; - $this->label = $label; - - return $this; - } - - public function getRequired(): bool - { - return $this->required; - } - - public function setRequired(bool $required): self - { - $this->initialized['required'] = true; - $this->required = $required; - - return $this; - } - - public function getResponse(): string - { - return $this->response; - } - - public function setResponse(string $response): self - { - $this->initialized['response'] = true; - $this->response = $response; - - return $this; - } - - public function getConfig(): FormConfig - { - return $this->config; - } - - public function setConfig(FormConfig $config): self - { - $this->initialized['config'] = true; - $this->config = $config; - - return $this; - } -} diff --git a/lib/Model/FormPage.php b/lib/Model/FormPage.php deleted file mode 100644 index eebc28e..0000000 --- a/lib/Model/FormPage.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $fields; - - /** - * @return list - */ - public function getFields(): array - { - return $this->fields; - } - - /** - * @param list $fields - */ - public function setFields(array $fields): self - { - $this->initialized['fields'] = true; - $this->fields = $fields; - - return $this; - } -} diff --git a/lib/Model/FormSelectOptions.php b/lib/Model/FormSelectOptions.php deleted file mode 100644 index f5c1158..0000000 --- a/lib/Model/FormSelectOptions.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $key; - /** - * @var string - */ - protected $display; - - public function getKey(): string - { - return $this->key; - } - - public function setKey(string $key): self - { - $this->initialized['key'] = true; - $this->key = $key; - - return $this; - } - - public function getDisplay(): string - { - return $this->display; - } - - public function setDisplay(string $display): self - { - $this->initialized['display'] = true; - $this->display = $display; - - return $this; - } -} diff --git a/lib/Model/FullLink.php b/lib/Model/FullLink.php deleted file mode 100644 index e665b5c..0000000 --- a/lib/Model/FullLink.php +++ /dev/null @@ -1,148 +0,0 @@ -initialized); - } - /** - * @var LinkDestination - */ - protected $destinations; - /** - * @var string - */ - protected $domain = 'bit.ly'; - /** - * The back half of the link. If not provided, this will default to a random hash. - * - * @var string - */ - protected $backHalf; - /** - * Always include a specific group and custom domain in your shorten calls. - * - * @var string - */ - protected $groupGuid; - /** - * @var string - */ - protected $title; - /** - * @var list - */ - protected $tags; - - public function getDestinations(): LinkDestination - { - return $this->destinations; - } - - public function setDestinations(LinkDestination $destinations): self - { - $this->initialized['destinations'] = true; - $this->destinations = $destinations; - - return $this; - } - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - /** - * The back half of the link. If not provided, this will default to a random hash. - */ - public function getBackHalf(): string - { - return $this->backHalf; - } - - /** - * The back half of the link. If not provided, this will default to a random hash. - */ - public function setBackHalf(string $backHalf): self - { - $this->initialized['backHalf'] = true; - $this->backHalf = $backHalf; - - return $this; - } - - /** - * Always include a specific group and custom domain in your shorten calls. - */ - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - /** - * Always include a specific group and custom domain in your shorten calls. - */ - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } - - /** - * @return list - */ - public function getTags(): array - { - return $this->tags; - } - - /** - * @param list $tags - */ - public function setTags(array $tags): self - { - $this->initialized['tags'] = true; - $this->tags = $tags; - - return $this; - } -} diff --git a/lib/Model/FullQRCodeWithScans.php b/lib/Model/FullQRCodeWithScans.php deleted file mode 100644 index 544ee15..0000000 --- a/lib/Model/FullQRCodeWithScans.php +++ /dev/null @@ -1,270 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $id; - /** - * @var string - */ - protected $title; - /** - * @var string - */ - protected $link; - /** - * @var string - */ - protected $longUrl; - /** - * @var string - */ - protected $groupGuid; - /** - * @var QRCustomizations - */ - protected $customization; - /** - * Data URI of QR Code image. - * - * @var string - */ - protected $qrUri; - /** - * @var bool - */ - protected $isHidden; - /** - * @var bool - */ - protected $isCustomized; - /** - * @var int - */ - protected $scans; - /** - * @var string - */ - protected $created; - /** - * @var string - */ - protected $modified; - /** - * @var int - */ - protected $createdTs; - /** - * @var int - */ - protected $modifiedTs; - - public function getId(): string - { - return $this->id; - } - - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } - - public function getLink(): string - { - return $this->link; - } - - public function setLink(string $link): self - { - $this->initialized['link'] = true; - $this->link = $link; - - return $this; - } - - public function getLongUrl(): string - { - return $this->longUrl; - } - - public function setLongUrl(string $longUrl): self - { - $this->initialized['longUrl'] = true; - $this->longUrl = $longUrl; - - return $this; - } - - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } - - public function getCustomization(): QRCustomizations - { - return $this->customization; - } - - public function setCustomization(QRCustomizations $customization): self - { - $this->initialized['customization'] = true; - $this->customization = $customization; - - return $this; - } - - /** - * Data URI of QR Code image. - */ - public function getQrUri(): string - { - return $this->qrUri; - } - - /** - * Data URI of QR Code image. - */ - public function setQrUri(string $qrUri): self - { - $this->initialized['qrUri'] = true; - $this->qrUri = $qrUri; - - return $this; - } - - public function getIsHidden(): bool - { - return $this->isHidden; - } - - public function setIsHidden(bool $isHidden): self - { - $this->initialized['isHidden'] = true; - $this->isHidden = $isHidden; - - return $this; - } - - public function getIsCustomized(): bool - { - return $this->isCustomized; - } - - public function setIsCustomized(bool $isCustomized): self - { - $this->initialized['isCustomized'] = true; - $this->isCustomized = $isCustomized; - - return $this; - } - - public function getScans(): int - { - return $this->scans; - } - - public function setScans(int $scans): self - { - $this->initialized['scans'] = true; - $this->scans = $scans; - - return $this; - } - - public function getCreated(): string - { - return $this->created; - } - - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getModified(): string - { - return $this->modified; - } - - public function setModified(string $modified): self - { - $this->initialized['modified'] = true; - $this->modified = $modified; - - return $this; - } - - public function getCreatedTs(): int - { - return $this->createdTs; - } - - public function setCreatedTs(int $createdTs): self - { - $this->initialized['createdTs'] = true; - $this->createdTs = $createdTs; - - return $this; - } - - public function getModifiedTs(): int - { - return $this->modifiedTs; - } - - public function setModifiedTs(int $modifiedTs): self - { - $this->initialized['modifiedTs'] = true; - $this->modifiedTs = $modifiedTs; - - return $this; - } -} diff --git a/lib/Model/GenericAccessToken.php b/lib/Model/GenericAccessToken.php deleted file mode 100644 index a560cb4..0000000 --- a/lib/Model/GenericAccessToken.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $accessToken; - /** - * @var bool - */ - protected $isNewToken; - - public function getAccessToken(): string - { - return $this->accessToken; - } - - public function setAccessToken(string $accessToken): self - { - $this->initialized['accessToken'] = true; - $this->accessToken = $accessToken; - - return $this; - } - - public function getIsNewToken(): bool - { - return $this->isNewToken; - } - - public function setIsNewToken(bool $isNewToken): self - { - $this->initialized['isNewToken'] = true; - $this->isNewToken = $isNewToken; - - return $this; - } -} diff --git a/lib/Model/GenericAccessTokenReq.php b/lib/Model/GenericAccessTokenReq.php deleted file mode 100644 index cdae9a2..0000000 --- a/lib/Model/GenericAccessTokenReq.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $password; - - public function getPassword(): string - { - return $this->password; - } - - public function setPassword(string $password): self - { - $this->initialized['password'] = true; - $this->password = $password; - - return $this; - } -} diff --git a/lib/Model/GeoIP.php b/lib/Model/GeoIP.php deleted file mode 100644 index a2cf556..0000000 --- a/lib/Model/GeoIP.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $countryCode; - /** - * @var bool - */ - protected $isInEuropeanUnion; - - public function getCountryCode(): string - { - return $this->countryCode; - } - - public function setCountryCode(string $countryCode): self - { - $this->initialized['countryCode'] = true; - $this->countryCode = $countryCode; - - return $this; - } - - public function getIsInEuropeanUnion(): bool - { - return $this->isInEuropeanUnion; - } - - public function setIsInEuropeanUnion(bool $isInEuropeanUnion): self - { - $this->initialized['isInEuropeanUnion'] = true; - $this->isInEuropeanUnion = $isInEuropeanUnion; - - return $this; - } -} diff --git a/lib/Model/GetFocusResponse.php b/lib/Model/GetFocusResponse.php deleted file mode 100644 index af0cd0c..0000000 --- a/lib/Model/GetFocusResponse.php +++ /dev/null @@ -1,49 +0,0 @@ -initialized); - } - /** - * The ID of the QR code. - * - * @var string - */ - protected $qrcodeId; - - /** - * The ID of the QR code. - */ - public function getQrcodeId(): string - { - return $this->qrcodeId; - } - - /** - * The ID of the QR code. - */ - public function setQrcodeId(string $qrcodeId): self - { - $this->initialized['qrcodeId'] = true; - $this->qrcodeId = $qrcodeId; - - return $this; - } -} diff --git a/lib/Model/GroupAnalyticsUsage.php b/lib/Model/GroupAnalyticsUsage.php deleted file mode 100644 index f7da00c..0000000 --- a/lib/Model/GroupAnalyticsUsage.php +++ /dev/null @@ -1,87 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $brandGuid; - /** - * @var int - */ - protected $limit; - /** - * a mapping from login to the count of reports created by this user in this group. - * - * @var array - */ - protected $perUserUsage; - - public function getBrandGuid(): string - { - return $this->brandGuid; - } - - public function setBrandGuid(string $brandGuid): self - { - $this->initialized['brandGuid'] = true; - $this->brandGuid = $brandGuid; - - return $this; - } - - public function getLimit(): int - { - return $this->limit; - } - - public function setLimit(int $limit): self - { - $this->initialized['limit'] = true; - $this->limit = $limit; - - return $this; - } - - /** - * a mapping from login to the count of reports created by this user in this group. - * - * @return array - */ - public function getPerUserUsage(): iterable - { - return $this->perUserUsage; - } - - /** - * a mapping from login to the count of reports created by this user in this group. - * - * @param array $perUserUsage - */ - public function setPerUserUsage(iterable $perUserUsage): self - { - $this->initialized['perUserUsage'] = true; - $this->perUserUsage = $perUserUsage; - - return $this; - } -} diff --git a/lib/Model/GroupBitlinksCount.php b/lib/Model/GroupBitlinksCount.php deleted file mode 100644 index 1274886..0000000 --- a/lib/Model/GroupBitlinksCount.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $unit; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unitReference; - /** - * @var list - */ - protected $data; - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - /** - * @return list - */ - public function getData(): array - { - return $this->data; - } - - /** - * @param list $data - */ - public function setData(array $data): self - { - $this->initialized['data'] = true; - $this->data = $data; - - return $this; - } -} diff --git a/lib/Model/GroupBitlinksCountRollup.php b/lib/Model/GroupBitlinksCountRollup.php deleted file mode 100644 index 00577a0..0000000 --- a/lib/Model/GroupBitlinksCountRollup.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $unit; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unitReference; - /** - * @var int - */ - protected $totalClicks; - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - public function getTotalClicks(): int - { - return $this->totalClicks; - } - - public function setTotalClicks(int $totalClicks): self - { - $this->initialized['totalClicks'] = true; - $this->totalClicks = $totalClicks; - - return $this; - } -} diff --git a/lib/Model/GroupClicksByFacet.php b/lib/Model/GroupClicksByFacet.php deleted file mode 100644 index 9687312..0000000 --- a/lib/Model/GroupClicksByFacet.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $unit; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unitReference; - /** - * @var list - */ - protected $data; - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - /** - * @return list - */ - public function getData(): array - { - return $this->data; - } - - /** - * @param list $data - */ - public function setData(array $data): self - { - $this->initialized['data'] = true; - $this->data = $data; - - return $this; - } -} diff --git a/lib/Model/GroupClicksByFacetRollup.php b/lib/Model/GroupClicksByFacetRollup.php deleted file mode 100644 index 6ca04cc..0000000 --- a/lib/Model/GroupClicksByFacetRollup.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $unit; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unitReference; - /** - * @var list - */ - protected $data; - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - /** - * @return list - */ - public function getData(): array - { - return $this->data; - } - - /** - * @param list $data - */ - public function setData(array $data): self - { - $this->initialized['data'] = true; - $this->data = $data; - - return $this; - } -} diff --git a/lib/Model/GroupHistoricalUsageTotals.php b/lib/Model/GroupHistoricalUsageTotals.php deleted file mode 100644 index 01f5bda..0000000 --- a/lib/Model/GroupHistoricalUsageTotals.php +++ /dev/null @@ -1,72 +0,0 @@ -initialized); - } - /** - * the group's guid. - * - * @var string - */ - protected $groupGuid; - /** - * @var list - */ - protected $historicalUsageTotals; - - /** - * the group's guid. - */ - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - /** - * the group's guid. - */ - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } - - /** - * @return list - */ - public function getHistoricalUsageTotals(): array - { - return $this->historicalUsageTotals; - } - - /** - * @param list $historicalUsageTotals - */ - public function setHistoricalUsageTotals(array $historicalUsageTotals): self - { - $this->initialized['historicalUsageTotals'] = true; - $this->historicalUsageTotals = $historicalUsageTotals; - - return $this; - } -} diff --git a/lib/Model/GroupsGroupGuidLinksClicksDevicesGetResponse200.php b/lib/Model/GroupsGroupGuidLinksClicksDevicesGetResponse200.php deleted file mode 100644 index 5036a1c..0000000 --- a/lib/Model/GroupsGroupGuidLinksClicksDevicesGetResponse200.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $unit; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $facet; - /** - * @var string - */ - protected $unitReference; - /** - * @var list - */ - protected $metrics; - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getFacet(): string - { - return $this->facet; - } - - public function setFacet(string $facet): self - { - $this->initialized['facet'] = true; - $this->facet = $facet; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - /** - * @return list - */ - public function getMetrics(): array - { - return $this->metrics; - } - - /** - * @param list $metrics - */ - public function setMetrics(array $metrics): self - { - $this->initialized['metrics'] = true; - $this->metrics = $metrics; - - return $this; - } -} diff --git a/lib/Model/GroupsGroupGuidLinksClicksDevicesGetResponse200MetricsItem.php b/lib/Model/GroupsGroupGuidLinksClicksDevicesGetResponse200MetricsItem.php deleted file mode 100644 index ccf59cb..0000000 --- a/lib/Model/GroupsGroupGuidLinksClicksDevicesGetResponse200MetricsItem.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $clicks; - /** - * @var string - */ - protected $value; - - public function getClicks(): int - { - return $this->clicks; - } - - public function setClicks(int $clicks): self - { - $this->initialized['clicks'] = true; - $this->clicks = $clicks; - - return $this; - } - - public function getValue(): string - { - return $this->value; - } - - public function setValue(string $value): self - { - $this->initialized['value'] = true; - $this->value = $value; - - return $this; - } -} diff --git a/lib/Model/GroupsGroupGuidPagesOverviewGetResponse200.php b/lib/Model/GroupsGroupGuidPagesOverviewGetResponse200.php deleted file mode 100644 index 2bf5dd6..0000000 --- a/lib/Model/GroupsGroupGuidPagesOverviewGetResponse200.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var float - */ - protected $views; - /** - * @var float - */ - protected $clicks; - /** - * @var string - */ - protected $info; - - public function getViews(): float - { - return $this->views; - } - - public function setViews(float $views): self - { - $this->initialized['views'] = true; - $this->views = $views; - - return $this; - } - - public function getClicks(): float - { - return $this->clicks; - } - - public function setClicks(float $clicks): self - { - $this->initialized['clicks'] = true; - $this->clicks = $clicks; - - return $this; - } - - public function getInfo(): string - { - return $this->info; - } - - public function setInfo(string $info): self - { - $this->initialized['info'] = true; - $this->info = $info; - - return $this; - } -} diff --git a/lib/Model/HistoricalUsageTotal.php b/lib/Model/HistoricalUsageTotal.php deleted file mode 100644 index 9bb05cd..0000000 --- a/lib/Model/HistoricalUsageTotal.php +++ /dev/null @@ -1,74 +0,0 @@ -initialized); - } - /** - * feature name. - * - * @var string - */ - protected $name; - /** - * the total usage count during the time period. - * - * @var int - */ - protected $total; - - /** - * feature name. - */ - public function getName(): string - { - return $this->name; - } - - /** - * feature name. - */ - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - /** - * the total usage count during the time period. - */ - public function getTotal(): int - { - return $this->total; - } - - /** - * the total usage count during the time period. - */ - public function setTotal(int $total): self - { - $this->initialized['total'] = true; - $this->total = $total; - - return $this; - } -} diff --git a/lib/Model/ImageCommon.php b/lib/Model/ImageCommon.php deleted file mode 100644 index e887658..0000000 --- a/lib/Model/ImageCommon.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $imageGuid; - /** - * @var string - */ - protected $imageUrl; - /** - * @var string - */ - protected $crop; - - public function getImageGuid(): string - { - return $this->imageGuid; - } - - public function setImageGuid(string $imageGuid): self - { - $this->initialized['imageGuid'] = true; - $this->imageGuid = $imageGuid; - - return $this; - } - - public function getImageUrl(): string - { - return $this->imageUrl; - } - - public function setImageUrl(string $imageUrl): self - { - $this->initialized['imageUrl'] = true; - $this->imageUrl = $imageUrl; - - return $this; - } - - public function getCrop(): string - { - return $this->crop; - } - - public function setCrop(string $crop): self - { - $this->initialized['crop'] = true; - $this->crop = $crop; - - return $this; - } -} diff --git a/lib/Model/ImageContent.php b/lib/Model/ImageContent.php deleted file mode 100644 index 900e389..0000000 --- a/lib/Model/ImageContent.php +++ /dev/null @@ -1,143 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $imageGuid; - /** - * @var string - */ - protected $imageUrl; - /** - * @var string - */ - protected $crop; - /** - * @var string - */ - protected $aspectRatio; - /** - * @var string - */ - protected $linkTitle; - /** - * @var string - */ - protected $description; - /** - * @var string - */ - protected $bitlinkId; - - public function getImageGuid(): string - { - return $this->imageGuid; - } - - public function setImageGuid(string $imageGuid): self - { - $this->initialized['imageGuid'] = true; - $this->imageGuid = $imageGuid; - - return $this; - } - - public function getImageUrl(): string - { - return $this->imageUrl; - } - - public function setImageUrl(string $imageUrl): self - { - $this->initialized['imageUrl'] = true; - $this->imageUrl = $imageUrl; - - return $this; - } - - public function getCrop(): string - { - return $this->crop; - } - - public function setCrop(string $crop): self - { - $this->initialized['crop'] = true; - $this->crop = $crop; - - return $this; - } - - public function getAspectRatio(): string - { - return $this->aspectRatio; - } - - public function setAspectRatio(string $aspectRatio): self - { - $this->initialized['aspectRatio'] = true; - $this->aspectRatio = $aspectRatio; - - return $this; - } - - public function getLinkTitle(): string - { - return $this->linkTitle; - } - - public function setLinkTitle(string $linkTitle): self - { - $this->initialized['linkTitle'] = true; - $this->linkTitle = $linkTitle; - - return $this; - } - - public function getDescription(): string - { - return $this->description; - } - - public function setDescription(string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getBitlinkId(): string - { - return $this->bitlinkId; - } - - public function setBitlinkId(string $bitlinkId): self - { - $this->initialized['bitlinkId'] = true; - $this->bitlinkId = $bitlinkId; - - return $this; - } -} diff --git a/lib/Model/ImageCrop.php b/lib/Model/ImageCrop.php deleted file mode 100644 index e9384aa..0000000 --- a/lib/Model/ImageCrop.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var ImageCropPoint - */ - protected $min; - /** - * @var ImageCropPoint - */ - protected $max; - - public function getMin(): ImageCropPoint - { - return $this->min; - } - - public function setMin(ImageCropPoint $min): self - { - $this->initialized['min'] = true; - $this->min = $min; - - return $this; - } - - public function getMax(): ImageCropPoint - { - return $this->max; - } - - public function setMax(ImageCropPoint $max): self - { - $this->initialized['max'] = true; - $this->max = $max; - - return $this; - } -} diff --git a/lib/Model/ImageCropPoint.php b/lib/Model/ImageCropPoint.php deleted file mode 100644 index f769604..0000000 --- a/lib/Model/ImageCropPoint.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $x; - /** - * @var int - */ - protected $y; - - public function getX(): int - { - return $this->x; - } - - public function setX(int $x): self - { - $this->initialized['x'] = true; - $this->x = $x; - - return $this; - } - - public function getY(): int - { - return $this->y; - } - - public function setY(int $y): self - { - $this->initialized['y'] = true; - $this->y = $y; - - return $this; - } -} diff --git a/lib/Model/ImageUpdate.php b/lib/Model/ImageUpdate.php deleted file mode 100644 index c3baa75..0000000 --- a/lib/Model/ImageUpdate.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $groupGuid; - /** - * @var ImageCrop - */ - protected $crop; - - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } - - public function getCrop(): ImageCrop - { - return $this->crop; - } - - public function setCrop(ImageCrop $crop): self - { - $this->initialized['crop'] = true; - $this->crop = $crop; - - return $this; - } -} diff --git a/lib/Model/ImageUpload.php b/lib/Model/ImageUpload.php deleted file mode 100644 index cf6d502..0000000 --- a/lib/Model/ImageUpload.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $image; - /** - * @var string - */ - protected $groupGuid; - /** - * @var string - */ - protected $use; - /** - * @var string - */ - protected $crop; - - public function getImage(): string - { - return $this->image; - } - - public function setImage(string $image): self - { - $this->initialized['image'] = true; - $this->image = $image; - - return $this; - } - - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } - - public function getUse(): string - { - return $this->use; - } - - public function setUse(string $use): self - { - $this->initialized['use'] = true; - $this->use = $use; - - return $this; - } - - public function getCrop(): string - { - return $this->crop; - } - - public function setCrop(string $crop): self - { - $this->initialized['crop'] = true; - $this->crop = $crop; - - return $this; - } -} diff --git a/lib/Model/ImageUploadResponse.php b/lib/Model/ImageUploadResponse.php deleted file mode 100644 index 3457be5..0000000 --- a/lib/Model/ImageUploadResponse.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $imageUrl; - /** - * @var string - */ - protected $imageGuid; - - public function getImageUrl(): string - { - return $this->imageUrl; - } - - public function setImageUrl(string $imageUrl): self - { - $this->initialized['imageUrl'] = true; - $this->imageUrl = $imageUrl; - - return $this; - } - - public function getImageGuid(): string - { - return $this->imageGuid; - } - - public function setImageGuid(string $imageGuid): self - { - $this->initialized['imageGuid'] = true; - $this->imageGuid = $imageGuid; - - return $this; - } -} diff --git a/lib/Model/InputDomain.php b/lib/Model/InputDomain.php deleted file mode 100644 index 2346e72..0000000 --- a/lib/Model/InputDomain.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $domain; - /** - * @var string - */ - protected $status; - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - public function getStatus(): string - { - return $this->status; - } - - public function setStatus(string $status): self - { - $this->initialized['status'] = true; - $this->status = $status; - - return $this; - } -} diff --git a/lib/Model/IntegrationOAuth.php b/lib/Model/IntegrationOAuth.php deleted file mode 100644 index c0d3a8a..0000000 --- a/lib/Model/IntegrationOAuth.php +++ /dev/null @@ -1,165 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $clientId; - /** - * @var string - */ - protected $orgGuid; - /** - * @var string - */ - protected $type; - /** - * @var string - */ - protected $status; - /** - * @var list - */ - protected $scopes; - /** - * ISO timestamp. - * - * @var string - */ - protected $created; - /** - * ISO timestamp. - * - * @var string - */ - protected $modified; - - public function getClientId(): string - { - return $this->clientId; - } - - public function setClientId(string $clientId): self - { - $this->initialized['clientId'] = true; - $this->clientId = $clientId; - - return $this; - } - - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - public function getType(): string - { - return $this->type; - } - - public function setType(string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getStatus(): string - { - return $this->status; - } - - public function setStatus(string $status): self - { - $this->initialized['status'] = true; - $this->status = $status; - - return $this; - } - - /** - * @return list - */ - public function getScopes(): array - { - return $this->scopes; - } - - /** - * @param list $scopes - */ - public function setScopes(array $scopes): self - { - $this->initialized['scopes'] = true; - $this->scopes = $scopes; - - return $this; - } - - /** - * ISO timestamp. - */ - public function getCreated(): string - { - return $this->created; - } - - /** - * ISO timestamp. - */ - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - /** - * ISO timestamp. - */ - public function getModified(): string - { - return $this->modified; - } - - /** - * ISO timestamp. - */ - public function setModified(string $modified): self - { - $this->initialized['modified'] = true; - $this->modified = $modified; - - return $this; - } -} diff --git a/lib/Model/IntegrationOAuths.php b/lib/Model/IntegrationOAuths.php deleted file mode 100644 index d59f762..0000000 --- a/lib/Model/IntegrationOAuths.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $integrationOauths; - - /** - * @return list - */ - public function getIntegrationOauths(): array - { - return $this->integrationOauths; - } - - /** - * @param list $integrationOauths - */ - public function setIntegrationOauths(array $integrationOauths): self - { - $this->initialized['integrationOauths'] = true; - $this->integrationOauths = $integrationOauths; - - return $this; - } -} diff --git a/lib/Model/Intervention.php b/lib/Model/Intervention.php deleted file mode 100644 index 0e69a5b..0000000 --- a/lib/Model/Intervention.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $guid; - /** - * @var string - */ - protected $login; - /** - * @var string - */ - protected $orgGuid; - /** - * @var string - */ - protected $interventionAction; - /** - * @var string - */ - protected $interventionDate; - /** - * @var list - */ - protected $interventionsOffered; - - public function getGuid(): string - { - return $this->guid; - } - - public function setGuid(string $guid): self - { - $this->initialized['guid'] = true; - $this->guid = $guid; - - return $this; - } - - public function getLogin(): string - { - return $this->login; - } - - public function setLogin(string $login): self - { - $this->initialized['login'] = true; - $this->login = $login; - - return $this; - } - - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - public function getInterventionAction(): string - { - return $this->interventionAction; - } - - public function setInterventionAction(string $interventionAction): self - { - $this->initialized['interventionAction'] = true; - $this->interventionAction = $interventionAction; - - return $this; - } - - public function getInterventionDate(): string - { - return $this->interventionDate; - } - - public function setInterventionDate(string $interventionDate): self - { - $this->initialized['interventionDate'] = true; - $this->interventionDate = $interventionDate; - - return $this; - } - - /** - * @return list - */ - public function getInterventionsOffered(): array - { - return $this->interventionsOffered; - } - - /** - * @param list $interventionsOffered - */ - public function setInterventionsOffered(array $interventionsOffered): self - { - $this->initialized['interventionsOffered'] = true; - $this->interventionsOffered = $interventionsOffered; - - return $this; - } -} diff --git a/lib/Model/InterventionsOffered.php b/lib/Model/InterventionsOffered.php deleted file mode 100644 index d9f49d3..0000000 --- a/lib/Model/InterventionsOffered.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $interventionType; - /** - * @var string - */ - protected $interventionValue; - /** - * @var string - */ - protected $interventionResponse; - - public function getInterventionType(): string - { - return $this->interventionType; - } - - public function setInterventionType(string $interventionType): self - { - $this->initialized['interventionType'] = true; - $this->interventionType = $interventionType; - - return $this; - } - - public function getInterventionValue(): string - { - return $this->interventionValue; - } - - public function setInterventionValue(string $interventionValue): self - { - $this->initialized['interventionValue'] = true; - $this->interventionValue = $interventionValue; - - return $this; - } - - public function getInterventionResponse(): string - { - return $this->interventionResponse; - } - - public function setInterventionResponse(string $interventionResponse): self - { - $this->initialized['interventionResponse'] = true; - $this->interventionResponse = $interventionResponse; - - return $this; - } -} diff --git a/lib/Model/Invitation.php b/lib/Model/Invitation.php deleted file mode 100644 index b9d0ef6..0000000 --- a/lib/Model/Invitation.php +++ /dev/null @@ -1,123 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $email; - /** - * @var string - */ - protected $roleName; - /** - * @var list> - */ - protected $groups; - /** - * @var string - */ - protected $created; - /** - * login of the user who sent the invitation. - * - * @var string - */ - protected $invitedBy; - - public function getEmail(): string - { - return $this->email; - } - - public function setEmail(string $email): self - { - $this->initialized['email'] = true; - $this->email = $email; - - return $this; - } - - public function getRoleName(): string - { - return $this->roleName; - } - - public function setRoleName(string $roleName): self - { - $this->initialized['roleName'] = true; - $this->roleName = $roleName; - - return $this; - } - - /** - * @return list> - */ - public function getGroups(): array - { - return $this->groups; - } - - /** - * @param list> $groups - */ - public function setGroups(array $groups): self - { - $this->initialized['groups'] = true; - $this->groups = $groups; - - return $this; - } - - public function getCreated(): string - { - return $this->created; - } - - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - /** - * login of the user who sent the invitation. - */ - public function getInvitedBy(): string - { - return $this->invitedBy; - } - - /** - * login of the user who sent the invitation. - */ - public function setInvitedBy(string $invitedBy): self - { - $this->initialized['invitedBy'] = true; - $this->invitedBy = $invitedBy; - - return $this; - } -} diff --git a/lib/Model/InvitationForLogin.php b/lib/Model/InvitationForLogin.php deleted file mode 100644 index aa39e98..0000000 --- a/lib/Model/InvitationForLogin.php +++ /dev/null @@ -1,109 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $invitedByEmail; - /** - * @var string - */ - protected $invitedBy; - /** - * @var string - */ - protected $token; - /** - * @var string - */ - protected $invitedOrgGuid; - /** - * @var string - */ - protected $invitedOrgName; - - public function getInvitedByEmail(): string - { - return $this->invitedByEmail; - } - - public function setInvitedByEmail(string $invitedByEmail): self - { - $this->initialized['invitedByEmail'] = true; - $this->invitedByEmail = $invitedByEmail; - - return $this; - } - - public function getInvitedBy(): string - { - return $this->invitedBy; - } - - public function setInvitedBy(string $invitedBy): self - { - $this->initialized['invitedBy'] = true; - $this->invitedBy = $invitedBy; - - return $this; - } - - public function getToken(): string - { - return $this->token; - } - - public function setToken(string $token): self - { - $this->initialized['token'] = true; - $this->token = $token; - - return $this; - } - - public function getInvitedOrgGuid(): string - { - return $this->invitedOrgGuid; - } - - public function setInvitedOrgGuid(string $invitedOrgGuid): self - { - $this->initialized['invitedOrgGuid'] = true; - $this->invitedOrgGuid = $invitedOrgGuid; - - return $this; - } - - public function getInvitedOrgName(): string - { - return $this->invitedOrgName; - } - - public function setInvitedOrgName(string $invitedOrgName): self - { - $this->initialized['invitedOrgName'] = true; - $this->invitedOrgName = $invitedOrgName; - - return $this; - } -} diff --git a/lib/Model/Invitations.php b/lib/Model/Invitations.php deleted file mode 100644 index 696318f..0000000 --- a/lib/Model/Invitations.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $invitations; - - /** - * @return list - */ - public function getInvitations(): array - { - return $this->invitations; - } - - /** - * @param list $invitations - */ - public function setInvitations(array $invitations): self - { - $this->initialized['invitations'] = true; - $this->invitations = $invitations; - - return $this; - } -} diff --git a/lib/Model/InvitationsAccept.php b/lib/Model/InvitationsAccept.php deleted file mode 100644 index 31eb61f..0000000 --- a/lib/Model/InvitationsAccept.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $tokens; - - /** - * @return list - */ - public function getTokens(): array - { - return $this->tokens; - } - - /** - * @param list $tokens - */ - public function setTokens(array $tokens): self - { - $this->initialized['tokens'] = true; - $this->tokens = $tokens; - - return $this; - } -} diff --git a/lib/Model/InvitationsCreate.php b/lib/Model/InvitationsCreate.php deleted file mode 100644 index 24836fe..0000000 --- a/lib/Model/InvitationsCreate.php +++ /dev/null @@ -1,121 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $emails; - /** - * @var string - */ - protected $roleName; - /** - * @var list> - */ - protected $groups; - /** - * @var string - */ - protected $created; - /** - * @var string - */ - protected $source; - - /** - * @return list - */ - public function getEmails(): array - { - return $this->emails; - } - - /** - * @param list $emails - */ - public function setEmails(array $emails): self - { - $this->initialized['emails'] = true; - $this->emails = $emails; - - return $this; - } - - public function getRoleName(): string - { - return $this->roleName; - } - - public function setRoleName(string $roleName): self - { - $this->initialized['roleName'] = true; - $this->roleName = $roleName; - - return $this; - } - - /** - * @return list> - */ - public function getGroups(): array - { - return $this->groups; - } - - /** - * @param list> $groups - */ - public function setGroups(array $groups): self - { - $this->initialized['groups'] = true; - $this->groups = $groups; - - return $this; - } - - public function getCreated(): string - { - return $this->created; - } - - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getSource(): string - { - return $this->source; - } - - public function setSource(string $source): self - { - $this->initialized['source'] = true; - $this->source = $source; - - return $this; - } -} diff --git a/lib/Model/InvitationsForLogin.php b/lib/Model/InvitationsForLogin.php deleted file mode 100644 index cfefc70..0000000 --- a/lib/Model/InvitationsForLogin.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $invitations; - - /** - * @return list - */ - public function getInvitations(): array - { - return $this->invitations; - } - - /** - * @param list $invitations - */ - public function setInvitations(array $invitations): self - { - $this->initialized['invitations'] = true; - $this->invitations = $invitations; - - return $this; - } -} diff --git a/lib/Model/KeepSitesRequest.php b/lib/Model/KeepSitesRequest.php deleted file mode 100644 index 87cae0d..0000000 --- a/lib/Model/KeepSitesRequest.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $keepSites; - - /** - * @return list - */ - public function getKeepSites(): array - { - return $this->keepSites; - } - - /** - * @param list $keepSites - */ - public function setKeepSites(array $keepSites): self - { - $this->initialized['keepSites'] = true; - $this->keepSites = $keepSites; - - return $this; - } -} diff --git a/lib/Model/Launchpad.php b/lib/Model/Launchpad.php deleted file mode 100644 index 3c5887e..0000000 --- a/lib/Model/Launchpad.php +++ /dev/null @@ -1,280 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $launchpadId; - /** - * @var string - */ - protected $draftId; - /** - * @var bool - */ - protected $isEdited; - /** - * @var string - */ - protected $domain; - /** - * @var string - */ - protected $keyword; - /** - * @var string - */ - protected $uri; - /** - * @var bool - */ - protected $isActive; - /** - * @var LaunchpadAppearance - */ - protected $launchpadAppearance; - /** - * @var LaunchpadImages - */ - protected $images; - /** - * @var list - */ - protected $buttons; - /** - * @var list - */ - protected $socials; - /** - * @var string - */ - protected $scheme; - /** - * @var string - */ - protected $qrCodeId; - /** - * @var list - */ - protected $redirects; - - public function getLaunchpadId(): string - { - return $this->launchpadId; - } - - public function setLaunchpadId(string $launchpadId): self - { - $this->initialized['launchpadId'] = true; - $this->launchpadId = $launchpadId; - - return $this; - } - - public function getDraftId(): string - { - return $this->draftId; - } - - public function setDraftId(string $draftId): self - { - $this->initialized['draftId'] = true; - $this->draftId = $draftId; - - return $this; - } - - public function getIsEdited(): bool - { - return $this->isEdited; - } - - public function setIsEdited(bool $isEdited): self - { - $this->initialized['isEdited'] = true; - $this->isEdited = $isEdited; - - return $this; - } - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - public function getKeyword(): string - { - return $this->keyword; - } - - public function setKeyword(string $keyword): self - { - $this->initialized['keyword'] = true; - $this->keyword = $keyword; - - return $this; - } - - public function getUri(): string - { - return $this->uri; - } - - public function setUri(string $uri): self - { - $this->initialized['uri'] = true; - $this->uri = $uri; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getLaunchpadAppearance(): LaunchpadAppearance - { - return $this->launchpadAppearance; - } - - public function setLaunchpadAppearance(LaunchpadAppearance $launchpadAppearance): self - { - $this->initialized['launchpadAppearance'] = true; - $this->launchpadAppearance = $launchpadAppearance; - - return $this; - } - - public function getImages(): LaunchpadImages - { - return $this->images; - } - - public function setImages(LaunchpadImages $images): self - { - $this->initialized['images'] = true; - $this->images = $images; - - return $this; - } - - /** - * @return list - */ - public function getButtons(): array - { - return $this->buttons; - } - - /** - * @param list $buttons - */ - public function setButtons(array $buttons): self - { - $this->initialized['buttons'] = true; - $this->buttons = $buttons; - - return $this; - } - - /** - * @return list - */ - public function getSocials(): array - { - return $this->socials; - } - - /** - * @param list $socials - */ - public function setSocials(array $socials): self - { - $this->initialized['socials'] = true; - $this->socials = $socials; - - return $this; - } - - public function getScheme(): string - { - return $this->scheme; - } - - public function setScheme(string $scheme): self - { - $this->initialized['scheme'] = true; - $this->scheme = $scheme; - - return $this; - } - - public function getQrCodeId(): string - { - return $this->qrCodeId; - } - - public function setQrCodeId(string $qrCodeId): self - { - $this->initialized['qrCodeId'] = true; - $this->qrCodeId = $qrCodeId; - - return $this; - } - - /** - * @return list - */ - public function getRedirects(): array - { - return $this->redirects; - } - - /** - * @param list $redirects - */ - public function setRedirects(array $redirects): self - { - $this->initialized['redirects'] = true; - $this->redirects = $redirects; - - return $this; - } -} diff --git a/lib/Model/LaunchpadAppearance.php b/lib/Model/LaunchpadAppearance.php deleted file mode 100644 index 3afb391..0000000 --- a/lib/Model/LaunchpadAppearance.php +++ /dev/null @@ -1,431 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $layoutV2; - /** - * @var BitlySiteHeaderAppearance - */ - protected $headerAppearance; - /** - * @var string - */ - protected $launchpadId; - /** - * @var string - */ - protected $background; - /** - * @var string - */ - protected $bottomBackground; - /** - * @var string - */ - protected $launchpadTextColor; - /** - * @var string - */ - protected $descriptionColor; - /** - * @var string - */ - protected $avatarImageUrl; - /** - * @var string - */ - protected $backgroundImageUrl; - /** - * @var string - */ - protected $avatarUploadImage; - /** - * @var string - */ - protected $backgroundUploadImage; - /** - * @var string - */ - protected $font; - /** - * @var string - */ - protected $displayName; - /** - * @var string - */ - protected $description; - /** - * @var bool - */ - protected $hideBitlyLogo; - /** - * @var int - */ - protected $themeId; - /** - * @var string - */ - protected $layout; - /** - * @var LaunchpadButtonAppearance - */ - protected $buttonAppearance; - /** - * Enum of style preference values on a Bitly Site. - * - * @var string - */ - protected $stylePreference; - /** - * Available image alignment types for Site background images. - * - * @var string - */ - protected $backgroundImageAlignment; - /** - * @var string - */ - protected $socialIconColor; - /** - * @var string - */ - protected $socialIconLayoutPosition; - /** - * @var string - */ - protected $socialIconPosition; - - public function getLayoutV2(): int - { - return $this->layoutV2; - } - - public function setLayoutV2(int $layoutV2): self - { - $this->initialized['layoutV2'] = true; - $this->layoutV2 = $layoutV2; - - return $this; - } - - public function getHeaderAppearance(): BitlySiteHeaderAppearance - { - return $this->headerAppearance; - } - - public function setHeaderAppearance(BitlySiteHeaderAppearance $headerAppearance): self - { - $this->initialized['headerAppearance'] = true; - $this->headerAppearance = $headerAppearance; - - return $this; - } - - public function getLaunchpadId(): string - { - return $this->launchpadId; - } - - public function setLaunchpadId(string $launchpadId): self - { - $this->initialized['launchpadId'] = true; - $this->launchpadId = $launchpadId; - - return $this; - } - - public function getBackground(): string - { - return $this->background; - } - - public function setBackground(string $background): self - { - $this->initialized['background'] = true; - $this->background = $background; - - return $this; - } - - public function getBottomBackground(): string - { - return $this->bottomBackground; - } - - public function setBottomBackground(string $bottomBackground): self - { - $this->initialized['bottomBackground'] = true; - $this->bottomBackground = $bottomBackground; - - return $this; - } - - public function getLaunchpadTextColor(): string - { - return $this->launchpadTextColor; - } - - public function setLaunchpadTextColor(string $launchpadTextColor): self - { - $this->initialized['launchpadTextColor'] = true; - $this->launchpadTextColor = $launchpadTextColor; - - return $this; - } - - public function getDescriptionColor(): string - { - return $this->descriptionColor; - } - - public function setDescriptionColor(string $descriptionColor): self - { - $this->initialized['descriptionColor'] = true; - $this->descriptionColor = $descriptionColor; - - return $this; - } - - public function getAvatarImageUrl(): string - { - return $this->avatarImageUrl; - } - - public function setAvatarImageUrl(string $avatarImageUrl): self - { - $this->initialized['avatarImageUrl'] = true; - $this->avatarImageUrl = $avatarImageUrl; - - return $this; - } - - public function getBackgroundImageUrl(): string - { - return $this->backgroundImageUrl; - } - - public function setBackgroundImageUrl(string $backgroundImageUrl): self - { - $this->initialized['backgroundImageUrl'] = true; - $this->backgroundImageUrl = $backgroundImageUrl; - - return $this; - } - - public function getAvatarUploadImage(): string - { - return $this->avatarUploadImage; - } - - public function setAvatarUploadImage(string $avatarUploadImage): self - { - $this->initialized['avatarUploadImage'] = true; - $this->avatarUploadImage = $avatarUploadImage; - - return $this; - } - - public function getBackgroundUploadImage(): string - { - return $this->backgroundUploadImage; - } - - public function setBackgroundUploadImage(string $backgroundUploadImage): self - { - $this->initialized['backgroundUploadImage'] = true; - $this->backgroundUploadImage = $backgroundUploadImage; - - return $this; - } - - public function getFont(): string - { - return $this->font; - } - - public function setFont(string $font): self - { - $this->initialized['font'] = true; - $this->font = $font; - - return $this; - } - - public function getDisplayName(): string - { - return $this->displayName; - } - - public function setDisplayName(string $displayName): self - { - $this->initialized['displayName'] = true; - $this->displayName = $displayName; - - return $this; - } - - public function getDescription(): string - { - return $this->description; - } - - public function setDescription(string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getHideBitlyLogo(): bool - { - return $this->hideBitlyLogo; - } - - public function setHideBitlyLogo(bool $hideBitlyLogo): self - { - $this->initialized['hideBitlyLogo'] = true; - $this->hideBitlyLogo = $hideBitlyLogo; - - return $this; - } - - public function getThemeId(): int - { - return $this->themeId; - } - - public function setThemeId(int $themeId): self - { - $this->initialized['themeId'] = true; - $this->themeId = $themeId; - - return $this; - } - - public function getLayout(): string - { - return $this->layout; - } - - public function setLayout(string $layout): self - { - $this->initialized['layout'] = true; - $this->layout = $layout; - - return $this; - } - - public function getButtonAppearance(): LaunchpadButtonAppearance - { - return $this->buttonAppearance; - } - - public function setButtonAppearance(LaunchpadButtonAppearance $buttonAppearance): self - { - $this->initialized['buttonAppearance'] = true; - $this->buttonAppearance = $buttonAppearance; - - return $this; - } - - /** - * Enum of style preference values on a Bitly Site. - */ - public function getStylePreference(): string - { - return $this->stylePreference; - } - - /** - * Enum of style preference values on a Bitly Site. - */ - public function setStylePreference(string $stylePreference): self - { - $this->initialized['stylePreference'] = true; - $this->stylePreference = $stylePreference; - - return $this; - } - - /** - * Available image alignment types for Site background images. - */ - public function getBackgroundImageAlignment(): string - { - return $this->backgroundImageAlignment; - } - - /** - * Available image alignment types for Site background images. - */ - public function setBackgroundImageAlignment(string $backgroundImageAlignment): self - { - $this->initialized['backgroundImageAlignment'] = true; - $this->backgroundImageAlignment = $backgroundImageAlignment; - - return $this; - } - - public function getSocialIconColor(): string - { - return $this->socialIconColor; - } - - public function setSocialIconColor(string $socialIconColor): self - { - $this->initialized['socialIconColor'] = true; - $this->socialIconColor = $socialIconColor; - - return $this; - } - - public function getSocialIconLayoutPosition(): string - { - return $this->socialIconLayoutPosition; - } - - public function setSocialIconLayoutPosition(string $socialIconLayoutPosition): self - { - $this->initialized['socialIconLayoutPosition'] = true; - $this->socialIconLayoutPosition = $socialIconLayoutPosition; - - return $this; - } - - public function getSocialIconPosition(): string - { - return $this->socialIconPosition; - } - - public function setSocialIconPosition(string $socialIconPosition): self - { - $this->initialized['socialIconPosition'] = true; - $this->socialIconPosition = $socialIconPosition; - - return $this; - } -} diff --git a/lib/Model/LaunchpadButton.php b/lib/Model/LaunchpadButton.php deleted file mode 100644 index 0004ebe..0000000 --- a/lib/Model/LaunchpadButton.php +++ /dev/null @@ -1,378 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $launchpadId; - /** - * @var string - */ - protected $buttonId; - /** - * @var string - */ - protected $digitalBusinessCardId; - /** - * @var int - */ - protected $sortOrder; - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPinned; - /** - * Available button types for Launchpad content. - * - * @var string - */ - protected $type; - /** - * @var string - */ - protected $parent; - /** - * @var bool - */ - protected $isSample; - /** - * @var string - */ - protected $title; - /** - * @var string - */ - protected $bitlink; - /** - * @var string - */ - protected $longUrl; - /** - * @var string - */ - protected $scheme; - /** - * @var string - */ - protected $domain; - /** - * @var string - */ - protected $keyword; - /** - * @var string - */ - protected $description; - /** - * @var array - */ - protected $content; - /** - * @var TextBlockAppearanceResponse - */ - protected $appearance; - - public function getLaunchpadId(): string - { - return $this->launchpadId; - } - - public function setLaunchpadId(string $launchpadId): self - { - $this->initialized['launchpadId'] = true; - $this->launchpadId = $launchpadId; - - return $this; - } - - public function getButtonId(): string - { - return $this->buttonId; - } - - public function setButtonId(string $buttonId): self - { - $this->initialized['buttonId'] = true; - $this->buttonId = $buttonId; - - return $this; - } - - public function getDigitalBusinessCardId(): string - { - return $this->digitalBusinessCardId; - } - - public function setDigitalBusinessCardId(string $digitalBusinessCardId): self - { - $this->initialized['digitalBusinessCardId'] = true; - $this->digitalBusinessCardId = $digitalBusinessCardId; - - return $this; - } - - public function getSortOrder(): int - { - return $this->sortOrder; - } - - public function setSortOrder(int $sortOrder): self - { - $this->initialized['sortOrder'] = true; - $this->sortOrder = $sortOrder; - - return $this; - } - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - /** - * Available button types for Launchpad content. - */ - public function getType(): string - { - return $this->type; - } - - /** - * Available button types for Launchpad content. - */ - public function setType(string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getParent(): string - { - return $this->parent; - } - - public function setParent(string $parent): self - { - $this->initialized['parent'] = true; - $this->parent = $parent; - - return $this; - } - - public function getIsSample(): bool - { - return $this->isSample; - } - - public function setIsSample(bool $isSample): self - { - $this->initialized['isSample'] = true; - $this->isSample = $isSample; - - return $this; - } - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } - - public function getBitlink(): string - { - return $this->bitlink; - } - - public function setBitlink(string $bitlink): self - { - $this->initialized['bitlink'] = true; - $this->bitlink = $bitlink; - - return $this; - } - - public function getLongUrl(): string - { - return $this->longUrl; - } - - public function setLongUrl(string $longUrl): self - { - $this->initialized['longUrl'] = true; - $this->longUrl = $longUrl; - - return $this; - } - - public function getScheme(): string - { - return $this->scheme; - } - - public function setScheme(string $scheme): self - { - $this->initialized['scheme'] = true; - $this->scheme = $scheme; - - return $this; - } - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - public function getKeyword(): string - { - return $this->keyword; - } - - public function setKeyword(string $keyword): self - { - $this->initialized['keyword'] = true; - $this->keyword = $keyword; - - return $this; - } - - public function getDescription(): string - { - return $this->description; - } - - public function setDescription(string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - /** - * @return array - */ - public function getContent(): iterable - { - return $this->content; - } - - /** - * @param array $content - */ - public function setContent(iterable $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } - - public function getAppearance(): TextBlockAppearanceResponse - { - return $this->appearance; - } - - public function setAppearance(TextBlockAppearanceResponse $appearance): self - { - $this->initialized['appearance'] = true; - $this->appearance = $appearance; - - return $this; - } -} diff --git a/lib/Model/LaunchpadButtonAppearance.php b/lib/Model/LaunchpadButtonAppearance.php deleted file mode 100644 index 517ee6b..0000000 --- a/lib/Model/LaunchpadButtonAppearance.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $buttonBackground; - /** - * @var string - */ - protected $buttonTextColor; - /** - * @var int - */ - protected $shape; - /** - * @var int - */ - protected $shadow; - - public function getButtonBackground(): string - { - return $this->buttonBackground; - } - - public function setButtonBackground(string $buttonBackground): self - { - $this->initialized['buttonBackground'] = true; - $this->buttonBackground = $buttonBackground; - - return $this; - } - - public function getButtonTextColor(): string - { - return $this->buttonTextColor; - } - - public function setButtonTextColor(string $buttonTextColor): self - { - $this->initialized['buttonTextColor'] = true; - $this->buttonTextColor = $buttonTextColor; - - return $this; - } - - public function getShape(): int - { - return $this->shape; - } - - public function setShape(int $shape): self - { - $this->initialized['shape'] = true; - $this->shape = $shape; - - return $this; - } - - public function getShadow(): int - { - return $this->shadow; - } - - public function setShadow(int $shadow): self - { - $this->initialized['shadow'] = true; - $this->shadow = $shadow; - - return $this; - } -} diff --git a/lib/Model/LaunchpadButtonCommon.php b/lib/Model/LaunchpadButtonCommon.php deleted file mode 100644 index 77c6342..0000000 --- a/lib/Model/LaunchpadButtonCommon.php +++ /dev/null @@ -1,236 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $launchpadId; - /** - * @var string - */ - protected $buttonId; - /** - * @var string - */ - protected $digitalBusinessCardId; - /** - * @var int - */ - protected $sortOrder; - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPinned; - /** - * Available button types for Launchpad content. - * - * @var string - */ - protected $type; - /** - * @var string - */ - protected $parent; - /** - * @var bool - */ - protected $isSample; - /** - * @var string - */ - protected $title; - - public function getLaunchpadId(): string - { - return $this->launchpadId; - } - - public function setLaunchpadId(string $launchpadId): self - { - $this->initialized['launchpadId'] = true; - $this->launchpadId = $launchpadId; - - return $this; - } - - public function getButtonId(): string - { - return $this->buttonId; - } - - public function setButtonId(string $buttonId): self - { - $this->initialized['buttonId'] = true; - $this->buttonId = $buttonId; - - return $this; - } - - public function getDigitalBusinessCardId(): string - { - return $this->digitalBusinessCardId; - } - - public function setDigitalBusinessCardId(string $digitalBusinessCardId): self - { - $this->initialized['digitalBusinessCardId'] = true; - $this->digitalBusinessCardId = $digitalBusinessCardId; - - return $this; - } - - public function getSortOrder(): int - { - return $this->sortOrder; - } - - public function setSortOrder(int $sortOrder): self - { - $this->initialized['sortOrder'] = true; - $this->sortOrder = $sortOrder; - - return $this; - } - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - /** - * Available button types for Launchpad content. - */ - public function getType(): string - { - return $this->type; - } - - /** - * Available button types for Launchpad content. - */ - public function setType(string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getParent(): string - { - return $this->parent; - } - - public function setParent(string $parent): self - { - $this->initialized['parent'] = true; - $this->parent = $parent; - - return $this; - } - - public function getIsSample(): bool - { - return $this->isSample; - } - - public function setIsSample(bool $isSample): self - { - $this->initialized['isSample'] = true; - $this->isSample = $isSample; - - return $this; - } - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } -} diff --git a/lib/Model/LaunchpadButtonRequest.php b/lib/Model/LaunchpadButtonRequest.php deleted file mode 100644 index f35679e..0000000 --- a/lib/Model/LaunchpadButtonRequest.php +++ /dev/null @@ -1,234 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $bitlink; - /** - * @var string - */ - protected $longUrl; - /** - * @var string - */ - protected $domain; - /** - * @var string - */ - protected $title; - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPinned; - /** - * @var string - */ - protected $description; - /** - * @var string - */ - protected $parent; - /** - * @var ContentRequestBitlink - */ - protected $content; - /** - * @var object - */ - protected $buttonThumbnailImage; - - public function getBitlink(): string - { - return $this->bitlink; - } - - public function setBitlink(string $bitlink): self - { - $this->initialized['bitlink'] = true; - $this->bitlink = $bitlink; - - return $this; - } - - public function getLongUrl(): string - { - return $this->longUrl; - } - - public function setLongUrl(string $longUrl): self - { - $this->initialized['longUrl'] = true; - $this->longUrl = $longUrl; - - return $this; - } - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - public function getDescription(): string - { - return $this->description; - } - - public function setDescription(string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getParent(): string - { - return $this->parent; - } - - public function setParent(string $parent): self - { - $this->initialized['parent'] = true; - $this->parent = $parent; - - return $this; - } - - public function getContent(): ContentRequestBitlink - { - return $this->content; - } - - public function setContent(ContentRequestBitlink $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } - - /** - * @return object - */ - public function getButtonThumbnailImage() - { - return $this->buttonThumbnailImage; - } - - /** - * @param object $buttonThumbnailImage - */ - public function setButtonThumbnailImage($buttonThumbnailImage): self - { - $this->initialized['buttonThumbnailImage'] = true; - $this->buttonThumbnailImage = $buttonThumbnailImage; - - return $this; - } -} diff --git a/lib/Model/LaunchpadButtonSortOrder.php b/lib/Model/LaunchpadButtonSortOrder.php deleted file mode 100644 index 4e96116..0000000 --- a/lib/Model/LaunchpadButtonSortOrder.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $buttonId; - /** - * @var int - */ - protected $sortOrder; - - public function getButtonId(): string - { - return $this->buttonId; - } - - public function setButtonId(string $buttonId): self - { - $this->initialized['buttonId'] = true; - $this->buttonId = $buttonId; - - return $this; - } - - public function getSortOrder(): int - { - return $this->sortOrder; - } - - public function setSortOrder(int $sortOrder): self - { - $this->initialized['sortOrder'] = true; - $this->sortOrder = $sortOrder; - - return $this; - } -} diff --git a/lib/Model/LaunchpadClicks.php b/lib/Model/LaunchpadClicks.php deleted file mode 100644 index 310723c..0000000 --- a/lib/Model/LaunchpadClicks.php +++ /dev/null @@ -1,185 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $clicks; - /** - * @var string - */ - protected $date; - /** - * @var string - */ - protected $title; - /** - * @var bool - */ - protected $isActive; - /** - * @var string - */ - protected $longUrl; - /** - * Available button types for Launchpad content. - * - * @var string - */ - protected $type; - /** - * @var string - */ - protected $bitlinkId; - /** - * @var string - */ - protected $domain; - /** - * @var string - */ - protected $keyword; - - public function getClicks(): int - { - return $this->clicks; - } - - public function setClicks(int $clicks): self - { - $this->initialized['clicks'] = true; - $this->clicks = $clicks; - - return $this; - } - - public function getDate(): string - { - return $this->date; - } - - public function setDate(string $date): self - { - $this->initialized['date'] = true; - $this->date = $date; - - return $this; - } - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getLongUrl(): string - { - return $this->longUrl; - } - - public function setLongUrl(string $longUrl): self - { - $this->initialized['longUrl'] = true; - $this->longUrl = $longUrl; - - return $this; - } - - /** - * Available button types for Launchpad content. - */ - public function getType(): string - { - return $this->type; - } - - /** - * Available button types for Launchpad content. - */ - public function setType(string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getBitlinkId(): string - { - return $this->bitlinkId; - } - - public function setBitlinkId(string $bitlinkId): self - { - $this->initialized['bitlinkId'] = true; - $this->bitlinkId = $bitlinkId; - - return $this; - } - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - public function getKeyword(): string - { - return $this->keyword; - } - - public function setKeyword(string $keyword): self - { - $this->initialized['keyword'] = true; - $this->keyword = $keyword; - - return $this; - } -} diff --git a/lib/Model/LaunchpadContainerRequest.php b/lib/Model/LaunchpadContainerRequest.php deleted file mode 100644 index 362bd34..0000000 --- a/lib/Model/LaunchpadContainerRequest.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var array - */ - protected $content; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPinned; - - /** - * @return array - */ - public function getContent(): iterable - { - return $this->content; - } - - /** - * @param array $content - */ - public function setContent(iterable $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } -} diff --git a/lib/Model/LaunchpadContainerResponse.php b/lib/Model/LaunchpadContainerResponse.php deleted file mode 100644 index 09cde03..0000000 --- a/lib/Model/LaunchpadContainerResponse.php +++ /dev/null @@ -1,259 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $launchpadId; - /** - * @var string - */ - protected $buttonId; - /** - * @var string - */ - protected $digitalBusinessCardId; - /** - * @var int - */ - protected $sortOrder; - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPinned; - /** - * Available button types for Launchpad content. - * - * @var string - */ - protected $type; - /** - * @var string - */ - protected $parent; - /** - * @var bool - */ - protected $isSample; - /** - * @var string - */ - protected $title; - /** - * @var array - */ - protected $content; - - public function getLaunchpadId(): string - { - return $this->launchpadId; - } - - public function setLaunchpadId(string $launchpadId): self - { - $this->initialized['launchpadId'] = true; - $this->launchpadId = $launchpadId; - - return $this; - } - - public function getButtonId(): string - { - return $this->buttonId; - } - - public function setButtonId(string $buttonId): self - { - $this->initialized['buttonId'] = true; - $this->buttonId = $buttonId; - - return $this; - } - - public function getDigitalBusinessCardId(): string - { - return $this->digitalBusinessCardId; - } - - public function setDigitalBusinessCardId(string $digitalBusinessCardId): self - { - $this->initialized['digitalBusinessCardId'] = true; - $this->digitalBusinessCardId = $digitalBusinessCardId; - - return $this; - } - - public function getSortOrder(): int - { - return $this->sortOrder; - } - - public function setSortOrder(int $sortOrder): self - { - $this->initialized['sortOrder'] = true; - $this->sortOrder = $sortOrder; - - return $this; - } - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - /** - * Available button types for Launchpad content. - */ - public function getType(): string - { - return $this->type; - } - - /** - * Available button types for Launchpad content. - */ - public function setType(string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getParent(): string - { - return $this->parent; - } - - public function setParent(string $parent): self - { - $this->initialized['parent'] = true; - $this->parent = $parent; - - return $this; - } - - public function getIsSample(): bool - { - return $this->isSample; - } - - public function setIsSample(bool $isSample): self - { - $this->initialized['isSample'] = true; - $this->isSample = $isSample; - - return $this; - } - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } - - /** - * @return array - */ - public function getContent(): iterable - { - return $this->content; - } - - /** - * @param array $content - */ - public function setContent(iterable $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } -} diff --git a/lib/Model/LaunchpadContentBitlinkRequest.php b/lib/Model/LaunchpadContentBitlinkRequest.php deleted file mode 100644 index b1e8d68..0000000 --- a/lib/Model/LaunchpadContentBitlinkRequest.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var LaunchpadContentBitlinkRequestContent - */ - protected $content; - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPinned; - /** - * @var string - */ - protected $parent; - - public function getContent(): LaunchpadContentBitlinkRequestContent - { - return $this->content; - } - - public function setContent(LaunchpadContentBitlinkRequestContent $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - public function getParent(): string - { - return $this->parent; - } - - public function setParent(string $parent): self - { - $this->initialized['parent'] = true; - $this->parent = $parent; - - return $this; - } -} diff --git a/lib/Model/LaunchpadContentBitlinkRequestContent.php b/lib/Model/LaunchpadContentBitlinkRequestContent.php deleted file mode 100644 index 4297087..0000000 --- a/lib/Model/LaunchpadContentBitlinkRequestContent.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $description; - /** - * @var string - */ - protected $bitlinkId; - /** - * @var string - */ - protected $linkTitle; - - public function getDescription(): string - { - return $this->description; - } - - public function setDescription(string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getBitlinkId(): string - { - return $this->bitlinkId; - } - - public function setBitlinkId(string $bitlinkId): self - { - $this->initialized['bitlinkId'] = true; - $this->bitlinkId = $bitlinkId; - - return $this; - } - - public function getLinkTitle(): string - { - return $this->linkTitle; - } - - public function setLinkTitle(string $linkTitle): self - { - $this->initialized['linkTitle'] = true; - $this->linkTitle = $linkTitle; - - return $this; - } -} diff --git a/lib/Model/LaunchpadContentDigitalBusinessCardRequest.php b/lib/Model/LaunchpadContentDigitalBusinessCardRequest.php deleted file mode 100644 index cb1ac4c..0000000 --- a/lib/Model/LaunchpadContentDigitalBusinessCardRequest.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var DigitalBusinessCardContent - */ - protected $content; - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPinned; - /** - * @var string - */ - protected $parent; - - public function getContent(): DigitalBusinessCardContent - { - return $this->content; - } - - public function setContent(DigitalBusinessCardContent $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - public function getParent(): string - { - return $this->parent; - } - - public function setParent(string $parent): self - { - $this->initialized['parent'] = true; - $this->parent = $parent; - - return $this; - } -} diff --git a/lib/Model/LaunchpadContentDigitalBusinessCardResponse.php b/lib/Model/LaunchpadContentDigitalBusinessCardResponse.php deleted file mode 100644 index cfd8cbc..0000000 --- a/lib/Model/LaunchpadContentDigitalBusinessCardResponse.php +++ /dev/null @@ -1,253 +0,0 @@ -initialized); - } - /** - * @var DigitalBusinessCardContent - */ - protected $content; - /** - * @var string - */ - protected $launchpadId; - /** - * @var string - */ - protected $buttonId; - /** - * @var string - */ - protected $digitalBusinessCardId; - /** - * @var int - */ - protected $sortOrder; - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPinned; - /** - * Available button types for Launchpad content. - * - * @var string - */ - protected $type; - /** - * @var string - */ - protected $parent; - /** - * @var bool - */ - protected $isSample; - /** - * @var string - */ - protected $title; - - public function getContent(): DigitalBusinessCardContent - { - return $this->content; - } - - public function setContent(DigitalBusinessCardContent $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } - - public function getLaunchpadId(): string - { - return $this->launchpadId; - } - - public function setLaunchpadId(string $launchpadId): self - { - $this->initialized['launchpadId'] = true; - $this->launchpadId = $launchpadId; - - return $this; - } - - public function getButtonId(): string - { - return $this->buttonId; - } - - public function setButtonId(string $buttonId): self - { - $this->initialized['buttonId'] = true; - $this->buttonId = $buttonId; - - return $this; - } - - public function getDigitalBusinessCardId(): string - { - return $this->digitalBusinessCardId; - } - - public function setDigitalBusinessCardId(string $digitalBusinessCardId): self - { - $this->initialized['digitalBusinessCardId'] = true; - $this->digitalBusinessCardId = $digitalBusinessCardId; - - return $this; - } - - public function getSortOrder(): int - { - return $this->sortOrder; - } - - public function setSortOrder(int $sortOrder): self - { - $this->initialized['sortOrder'] = true; - $this->sortOrder = $sortOrder; - - return $this; - } - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - /** - * Available button types for Launchpad content. - */ - public function getType(): string - { - return $this->type; - } - - /** - * Available button types for Launchpad content. - */ - public function setType(string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getParent(): string - { - return $this->parent; - } - - public function setParent(string $parent): self - { - $this->initialized['parent'] = true; - $this->parent = $parent; - - return $this; - } - - public function getIsSample(): bool - { - return $this->isSample; - } - - public function setIsSample(bool $isSample): self - { - $this->initialized['isSample'] = true; - $this->isSample = $isSample; - - return $this; - } - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } -} diff --git a/lib/Model/LaunchpadContentImage.php b/lib/Model/LaunchpadContentImage.php deleted file mode 100644 index 8611218..0000000 --- a/lib/Model/LaunchpadContentImage.php +++ /dev/null @@ -1,253 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $launchpadId; - /** - * @var string - */ - protected $buttonId; - /** - * @var string - */ - protected $digitalBusinessCardId; - /** - * @var int - */ - protected $sortOrder; - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPinned; - /** - * Available button types for Launchpad content. - * - * @var string - */ - protected $type; - /** - * @var string - */ - protected $parent; - /** - * @var bool - */ - protected $isSample; - /** - * @var string - */ - protected $title; - /** - * @var LaunchpadImageContentData - */ - protected $content; - - public function getLaunchpadId(): string - { - return $this->launchpadId; - } - - public function setLaunchpadId(string $launchpadId): self - { - $this->initialized['launchpadId'] = true; - $this->launchpadId = $launchpadId; - - return $this; - } - - public function getButtonId(): string - { - return $this->buttonId; - } - - public function setButtonId(string $buttonId): self - { - $this->initialized['buttonId'] = true; - $this->buttonId = $buttonId; - - return $this; - } - - public function getDigitalBusinessCardId(): string - { - return $this->digitalBusinessCardId; - } - - public function setDigitalBusinessCardId(string $digitalBusinessCardId): self - { - $this->initialized['digitalBusinessCardId'] = true; - $this->digitalBusinessCardId = $digitalBusinessCardId; - - return $this; - } - - public function getSortOrder(): int - { - return $this->sortOrder; - } - - public function setSortOrder(int $sortOrder): self - { - $this->initialized['sortOrder'] = true; - $this->sortOrder = $sortOrder; - - return $this; - } - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - /** - * Available button types for Launchpad content. - */ - public function getType(): string - { - return $this->type; - } - - /** - * Available button types for Launchpad content. - */ - public function setType(string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getParent(): string - { - return $this->parent; - } - - public function setParent(string $parent): self - { - $this->initialized['parent'] = true; - $this->parent = $parent; - - return $this; - } - - public function getIsSample(): bool - { - return $this->isSample; - } - - public function setIsSample(bool $isSample): self - { - $this->initialized['isSample'] = true; - $this->isSample = $isSample; - - return $this; - } - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } - - public function getContent(): LaunchpadImageContentData - { - return $this->content; - } - - public function setContent(LaunchpadImageContentData $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } -} diff --git a/lib/Model/LaunchpadContentImageRequest.php b/lib/Model/LaunchpadContentImageRequest.php deleted file mode 100644 index 9974e9e..0000000 --- a/lib/Model/LaunchpadContentImageRequest.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var LaunchpadImageContentRequestData - */ - protected $content; - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPinned; - /** - * @var string - */ - protected $parent; - - public function getContent(): LaunchpadImageContentRequestData - { - return $this->content; - } - - public function setContent(LaunchpadImageContentRequestData $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - public function getParent(): string - { - return $this->parent; - } - - public function setParent(string $parent): self - { - $this->initialized['parent'] = true; - $this->parent = $parent; - - return $this; - } -} diff --git a/lib/Model/LaunchpadContentImageShortenURLData.php b/lib/Model/LaunchpadContentImageShortenURLData.php deleted file mode 100644 index b6d80e4..0000000 --- a/lib/Model/LaunchpadContentImageShortenURLData.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $longUrl; - /** - * @var string - */ - protected $domain; - - public function getLongUrl(): string - { - return $this->longUrl; - } - - public function setLongUrl(string $longUrl): self - { - $this->initialized['longUrl'] = true; - $this->longUrl = $longUrl; - - return $this; - } - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } -} diff --git a/lib/Model/LaunchpadContentSocial.php b/lib/Model/LaunchpadContentSocial.php deleted file mode 100644 index 4b82eac..0000000 --- a/lib/Model/LaunchpadContentSocial.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $url; - /** - * @var string - */ - protected $channel; - - public function getUrl(): string - { - return $this->url; - } - - public function setUrl(string $url): self - { - $this->initialized['url'] = true; - $this->url = $url; - - return $this; - } - - public function getChannel(): string - { - return $this->channel; - } - - public function setChannel(string $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } -} diff --git a/lib/Model/LaunchpadContentSocialRequest.php b/lib/Model/LaunchpadContentSocialRequest.php deleted file mode 100644 index b6c25ca..0000000 --- a/lib/Model/LaunchpadContentSocialRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var LaunchpadContentSocial - */ - protected $content; - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - - public function getContent(): LaunchpadContentSocial - { - return $this->content; - } - - public function setContent(LaunchpadContentSocial $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } -} diff --git a/lib/Model/LaunchpadContentTextBlockRequest.php b/lib/Model/LaunchpadContentTextBlockRequest.php deleted file mode 100644 index a315d89..0000000 --- a/lib/Model/LaunchpadContentTextBlockRequest.php +++ /dev/null @@ -1,143 +0,0 @@ -initialized); - } - /** - * @var TextBlockContent - */ - protected $content; - /** - * @var TextBlockAppearance - */ - protected $appearance; - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPinned; - /** - * @var string - */ - protected $parent; - - public function getContent(): TextBlockContent - { - return $this->content; - } - - public function setContent(TextBlockContent $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } - - public function getAppearance(): TextBlockAppearance - { - return $this->appearance; - } - - public function setAppearance(TextBlockAppearance $appearance): self - { - $this->initialized['appearance'] = true; - $this->appearance = $appearance; - - return $this; - } - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - public function getParent(): string - { - return $this->parent; - } - - public function setParent(string $parent): self - { - $this->initialized['parent'] = true; - $this->parent = $parent; - - return $this; - } -} diff --git a/lib/Model/LaunchpadContentTextBlockResponse.php b/lib/Model/LaunchpadContentTextBlockResponse.php deleted file mode 100644 index 8c7872c..0000000 --- a/lib/Model/LaunchpadContentTextBlockResponse.php +++ /dev/null @@ -1,270 +0,0 @@ -initialized); - } - /** - * @var TextBlockContent - */ - protected $content; - /** - * @var TextBlockAppearanceResponse - */ - protected $appearance; - /** - * @var string - */ - protected $launchpadId; - /** - * @var string - */ - protected $buttonId; - /** - * @var string - */ - protected $digitalBusinessCardId; - /** - * @var int - */ - protected $sortOrder; - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPinned; - /** - * Available button types for Launchpad content. - * - * @var string - */ - protected $type; - /** - * @var string - */ - protected $parent; - /** - * @var bool - */ - protected $isSample; - /** - * @var string - */ - protected $title; - - public function getContent(): TextBlockContent - { - return $this->content; - } - - public function setContent(TextBlockContent $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } - - public function getAppearance(): TextBlockAppearanceResponse - { - return $this->appearance; - } - - public function setAppearance(TextBlockAppearanceResponse $appearance): self - { - $this->initialized['appearance'] = true; - $this->appearance = $appearance; - - return $this; - } - - public function getLaunchpadId(): string - { - return $this->launchpadId; - } - - public function setLaunchpadId(string $launchpadId): self - { - $this->initialized['launchpadId'] = true; - $this->launchpadId = $launchpadId; - - return $this; - } - - public function getButtonId(): string - { - return $this->buttonId; - } - - public function setButtonId(string $buttonId): self - { - $this->initialized['buttonId'] = true; - $this->buttonId = $buttonId; - - return $this; - } - - public function getDigitalBusinessCardId(): string - { - return $this->digitalBusinessCardId; - } - - public function setDigitalBusinessCardId(string $digitalBusinessCardId): self - { - $this->initialized['digitalBusinessCardId'] = true; - $this->digitalBusinessCardId = $digitalBusinessCardId; - - return $this; - } - - public function getSortOrder(): int - { - return $this->sortOrder; - } - - public function setSortOrder(int $sortOrder): self - { - $this->initialized['sortOrder'] = true; - $this->sortOrder = $sortOrder; - - return $this; - } - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - /** - * Available button types for Launchpad content. - */ - public function getType(): string - { - return $this->type; - } - - /** - * Available button types for Launchpad content. - */ - public function setType(string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getParent(): string - { - return $this->parent; - } - - public function setParent(string $parent): self - { - $this->initialized['parent'] = true; - $this->parent = $parent; - - return $this; - } - - public function getIsSample(): bool - { - return $this->isSample; - } - - public function setIsSample(bool $isSample): self - { - $this->initialized['isSample'] = true; - $this->isSample = $isSample; - - return $this; - } - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } -} diff --git a/lib/Model/LaunchpadContentYouTubeRequest.php b/lib/Model/LaunchpadContentYouTubeRequest.php deleted file mode 100644 index 260f1d9..0000000 --- a/lib/Model/LaunchpadContentYouTubeRequest.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var YoutubeVideoRequest - */ - protected $content; - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPinned; - /** - * @var string - */ - protected $parent; - - public function getContent(): YoutubeVideoRequest - { - return $this->content; - } - - public function setContent(YoutubeVideoRequest $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - public function getParent(): string - { - return $this->parent; - } - - public function setParent(string $parent): self - { - $this->initialized['parent'] = true; - $this->parent = $parent; - - return $this; - } -} diff --git a/lib/Model/LaunchpadContentYouTubeResponse.php b/lib/Model/LaunchpadContentYouTubeResponse.php deleted file mode 100644 index 88edc88..0000000 --- a/lib/Model/LaunchpadContentYouTubeResponse.php +++ /dev/null @@ -1,253 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $launchpadId; - /** - * @var string - */ - protected $buttonId; - /** - * @var YoutubeVideoResponse - */ - protected $content; - /** - * @var string - */ - protected $digitalBusinessCardId; - /** - * @var int - */ - protected $sortOrder; - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPinned; - /** - * Available button types for Launchpad content. - * - * @var string - */ - protected $type; - /** - * @var string - */ - protected $parent; - /** - * @var bool - */ - protected $isSample; - /** - * @var string - */ - protected $title; - - public function getLaunchpadId(): string - { - return $this->launchpadId; - } - - public function setLaunchpadId(string $launchpadId): self - { - $this->initialized['launchpadId'] = true; - $this->launchpadId = $launchpadId; - - return $this; - } - - public function getButtonId(): string - { - return $this->buttonId; - } - - public function setButtonId(string $buttonId): self - { - $this->initialized['buttonId'] = true; - $this->buttonId = $buttonId; - - return $this; - } - - public function getContent(): YoutubeVideoResponse - { - return $this->content; - } - - public function setContent(YoutubeVideoResponse $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } - - public function getDigitalBusinessCardId(): string - { - return $this->digitalBusinessCardId; - } - - public function setDigitalBusinessCardId(string $digitalBusinessCardId): self - { - $this->initialized['digitalBusinessCardId'] = true; - $this->digitalBusinessCardId = $digitalBusinessCardId; - - return $this; - } - - public function getSortOrder(): int - { - return $this->sortOrder; - } - - public function setSortOrder(int $sortOrder): self - { - $this->initialized['sortOrder'] = true; - $this->sortOrder = $sortOrder; - - return $this; - } - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - /** - * Available button types for Launchpad content. - */ - public function getType(): string - { - return $this->type; - } - - /** - * Available button types for Launchpad content. - */ - public function setType(string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getParent(): string - { - return $this->parent; - } - - public function setParent(string $parent): self - { - $this->initialized['parent'] = true; - $this->parent = $parent; - - return $this; - } - - public function getIsSample(): bool - { - return $this->isSample; - } - - public function setIsSample(bool $isSample): self - { - $this->initialized['isSample'] = true; - $this->isSample = $isSample; - - return $this; - } - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } -} diff --git a/lib/Model/LaunchpadImage.php b/lib/Model/LaunchpadImage.php deleted file mode 100644 index 9762c35..0000000 --- a/lib/Model/LaunchpadImage.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $crop; - /** - * @var string - */ - protected $url; - /** - * @var string - */ - protected $imageUse; - /** - * @var string - */ - protected $imageGuid; - - public function getCrop(): string - { - return $this->crop; - } - - public function setCrop(string $crop): self - { - $this->initialized['crop'] = true; - $this->crop = $crop; - - return $this; - } - - public function getUrl(): string - { - return $this->url; - } - - public function setUrl(string $url): self - { - $this->initialized['url'] = true; - $this->url = $url; - - return $this; - } - - public function getImageUse(): string - { - return $this->imageUse; - } - - public function setImageUse(string $imageUse): self - { - $this->initialized['imageUse'] = true; - $this->imageUse = $imageUse; - - return $this; - } - - public function getImageGuid(): string - { - return $this->imageGuid; - } - - public function setImageGuid(string $imageGuid): self - { - $this->initialized['imageGuid'] = true; - $this->imageGuid = $imageGuid; - - return $this; - } -} diff --git a/lib/Model/LaunchpadImageContentData.php b/lib/Model/LaunchpadImageContentData.php deleted file mode 100644 index 8e057b7..0000000 --- a/lib/Model/LaunchpadImageContentData.php +++ /dev/null @@ -1,143 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $imageGuid; - /** - * @var string - */ - protected $imageUrl; - /** - * @var string - */ - protected $crop; - /** - * @var string - */ - protected $aspectRatio; - /** - * @var string - */ - protected $linkTitle; - /** - * @var string - */ - protected $description; - /** - * @var string - */ - protected $bitlinkId; - - public function getImageGuid(): string - { - return $this->imageGuid; - } - - public function setImageGuid(string $imageGuid): self - { - $this->initialized['imageGuid'] = true; - $this->imageGuid = $imageGuid; - - return $this; - } - - public function getImageUrl(): string - { - return $this->imageUrl; - } - - public function setImageUrl(string $imageUrl): self - { - $this->initialized['imageUrl'] = true; - $this->imageUrl = $imageUrl; - - return $this; - } - - public function getCrop(): string - { - return $this->crop; - } - - public function setCrop(string $crop): self - { - $this->initialized['crop'] = true; - $this->crop = $crop; - - return $this; - } - - public function getAspectRatio(): string - { - return $this->aspectRatio; - } - - public function setAspectRatio(string $aspectRatio): self - { - $this->initialized['aspectRatio'] = true; - $this->aspectRatio = $aspectRatio; - - return $this; - } - - public function getLinkTitle(): string - { - return $this->linkTitle; - } - - public function setLinkTitle(string $linkTitle): self - { - $this->initialized['linkTitle'] = true; - $this->linkTitle = $linkTitle; - - return $this; - } - - public function getDescription(): string - { - return $this->description; - } - - public function setDescription(string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getBitlinkId(): string - { - return $this->bitlinkId; - } - - public function setBitlinkId(string $bitlinkId): self - { - $this->initialized['bitlinkId'] = true; - $this->bitlinkId = $bitlinkId; - - return $this; - } -} diff --git a/lib/Model/LaunchpadImageContentRequestData.php b/lib/Model/LaunchpadImageContentRequestData.php deleted file mode 100644 index ecf70f1..0000000 --- a/lib/Model/LaunchpadImageContentRequestData.php +++ /dev/null @@ -1,177 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $imageGuid; - /** - * @var string - */ - protected $imageUrl; - /** - * @var string - */ - protected $crop; - /** - * @var string - */ - protected $aspectRatio; - /** - * @var string - */ - protected $linkTitle; - /** - * @var string - */ - protected $description; - /** - * @var string - */ - protected $bitlinkId; - /** - * @var string - */ - protected $longUrl; - /** - * @var string - */ - protected $domain; - - public function getImageGuid(): string - { - return $this->imageGuid; - } - - public function setImageGuid(string $imageGuid): self - { - $this->initialized['imageGuid'] = true; - $this->imageGuid = $imageGuid; - - return $this; - } - - public function getImageUrl(): string - { - return $this->imageUrl; - } - - public function setImageUrl(string $imageUrl): self - { - $this->initialized['imageUrl'] = true; - $this->imageUrl = $imageUrl; - - return $this; - } - - public function getCrop(): string - { - return $this->crop; - } - - public function setCrop(string $crop): self - { - $this->initialized['crop'] = true; - $this->crop = $crop; - - return $this; - } - - public function getAspectRatio(): string - { - return $this->aspectRatio; - } - - public function setAspectRatio(string $aspectRatio): self - { - $this->initialized['aspectRatio'] = true; - $this->aspectRatio = $aspectRatio; - - return $this; - } - - public function getLinkTitle(): string - { - return $this->linkTitle; - } - - public function setLinkTitle(string $linkTitle): self - { - $this->initialized['linkTitle'] = true; - $this->linkTitle = $linkTitle; - - return $this; - } - - public function getDescription(): string - { - return $this->description; - } - - public function setDescription(string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getBitlinkId(): string - { - return $this->bitlinkId; - } - - public function setBitlinkId(string $bitlinkId): self - { - $this->initialized['bitlinkId'] = true; - $this->bitlinkId = $bitlinkId; - - return $this; - } - - public function getLongUrl(): string - { - return $this->longUrl; - } - - public function setLongUrl(string $longUrl): self - { - $this->initialized['longUrl'] = true; - $this->longUrl = $longUrl; - - return $this; - } - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } -} diff --git a/lib/Model/LaunchpadImageUpdate.php b/lib/Model/LaunchpadImageUpdate.php deleted file mode 100644 index 92420b9..0000000 --- a/lib/Model/LaunchpadImageUpdate.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $imageUrl; - /** - * @var string - */ - protected $imageGuid; - - public function getImageUrl(): string - { - return $this->imageUrl; - } - - public function setImageUrl(string $imageUrl): self - { - $this->initialized['imageUrl'] = true; - $this->imageUrl = $imageUrl; - - return $this; - } - - public function getImageGuid(): string - { - return $this->imageGuid; - } - - public function setImageGuid(string $imageGuid): self - { - $this->initialized['imageGuid'] = true; - $this->imageGuid = $imageGuid; - - return $this; - } -} diff --git a/lib/Model/LaunchpadImageUpload.php b/lib/Model/LaunchpadImageUpload.php deleted file mode 100644 index fa48bfc..0000000 --- a/lib/Model/LaunchpadImageUpload.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $image; - /** - * @var string - */ - protected $position; - /** - * @var string - */ - protected $crop; - - public function getImage(): string - { - return $this->image; - } - - public function setImage(string $image): self - { - $this->initialized['image'] = true; - $this->image = $image; - - return $this; - } - - public function getPosition(): string - { - return $this->position; - } - - public function setPosition(string $position): self - { - $this->initialized['position'] = true; - $this->position = $position; - - return $this; - } - - public function getCrop(): string - { - return $this->crop; - } - - public function setCrop(string $crop): self - { - $this->initialized['crop'] = true; - $this->crop = $crop; - - return $this; - } -} diff --git a/lib/Model/LaunchpadImages.php b/lib/Model/LaunchpadImages.php deleted file mode 100644 index 0a59307..0000000 --- a/lib/Model/LaunchpadImages.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var LaunchpadImage - */ - protected $profile; - /** - * @var LaunchpadImage - */ - protected $background; - /** - * @var LaunchpadImage - */ - protected $banner; - - public function getProfile(): LaunchpadImage - { - return $this->profile; - } - - public function setProfile(LaunchpadImage $profile): self - { - $this->initialized['profile'] = true; - $this->profile = $profile; - - return $this; - } - - public function getBackground(): LaunchpadImage - { - return $this->background; - } - - public function setBackground(LaunchpadImage $background): self - { - $this->initialized['background'] = true; - $this->background = $background; - - return $this; - } - - public function getBanner(): LaunchpadImage - { - return $this->banner; - } - - public function setBanner(LaunchpadImage $banner): self - { - $this->initialized['banner'] = true; - $this->banner = $banner; - - return $this; - } -} diff --git a/lib/Model/LaunchpadLinkPerformance.php b/lib/Model/LaunchpadLinkPerformance.php deleted file mode 100644 index 81cf351..0000000 --- a/lib/Model/LaunchpadLinkPerformance.php +++ /dev/null @@ -1,166 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $total; - /** - * @var list - */ - protected $linkClicks; - /** - * @var string - */ - protected $performanceStart; - /** - * @var string - */ - protected $performanceEnd; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unit; - /** - * @var string - */ - protected $unitReference; - /** - * @var LaunchpadsPagination - */ - protected $page; - - public function getTotal(): int - { - return $this->total; - } - - public function setTotal(int $total): self - { - $this->initialized['total'] = true; - $this->total = $total; - - return $this; - } - - /** - * @return list - */ - public function getLinkClicks(): array - { - return $this->linkClicks; - } - - /** - * @param list $linkClicks - */ - public function setLinkClicks(array $linkClicks): self - { - $this->initialized['linkClicks'] = true; - $this->linkClicks = $linkClicks; - - return $this; - } - - public function getPerformanceStart(): string - { - return $this->performanceStart; - } - - public function setPerformanceStart(string $performanceStart): self - { - $this->initialized['performanceStart'] = true; - $this->performanceStart = $performanceStart; - - return $this; - } - - public function getPerformanceEnd(): string - { - return $this->performanceEnd; - } - - public function setPerformanceEnd(string $performanceEnd): self - { - $this->initialized['performanceEnd'] = true; - $this->performanceEnd = $performanceEnd; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - public function getPage(): LaunchpadsPagination - { - return $this->page; - } - - public function setPage(LaunchpadsPagination $page): self - { - $this->initialized['page'] = true; - $this->page = $page; - - return $this; - } -} diff --git a/lib/Model/LaunchpadPresetTheme.php b/lib/Model/LaunchpadPresetTheme.php deleted file mode 100644 index ca7704a..0000000 --- a/lib/Model/LaunchpadPresetTheme.php +++ /dev/null @@ -1,211 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $themeId; - /** - * @var string - */ - protected $displayName; - /** - * @var string - */ - protected $background; - /** - * @var string - */ - protected $launchpadTextColor; - /** - * @var string - */ - protected $descriptionColor; - /** - * @var string - */ - protected $avatarBackground; - /** - * @var string - */ - protected $buttonTextColor; - /** - * @var string - */ - protected $buttonBackground; - /** - * @var bool - */ - protected $isActive; - /** - * @var string - */ - protected $layout; - /** - * @var string - */ - protected $iconGradient; - - public function getThemeId(): int - { - return $this->themeId; - } - - public function setThemeId(int $themeId): self - { - $this->initialized['themeId'] = true; - $this->themeId = $themeId; - - return $this; - } - - public function getDisplayName(): string - { - return $this->displayName; - } - - public function setDisplayName(string $displayName): self - { - $this->initialized['displayName'] = true; - $this->displayName = $displayName; - - return $this; - } - - public function getBackground(): string - { - return $this->background; - } - - public function setBackground(string $background): self - { - $this->initialized['background'] = true; - $this->background = $background; - - return $this; - } - - public function getLaunchpadTextColor(): string - { - return $this->launchpadTextColor; - } - - public function setLaunchpadTextColor(string $launchpadTextColor): self - { - $this->initialized['launchpadTextColor'] = true; - $this->launchpadTextColor = $launchpadTextColor; - - return $this; - } - - public function getDescriptionColor(): string - { - return $this->descriptionColor; - } - - public function setDescriptionColor(string $descriptionColor): self - { - $this->initialized['descriptionColor'] = true; - $this->descriptionColor = $descriptionColor; - - return $this; - } - - public function getAvatarBackground(): string - { - return $this->avatarBackground; - } - - public function setAvatarBackground(string $avatarBackground): self - { - $this->initialized['avatarBackground'] = true; - $this->avatarBackground = $avatarBackground; - - return $this; - } - - public function getButtonTextColor(): string - { - return $this->buttonTextColor; - } - - public function setButtonTextColor(string $buttonTextColor): self - { - $this->initialized['buttonTextColor'] = true; - $this->buttonTextColor = $buttonTextColor; - - return $this; - } - - public function getButtonBackground(): string - { - return $this->buttonBackground; - } - - public function setButtonBackground(string $buttonBackground): self - { - $this->initialized['buttonBackground'] = true; - $this->buttonBackground = $buttonBackground; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getLayout(): string - { - return $this->layout; - } - - public function setLayout(string $layout): self - { - $this->initialized['layout'] = true; - $this->layout = $layout; - - return $this; - } - - public function getIconGradient(): string - { - return $this->iconGradient; - } - - public function setIconGradient(string $iconGradient): self - { - $this->initialized['iconGradient'] = true; - $this->iconGradient = $iconGradient; - - return $this; - } -} diff --git a/lib/Model/LaunchpadSocial.php b/lib/Model/LaunchpadSocial.php deleted file mode 100644 index 8a4ff8a..0000000 --- a/lib/Model/LaunchpadSocial.php +++ /dev/null @@ -1,253 +0,0 @@ -initialized); - } - /** - * @var LaunchpadContentSocial - */ - protected $content; - /** - * Available button types for Launchpad content. - * - * @var string - */ - protected $type; - /** - * @var string - */ - protected $launchpadId; - /** - * @var string - */ - protected $buttonId; - /** - * @var string - */ - protected $digitalBusinessCardId; - /** - * @var int - */ - protected $sortOrder; - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPinned; - /** - * @var string - */ - protected $parent; - /** - * @var bool - */ - protected $isSample; - /** - * @var string - */ - protected $title; - - public function getContent(): LaunchpadContentSocial - { - return $this->content; - } - - public function setContent(LaunchpadContentSocial $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } - - /** - * Available button types for Launchpad content. - */ - public function getType(): string - { - return $this->type; - } - - /** - * Available button types for Launchpad content. - */ - public function setType(string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getLaunchpadId(): string - { - return $this->launchpadId; - } - - public function setLaunchpadId(string $launchpadId): self - { - $this->initialized['launchpadId'] = true; - $this->launchpadId = $launchpadId; - - return $this; - } - - public function getButtonId(): string - { - return $this->buttonId; - } - - public function setButtonId(string $buttonId): self - { - $this->initialized['buttonId'] = true; - $this->buttonId = $buttonId; - - return $this; - } - - public function getDigitalBusinessCardId(): string - { - return $this->digitalBusinessCardId; - } - - public function setDigitalBusinessCardId(string $digitalBusinessCardId): self - { - $this->initialized['digitalBusinessCardId'] = true; - $this->digitalBusinessCardId = $digitalBusinessCardId; - - return $this; - } - - public function getSortOrder(): int - { - return $this->sortOrder; - } - - public function setSortOrder(int $sortOrder): self - { - $this->initialized['sortOrder'] = true; - $this->sortOrder = $sortOrder; - - return $this; - } - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - public function getParent(): string - { - return $this->parent; - } - - public function setParent(string $parent): self - { - $this->initialized['parent'] = true; - $this->parent = $parent; - - return $this; - } - - public function getIsSample(): bool - { - return $this->isSample; - } - - public function setIsSample(bool $isSample): self - { - $this->initialized['isSample'] = true; - $this->isSample = $isSample; - - return $this; - } - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } -} diff --git a/lib/Model/LaunchpadSocialRequest.php b/lib/Model/LaunchpadSocialRequest.php deleted file mode 100644 index 2316abe..0000000 --- a/lib/Model/LaunchpadSocialRequest.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - /** - * @var ContentRequestSocial - */ - protected $content; - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getContent(): ContentRequestSocial - { - return $this->content; - } - - public function setContent(ContentRequestSocial $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } -} diff --git a/lib/Model/Launchpads.php b/lib/Model/Launchpads.php deleted file mode 100644 index d661199..0000000 --- a/lib/Model/Launchpads.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $launchpads; - - /** - * @return list - */ - public function getLaunchpads(): array - { - return $this->launchpads; - } - - /** - * @param list $launchpads - */ - public function setLaunchpads(array $launchpads): self - { - $this->initialized['launchpads'] = true; - $this->launchpads = $launchpads; - - return $this; - } -} diff --git a/lib/Model/LaunchpadsPagination.php b/lib/Model/LaunchpadsPagination.php deleted file mode 100644 index 8611984..0000000 --- a/lib/Model/LaunchpadsPagination.php +++ /dev/null @@ -1,109 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $prev; - /** - * @var string - */ - protected $next; - /** - * @var int - */ - protected $page; - /** - * @var int - */ - protected $total; - /** - * @var int - */ - protected $size; - - public function getPrev(): string - { - return $this->prev; - } - - public function setPrev(string $prev): self - { - $this->initialized['prev'] = true; - $this->prev = $prev; - - return $this; - } - - public function getNext(): string - { - return $this->next; - } - - public function setNext(string $next): self - { - $this->initialized['next'] = true; - $this->next = $next; - - return $this; - } - - public function getPage(): int - { - return $this->page; - } - - public function setPage(int $page): self - { - $this->initialized['page'] = true; - $this->page = $page; - - return $this; - } - - public function getTotal(): int - { - return $this->total; - } - - public function setTotal(int $total): self - { - $this->initialized['total'] = true; - $this->total = $total; - - return $this; - } - - public function getSize(): int - { - return $this->size; - } - - public function setSize(int $size): self - { - $this->initialized['size'] = true; - $this->size = $size; - - return $this; - } -} diff --git a/lib/Model/LinkBody.php b/lib/Model/LinkBody.php deleted file mode 100644 index 015a3d5..0000000 --- a/lib/Model/LinkBody.php +++ /dev/null @@ -1,166 +0,0 @@ -initialized); - } - /** - * @var LinkDestination - */ - protected $destinations; - /** - * @var string - */ - protected $id; - /** - * @var string - */ - protected $groupGuid; - /** - * @var string - */ - protected $createdAt; - /** - * @var string - */ - protected $modifiedAt; - /** - * @var int - */ - protected $version; - /** - * @var string - */ - protected $title; - /** - * @var list - */ - protected $tags; - - public function getDestinations(): LinkDestination - { - return $this->destinations; - } - - public function setDestinations(LinkDestination $destinations): self - { - $this->initialized['destinations'] = true; - $this->destinations = $destinations; - - return $this; - } - - public function getId(): string - { - return $this->id; - } - - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } - - public function getCreatedAt(): string - { - return $this->createdAt; - } - - public function setCreatedAt(string $createdAt): self - { - $this->initialized['createdAt'] = true; - $this->createdAt = $createdAt; - - return $this; - } - - public function getModifiedAt(): string - { - return $this->modifiedAt; - } - - public function setModifiedAt(string $modifiedAt): self - { - $this->initialized['modifiedAt'] = true; - $this->modifiedAt = $modifiedAt; - - return $this; - } - - public function getVersion(): int - { - return $this->version; - } - - public function setVersion(int $version): self - { - $this->initialized['version'] = true; - $this->version = $version; - - return $this; - } - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } - - /** - * @return list - */ - public function getTags(): array - { - return $this->tags; - } - - /** - * @param list $tags - */ - public function setTags(array $tags): self - { - $this->initialized['tags'] = true; - $this->tags = $tags; - - return $this; - } -} diff --git a/lib/Model/LinkDestination.php b/lib/Model/LinkDestination.php deleted file mode 100644 index e7bceaf..0000000 --- a/lib/Model/LinkDestination.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $default; - /** - * @var string - */ - protected $bitlinkId; - - public function getDefault(): string - { - return $this->default; - } - - public function setDefault(string $default): self - { - $this->initialized['default'] = true; - $this->default = $default; - - return $this; - } - - public function getBitlinkId(): string - { - return $this->bitlinkId; - } - - public function setBitlinkId(string $bitlinkId): self - { - $this->initialized['bitlinkId'] = true; - $this->bitlinkId = $bitlinkId; - - return $this; - } -} diff --git a/lib/Model/LinkEngagements.php b/lib/Model/LinkEngagements.php deleted file mode 100644 index 4b4246b..0000000 --- a/lib/Model/LinkEngagements.php +++ /dev/null @@ -1,143 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $overrideId; - /** - * @var string - */ - protected $destinationUrl; - /** - * @var bool - */ - protected $isDeleted; - /** - * @var float - */ - protected $clicks; - /** - * @var float - */ - protected $scans; - /** - * @var float - */ - protected $buttonClicks; - /** - * @var float - */ - protected $total; - - public function getOverrideId(): string - { - return $this->overrideId; - } - - public function setOverrideId(string $overrideId): self - { - $this->initialized['overrideId'] = true; - $this->overrideId = $overrideId; - - return $this; - } - - public function getDestinationUrl(): string - { - return $this->destinationUrl; - } - - public function setDestinationUrl(string $destinationUrl): self - { - $this->initialized['destinationUrl'] = true; - $this->destinationUrl = $destinationUrl; - - return $this; - } - - public function getIsDeleted(): bool - { - return $this->isDeleted; - } - - public function setIsDeleted(bool $isDeleted): self - { - $this->initialized['isDeleted'] = true; - $this->isDeleted = $isDeleted; - - return $this; - } - - public function getClicks(): float - { - return $this->clicks; - } - - public function setClicks(float $clicks): self - { - $this->initialized['clicks'] = true; - $this->clicks = $clicks; - - return $this; - } - - public function getScans(): float - { - return $this->scans; - } - - public function setScans(float $scans): self - { - $this->initialized['scans'] = true; - $this->scans = $scans; - - return $this; - } - - public function getButtonClicks(): float - { - return $this->buttonClicks; - } - - public function setButtonClicks(float $buttonClicks): self - { - $this->initialized['buttonClicks'] = true; - $this->buttonClicks = $buttonClicks; - - return $this; - } - - public function getTotal(): float - { - return $this->total; - } - - public function setTotal(float $total): self - { - $this->initialized['total'] = true; - $this->total = $total; - - return $this; - } -} diff --git a/lib/Model/LinksBitlinkDestinationsPutBody.php b/lib/Model/LinksBitlinkDestinationsPutBody.php deleted file mode 100644 index 570e41b..0000000 --- a/lib/Model/LinksBitlinkDestinationsPutBody.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var LinkDestination - */ - protected $destinations; - - public function getDestinations(): LinkDestination - { - return $this->destinations; - } - - public function setDestinations(LinkDestination $destinations): self - { - $this->initialized['destinations'] = true; - $this->destinations = $destinations; - - return $this; - } -} diff --git a/lib/Model/LinksReportRequestBody.php b/lib/Model/LinksReportRequestBody.php deleted file mode 100644 index c13e0b3..0000000 --- a/lib/Model/LinksReportRequestBody.php +++ /dev/null @@ -1,127 +0,0 @@ -initialized); - } - /** - * @var bool - */ - protected $includeMaxHistory; - /** - * @var bool - */ - protected $includeMaxTimePeriod; - /** - * @var list - */ - protected $bitlinkIds; - /** - * @var list - */ - protected $timePeriods; - /** - * @var list - */ - protected $metricsColumns; - - public function getIncludeMaxHistory(): bool - { - return $this->includeMaxHistory; - } - - public function setIncludeMaxHistory(bool $includeMaxHistory): self - { - $this->initialized['includeMaxHistory'] = true; - $this->includeMaxHistory = $includeMaxHistory; - - return $this; - } - - public function getIncludeMaxTimePeriod(): bool - { - return $this->includeMaxTimePeriod; - } - - public function setIncludeMaxTimePeriod(bool $includeMaxTimePeriod): self - { - $this->initialized['includeMaxTimePeriod'] = true; - $this->includeMaxTimePeriod = $includeMaxTimePeriod; - - return $this; - } - - /** - * @return list - */ - public function getBitlinkIds(): array - { - return $this->bitlinkIds; - } - - /** - * @param list $bitlinkIds - */ - public function setBitlinkIds(array $bitlinkIds): self - { - $this->initialized['bitlinkIds'] = true; - $this->bitlinkIds = $bitlinkIds; - - return $this; - } - - /** - * @return list - */ - public function getTimePeriods(): array - { - return $this->timePeriods; - } - - /** - * @param list $timePeriods - */ - public function setTimePeriods(array $timePeriods): self - { - $this->initialized['timePeriods'] = true; - $this->timePeriods = $timePeriods; - - return $this; - } - - /** - * @return list - */ - public function getMetricsColumns(): array - { - return $this->metricsColumns; - } - - /** - * @param list $metricsColumns - */ - public function setMetricsColumns(array $metricsColumns): self - { - $this->initialized['metricsColumns'] = true; - $this->metricsColumns = $metricsColumns; - - return $this; - } -} diff --git a/lib/Model/LinksReportRequestResponse.php b/lib/Model/LinksReportRequestResponse.php deleted file mode 100644 index 62ec314..0000000 --- a/lib/Model/LinksReportRequestResponse.php +++ /dev/null @@ -1,64 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $brandGuid; - /** - * @var list - */ - protected $rows; - - public function getBrandGuid(): string - { - return $this->brandGuid; - } - - public function setBrandGuid(string $brandGuid): self - { - $this->initialized['brandGuid'] = true; - $this->brandGuid = $brandGuid; - - return $this; - } - - /** - * @return list - */ - public function getRows(): array - { - return $this->rows; - } - - /** - * @param list $rows - */ - public function setRows(array $rows): self - { - $this->initialized['rows'] = true; - $this->rows = $rows; - - return $this; - } -} diff --git a/lib/Model/LinksReportRequestResponseRowsItem.php b/lib/Model/LinksReportRequestResponseRowsItem.php deleted file mode 100644 index 0963177..0000000 --- a/lib/Model/LinksReportRequestResponseRowsItem.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $bitlink; - /** - * @var int - */ - protected $created; - /** - * @var string - */ - protected $title; - /** - * @var string - */ - protected $longUrl; - /** - * @var string - */ - protected $status; - /** - * @var list - */ - protected $metrics; - - public function getBitlink(): string - { - return $this->bitlink; - } - - public function setBitlink(string $bitlink): self - { - $this->initialized['bitlink'] = true; - $this->bitlink = $bitlink; - - return $this; - } - - public function getCreated(): int - { - return $this->created; - } - - public function setCreated(int $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } - - public function getLongUrl(): string - { - return $this->longUrl; - } - - public function setLongUrl(string $longUrl): self - { - $this->initialized['longUrl'] = true; - $this->longUrl = $longUrl; - - return $this; - } - - public function getStatus(): string - { - return $this->status; - } - - public function setStatus(string $status): self - { - $this->initialized['status'] = true; - $this->status = $status; - - return $this; - } - - /** - * @return list - */ - public function getMetrics(): array - { - return $this->metrics; - } - - /** - * @param list $metrics - */ - public function setMetrics(array $metrics): self - { - $this->initialized['metrics'] = true; - $this->metrics = $metrics; - - return $this; - } -} diff --git a/lib/Model/LinksReportRequestResponseRowsItemMetricsItem.php b/lib/Model/LinksReportRequestResponseRowsItemMetricsItem.php deleted file mode 100644 index 427b2db..0000000 --- a/lib/Model/LinksReportRequestResponseRowsItemMetricsItem.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $from; - /** - * @var int - */ - protected $to; - /** - * @var int - */ - protected $count; - /** - * @var string - */ - protected $csvHeaderPrefix; - - public function getFrom(): int - { - return $this->from; - } - - public function setFrom(int $from): self - { - $this->initialized['from'] = true; - $this->from = $from; - - return $this; - } - - public function getTo(): int - { - return $this->to; - } - - public function setTo(int $to): self - { - $this->initialized['to'] = true; - $this->to = $to; - - return $this; - } - - public function getCount(): int - { - return $this->count; - } - - public function setCount(int $count): self - { - $this->initialized['count'] = true; - $this->count = $count; - - return $this; - } - - public function getCsvHeaderPrefix(): string - { - return $this->csvHeaderPrefix; - } - - public function setCsvHeaderPrefix(string $csvHeaderPrefix): self - { - $this->initialized['csvHeaderPrefix'] = true; - $this->csvHeaderPrefix = $csvHeaderPrefix; - - return $this; - } -} diff --git a/lib/Model/MetricsColumn.php b/lib/Model/MetricsColumn.php deleted file mode 100644 index 729782a..0000000 --- a/lib/Model/MetricsColumn.php +++ /dev/null @@ -1,124 +0,0 @@ -initialized); - } - /** - * Unix of the start of the date time range for this column to be included in the report. - * - * @var int - */ - protected $unixFrom; - /** - * Unix of the end of the date time range for this column to be included in the report. - * - * @var int - */ - protected $unixTo; - /** - * Metrics column header on the csv follow the format "%s (01/01/2020 - 01/01/2022)." This field determines what goes on the first %s. For example, "Engagements Custom Date Range" will result in "Engagements Custom Date Range (01/01/2020 - 01/01/2022)". - * - * @var string - */ - protected $csvHeaderPrefix; - /** - * The minimum number of clicks a link must have in order to be included in the report. Default is 0. For example, minimum_count 100 means only links with at least a 100 clicks during this time period will be included in the report. - * - * @var int - */ - protected $minimumCount; - - /** - * Unix of the start of the date time range for this column to be included in the report. - */ - public function getUnixFrom(): int - { - return $this->unixFrom; - } - - /** - * Unix of the start of the date time range for this column to be included in the report. - */ - public function setUnixFrom(int $unixFrom): self - { - $this->initialized['unixFrom'] = true; - $this->unixFrom = $unixFrom; - - return $this; - } - - /** - * Unix of the end of the date time range for this column to be included in the report. - */ - public function getUnixTo(): int - { - return $this->unixTo; - } - - /** - * Unix of the end of the date time range for this column to be included in the report. - */ - public function setUnixTo(int $unixTo): self - { - $this->initialized['unixTo'] = true; - $this->unixTo = $unixTo; - - return $this; - } - - /** - * Metrics column header on the csv follow the format "%s (01/01/2020 - 01/01/2022)." This field determines what goes on the first %s. For example, "Engagements Custom Date Range" will result in "Engagements Custom Date Range (01/01/2020 - 01/01/2022)". - */ - public function getCsvHeaderPrefix(): string - { - return $this->csvHeaderPrefix; - } - - /** - * Metrics column header on the csv follow the format "%s (01/01/2020 - 01/01/2022)." This field determines what goes on the first %s. For example, "Engagements Custom Date Range" will result in "Engagements Custom Date Range (01/01/2020 - 01/01/2022)". - */ - public function setCsvHeaderPrefix(string $csvHeaderPrefix): self - { - $this->initialized['csvHeaderPrefix'] = true; - $this->csvHeaderPrefix = $csvHeaderPrefix; - - return $this; - } - - /** - * The minimum number of clicks a link must have in order to be included in the report. Default is 0. For example, minimum_count 100 means only links with at least a 100 clicks during this time period will be included in the report. - */ - public function getMinimumCount(): int - { - return $this->minimumCount; - } - - /** - * The minimum number of clicks a link must have in order to be included in the report. Default is 0. For example, minimum_count 100 means only links with at least a 100 clicks during this time period will be included in the report. - */ - public function setMinimumCount(int $minimumCount): self - { - $this->initialized['minimumCount'] = true; - $this->minimumCount = $minimumCount; - - return $this; - } -} diff --git a/lib/Model/MicrositeDownloadMetric.php b/lib/Model/MicrositeDownloadMetric.php deleted file mode 100644 index baaaa08..0000000 --- a/lib/Model/MicrositeDownloadMetric.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $downloads; - /** - * @var string - */ - protected $pageId; - - public function getDownloads(): int - { - return $this->downloads; - } - - public function setDownloads(int $downloads): self - { - $this->initialized['downloads'] = true; - $this->downloads = $downloads; - - return $this; - } - - public function getPageId(): string - { - return $this->pageId; - } - - public function setPageId(string $pageId): self - { - $this->initialized['pageId'] = true; - $this->pageId = $pageId; - - return $this; - } -} diff --git a/lib/Model/MicrositeDownloads.php b/lib/Model/MicrositeDownloads.php deleted file mode 100644 index e6464de..0000000 --- a/lib/Model/MicrositeDownloads.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $metrics; - /** - * @var int - */ - protected $size; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unit; - /** - * @var string - */ - protected $unitReference; - /** - * @var string - */ - protected $facet; - - /** - * @return list - */ - public function getMetrics(): array - { - return $this->metrics; - } - - /** - * @param list $metrics - */ - public function setMetrics(array $metrics): self - { - $this->initialized['metrics'] = true; - $this->metrics = $metrics; - - return $this; - } - - public function getSize(): int - { - return $this->size; - } - - public function setSize(int $size): self - { - $this->initialized['size'] = true; - $this->size = $size; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - public function getFacet(): string - { - return $this->facet; - } - - public function setFacet(string $facet): self - { - $this->initialized['facet'] = true; - $this->facet = $facet; - - return $this; - } -} diff --git a/lib/Model/MicrositePagination.php b/lib/Model/MicrositePagination.php deleted file mode 100644 index b0ac147..0000000 --- a/lib/Model/MicrositePagination.php +++ /dev/null @@ -1,99 +0,0 @@ -initialized); - } - /** - * A hyperlink to the next set of results. - * - * @var string - */ - protected $next; - /** - * The identifier of where to begin searching for the next set of results. - * - * @var string - */ - protected $searchAfter; - /** - * The number of results returned from this query. - * - * @var int - */ - protected $size; - - /** - * A hyperlink to the next set of results. - */ - public function getNext(): string - { - return $this->next; - } - - /** - * A hyperlink to the next set of results. - */ - public function setNext(string $next): self - { - $this->initialized['next'] = true; - $this->next = $next; - - return $this; - } - - /** - * The identifier of where to begin searching for the next set of results. - */ - public function getSearchAfter(): string - { - return $this->searchAfter; - } - - /** - * The identifier of where to begin searching for the next set of results. - */ - public function setSearchAfter(string $searchAfter): self - { - $this->initialized['searchAfter'] = true; - $this->searchAfter = $searchAfter; - - return $this; - } - - /** - * The number of results returned from this query. - */ - public function getSize(): int - { - return $this->size; - } - - /** - * The number of results returned from this query. - */ - public function setSize(int $size): self - { - $this->initialized['size'] = true; - $this->size = $size; - - return $this; - } -} diff --git a/lib/Model/MinimalDeeplinkApp.php b/lib/Model/MinimalDeeplinkApp.php deleted file mode 100644 index 270ec89..0000000 --- a/lib/Model/MinimalDeeplinkApp.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $guid; - /** - * @var string - */ - protected $os; - - public function getGuid(): string - { - return $this->guid; - } - - public function setGuid(string $guid): self - { - $this->initialized['guid'] = true; - $this->guid = $guid; - - return $this; - } - - public function getOs(): string - { - return $this->os; - } - - public function setOs(string $os): self - { - $this->initialized['os'] = true; - $this->os = $os; - - return $this; - } -} diff --git a/lib/Model/Module.php b/lib/Model/Module.php deleted file mode 100644 index 3d68d47..0000000 --- a/lib/Model/Module.php +++ /dev/null @@ -1,143 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $moduleGuid; - /** - * @var string - */ - protected $lastModifiedBy; - /** - * @var string - */ - protected $created; - /** - * @var bool - */ - protected $isActive; - /** - * @var string - */ - protected $login; - /** - * @var string - */ - protected $groupGuid; - /** - * @var ModuleSettings - */ - protected $settings; - - public function getModuleGuid(): string - { - return $this->moduleGuid; - } - - public function setModuleGuid(string $moduleGuid): self - { - $this->initialized['moduleGuid'] = true; - $this->moduleGuid = $moduleGuid; - - return $this; - } - - public function getLastModifiedBy(): string - { - return $this->lastModifiedBy; - } - - public function setLastModifiedBy(string $lastModifiedBy): self - { - $this->initialized['lastModifiedBy'] = true; - $this->lastModifiedBy = $lastModifiedBy; - - return $this; - } - - public function getCreated(): string - { - return $this->created; - } - - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getLogin(): string - { - return $this->login; - } - - public function setLogin(string $login): self - { - $this->initialized['login'] = true; - $this->login = $login; - - return $this; - } - - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } - - public function getSettings(): ModuleSettings - { - return $this->settings; - } - - public function setSettings(ModuleSettings $settings): self - { - $this->initialized['settings'] = true; - $this->settings = $settings; - - return $this; - } -} diff --git a/lib/Model/ModuleSettings.php b/lib/Model/ModuleSettings.php deleted file mode 100644 index 80f9c8d..0000000 --- a/lib/Model/ModuleSettings.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var bool - */ - protected $allowEdits; - /** - * @var ChartVisualization - */ - protected $visualization; - /** - * @var string - */ - protected $chartType; - /** - * @var string - */ - protected $viewMetricSelection; - - public function getAllowEdits(): bool - { - return $this->allowEdits; - } - - public function setAllowEdits(bool $allowEdits): self - { - $this->initialized['allowEdits'] = true; - $this->allowEdits = $allowEdits; - - return $this; - } - - public function getVisualization(): ChartVisualization - { - return $this->visualization; - } - - public function setVisualization(ChartVisualization $visualization): self - { - $this->initialized['visualization'] = true; - $this->visualization = $visualization; - - return $this; - } - - public function getChartType(): string - { - return $this->chartType; - } - - public function setChartType(string $chartType): self - { - $this->initialized['chartType'] = true; - $this->chartType = $chartType; - - return $this; - } - - public function getViewMetricSelection(): string - { - return $this->viewMetricSelection; - } - - public function setViewMetricSelection(string $viewMetricSelection): self - { - $this->initialized['viewMetricSelection'] = true; - $this->viewMetricSelection = $viewMetricSelection; - - return $this; - } -} diff --git a/lib/Model/OAuthAppFull.php b/lib/Model/OAuthAppFull.php deleted file mode 100644 index cd45cf1..0000000 --- a/lib/Model/OAuthAppFull.php +++ /dev/null @@ -1,149 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $name; - /** - * @var string - */ - protected $clientId; - /** - * @var string - */ - protected $clientSecret; - /** - * @var list - */ - protected $redirectUris; - /** - * @var string - */ - protected $description; - /** - * @var string - */ - protected $link; - /** - * @var bool - */ - protected $requireOauthPkce; - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getClientId(): string - { - return $this->clientId; - } - - public function setClientId(string $clientId): self - { - $this->initialized['clientId'] = true; - $this->clientId = $clientId; - - return $this; - } - - public function getClientSecret(): string - { - return $this->clientSecret; - } - - public function setClientSecret(string $clientSecret): self - { - $this->initialized['clientSecret'] = true; - $this->clientSecret = $clientSecret; - - return $this; - } - - /** - * @return list - */ - public function getRedirectUris(): array - { - return $this->redirectUris; - } - - /** - * @param list $redirectUris - */ - public function setRedirectUris(array $redirectUris): self - { - $this->initialized['redirectUris'] = true; - $this->redirectUris = $redirectUris; - - return $this; - } - - public function getDescription(): string - { - return $this->description; - } - - public function setDescription(string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getLink(): string - { - return $this->link; - } - - public function setLink(string $link): self - { - $this->initialized['link'] = true; - $this->link = $link; - - return $this; - } - - public function getRequireOauthPkce(): bool - { - return $this->requireOauthPkce; - } - - public function setRequireOauthPkce(bool $requireOauthPkce): self - { - $this->initialized['requireOauthPkce'] = true; - $this->requireOauthPkce = $requireOauthPkce; - - return $this; - } -} diff --git a/lib/Model/OAuthAppWithOwnerLogin.php b/lib/Model/OAuthAppWithOwnerLogin.php deleted file mode 100644 index 7b2f181..0000000 --- a/lib/Model/OAuthAppWithOwnerLogin.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $name; - /** - * @var string - */ - protected $clientId; - /** - * @var string - */ - protected $description; - /** - * @var string - */ - protected $link; - /** - * @var string - */ - protected $ownerLogin; - /** - * @var bool - */ - protected $requireOathPkce; - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - public function getClientId(): string - { - return $this->clientId; - } - - public function setClientId(string $clientId): self - { - $this->initialized['clientId'] = true; - $this->clientId = $clientId; - - return $this; - } - - public function getDescription(): string - { - return $this->description; - } - - public function setDescription(string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getLink(): string - { - return $this->link; - } - - public function setLink(string $link): self - { - $this->initialized['link'] = true; - $this->link = $link; - - return $this; - } - - public function getOwnerLogin(): string - { - return $this->ownerLogin; - } - - public function setOwnerLogin(string $ownerLogin): self - { - $this->initialized['ownerLogin'] = true; - $this->ownerLogin = $ownerLogin; - - return $this; - } - - public function getRequireOathPkce(): bool - { - return $this->requireOathPkce; - } - - public function setRequireOathPkce(bool $requireOathPkce): self - { - $this->initialized['requireOathPkce'] = true; - $this->requireOathPkce = $requireOathPkce; - - return $this; - } -} diff --git a/lib/Model/OAuthApps.php b/lib/Model/OAuthApps.php deleted file mode 100644 index 3e17ec6..0000000 --- a/lib/Model/OAuthApps.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $applications; - - /** - * @return list - */ - public function getApplications(): array - { - return $this->applications; - } - - /** - * @param list $applications - */ - public function setApplications(array $applications): self - { - $this->initialized['applications'] = true; - $this->applications = $applications; - - return $this; - } -} diff --git a/lib/Model/OrgDomainStatus.php b/lib/Model/OrgDomainStatus.php deleted file mode 100644 index ba4bc71..0000000 --- a/lib/Model/OrgDomainStatus.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $domain; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isVerified; - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsVerified(): bool - { - return $this->isVerified; - } - - public function setIsVerified(bool $isVerified): self - { - $this->initialized['isVerified'] = true; - $this->isVerified = $isVerified; - - return $this; - } -} diff --git a/lib/Model/OrgDomainVerification.php b/lib/Model/OrgDomainVerification.php deleted file mode 100644 index 26e4a0c..0000000 --- a/lib/Model/OrgDomainVerification.php +++ /dev/null @@ -1,149 +0,0 @@ -initialized); - } - /** - * UUID for the Org Domain Verification Record. - * - * @var string - */ - protected $uuid; - /** - * Org GUID which the admin user belongs to, and is requesting to create a controlled domain. - * - * @var string - */ - protected $orgGuid; - /** - * Domain which the admin user is requesting to create an org controlled domain. - * - * @var string - */ - protected $domain; - /** - * Login of the admin user requesting to create an org controlled domain. - * - * @var string - */ - protected $login; - /** - * Email of the admin user which the org domain verification email is sent. - * - * @var string - */ - protected $email; - - /** - * UUID for the Org Domain Verification Record. - */ - public function getUuid(): string - { - return $this->uuid; - } - - /** - * UUID for the Org Domain Verification Record. - */ - public function setUuid(string $uuid): self - { - $this->initialized['uuid'] = true; - $this->uuid = $uuid; - - return $this; - } - - /** - * Org GUID which the admin user belongs to, and is requesting to create a controlled domain. - */ - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - /** - * Org GUID which the admin user belongs to, and is requesting to create a controlled domain. - */ - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - /** - * Domain which the admin user is requesting to create an org controlled domain. - */ - public function getDomain(): string - { - return $this->domain; - } - - /** - * Domain which the admin user is requesting to create an org controlled domain. - */ - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - /** - * Login of the admin user requesting to create an org controlled domain. - */ - public function getLogin(): string - { - return $this->login; - } - - /** - * Login of the admin user requesting to create an org controlled domain. - */ - public function setLogin(string $login): self - { - $this->initialized['login'] = true; - $this->login = $login; - - return $this; - } - - /** - * Email of the admin user which the org domain verification email is sent. - */ - public function getEmail(): string - { - return $this->email; - } - - /** - * Email of the admin user which the org domain verification email is sent. - */ - public function setEmail(string $email): self - { - $this->initialized['email'] = true; - $this->email = $email; - - return $this; - } -} diff --git a/lib/Model/OrgDomainsStatus.php b/lib/Model/OrgDomainsStatus.php deleted file mode 100644 index afc6d04..0000000 --- a/lib/Model/OrgDomainsStatus.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $orgDomainsStatus; - - /** - * @return list - */ - public function getOrgDomainsStatus(): array - { - return $this->orgDomainsStatus; - } - - /** - * @param list $orgDomainsStatus - */ - public function setOrgDomainsStatus(array $orgDomainsStatus): self - { - $this->initialized['orgDomainsStatus'] = true; - $this->orgDomainsStatus = $orgDomainsStatus; - - return $this; - } -} diff --git a/lib/Model/OrgEmail.php b/lib/Model/OrgEmail.php deleted file mode 100644 index 1fcef57..0000000 --- a/lib/Model/OrgEmail.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $email; - /** - * @var string - */ - protected $orgGuid; - /** - * @var string - */ - protected $login; - /** - * @var int - */ - protected $createdTs; - - public function getEmail(): string - { - return $this->email; - } - - public function setEmail(string $email): self - { - $this->initialized['email'] = true; - $this->email = $email; - - return $this; - } - - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - public function getLogin(): string - { - return $this->login; - } - - public function setLogin(string $login): self - { - $this->initialized['login'] = true; - $this->login = $login; - - return $this; - } - - public function getCreatedTs(): int - { - return $this->createdTs; - } - - public function setCreatedTs(int $createdTs): self - { - $this->initialized['createdTs'] = true; - $this->createdTs = $createdTs; - - return $this; - } -} diff --git a/lib/Model/OrgEmailBody.php b/lib/Model/OrgEmailBody.php deleted file mode 100644 index cd300d1..0000000 --- a/lib/Model/OrgEmailBody.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $email; - /** - * @var string - */ - protected $orgGuid; - /** - * @var string - */ - protected $login; - - public function getEmail(): string - { - return $this->email; - } - - public function setEmail(string $email): self - { - $this->initialized['email'] = true; - $this->email = $email; - - return $this; - } - - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - public function getLogin(): string - { - return $this->login; - } - - public function setLogin(string $login): self - { - $this->initialized['login'] = true; - $this->login = $login; - - return $this; - } -} diff --git a/lib/Model/OrgEmails.php b/lib/Model/OrgEmails.php deleted file mode 100644 index 1edc269..0000000 --- a/lib/Model/OrgEmails.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $emails; - - /** - * @return list - */ - public function getEmails(): array - { - return $this->emails; - } - - /** - * @param list $emails - */ - public function setEmails(array $emails): self - { - $this->initialized['emails'] = true; - $this->emails = $emails; - - return $this; - } -} diff --git a/lib/Model/OrgFeatureUsageByGroup.php b/lib/Model/OrgFeatureUsageByGroup.php deleted file mode 100644 index 6503f67..0000000 --- a/lib/Model/OrgFeatureUsageByGroup.php +++ /dev/null @@ -1,78 +0,0 @@ -initialized); - } - /** - * the organization's guid. - * - * @var string - */ - protected $orgGuid; - /** - * an array of all of the groups' feature usage. - * - * @var list - */ - protected $groupsLimitUsage; - - /** - * the organization's guid. - */ - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - /** - * the organization's guid. - */ - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - /** - * an array of all of the groups' feature usage. - * - * @return list - */ - public function getGroupsLimitUsage(): array - { - return $this->groupsLimitUsage; - } - - /** - * an array of all of the groups' feature usage. - * - * @param list $groupsLimitUsage - */ - public function setGroupsLimitUsage(array $groupsLimitUsage): self - { - $this->initialized['groupsLimitUsage'] = true; - $this->groupsLimitUsage = $groupsLimitUsage; - - return $this; - } -} diff --git a/lib/Model/OrgInvitationRequest.php b/lib/Model/OrgInvitationRequest.php deleted file mode 100644 index b5d4126..0000000 --- a/lib/Model/OrgInvitationRequest.php +++ /dev/null @@ -1,126 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $login; - /** - * @var string - */ - protected $email; - /** - * @var string - */ - protected $created; - /** - * @var string - */ - protected $status; - /** - * @var string - */ - protected $notes; - /** - * @var bool - */ - protected $isSsoUser; - - public function getLogin(): string - { - return $this->login; - } - - public function setLogin(string $login): self - { - $this->initialized['login'] = true; - $this->login = $login; - - return $this; - } - - public function getEmail(): string - { - return $this->email; - } - - public function setEmail(string $email): self - { - $this->initialized['email'] = true; - $this->email = $email; - - return $this; - } - - public function getCreated(): string - { - return $this->created; - } - - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getStatus(): string - { - return $this->status; - } - - public function setStatus(string $status): self - { - $this->initialized['status'] = true; - $this->status = $status; - - return $this; - } - - public function getNotes(): string - { - return $this->notes; - } - - public function setNotes(string $notes): self - { - $this->initialized['notes'] = true; - $this->notes = $notes; - - return $this; - } - - public function getIsSsoUser(): bool - { - return $this->isSsoUser; - } - - public function setIsSsoUser(bool $isSsoUser): self - { - $this->initialized['isSsoUser'] = true; - $this->isSsoUser = $isSsoUser; - - return $this; - } -} diff --git a/lib/Model/OrgInvitationRequests.php b/lib/Model/OrgInvitationRequests.php deleted file mode 100644 index 88ec62a..0000000 --- a/lib/Model/OrgInvitationRequests.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $orgInvitationRequests; - - /** - * @return list - */ - public function getOrgInvitationRequests(): array - { - return $this->orgInvitationRequests; - } - - /** - * @param list $orgInvitationRequests - */ - public function setOrgInvitationRequests(array $orgInvitationRequests): self - { - $this->initialized['orgInvitationRequests'] = true; - $this->orgInvitationRequests = $orgInvitationRequests; - - return $this; - } -} diff --git a/lib/Model/OrgTierHistory.php b/lib/Model/OrgTierHistory.php deleted file mode 100644 index 94820b7..0000000 --- a/lib/Model/OrgTierHistory.php +++ /dev/null @@ -1,200 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $orgGuid; - /** - * @var string - */ - protected $status; - /** - * ISO timestamp. - * - * @var string - */ - protected $created; - /** - * ISO timestamp. - * - * @var string - */ - protected $modified; - /** - * @var string - */ - protected $tierName; - /** - * ISO timestamp. - * - * @var string - */ - protected $tierChangeDate; - /** - * ISO timestamp. - * - * @var string - */ - protected $activated; - /** - * ISO timestamp. - * - * @var string - */ - protected $deactivated; - - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - public function getStatus(): string - { - return $this->status; - } - - public function setStatus(string $status): self - { - $this->initialized['status'] = true; - $this->status = $status; - - return $this; - } - - /** - * ISO timestamp. - */ - public function getCreated(): string - { - return $this->created; - } - - /** - * ISO timestamp. - */ - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - /** - * ISO timestamp. - */ - public function getModified(): string - { - return $this->modified; - } - - /** - * ISO timestamp. - */ - public function setModified(string $modified): self - { - $this->initialized['modified'] = true; - $this->modified = $modified; - - return $this; - } - - public function getTierName(): string - { - return $this->tierName; - } - - public function setTierName(string $tierName): self - { - $this->initialized['tierName'] = true; - $this->tierName = $tierName; - - return $this; - } - - /** - * ISO timestamp. - */ - public function getTierChangeDate(): string - { - return $this->tierChangeDate; - } - - /** - * ISO timestamp. - */ - public function setTierChangeDate(string $tierChangeDate): self - { - $this->initialized['tierChangeDate'] = true; - $this->tierChangeDate = $tierChangeDate; - - return $this; - } - - /** - * ISO timestamp. - */ - public function getActivated(): string - { - return $this->activated; - } - - /** - * ISO timestamp. - */ - public function setActivated(string $activated): self - { - $this->initialized['activated'] = true; - $this->activated = $activated; - - return $this; - } - - /** - * ISO timestamp. - */ - public function getDeactivated(): string - { - return $this->deactivated; - } - - /** - * ISO timestamp. - */ - public function setDeactivated(string $deactivated): self - { - $this->initialized['deactivated'] = true; - $this->deactivated = $deactivated; - - return $this; - } -} diff --git a/lib/Model/OrgUsersDataExportQuery.php b/lib/Model/OrgUsersDataExportQuery.php deleted file mode 100644 index 9cc1589..0000000 --- a/lib/Model/OrgUsersDataExportQuery.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $emails; - - /** - * @return list - */ - public function getEmails(): array - { - return $this->emails; - } - - /** - * @param list $emails - */ - public function setEmails(array $emails): self - { - $this->initialized['emails'] = true; - $this->emails = $emails; - - return $this; - } -} diff --git a/lib/Model/OrganizationGUID.php b/lib/Model/OrganizationGUID.php deleted file mode 100644 index c109af7..0000000 --- a/lib/Model/OrganizationGUID.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $organizationGuid; - - public function getOrganizationGuid(): string - { - return $this->organizationGuid; - } - - public function setOrganizationGuid(string $organizationGuid): self - { - $this->initialized['organizationGuid'] = true; - $this->organizationGuid = $organizationGuid; - - return $this; - } -} diff --git a/lib/Model/OrganizationHistoricalUsageTotals.php b/lib/Model/OrganizationHistoricalUsageTotals.php deleted file mode 100644 index ffc50d1..0000000 --- a/lib/Model/OrganizationHistoricalUsageTotals.php +++ /dev/null @@ -1,128 +0,0 @@ -initialized); - } - /** - * the organization's guid. - * - * @var string - */ - protected $orgGuid; - /** - * Date ("2006-01-02") of the beginning of the usage totals. - * - * @var string - */ - protected $startDate; - /** - * Date ("2006-01-02") of the end of the usage totals. - * - * @var string - */ - protected $endDate; - /** - * an array of all of the organization's groups' historical feature usage totals. - * - * @var list - */ - protected $groupsHistoricalUsageTotals; - - /** - * the organization's guid. - */ - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - /** - * the organization's guid. - */ - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - /** - * Date ("2006-01-02") of the beginning of the usage totals. - */ - public function getStartDate(): string - { - return $this->startDate; - } - - /** - * Date ("2006-01-02") of the beginning of the usage totals. - */ - public function setStartDate(string $startDate): self - { - $this->initialized['startDate'] = true; - $this->startDate = $startDate; - - return $this; - } - - /** - * Date ("2006-01-02") of the end of the usage totals. - */ - public function getEndDate(): string - { - return $this->endDate; - } - - /** - * Date ("2006-01-02") of the end of the usage totals. - */ - public function setEndDate(string $endDate): self - { - $this->initialized['endDate'] = true; - $this->endDate = $endDate; - - return $this; - } - - /** - * an array of all of the organization's groups' historical feature usage totals. - * - * @return list - */ - public function getGroupsHistoricalUsageTotals(): array - { - return $this->groupsHistoricalUsageTotals; - } - - /** - * an array of all of the organization's groups' historical feature usage totals. - * - * @param list $groupsHistoricalUsageTotals - */ - public function setGroupsHistoricalUsageTotals(array $groupsHistoricalUsageTotals): self - { - $this->initialized['groupsHistoricalUsageTotals'] = true; - $this->groupsHistoricalUsageTotals = $groupsHistoricalUsageTotals; - - return $this; - } -} diff --git a/lib/Model/OrganizationPreferenceSet.php b/lib/Model/OrganizationPreferenceSet.php deleted file mode 100644 index 8cf85e5..0000000 --- a/lib/Model/OrganizationPreferenceSet.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $preference; - /** - * @var string - */ - protected $value; - /** - * @var bool - */ - protected $isActive; - - public function getPreference(): string - { - return $this->preference; - } - - public function setPreference(string $preference): self - { - $this->initialized['preference'] = true; - $this->preference = $preference; - - return $this; - } - - public function getValue(): string - { - return $this->value; - } - - public function setValue(string $value): self - { - $this->initialized['value'] = true; - $this->value = $value; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } -} diff --git a/lib/Model/OrganizationPreferences.php b/lib/Model/OrganizationPreferences.php deleted file mode 100644 index 6688923..0000000 --- a/lib/Model/OrganizationPreferences.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list> - */ - protected $preferences; - - /** - * @return list> - */ - public function getPreferences(): array - { - return $this->preferences; - } - - /** - * @param list> $preferences - */ - public function setPreferences(array $preferences): self - { - $this->initialized['preferences'] = true; - $this->preferences = $preferences; - - return $this; - } -} diff --git a/lib/Model/OrganizationUpdate.php b/lib/Model/OrganizationUpdate.php deleted file mode 100644 index 560bc02..0000000 --- a/lib/Model/OrganizationUpdate.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $name; - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } -} diff --git a/lib/Model/OtherBitlinkClicksMetrics.php b/lib/Model/OtherBitlinkClicksMetrics.php deleted file mode 100644 index e8e1e5b..0000000 --- a/lib/Model/OtherBitlinkClicksMetrics.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $otherCityBitlinkClicks; - /** - * @var int - */ - protected $noCityBitlinkClicks; - - public function getOtherCityBitlinkClicks(): int - { - return $this->otherCityBitlinkClicks; - } - - public function setOtherCityBitlinkClicks(int $otherCityBitlinkClicks): self - { - $this->initialized['otherCityBitlinkClicks'] = true; - $this->otherCityBitlinkClicks = $otherCityBitlinkClicks; - - return $this; - } - - public function getNoCityBitlinkClicks(): int - { - return $this->noCityBitlinkClicks; - } - - public function setNoCityBitlinkClicks(int $noCityBitlinkClicks): self - { - $this->initialized['noCityBitlinkClicks'] = true; - $this->noCityBitlinkClicks = $noCityBitlinkClicks; - - return $this; - } -} diff --git a/lib/Model/OtherDownloadMetric.php b/lib/Model/OtherDownloadMetric.php deleted file mode 100644 index bf6cfab..0000000 --- a/lib/Model/OtherDownloadMetric.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $otherCityDownloads; - /** - * @var int - */ - protected $noCityDownloads; - - public function getOtherCityDownloads(): int - { - return $this->otherCityDownloads; - } - - public function setOtherCityDownloads(int $otherCityDownloads): self - { - $this->initialized['otherCityDownloads'] = true; - $this->otherCityDownloads = $otherCityDownloads; - - return $this; - } - - public function getNoCityDownloads(): int - { - return $this->noCityDownloads; - } - - public function setNoCityDownloads(int $noCityDownloads): self - { - $this->initialized['noCityDownloads'] = true; - $this->noCityDownloads = $noCityDownloads; - - return $this; - } -} diff --git a/lib/Model/OtherViewMetrics.php b/lib/Model/OtherViewMetrics.php deleted file mode 100644 index 882cdd8..0000000 --- a/lib/Model/OtherViewMetrics.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $otherCityViews; - /** - * @var int - */ - protected $noCityViews; - - public function getOtherCityViews(): int - { - return $this->otherCityViews; - } - - public function setOtherCityViews(int $otherCityViews): self - { - $this->initialized['otherCityViews'] = true; - $this->otherCityViews = $otherCityViews; - - return $this; - } - - public function getNoCityViews(): int - { - return $this->noCityViews; - } - - public function setNoCityViews(int $noCityViews): self - { - $this->initialized['noCityViews'] = true; - $this->noCityViews = $noCityViews; - - return $this; - } -} diff --git a/lib/Model/PaginatedAnalyticsReports.php b/lib/Model/PaginatedAnalyticsReports.php deleted file mode 100644 index 38bf939..0000000 --- a/lib/Model/PaginatedAnalyticsReports.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var float - */ - protected $page; - /** - * @var float - */ - protected $size; - /** - * @var float - */ - protected $totalFound; - /** - * @var list - */ - protected $reports; - - public function getPage(): float - { - return $this->page; - } - - public function setPage(float $page): self - { - $this->initialized['page'] = true; - $this->page = $page; - - return $this; - } - - public function getSize(): float - { - return $this->size; - } - - public function setSize(float $size): self - { - $this->initialized['size'] = true; - $this->size = $size; - - return $this; - } - - public function getTotalFound(): float - { - return $this->totalFound; - } - - public function setTotalFound(float $totalFound): self - { - $this->initialized['totalFound'] = true; - $this->totalFound = $totalFound; - - return $this; - } - - /** - * @return list - */ - public function getReports(): array - { - return $this->reports; - } - - /** - * @param list $reports - */ - public function setReports(array $reports): self - { - $this->initialized['reports'] = true; - $this->reports = $reports; - - return $this; - } -} diff --git a/lib/Model/PatchOrgControlledDomain.php b/lib/Model/PatchOrgControlledDomain.php deleted file mode 100644 index 78a80f1..0000000 --- a/lib/Model/PatchOrgControlledDomain.php +++ /dev/null @@ -1,49 +0,0 @@ -initialized); - } - /** - * The active status of the controlled domain. - * - * @var bool - */ - protected $isActive; - - /** - * The active status of the controlled domain. - */ - public function getIsActive(): bool - { - return $this->isActive; - } - - /** - * The active status of the controlled domain. - */ - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } -} diff --git a/lib/Model/PatchOrgInvitationRequest.php b/lib/Model/PatchOrgInvitationRequest.php deleted file mode 100644 index b24bffd..0000000 --- a/lib/Model/PatchOrgInvitationRequest.php +++ /dev/null @@ -1,99 +0,0 @@ -initialized); - } - /** - * Status of the organization invitation request. - * - * @var string - */ - protected $status; - /** - * Email address of the user requesting to join the organization. - * - * @var string - */ - protected $email; - /** - * Bitly login of the user requesting to join the organization. - * - * @var string - */ - protected $login; - - /** - * Status of the organization invitation request. - */ - public function getStatus(): string - { - return $this->status; - } - - /** - * Status of the organization invitation request. - */ - public function setStatus(string $status): self - { - $this->initialized['status'] = true; - $this->status = $status; - - return $this; - } - - /** - * Email address of the user requesting to join the organization. - */ - public function getEmail(): string - { - return $this->email; - } - - /** - * Email address of the user requesting to join the organization. - */ - public function setEmail(string $email): self - { - $this->initialized['email'] = true; - $this->email = $email; - - return $this; - } - - /** - * Bitly login of the user requesting to join the organization. - */ - public function getLogin(): string - { - return $this->login; - } - - /** - * Bitly login of the user requesting to join the organization. - */ - public function setLogin(string $login): self - { - $this->initialized['login'] = true; - $this->login = $login; - - return $this; - } -} diff --git a/lib/Model/PayPalToken.php b/lib/Model/PayPalToken.php deleted file mode 100644 index ab383fa..0000000 --- a/lib/Model/PayPalToken.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $tokenId; - - public function getTokenId(): string - { - return $this->tokenId; - } - - public function setTokenId(string $tokenId): self - { - $this->initialized['tokenId'] = true; - $this->tokenId = $tokenId; - - return $this; - } -} diff --git a/lib/Model/PayPalTokenRequest.php b/lib/Model/PayPalTokenRequest.php deleted file mode 100644 index 3ad0efa..0000000 --- a/lib/Model/PayPalTokenRequest.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $orgGuid; - /** - * @var string - */ - protected $tierName; - /** - * @var string - */ - protected $billingPeriod; - - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } - - public function getTierName(): string - { - return $this->tierName; - } - - public function setTierName(string $tierName): self - { - $this->initialized['tierName'] = true; - $this->tierName = $tierName; - - return $this; - } - - public function getBillingPeriod(): string - { - return $this->billingPeriod; - } - - public function setBillingPeriod(string $billingPeriod): self - { - $this->initialized['billingPeriod'] = true; - $this->billingPeriod = $billingPeriod; - - return $this; - } -} diff --git a/lib/Model/Payer.php b/lib/Model/Payer.php deleted file mode 100644 index 1166e53..0000000 --- a/lib/Model/Payer.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var PayerInfo - */ - protected $payerInfo; - - public function getPayerInfo(): PayerInfo - { - return $this->payerInfo; - } - - public function setPayerInfo(PayerInfo $payerInfo): self - { - $this->initialized['payerInfo'] = true; - $this->payerInfo = $payerInfo; - - return $this; - } -} diff --git a/lib/Model/PayerInfo.php b/lib/Model/PayerInfo.php deleted file mode 100644 index fd3bf4f..0000000 --- a/lib/Model/PayerInfo.php +++ /dev/null @@ -1,109 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $email; - /** - * @var string - */ - protected $firstName; - /** - * @var string - */ - protected $lastName; - /** - * @var string - */ - protected $payerId; - /** - * @var string - */ - protected $tenant; - - public function getEmail(): string - { - return $this->email; - } - - public function setEmail(string $email): self - { - $this->initialized['email'] = true; - $this->email = $email; - - return $this; - } - - public function getFirstName(): string - { - return $this->firstName; - } - - public function setFirstName(string $firstName): self - { - $this->initialized['firstName'] = true; - $this->firstName = $firstName; - - return $this; - } - - public function getLastName(): string - { - return $this->lastName; - } - - public function setLastName(string $lastName): self - { - $this->initialized['lastName'] = true; - $this->lastName = $lastName; - - return $this; - } - - public function getPayerId(): string - { - return $this->payerId; - } - - public function setPayerId(string $payerId): self - { - $this->initialized['payerId'] = true; - $this->payerId = $payerId; - - return $this; - } - - public function getTenant(): string - { - return $this->tenant; - } - - public function setTenant(string $tenant): self - { - $this->initialized['tenant'] = true; - $this->tenant = $tenant; - - return $this; - } -} diff --git a/lib/Model/PaymentInvoice.php b/lib/Model/PaymentInvoice.php deleted file mode 100644 index a43e60f..0000000 --- a/lib/Model/PaymentInvoice.php +++ /dev/null @@ -1,234 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $invoiceDate; - /** - * @var string - */ - protected $invoiceDueDate; - /** - * @var string - */ - protected $invoiceNumber; - /** - * @var string - */ - protected $invoiceId; - /** - * @var Charges - */ - protected $charges; - /** - * @var float - */ - protected $subtotal; - /** - * @var float - */ - protected $totalTax; - /** - * @var float - */ - protected $total; - /** - * @var list - */ - protected $payments; - /** - * @var string - */ - protected $description; - /** - * @var string - */ - protected $invoiceProvider; - /** - * @var string - */ - protected $invoiceUrl; - - public function getInvoiceDate(): string - { - return $this->invoiceDate; - } - - public function setInvoiceDate(string $invoiceDate): self - { - $this->initialized['invoiceDate'] = true; - $this->invoiceDate = $invoiceDate; - - return $this; - } - - public function getInvoiceDueDate(): string - { - return $this->invoiceDueDate; - } - - public function setInvoiceDueDate(string $invoiceDueDate): self - { - $this->initialized['invoiceDueDate'] = true; - $this->invoiceDueDate = $invoiceDueDate; - - return $this; - } - - public function getInvoiceNumber(): string - { - return $this->invoiceNumber; - } - - public function setInvoiceNumber(string $invoiceNumber): self - { - $this->initialized['invoiceNumber'] = true; - $this->invoiceNumber = $invoiceNumber; - - return $this; - } - - public function getInvoiceId(): string - { - return $this->invoiceId; - } - - public function setInvoiceId(string $invoiceId): self - { - $this->initialized['invoiceId'] = true; - $this->invoiceId = $invoiceId; - - return $this; - } - - public function getCharges(): Charges - { - return $this->charges; - } - - public function setCharges(Charges $charges): self - { - $this->initialized['charges'] = true; - $this->charges = $charges; - - return $this; - } - - public function getSubtotal(): float - { - return $this->subtotal; - } - - public function setSubtotal(float $subtotal): self - { - $this->initialized['subtotal'] = true; - $this->subtotal = $subtotal; - - return $this; - } - - public function getTotalTax(): float - { - return $this->totalTax; - } - - public function setTotalTax(float $totalTax): self - { - $this->initialized['totalTax'] = true; - $this->totalTax = $totalTax; - - return $this; - } - - public function getTotal(): float - { - return $this->total; - } - - public function setTotal(float $total): self - { - $this->initialized['total'] = true; - $this->total = $total; - - return $this; - } - - /** - * @return list - */ - public function getPayments(): array - { - return $this->payments; - } - - /** - * @param list $payments - */ - public function setPayments(array $payments): self - { - $this->initialized['payments'] = true; - $this->payments = $payments; - - return $this; - } - - public function getDescription(): string - { - return $this->description; - } - - public function setDescription(string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getInvoiceProvider(): string - { - return $this->invoiceProvider; - } - - public function setInvoiceProvider(string $invoiceProvider): self - { - $this->initialized['invoiceProvider'] = true; - $this->invoiceProvider = $invoiceProvider; - - return $this; - } - - public function getInvoiceUrl(): string - { - return $this->invoiceUrl; - } - - public function setInvoiceUrl(string $invoiceUrl): self - { - $this->initialized['invoiceUrl'] = true; - $this->invoiceUrl = $invoiceUrl; - - return $this; - } -} diff --git a/lib/Model/PaymentInvoiceDetail.php b/lib/Model/PaymentInvoiceDetail.php deleted file mode 100644 index 3c82b9e..0000000 --- a/lib/Model/PaymentInvoiceDetail.php +++ /dev/null @@ -1,81 +0,0 @@ -initialized); - } - /** - * @var PaymentInvoice - */ - protected $invoiceSummary; - /** - * @var BillingAccount - */ - protected $billingAccount; - /** - * @var list - */ - protected $subscriptionDiscounts; - - public function getInvoiceSummary(): PaymentInvoice - { - return $this->invoiceSummary; - } - - public function setInvoiceSummary(PaymentInvoice $invoiceSummary): self - { - $this->initialized['invoiceSummary'] = true; - $this->invoiceSummary = $invoiceSummary; - - return $this; - } - - public function getBillingAccount(): BillingAccount - { - return $this->billingAccount; - } - - public function setBillingAccount(BillingAccount $billingAccount): self - { - $this->initialized['billingAccount'] = true; - $this->billingAccount = $billingAccount; - - return $this; - } - - /** - * @return list - */ - public function getSubscriptionDiscounts(): array - { - return $this->subscriptionDiscounts; - } - - /** - * @param list $subscriptionDiscounts - */ - public function setSubscriptionDiscounts(array $subscriptionDiscounts): self - { - $this->initialized['subscriptionDiscounts'] = true; - $this->subscriptionDiscounts = $subscriptionDiscounts; - - return $this; - } -} diff --git a/lib/Model/PaymentInvoices.php b/lib/Model/PaymentInvoices.php deleted file mode 100644 index 3f43446..0000000 --- a/lib/Model/PaymentInvoices.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $paymentInvoices; - - /** - * @return list - */ - public function getPaymentInvoices(): array - { - return $this->paymentInvoices; - } - - /** - * @param list $paymentInvoices - */ - public function setPaymentInvoices(array $paymentInvoices): self - { - $this->initialized['paymentInvoices'] = true; - $this->paymentInvoices = $paymentInvoices; - - return $this; - } -} diff --git a/lib/Model/PaymentMethod.php b/lib/Model/PaymentMethod.php deleted file mode 100644 index c4182c6..0000000 --- a/lib/Model/PaymentMethod.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $paymentMethodId; - - public function getPaymentMethodId(): string - { - return $this->paymentMethodId; - } - - public function setPaymentMethodId(string $paymentMethodId): self - { - $this->initialized['paymentMethodId'] = true; - $this->paymentMethodId = $paymentMethodId; - - return $this; - } -} diff --git a/lib/Model/Payments.php b/lib/Model/Payments.php deleted file mode 100644 index 69518d7..0000000 --- a/lib/Model/Payments.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var float - */ - protected $paymentAmount; - /** - * @var string - */ - protected $paymentDate; - /** - * @var string - */ - protected $paymentNumber; - - public function getPaymentAmount(): float - { - return $this->paymentAmount; - } - - public function setPaymentAmount(float $paymentAmount): self - { - $this->initialized['paymentAmount'] = true; - $this->paymentAmount = $paymentAmount; - - return $this; - } - - public function getPaymentDate(): string - { - return $this->paymentDate; - } - - public function setPaymentDate(string $paymentDate): self - { - $this->initialized['paymentDate'] = true; - $this->paymentDate = $paymentDate; - - return $this; - } - - public function getPaymentNumber(): string - { - return $this->paymentNumber; - } - - public function setPaymentNumber(string $paymentNumber): self - { - $this->initialized['paymentNumber'] = true; - $this->paymentNumber = $paymentNumber; - - return $this; - } -} diff --git a/lib/Model/PrevalidateYouTubeVideoRequest.php b/lib/Model/PrevalidateYouTubeVideoRequest.php deleted file mode 100644 index f3c6298..0000000 --- a/lib/Model/PrevalidateYouTubeVideoRequest.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $videoId; - - public function getVideoId(): string - { - return $this->videoId; - } - - public function setVideoId(string $videoId): self - { - $this->initialized['videoId'] = true; - $this->videoId = $videoId; - - return $this; - } -} diff --git a/lib/Model/PreviewQRCodeRequestV2.php b/lib/Model/PreviewQRCodeRequestV2.php deleted file mode 100644 index 66962a0..0000000 --- a/lib/Model/PreviewQRCodeRequestV2.php +++ /dev/null @@ -1,49 +0,0 @@ -initialized); - } - /** - * Options for customizing a QR Code's appearance. - * - * @var QRCodeCustomizations - */ - protected $renderCustomizations; - - /** - * Options for customizing a QR Code's appearance. - */ - public function getRenderCustomizations(): QRCodeCustomizations - { - return $this->renderCustomizations; - } - - /** - * Options for customizing a QR Code's appearance. - */ - public function setRenderCustomizations(QRCodeCustomizations $renderCustomizations): self - { - $this->initialized['renderCustomizations'] = true; - $this->renderCustomizations = $renderCustomizations; - - return $this; - } -} diff --git a/lib/Model/PriceMap.php b/lib/Model/PriceMap.php deleted file mode 100644 index 6b966e4..0000000 --- a/lib/Model/PriceMap.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $uSD; - /** - * @var int - */ - protected $eUR; - - public function getUSD(): int - { - return $this->uSD; - } - - public function setUSD(int $uSD): self - { - $this->initialized['uSD'] = true; - $this->uSD = $uSD; - - return $this; - } - - public function getEUR(): int - { - return $this->eUR; - } - - public function setEUR(int $eUR): self - { - $this->initialized['eUR'] = true; - $this->eUR = $eUR; - - return $this; - } -} diff --git a/lib/Model/ProductUtilizationResponse.php b/lib/Model/ProductUtilizationResponse.php deleted file mode 100644 index a969649..0000000 --- a/lib/Model/ProductUtilizationResponse.php +++ /dev/null @@ -1,149 +0,0 @@ -initialized); - } - /** - * whether the Links product has been utilized. - * - * @var bool - */ - protected $linkCreated; - /** - * whether the QR Codes product has been utilized. - * - * @var bool - */ - protected $qrCodeCreated; - /** - * whether the Link-in-bio product has been utilized. - * - * @var bool - */ - protected $libCreated; - /** - * whether the Analytics Dashboard product has been utilized. - * - * @var bool - */ - protected $analyticsDashboardCreated; - /** - * whether a Custom Domain has been utilized. - * - * @var bool - */ - protected $customDomainCreated; - - /** - * whether the Links product has been utilized. - */ - public function getLinkCreated(): bool - { - return $this->linkCreated; - } - - /** - * whether the Links product has been utilized. - */ - public function setLinkCreated(bool $linkCreated): self - { - $this->initialized['linkCreated'] = true; - $this->linkCreated = $linkCreated; - - return $this; - } - - /** - * whether the QR Codes product has been utilized. - */ - public function getQrCodeCreated(): bool - { - return $this->qrCodeCreated; - } - - /** - * whether the QR Codes product has been utilized. - */ - public function setQrCodeCreated(bool $qrCodeCreated): self - { - $this->initialized['qrCodeCreated'] = true; - $this->qrCodeCreated = $qrCodeCreated; - - return $this; - } - - /** - * whether the Link-in-bio product has been utilized. - */ - public function getLibCreated(): bool - { - return $this->libCreated; - } - - /** - * whether the Link-in-bio product has been utilized. - */ - public function setLibCreated(bool $libCreated): self - { - $this->initialized['libCreated'] = true; - $this->libCreated = $libCreated; - - return $this; - } - - /** - * whether the Analytics Dashboard product has been utilized. - */ - public function getAnalyticsDashboardCreated(): bool - { - return $this->analyticsDashboardCreated; - } - - /** - * whether the Analytics Dashboard product has been utilized. - */ - public function setAnalyticsDashboardCreated(bool $analyticsDashboardCreated): self - { - $this->initialized['analyticsDashboardCreated'] = true; - $this->analyticsDashboardCreated = $analyticsDashboardCreated; - - return $this; - } - - /** - * whether a Custom Domain has been utilized. - */ - public function getCustomDomainCreated(): bool - { - return $this->customDomainCreated; - } - - /** - * whether a Custom Domain has been utilized. - */ - public function setCustomDomainCreated(bool $customDomainCreated): self - { - $this->initialized['customDomainCreated'] = true; - $this->customDomainCreated = $customDomainCreated; - - return $this; - } -} diff --git a/lib/Model/PromoCode.php b/lib/Model/PromoCode.php deleted file mode 100644 index 59e50d8..0000000 --- a/lib/Model/PromoCode.php +++ /dev/null @@ -1,166 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $promoCode; - /** - * @var bool - */ - protected $isValid; - /** - * @var bool - */ - protected $isValidForPlan; - /** - * @var string - */ - protected $discountType; - /** - * @var float - */ - protected $discountAmount; - /** - * @var int - */ - protected $numPeriodsToApplyDiscount; - /** - * @var string - */ - protected $numPeriodsToApplyDiscountType; - /** - * @var list - */ - protected $validPlans; - - public function getPromoCode(): string - { - return $this->promoCode; - } - - public function setPromoCode(string $promoCode): self - { - $this->initialized['promoCode'] = true; - $this->promoCode = $promoCode; - - return $this; - } - - public function getIsValid(): bool - { - return $this->isValid; - } - - public function setIsValid(bool $isValid): self - { - $this->initialized['isValid'] = true; - $this->isValid = $isValid; - - return $this; - } - - public function getIsValidForPlan(): bool - { - return $this->isValidForPlan; - } - - public function setIsValidForPlan(bool $isValidForPlan): self - { - $this->initialized['isValidForPlan'] = true; - $this->isValidForPlan = $isValidForPlan; - - return $this; - } - - public function getDiscountType(): string - { - return $this->discountType; - } - - public function setDiscountType(string $discountType): self - { - $this->initialized['discountType'] = true; - $this->discountType = $discountType; - - return $this; - } - - public function getDiscountAmount(): float - { - return $this->discountAmount; - } - - public function setDiscountAmount(float $discountAmount): self - { - $this->initialized['discountAmount'] = true; - $this->discountAmount = $discountAmount; - - return $this; - } - - public function getNumPeriodsToApplyDiscount(): int - { - return $this->numPeriodsToApplyDiscount; - } - - public function setNumPeriodsToApplyDiscount(int $numPeriodsToApplyDiscount): self - { - $this->initialized['numPeriodsToApplyDiscount'] = true; - $this->numPeriodsToApplyDiscount = $numPeriodsToApplyDiscount; - - return $this; - } - - public function getNumPeriodsToApplyDiscountType(): string - { - return $this->numPeriodsToApplyDiscountType; - } - - public function setNumPeriodsToApplyDiscountType(string $numPeriodsToApplyDiscountType): self - { - $this->initialized['numPeriodsToApplyDiscountType'] = true; - $this->numPeriodsToApplyDiscountType = $numPeriodsToApplyDiscountType; - - return $this; - } - - /** - * @return list - */ - public function getValidPlans(): array - { - return $this->validPlans; - } - - /** - * @param list $validPlans - */ - public function setValidPlans(array $validPlans): self - { - $this->initialized['validPlans'] = true; - $this->validPlans = $validPlans; - - return $this; - } -} diff --git a/lib/Model/PromoCodeValidPlans.php b/lib/Model/PromoCodeValidPlans.php deleted file mode 100644 index 7a95afd..0000000 --- a/lib/Model/PromoCodeValidPlans.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $validPlans; - - /** - * @return list - */ - public function getValidPlans(): array - { - return $this->validPlans; - } - - /** - * @param list $validPlans - */ - public function setValidPlans(array $validPlans): self - { - $this->initialized['validPlans'] = true; - $this->validPlans = $validPlans; - - return $this; - } -} diff --git a/lib/Model/PublicCanvaUserBrand.php b/lib/Model/PublicCanvaUserBrand.php deleted file mode 100644 index 127a654..0000000 --- a/lib/Model/PublicCanvaUserBrand.php +++ /dev/null @@ -1,174 +0,0 @@ -initialized); - } - /** - * The Canva User's ID. - * - * @var string - */ - protected $canvaUserId; - /** - * The Canva User's Brand ID. - * - * @var string - */ - protected $canvaBrandId; - /** - * The Bitly login associated with the canva_user_id and canva_brand_id. - * - * @var string - */ - protected $login; - /** - * The records active status field. - * - * @var bool - */ - protected $active; - /** - * The Bitly brand_guid preference for use in the Bitly Canva app. - * - * @var string - */ - protected $brandGuid; - /** - * The Bitly org_guid preference for use in the Bitly Canva app. - * - * @var string - */ - protected $orgGuid; - - /** - * The Canva User's ID. - */ - public function getCanvaUserId(): string - { - return $this->canvaUserId; - } - - /** - * The Canva User's ID. - */ - public function setCanvaUserId(string $canvaUserId): self - { - $this->initialized['canvaUserId'] = true; - $this->canvaUserId = $canvaUserId; - - return $this; - } - - /** - * The Canva User's Brand ID. - */ - public function getCanvaBrandId(): string - { - return $this->canvaBrandId; - } - - /** - * The Canva User's Brand ID. - */ - public function setCanvaBrandId(string $canvaBrandId): self - { - $this->initialized['canvaBrandId'] = true; - $this->canvaBrandId = $canvaBrandId; - - return $this; - } - - /** - * The Bitly login associated with the canva_user_id and canva_brand_id. - */ - public function getLogin(): string - { - return $this->login; - } - - /** - * The Bitly login associated with the canva_user_id and canva_brand_id. - */ - public function setLogin(string $login): self - { - $this->initialized['login'] = true; - $this->login = $login; - - return $this; - } - - /** - * The records active status field. - */ - public function getActive(): bool - { - return $this->active; - } - - /** - * The records active status field. - */ - public function setActive(bool $active): self - { - $this->initialized['active'] = true; - $this->active = $active; - - return $this; - } - - /** - * The Bitly brand_guid preference for use in the Bitly Canva app. - */ - public function getBrandGuid(): string - { - return $this->brandGuid; - } - - /** - * The Bitly brand_guid preference for use in the Bitly Canva app. - */ - public function setBrandGuid(string $brandGuid): self - { - $this->initialized['brandGuid'] = true; - $this->brandGuid = $brandGuid; - - return $this; - } - - /** - * The Bitly org_guid preference for use in the Bitly Canva app. - */ - public function getOrgGuid(): string - { - return $this->orgGuid; - } - - /** - * The Bitly org_guid preference for use in the Bitly Canva app. - */ - public function setOrgGuid(string $orgGuid): self - { - $this->initialized['orgGuid'] = true; - $this->orgGuid = $orgGuid; - - return $this; - } -} diff --git a/lib/Model/PublicImageURL.php b/lib/Model/PublicImageURL.php deleted file mode 100644 index ee9286d..0000000 --- a/lib/Model/PublicImageURL.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $publicImageUrl; - - public function getPublicImageUrl(): string - { - return $this->publicImageUrl; - } - - public function setPublicImageUrl(string $publicImageUrl): self - { - $this->initialized['publicImageUrl'] = true; - $this->publicImageUrl = $publicImageUrl; - - return $this; - } -} diff --git a/lib/Model/PublicOAuthUser.php b/lib/Model/PublicOAuthUser.php deleted file mode 100644 index f63a4e1..0000000 --- a/lib/Model/PublicOAuthUser.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $login; - /** - * @var string - */ - protected $accessToken; - - public function getLogin(): string - { - return $this->login; - } - - public function setLogin(string $login): self - { - $this->initialized['login'] = true; - $this->login = $login; - - return $this; - } - - public function getAccessToken(): string - { - return $this->accessToken; - } - - public function setAccessToken(string $accessToken): self - { - $this->initialized['accessToken'] = true; - $this->accessToken = $accessToken; - - return $this; - } -} diff --git a/lib/Model/PublicQRCodeResponse.php b/lib/Model/PublicQRCodeResponse.php deleted file mode 100644 index bce0b55..0000000 --- a/lib/Model/PublicQRCodeResponse.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var QRCodeMinimal - */ - protected $qrCode; - - public function getQrCode(): QRCodeMinimal - { - return $this->qrCode; - } - - public function setQrCode(QRCodeMinimal $qrCode): self - { - $this->initialized['qrCode'] = true; - $this->qrCode = $qrCode; - - return $this; - } -} diff --git a/lib/Model/PublicSSLCert.php b/lib/Model/PublicSSLCert.php deleted file mode 100644 index 694590d..0000000 --- a/lib/Model/PublicSSLCert.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $validEnd; - /** - * @var bool - */ - protected $customCert; - /** - * @var string - */ - protected $issuer; - - public function getValidEnd(): string - { - return $this->validEnd; - } - - public function setValidEnd(string $validEnd): self - { - $this->initialized['validEnd'] = true; - $this->validEnd = $validEnd; - - return $this; - } - - public function getCustomCert(): bool - { - return $this->customCert; - } - - public function setCustomCert(bool $customCert): self - { - $this->initialized['customCert'] = true; - $this->customCert = $customCert; - - return $this; - } - - public function getIssuer(): string - { - return $this->issuer; - } - - public function setIssuer(string $issuer): self - { - $this->initialized['issuer'] = true; - $this->issuer = $issuer; - - return $this; - } -} diff --git a/lib/Model/PublicSSOUser.php b/lib/Model/PublicSSOUser.php deleted file mode 100644 index 0683b0b..0000000 --- a/lib/Model/PublicSSOUser.php +++ /dev/null @@ -1,177 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $guid; - /** - * @var string - */ - protected $organizationGuid; - /** - * @var string - */ - protected $ssoUsername; - /** - * @var string - */ - protected $login; - /** - * @var bool - */ - protected $isActive; - /** - * @var string - */ - protected $identityProvider; - /** - * @var string - */ - protected $created; - /** - * @var string - */ - protected $modified; - /** - * @var string - */ - protected $deactivated; - - public function getGuid(): string - { - return $this->guid; - } - - public function setGuid(string $guid): self - { - $this->initialized['guid'] = true; - $this->guid = $guid; - - return $this; - } - - public function getOrganizationGuid(): string - { - return $this->organizationGuid; - } - - public function setOrganizationGuid(string $organizationGuid): self - { - $this->initialized['organizationGuid'] = true; - $this->organizationGuid = $organizationGuid; - - return $this; - } - - public function getSsoUsername(): string - { - return $this->ssoUsername; - } - - public function setSsoUsername(string $ssoUsername): self - { - $this->initialized['ssoUsername'] = true; - $this->ssoUsername = $ssoUsername; - - return $this; - } - - public function getLogin(): string - { - return $this->login; - } - - public function setLogin(string $login): self - { - $this->initialized['login'] = true; - $this->login = $login; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIdentityProvider(): string - { - return $this->identityProvider; - } - - public function setIdentityProvider(string $identityProvider): self - { - $this->initialized['identityProvider'] = true; - $this->identityProvider = $identityProvider; - - return $this; - } - - public function getCreated(): string - { - return $this->created; - } - - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getModified(): string - { - return $this->modified; - } - - public function setModified(string $modified): self - { - $this->initialized['modified'] = true; - $this->modified = $modified; - - return $this; - } - - public function getDeactivated(): string - { - return $this->deactivated; - } - - public function setDeactivated(string $deactivated): self - { - $this->initialized['deactivated'] = true; - $this->deactivated = $deactivated; - - return $this; - } -} diff --git a/lib/Model/PublicSSOUsersResults.php b/lib/Model/PublicSSOUsersResults.php deleted file mode 100644 index dbe36b8..0000000 --- a/lib/Model/PublicSSOUsersResults.php +++ /dev/null @@ -1,64 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $users; - /** - * @var int - */ - protected $total; - - /** - * @return list - */ - public function getUsers(): array - { - return $this->users; - } - - /** - * @param list $users - */ - public function setUsers(array $users): self - { - $this->initialized['users'] = true; - $this->users = $users; - - return $this; - } - - public function getTotal(): int - { - return $this->total; - } - - public function setTotal(int $total): self - { - $this->initialized['total'] = true; - $this->total = $total; - - return $this; - } -} diff --git a/lib/Model/PublicValidate.php b/lib/Model/PublicValidate.php deleted file mode 100644 index 277c6ec..0000000 --- a/lib/Model/PublicValidate.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $organizationGuid; - /** - * @var string - */ - protected $customDomain; - - public function getOrganizationGuid(): string - { - return $this->organizationGuid; - } - - public function setOrganizationGuid(string $organizationGuid): self - { - $this->initialized['organizationGuid'] = true; - $this->organizationGuid = $organizationGuid; - - return $this; - } - - public function getCustomDomain(): string - { - return $this->customDomain; - } - - public function setCustomDomain(string $customDomain): self - { - $this->initialized['customDomain'] = true; - $this->customDomain = $customDomain; - - return $this; - } -} diff --git a/lib/Model/PurchaseBSD.php b/lib/Model/PurchaseBSD.php deleted file mode 100644 index 70d8d1f..0000000 --- a/lib/Model/PurchaseBSD.php +++ /dev/null @@ -1,106 +0,0 @@ -initialized); - } - /** - * ISO_TIMESTAMP. - * - * @var string - */ - protected $agreedAt; - /** - * @var list - */ - protected $agreementKeys; - /** - * @var string - */ - protected $domain; - /** - * @var string - */ - protected $organizationGuid; - - /** - * ISO_TIMESTAMP. - */ - public function getAgreedAt(): string - { - return $this->agreedAt; - } - - /** - * ISO_TIMESTAMP. - */ - public function setAgreedAt(string $agreedAt): self - { - $this->initialized['agreedAt'] = true; - $this->agreedAt = $agreedAt; - - return $this; - } - - /** - * @return list - */ - public function getAgreementKeys(): array - { - return $this->agreementKeys; - } - - /** - * @param list $agreementKeys - */ - public function setAgreementKeys(array $agreementKeys): self - { - $this->initialized['agreementKeys'] = true; - $this->agreementKeys = $agreementKeys; - - return $this; - } - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - public function getOrganizationGuid(): string - { - return $this->organizationGuid; - } - - public function setOrganizationGuid(string $organizationGuid): self - { - $this->initialized['organizationGuid'] = true; - $this->organizationGuid = $organizationGuid; - - return $this; - } -} diff --git a/lib/Model/PurchaseBSDResponse.php b/lib/Model/PurchaseBSDResponse.php deleted file mode 100644 index ff75913..0000000 --- a/lib/Model/PurchaseBSDResponse.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $domain; - /** - * @var string - */ - protected $organizationGuid; - /** - * @var string - */ - protected $total; - /** - * @var int - */ - protected $orderId; - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - public function getOrganizationGuid(): string - { - return $this->organizationGuid; - } - - public function setOrganizationGuid(string $organizationGuid): self - { - $this->initialized['organizationGuid'] = true; - $this->organizationGuid = $organizationGuid; - - return $this; - } - - public function getTotal(): string - { - return $this->total; - } - - public function setTotal(string $total): self - { - $this->initialized['total'] = true; - $this->total = $total; - - return $this; - } - - public function getOrderId(): int - { - return $this->orderId; - } - - public function setOrderId(int $orderId): self - { - $this->initialized['orderId'] = true; - $this->orderId = $orderId; - - return $this; - } -} diff --git a/lib/Model/QRCode.php b/lib/Model/QRCode.php deleted file mode 100644 index a1db418..0000000 --- a/lib/Model/QRCode.php +++ /dev/null @@ -1,349 +0,0 @@ -initialized); - } - /** - * The QR code's id, as a guid. - * - * @var string - */ - protected $qrcodeId; - /** - * Options for customizing a QR Code's appearance. - * - * @var QRCodeCustomizations - */ - protected $renderCustomizations; - /** - * A boolean representing if any of the QR code's customization values have been changed from their default setting. - * - * @var bool - */ - protected $isCustomized; - /** - * The serialized string of the QR code's content. - * - * @var string - */ - protected $serializedContent; - /** - * The type of dynamic/static content the QR serves, e.g. Link In Bio page, micro site, bitlink, email, text, Wifi, etc. - * - * @var string - */ - protected $qrCodeType; - /** - * ISO_TIMESTAMP. - * - * @var string - */ - protected $created; - /** - * ISO_TIMESTAMP. - * - * @var string - */ - protected $modified; - /** - * The unix epoch time when the QR code was created. This field will be deprecated soon. Use created instead. - * - * @var int - */ - protected $createdTs; - /** - * The unix epoch time when the QR code was updated. Use modified instead of this field. Deprecation soon. - * - * @var int - */ - protected $modifiedTs; - /** - * The QR code's svg image data as a data uri. - * - * @var string - */ - protected $svg; - /** - * An object containing relevant properties for dynamic QR codes, i.e. ones that are linked to a bitlink. - * - * @var QRCodeDynamic - */ - protected $dynamicContent; - /** - * The QR code's version, error correction, and mask values. - * - * @var QRCodeSpecSettings - */ - protected $specSettings; - /** - * Contains GS1 related metadata. - * - * @var GS1Metadata - */ - protected $gs1; - - /** - * The QR code's id, as a guid. - */ - public function getQrcodeId(): string - { - return $this->qrcodeId; - } - - /** - * The QR code's id, as a guid. - */ - public function setQrcodeId(string $qrcodeId): self - { - $this->initialized['qrcodeId'] = true; - $this->qrcodeId = $qrcodeId; - - return $this; - } - - /** - * Options for customizing a QR Code's appearance. - */ - public function getRenderCustomizations(): QRCodeCustomizations - { - return $this->renderCustomizations; - } - - /** - * Options for customizing a QR Code's appearance. - */ - public function setRenderCustomizations(QRCodeCustomizations $renderCustomizations): self - { - $this->initialized['renderCustomizations'] = true; - $this->renderCustomizations = $renderCustomizations; - - return $this; - } - - /** - * A boolean representing if any of the QR code's customization values have been changed from their default setting. - */ - public function getIsCustomized(): bool - { - return $this->isCustomized; - } - - /** - * A boolean representing if any of the QR code's customization values have been changed from their default setting. - */ - public function setIsCustomized(bool $isCustomized): self - { - $this->initialized['isCustomized'] = true; - $this->isCustomized = $isCustomized; - - return $this; - } - - /** - * The serialized string of the QR code's content. - */ - public function getSerializedContent(): string - { - return $this->serializedContent; - } - - /** - * The serialized string of the QR code's content. - */ - public function setSerializedContent(string $serializedContent): self - { - $this->initialized['serializedContent'] = true; - $this->serializedContent = $serializedContent; - - return $this; - } - - /** - * The type of dynamic/static content the QR serves, e.g. Link In Bio page, micro site, bitlink, email, text, Wifi, etc. - */ - public function getQrCodeType(): string - { - return $this->qrCodeType; - } - - /** - * The type of dynamic/static content the QR serves, e.g. Link In Bio page, micro site, bitlink, email, text, Wifi, etc. - */ - public function setQrCodeType(string $qrCodeType): self - { - $this->initialized['qrCodeType'] = true; - $this->qrCodeType = $qrCodeType; - - return $this; - } - - /** - * ISO_TIMESTAMP. - */ - public function getCreated(): string - { - return $this->created; - } - - /** - * ISO_TIMESTAMP. - */ - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - /** - * ISO_TIMESTAMP. - */ - public function getModified(): string - { - return $this->modified; - } - - /** - * ISO_TIMESTAMP. - */ - public function setModified(string $modified): self - { - $this->initialized['modified'] = true; - $this->modified = $modified; - - return $this; - } - - /** - * The unix epoch time when the QR code was created. This field will be deprecated soon. Use created instead. - */ - public function getCreatedTs(): int - { - return $this->createdTs; - } - - /** - * The unix epoch time when the QR code was created. This field will be deprecated soon. Use created instead. - */ - public function setCreatedTs(int $createdTs): self - { - $this->initialized['createdTs'] = true; - $this->createdTs = $createdTs; - - return $this; - } - - /** - * The unix epoch time when the QR code was updated. Use modified instead of this field. Deprecation soon. - */ - public function getModifiedTs(): int - { - return $this->modifiedTs; - } - - /** - * The unix epoch time when the QR code was updated. Use modified instead of this field. Deprecation soon. - */ - public function setModifiedTs(int $modifiedTs): self - { - $this->initialized['modifiedTs'] = true; - $this->modifiedTs = $modifiedTs; - - return $this; - } - - /** - * The QR code's svg image data as a data uri. - */ - public function getSvg(): string - { - return $this->svg; - } - - /** - * The QR code's svg image data as a data uri. - */ - public function setSvg(string $svg): self - { - $this->initialized['svg'] = true; - $this->svg = $svg; - - return $this; - } - - /** - * An object containing relevant properties for dynamic QR codes, i.e. ones that are linked to a bitlink. - */ - public function getDynamicContent(): QRCodeDynamic - { - return $this->dynamicContent; - } - - /** - * An object containing relevant properties for dynamic QR codes, i.e. ones that are linked to a bitlink. - */ - public function setDynamicContent(QRCodeDynamic $dynamicContent): self - { - $this->initialized['dynamicContent'] = true; - $this->dynamicContent = $dynamicContent; - - return $this; - } - - /** - * The QR code's version, error correction, and mask values. - */ - public function getSpecSettings(): QRCodeSpecSettings - { - return $this->specSettings; - } - - /** - * The QR code's version, error correction, and mask values. - */ - public function setSpecSettings(QRCodeSpecSettings $specSettings): self - { - $this->initialized['specSettings'] = true; - $this->specSettings = $specSettings; - - return $this; - } - - /** - * Contains GS1 related metadata. - */ - public function getGs1(): GS1Metadata - { - return $this->gs1; - } - - /** - * Contains GS1 related metadata. - */ - public function setGs1(GS1Metadata $gs1): self - { - $this->initialized['gs1'] = true; - $this->gs1 = $gs1; - - return $this; - } -} diff --git a/lib/Model/QRCodeCornerResponseItem.php b/lib/Model/QRCodeCornerResponseItem.php deleted file mode 100644 index da7c140..0000000 --- a/lib/Model/QRCodeCornerResponseItem.php +++ /dev/null @@ -1,91 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $id; - /** - * A QR code shape's thumbnail image data as a data url. Can be svg, png, jpg. Only used in response bodies. - * - * @var string - */ - protected $thumbnail; - /** - * Determines whether the user has acccess to this field. - * - * @var bool - */ - protected $locked; - - public function getId(): string - { - return $this->id; - } - - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - /** - * A QR code shape's thumbnail image data as a data url. Can be svg, png, jpg. Only used in response bodies. - */ - public function getThumbnail(): string - { - return $this->thumbnail; - } - - /** - * A QR code shape's thumbnail image data as a data url. Can be svg, png, jpg. Only used in response bodies. - */ - public function setThumbnail(string $thumbnail): self - { - $this->initialized['thumbnail'] = true; - $this->thumbnail = $thumbnail; - - return $this; - } - - /** - * Determines whether the user has acccess to this field. - */ - public function getLocked(): bool - { - return $this->locked; - } - - /** - * Determines whether the user has acccess to this field. - */ - public function setLocked(bool $locked): self - { - $this->initialized['locked'] = true; - $this->locked = $locked; - - return $this; - } -} diff --git a/lib/Model/QRCodeCustomizationOptionsResponse.php b/lib/Model/QRCodeCustomizationOptionsResponse.php deleted file mode 100644 index 54a1467..0000000 --- a/lib/Model/QRCodeCustomizationOptionsResponse.php +++ /dev/null @@ -1,227 +0,0 @@ -initialized); - } - /** - * list of frame options. - * - * @var list - */ - protected $frames; - /** - * list of dot pattern options. - * - * @var list - */ - protected $dotPatterns; - /** - * list of corner options. - * - * @var list - */ - protected $corners; - /** - * list of image format options. - * - * @var list - */ - protected $formats; - /** - * list of dynamic type options. - * - * @var list - */ - protected $dynamicTypes; - /** - * list of static type options. - * - * @var list - */ - protected $staticTypes; - /** - * list of logo options. - * - * @var list - */ - protected $logos; - - /** - * list of frame options. - * - * @return list - */ - public function getFrames(): array - { - return $this->frames; - } - - /** - * list of frame options. - * - * @param list $frames - */ - public function setFrames(array $frames): self - { - $this->initialized['frames'] = true; - $this->frames = $frames; - - return $this; - } - - /** - * list of dot pattern options. - * - * @return list - */ - public function getDotPatterns(): array - { - return $this->dotPatterns; - } - - /** - * list of dot pattern options. - * - * @param list $dotPatterns - */ - public function setDotPatterns(array $dotPatterns): self - { - $this->initialized['dotPatterns'] = true; - $this->dotPatterns = $dotPatterns; - - return $this; - } - - /** - * list of corner options. - * - * @return list - */ - public function getCorners(): array - { - return $this->corners; - } - - /** - * list of corner options. - * - * @param list $corners - */ - public function setCorners(array $corners): self - { - $this->initialized['corners'] = true; - $this->corners = $corners; - - return $this; - } - - /** - * list of image format options. - * - * @return list - */ - public function getFormats(): array - { - return $this->formats; - } - - /** - * list of image format options. - * - * @param list $formats - */ - public function setFormats(array $formats): self - { - $this->initialized['formats'] = true; - $this->formats = $formats; - - return $this; - } - - /** - * list of dynamic type options. - * - * @return list - */ - public function getDynamicTypes(): array - { - return $this->dynamicTypes; - } - - /** - * list of dynamic type options. - * - * @param list $dynamicTypes - */ - public function setDynamicTypes(array $dynamicTypes): self - { - $this->initialized['dynamicTypes'] = true; - $this->dynamicTypes = $dynamicTypes; - - return $this; - } - - /** - * list of static type options. - * - * @return list - */ - public function getStaticTypes(): array - { - return $this->staticTypes; - } - - /** - * list of static type options. - * - * @param list $staticTypes - */ - public function setStaticTypes(array $staticTypes): self - { - $this->initialized['staticTypes'] = true; - $this->staticTypes = $staticTypes; - - return $this; - } - - /** - * list of logo options. - * - * @return list - */ - public function getLogos(): array - { - return $this->logos; - } - - /** - * list of logo options. - * - * @param list $logos - */ - public function setLogos(array $logos): self - { - $this->initialized['logos'] = true; - $this->logos = $logos; - - return $this; - } -} diff --git a/lib/Model/QRCodeCustomizations.php b/lib/Model/QRCodeCustomizations.php deleted file mode 100644 index 20929e3..0000000 --- a/lib/Model/QRCodeCustomizations.php +++ /dev/null @@ -1,251 +0,0 @@ -initialized); - } - /** - * The QR code's background color in hex code format with values for alpha channel. - * - * @var string - */ - protected $backgroundColor; - /** - * The QR code's dot pattern color in hex code format. - * - * @var string - */ - protected $dotPatternColor; - /** - * @var string - */ - protected $dotPatternType = 'standard'; - /** - * An object representing all three corners of the QR code. The corners corresponding to each property are: corner_1 = top left, corner_2 = top right, and corner_3 = bottom right. - * - * @var QRCodeCorners - */ - protected $corners; - /** - * @var QRCodeGradient - */ - protected $gradient; - /** - * @var QRCodeGradient - */ - protected $backgroundGradient; - /** - * @var QRCodeLogo - */ - protected $logo; - /** - * @var QRCodeFrameRequest - */ - protected $frame; - /** - * Contains the center, top, and bottom text to be used in the QR code. - * - * @var QRCodeText - */ - protected $text; - /** - * @var QRCodeBranding - */ - protected $branding; - /** - * The QR code's version, error correction, and mask values. - * - * @var QRCodeSpecSettings - */ - protected $specSettings; - - /** - * The QR code's background color in hex code format with values for alpha channel. - */ - public function getBackgroundColor(): string - { - return $this->backgroundColor; - } - - /** - * The QR code's background color in hex code format with values for alpha channel. - */ - public function setBackgroundColor(string $backgroundColor): self - { - $this->initialized['backgroundColor'] = true; - $this->backgroundColor = $backgroundColor; - - return $this; - } - - /** - * The QR code's dot pattern color in hex code format. - */ - public function getDotPatternColor(): string - { - return $this->dotPatternColor; - } - - /** - * The QR code's dot pattern color in hex code format. - */ - public function setDotPatternColor(string $dotPatternColor): self - { - $this->initialized['dotPatternColor'] = true; - $this->dotPatternColor = $dotPatternColor; - - return $this; - } - - public function getDotPatternType(): string - { - return $this->dotPatternType; - } - - public function setDotPatternType(string $dotPatternType): self - { - $this->initialized['dotPatternType'] = true; - $this->dotPatternType = $dotPatternType; - - return $this; - } - - /** - * An object representing all three corners of the QR code. The corners corresponding to each property are: corner_1 = top left, corner_2 = top right, and corner_3 = bottom right. - */ - public function getCorners(): QRCodeCorners - { - return $this->corners; - } - - /** - * An object representing all three corners of the QR code. The corners corresponding to each property are: corner_1 = top left, corner_2 = top right, and corner_3 = bottom right. - */ - public function setCorners(QRCodeCorners $corners): self - { - $this->initialized['corners'] = true; - $this->corners = $corners; - - return $this; - } - - public function getGradient(): QRCodeGradient - { - return $this->gradient; - } - - public function setGradient(QRCodeGradient $gradient): self - { - $this->initialized['gradient'] = true; - $this->gradient = $gradient; - - return $this; - } - - public function getBackgroundGradient(): QRCodeGradient - { - return $this->backgroundGradient; - } - - public function setBackgroundGradient(QRCodeGradient $backgroundGradient): self - { - $this->initialized['backgroundGradient'] = true; - $this->backgroundGradient = $backgroundGradient; - - return $this; - } - - public function getLogo(): QRCodeLogo - { - return $this->logo; - } - - public function setLogo(QRCodeLogo $logo): self - { - $this->initialized['logo'] = true; - $this->logo = $logo; - - return $this; - } - - public function getFrame(): QRCodeFrameRequest - { - return $this->frame; - } - - public function setFrame(QRCodeFrameRequest $frame): self - { - $this->initialized['frame'] = true; - $this->frame = $frame; - - return $this; - } - - /** - * Contains the center, top, and bottom text to be used in the QR code. - */ - public function getText(): QRCodeText - { - return $this->text; - } - - /** - * Contains the center, top, and bottom text to be used in the QR code. - */ - public function setText(QRCodeText $text): self - { - $this->initialized['text'] = true; - $this->text = $text; - - return $this; - } - - public function getBranding(): QRCodeBranding - { - return $this->branding; - } - - public function setBranding(QRCodeBranding $branding): self - { - $this->initialized['branding'] = true; - $this->branding = $branding; - - return $this; - } - - /** - * The QR code's version, error correction, and mask values. - */ - public function getSpecSettings(): QRCodeSpecSettings - { - return $this->specSettings; - } - - /** - * The QR code's version, error correction, and mask values. - */ - public function setSpecSettings(QRCodeSpecSettings $specSettings): self - { - $this->initialized['specSettings'] = true; - $this->specSettings = $specSettings; - - return $this; - } -} diff --git a/lib/Model/QRCodeDotPattern.php b/lib/Model/QRCodeDotPattern.php deleted file mode 100644 index fe4b15c..0000000 --- a/lib/Model/QRCodeDotPattern.php +++ /dev/null @@ -1,89 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $id = 'standard'; - /** - * The QR code's thumbnail image data as a data uri. Can be svg, png, jpg. Only used in response bodies. - */ - protected $thumbnail; - /** - * Determines whether the user has acccess to this field. - * - * @var bool - */ - protected $locked; - - public function getId(): string - { - return $this->id; - } - - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - /** - * The QR code's thumbnail image data as a data uri. Can be svg, png, jpg. Only used in response bodies. - */ - public function getThumbnail() - { - return $this->thumbnail; - } - - /** - * The QR code's thumbnail image data as a data uri. Can be svg, png, jpg. Only used in response bodies. - */ - public function setThumbnail($thumbnail): self - { - $this->initialized['thumbnail'] = true; - $this->thumbnail = $thumbnail; - - return $this; - } - - /** - * Determines whether the user has acccess to this field. - */ - public function getLocked(): bool - { - return $this->locked; - } - - /** - * Determines whether the user has acccess to this field. - */ - public function setLocked(bool $locked): self - { - $this->initialized['locked'] = true; - $this->locked = $locked; - - return $this; - } -} diff --git a/lib/Model/QRCodeDynamic.php b/lib/Model/QRCodeDynamic.php deleted file mode 100644 index 8ebb2f1..0000000 --- a/lib/Model/QRCodeDynamic.php +++ /dev/null @@ -1,99 +0,0 @@ -initialized); - } - /** - * A unique id acting like a foreign key to reference the dynamic content. For bitlinks this would be the `/`, for other content it should be a standard guid. - * - * @var string - */ - protected $dynamicId; - /** - * The linked bitlink's short url. - * - * @var string - */ - protected $shortUrl; - /** - * The linked bitlink's long url. - * - * @var string - */ - protected $longUrl; - - /** - * A unique id acting like a foreign key to reference the dynamic content. For bitlinks this would be the `/`, for other content it should be a standard guid. - */ - public function getDynamicId(): string - { - return $this->dynamicId; - } - - /** - * A unique id acting like a foreign key to reference the dynamic content. For bitlinks this would be the `/`, for other content it should be a standard guid. - */ - public function setDynamicId(string $dynamicId): self - { - $this->initialized['dynamicId'] = true; - $this->dynamicId = $dynamicId; - - return $this; - } - - /** - * The linked bitlink's short url. - */ - public function getShortUrl(): string - { - return $this->shortUrl; - } - - /** - * The linked bitlink's short url. - */ - public function setShortUrl(string $shortUrl): self - { - $this->initialized['shortUrl'] = true; - $this->shortUrl = $shortUrl; - - return $this; - } - - /** - * The linked bitlink's long url. - */ - public function getLongUrl(): string - { - return $this->longUrl; - } - - /** - * The linked bitlink's long url. - */ - public function setLongUrl(string $longUrl): self - { - $this->initialized['longUrl'] = true; - $this->longUrl = $longUrl; - - return $this; - } -} diff --git a/lib/Model/QRCodeEmail.php b/lib/Model/QRCodeEmail.php deleted file mode 100644 index f375336..0000000 --- a/lib/Model/QRCodeEmail.php +++ /dev/null @@ -1,149 +0,0 @@ -initialized); - } - /** - * The recipient's email address. - * - * @var string - */ - protected $to; - /** - * The sender's email address. - * - * @var string - */ - protected $from; - /** - * Email addresses to be CC'd. - * - * @var string - */ - protected $cc; - /** - * The email's subject. - * - * @var string - */ - protected $subject; - /** - * The email's body. - * - * @var string - */ - protected $body; - - /** - * The recipient's email address. - */ - public function getTo(): string - { - return $this->to; - } - - /** - * The recipient's email address. - */ - public function setTo(string $to): self - { - $this->initialized['to'] = true; - $this->to = $to; - - return $this; - } - - /** - * The sender's email address. - */ - public function getFrom(): string - { - return $this->from; - } - - /** - * The sender's email address. - */ - public function setFrom(string $from): self - { - $this->initialized['from'] = true; - $this->from = $from; - - return $this; - } - - /** - * Email addresses to be CC'd. - */ - public function getCc(): string - { - return $this->cc; - } - - /** - * Email addresses to be CC'd. - */ - public function setCc(string $cc): self - { - $this->initialized['cc'] = true; - $this->cc = $cc; - - return $this; - } - - /** - * The email's subject. - */ - public function getSubject(): string - { - return $this->subject; - } - - /** - * The email's subject. - */ - public function setSubject(string $subject): self - { - $this->initialized['subject'] = true; - $this->subject = $subject; - - return $this; - } - - /** - * The email's body. - */ - public function getBody(): string - { - return $this->body; - } - - /** - * The email's body. - */ - public function setBody(string $body): self - { - $this->initialized['body'] = true; - $this->body = $body; - - return $this; - } -} diff --git a/lib/Model/QRCodeFrame.php b/lib/Model/QRCodeFrame.php deleted file mode 100644 index 4f12197..0000000 --- a/lib/Model/QRCodeFrame.php +++ /dev/null @@ -1,141 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $id = 'none'; - /** - * A readonly value denoting if the user should be able to customize the frame. - * - * @var bool - */ - protected $immutable; - /** - * An object of named colors denoting which color should go to which area of the frame. - * - * @var QRCodeFrameColors - */ - protected $colors; - /** - * The text to be inserted into the QR code's frame. - * - * @var QRCodeFrameText - */ - protected $text; - /** - * The QR code's thumbnail image data as a data uri. Can be svg, png, jpg. Only used in response bodies. - * - * @var string - */ - protected $thumbnail; - - public function getId(): string - { - return $this->id; - } - - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - /** - * A readonly value denoting if the user should be able to customize the frame. - */ - public function getImmutable(): bool - { - return $this->immutable; - } - - /** - * A readonly value denoting if the user should be able to customize the frame. - */ - public function setImmutable(bool $immutable): self - { - $this->initialized['immutable'] = true; - $this->immutable = $immutable; - - return $this; - } - - /** - * An object of named colors denoting which color should go to which area of the frame. - */ - public function getColors(): QRCodeFrameColors - { - return $this->colors; - } - - /** - * An object of named colors denoting which color should go to which area of the frame. - */ - public function setColors(QRCodeFrameColors $colors): self - { - $this->initialized['colors'] = true; - $this->colors = $colors; - - return $this; - } - - /** - * The text to be inserted into the QR code's frame. - */ - public function getText(): QRCodeFrameText - { - return $this->text; - } - - /** - * The text to be inserted into the QR code's frame. - */ - public function setText(QRCodeFrameText $text): self - { - $this->initialized['text'] = true; - $this->text = $text; - - return $this; - } - - /** - * The QR code's thumbnail image data as a data uri. Can be svg, png, jpg. Only used in response bodies. - */ - public function getThumbnail(): string - { - return $this->thumbnail; - } - - /** - * The QR code's thumbnail image data as a data uri. Can be svg, png, jpg. Only used in response bodies. - */ - public function setThumbnail(string $thumbnail): self - { - $this->initialized['thumbnail'] = true; - $this->thumbnail = $thumbnail; - - return $this; - } -} diff --git a/lib/Model/QRCodeFrameColors.php b/lib/Model/QRCodeFrameColors.php deleted file mode 100644 index 6e08bd5..0000000 --- a/lib/Model/QRCodeFrameColors.php +++ /dev/null @@ -1,99 +0,0 @@ -initialized); - } - /** - * The primary color of the frame in hex code format. - * - * @var string - */ - protected $primary; - /** - * The secondary color of the frame in hex code format. - * - * @var string - */ - protected $secondary; - /** - * The background color of the frame in hex code format. - * - * @var string - */ - protected $background; - - /** - * The primary color of the frame in hex code format. - */ - public function getPrimary(): string - { - return $this->primary; - } - - /** - * The primary color of the frame in hex code format. - */ - public function setPrimary(string $primary): self - { - $this->initialized['primary'] = true; - $this->primary = $primary; - - return $this; - } - - /** - * The secondary color of the frame in hex code format. - */ - public function getSecondary(): string - { - return $this->secondary; - } - - /** - * The secondary color of the frame in hex code format. - */ - public function setSecondary(string $secondary): self - { - $this->initialized['secondary'] = true; - $this->secondary = $secondary; - - return $this; - } - - /** - * The background color of the frame in hex code format. - */ - public function getBackground(): string - { - return $this->background; - } - - /** - * The background color of the frame in hex code format. - */ - public function setBackground(string $background): self - { - $this->initialized['background'] = true; - $this->background = $background; - - return $this; - } -} diff --git a/lib/Model/QRCodeFrameResponseItem.php b/lib/Model/QRCodeFrameResponseItem.php deleted file mode 100644 index 1589836..0000000 --- a/lib/Model/QRCodeFrameResponseItem.php +++ /dev/null @@ -1,191 +0,0 @@ -initialized); - } - /** - * A readonly value denoting if the user should be able to customize the frame. - * - * @var bool - */ - protected $immutable; - /** - * The QR code's thumbnail image data as a data uri. Can be svg, png, jpg. Only used in response bodies. - * - * @var string - */ - protected $thumbnail; - /** - * Determines whether the user has acccess to this field. - * - * @var bool - */ - protected $locked; - /** - * If true, this frame will be hidden from the selectable frames in the UI. It does not stop you from using this frame. We use this for seasonal frames. - * - * @var bool - */ - protected $isHidden; - /** - * @var string - */ - protected $id = 'none'; - /** - * An object of named colors denoting which color should go to which area of the frame. - * - * @var QRCodeFrameColors - */ - protected $colors; - /** - * The text to be inserted into the QR code's frame. - * - * @var QRCodeFrameText - */ - protected $text; - - /** - * A readonly value denoting if the user should be able to customize the frame. - */ - public function getImmutable(): bool - { - return $this->immutable; - } - - /** - * A readonly value denoting if the user should be able to customize the frame. - */ - public function setImmutable(bool $immutable): self - { - $this->initialized['immutable'] = true; - $this->immutable = $immutable; - - return $this; - } - - /** - * The QR code's thumbnail image data as a data uri. Can be svg, png, jpg. Only used in response bodies. - */ - public function getThumbnail(): string - { - return $this->thumbnail; - } - - /** - * The QR code's thumbnail image data as a data uri. Can be svg, png, jpg. Only used in response bodies. - */ - public function setThumbnail(string $thumbnail): self - { - $this->initialized['thumbnail'] = true; - $this->thumbnail = $thumbnail; - - return $this; - } - - /** - * Determines whether the user has acccess to this field. - */ - public function getLocked(): bool - { - return $this->locked; - } - - /** - * Determines whether the user has acccess to this field. - */ - public function setLocked(bool $locked): self - { - $this->initialized['locked'] = true; - $this->locked = $locked; - - return $this; - } - - /** - * If true, this frame will be hidden from the selectable frames in the UI. It does not stop you from using this frame. We use this for seasonal frames. - */ - public function getIsHidden(): bool - { - return $this->isHidden; - } - - /** - * If true, this frame will be hidden from the selectable frames in the UI. It does not stop you from using this frame. We use this for seasonal frames. - */ - public function setIsHidden(bool $isHidden): self - { - $this->initialized['isHidden'] = true; - $this->isHidden = $isHidden; - - return $this; - } - - public function getId(): string - { - return $this->id; - } - - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - /** - * An object of named colors denoting which color should go to which area of the frame. - */ - public function getColors(): QRCodeFrameColors - { - return $this->colors; - } - - /** - * An object of named colors denoting which color should go to which area of the frame. - */ - public function setColors(QRCodeFrameColors $colors): self - { - $this->initialized['colors'] = true; - $this->colors = $colors; - - return $this; - } - - /** - * The text to be inserted into the QR code's frame. - */ - public function getText(): QRCodeFrameText - { - return $this->text; - } - - /** - * The text to be inserted into the QR code's frame. - */ - public function setText(QRCodeFrameText $text): self - { - $this->initialized['text'] = true; - $this->text = $text; - - return $this; - } -} diff --git a/lib/Model/QRCodeFrameText.php b/lib/Model/QRCodeFrameText.php deleted file mode 100644 index 4b04c4c..0000000 --- a/lib/Model/QRCodeFrameText.php +++ /dev/null @@ -1,74 +0,0 @@ -initialized); - } - /** - * An object describing text with color. - * - * @var Text - */ - protected $primary; - /** - * An object describing text with color. - * - * @var Text - */ - protected $secondary; - - /** - * An object describing text with color. - */ - public function getPrimary(): Text - { - return $this->primary; - } - - /** - * An object describing text with color. - */ - public function setPrimary(Text $primary): self - { - $this->initialized['primary'] = true; - $this->primary = $primary; - - return $this; - } - - /** - * An object describing text with color. - */ - public function getSecondary(): Text - { - return $this->secondary; - } - - /** - * An object describing text with color. - */ - public function setSecondary(Text $secondary): self - { - $this->initialized['secondary'] = true; - $this->secondary = $secondary; - - return $this; - } -} diff --git a/lib/Model/QRCodeFullListResponse.php b/lib/Model/QRCodeFullListResponse.php deleted file mode 100644 index c348346..0000000 --- a/lib/Model/QRCodeFullListResponse.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $qrCodes; - - /** - * @return list - */ - public function getQrCodes(): array - { - return $this->qrCodes; - } - - /** - * @param list $qrCodes - */ - public function setQrCodes(array $qrCodes): self - { - $this->initialized['qrCodes'] = true; - $this->qrCodes = $qrCodes; - - return $this; - } -} diff --git a/lib/Model/QRCodeFullResponse.php b/lib/Model/QRCodeFullResponse.php deleted file mode 100644 index a826af8..0000000 --- a/lib/Model/QRCodeFullResponse.php +++ /dev/null @@ -1,49 +0,0 @@ -initialized); - } - /** - * A full QR code with data and customization values. - * - * @var QRCode - */ - protected $qrCode; - - /** - * A full QR code with data and customization values. - */ - public function getQrCode(): QRCode - { - return $this->qrCode; - } - - /** - * A full QR code with data and customization values. - */ - public function setQrCode(QRCode $qrCode): self - { - $this->initialized['qrCode'] = true; - $this->qrCode = $qrCode; - - return $this; - } -} diff --git a/lib/Model/QRCodeHistory.php b/lib/Model/QRCodeHistory.php deleted file mode 100644 index 3a65230..0000000 --- a/lib/Model/QRCodeHistory.php +++ /dev/null @@ -1,64 +0,0 @@ -initialized); - } - /** - * @var list> - */ - protected $qrcHistory; - /** - * @var float - */ - protected $totalCount; - - /** - * @return list> - */ - public function getQrcHistory(): array - { - return $this->qrcHistory; - } - - /** - * @param list> $qrcHistory - */ - public function setQrcHistory(array $qrcHistory): self - { - $this->initialized['qrcHistory'] = true; - $this->qrcHistory = $qrcHistory; - - return $this; - } - - public function getTotalCount(): float - { - return $this->totalCount; - } - - public function setTotalCount(float $totalCount): self - { - $this->initialized['totalCount'] = true; - $this->totalCount = $totalCount; - - return $this; - } -} diff --git a/lib/Model/QRCodeHistoryEntry.php b/lib/Model/QRCodeHistoryEntry.php deleted file mode 100644 index 7741c1f..0000000 --- a/lib/Model/QRCodeHistoryEntry.php +++ /dev/null @@ -1,166 +0,0 @@ -initialized); - } - /** - * @var array - */ - protected $references; - /** - * @var string - */ - protected $createdAt; - /** - * @var string - */ - protected $deactivatedAt; - /** - * @var float - */ - protected $version; - /** - * @var string - */ - protected $groupGuid; - /** - * @var string - */ - protected $login; - /** - * @var string - */ - protected $longUrl; - /** - * @var bool - */ - protected $isActive; - - /** - * @return array - */ - public function getReferences(): iterable - { - return $this->references; - } - - /** - * @param array $references - */ - public function setReferences(iterable $references): self - { - $this->initialized['references'] = true; - $this->references = $references; - - return $this; - } - - public function getCreatedAt(): string - { - return $this->createdAt; - } - - public function setCreatedAt(string $createdAt): self - { - $this->initialized['createdAt'] = true; - $this->createdAt = $createdAt; - - return $this; - } - - public function getDeactivatedAt(): string - { - return $this->deactivatedAt; - } - - public function setDeactivatedAt(string $deactivatedAt): self - { - $this->initialized['deactivatedAt'] = true; - $this->deactivatedAt = $deactivatedAt; - - return $this; - } - - public function getVersion(): float - { - return $this->version; - } - - public function setVersion(float $version): self - { - $this->initialized['version'] = true; - $this->version = $version; - - return $this; - } - - public function getGroupGuid(): string - { - return $this->groupGuid; - } - - public function setGroupGuid(string $groupGuid): self - { - $this->initialized['groupGuid'] = true; - $this->groupGuid = $groupGuid; - - return $this; - } - - public function getLogin(): string - { - return $this->login; - } - - public function setLogin(string $login): self - { - $this->initialized['login'] = true; - $this->login = $login; - - return $this; - } - - public function getLongUrl(): string - { - return $this->longUrl; - } - - public function setLongUrl(string $longUrl): self - { - $this->initialized['longUrl'] = true; - $this->longUrl = $longUrl; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } -} diff --git a/lib/Model/QRCodeImageResponse.php b/lib/Model/QRCodeImageResponse.php deleted file mode 100644 index 5935131..0000000 --- a/lib/Model/QRCodeImageResponse.php +++ /dev/null @@ -1,49 +0,0 @@ -initialized); - } - /** - * The data uri for the QR code. - * - * @var string - */ - protected $qrCode; - - /** - * The data uri for the QR code. - */ - public function getQrCode(): string - { - return $this->qrCode; - } - - /** - * The data uri for the QR code. - */ - public function setQrCode(string $qrCode): self - { - $this->initialized['qrCode'] = true; - $this->qrCode = $qrCode; - - return $this; - } -} diff --git a/lib/Model/QRCodeLogo.php b/lib/Model/QRCodeLogo.php deleted file mode 100644 index bcb0eb9..0000000 --- a/lib/Model/QRCodeLogo.php +++ /dev/null @@ -1,99 +0,0 @@ -initialized); - } - /** - * A GUID for an image uploaded to Bitly. - * - * @var string - */ - protected $imageGuid; - /** - * The type of crop, either rectangular or circular, to be used on the logo. - * - * @var string - */ - protected $cropType = 'rectangle'; - /** - * An object denoting the position and size of the crop. - * - * @var QRCodeLogoCrop - */ - protected $crop; - - /** - * A GUID for an image uploaded to Bitly. - */ - public function getImageGuid(): string - { - return $this->imageGuid; - } - - /** - * A GUID for an image uploaded to Bitly. - */ - public function setImageGuid(string $imageGuid): self - { - $this->initialized['imageGuid'] = true; - $this->imageGuid = $imageGuid; - - return $this; - } - - /** - * The type of crop, either rectangular or circular, to be used on the logo. - */ - public function getCropType(): string - { - return $this->cropType; - } - - /** - * The type of crop, either rectangular or circular, to be used on the logo. - */ - public function setCropType(string $cropType): self - { - $this->initialized['cropType'] = true; - $this->cropType = $cropType; - - return $this; - } - - /** - * An object denoting the position and size of the crop. - */ - public function getCrop(): QRCodeLogoCrop - { - return $this->crop; - } - - /** - * An object denoting the position and size of the crop. - */ - public function setCrop(QRCodeLogoCrop $crop): self - { - $this->initialized['crop'] = true; - $this->crop = $crop; - - return $this; - } -} diff --git a/lib/Model/QRCodeLogoCrop.php b/lib/Model/QRCodeLogoCrop.php deleted file mode 100644 index 78bf799..0000000 --- a/lib/Model/QRCodeLogoCrop.php +++ /dev/null @@ -1,124 +0,0 @@ -initialized); - } - /** - * The x coordinate used to position the crop. - * - * @var int - */ - protected $x; - /** - * The y coordinate used to position the crop. - * - * @var int - */ - protected $y; - /** - * The width of the crop. Will instead be used as the radius for a circular crop. - * - * @var int - */ - protected $w; - /** - * The height of the crop. Will be completely disregarded for a circular crop. - * - * @var int - */ - protected $h; - - /** - * The x coordinate used to position the crop. - */ - public function getX(): int - { - return $this->x; - } - - /** - * The x coordinate used to position the crop. - */ - public function setX(int $x): self - { - $this->initialized['x'] = true; - $this->x = $x; - - return $this; - } - - /** - * The y coordinate used to position the crop. - */ - public function getY(): int - { - return $this->y; - } - - /** - * The y coordinate used to position the crop. - */ - public function setY(int $y): self - { - $this->initialized['y'] = true; - $this->y = $y; - - return $this; - } - - /** - * The width of the crop. Will instead be used as the radius for a circular crop. - */ - public function getW(): int - { - return $this->w; - } - - /** - * The width of the crop. Will instead be used as the radius for a circular crop. - */ - public function setW(int $w): self - { - $this->initialized['w'] = true; - $this->w = $w; - - return $this; - } - - /** - * The height of the crop. Will be completely disregarded for a circular crop. - */ - public function getH(): int - { - return $this->h; - } - - /** - * The height of the crop. Will be completely disregarded for a circular crop. - */ - public function setH(int $h): self - { - $this->initialized['h'] = true; - $this->h = $h; - - return $this; - } -} diff --git a/lib/Model/QRCodeLogoImage.php b/lib/Model/QRCodeLogoImage.php deleted file mode 100644 index 8b7143f..0000000 --- a/lib/Model/QRCodeLogoImage.php +++ /dev/null @@ -1,89 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $id = 'bitlylogo'; - /** - * The QR code's thumbnail image data as a data uri. Can be svg, png, jpg. Only used in response bodies. - */ - protected $thumbnail; - /** - * Determines whether the user has acccess to this field. - * - * @var bool - */ - protected $locked; - - public function getId(): string - { - return $this->id; - } - - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - /** - * The QR code's thumbnail image data as a data uri. Can be svg, png, jpg. Only used in response bodies. - */ - public function getThumbnail() - { - return $this->thumbnail; - } - - /** - * The QR code's thumbnail image data as a data uri. Can be svg, png, jpg. Only used in response bodies. - */ - public function setThumbnail($thumbnail): self - { - $this->initialized['thumbnail'] = true; - $this->thumbnail = $thumbnail; - - return $this; - } - - /** - * Determines whether the user has acccess to this field. - */ - public function getLocked(): bool - { - return $this->locked; - } - - /** - * Determines whether the user has acccess to this field. - */ - public function setLocked(bool $locked): self - { - $this->initialized['locked'] = true; - $this->locked = $locked; - - return $this; - } -} diff --git a/lib/Model/QRCodePhoneNumber.php b/lib/Model/QRCodePhoneNumber.php deleted file mode 100644 index 938e265..0000000 --- a/lib/Model/QRCodePhoneNumber.php +++ /dev/null @@ -1,49 +0,0 @@ -initialized); - } - /** - * The recipient's phone number. - * - * @var string - */ - protected $phoneNumber; - - /** - * The recipient's phone number. - */ - public function getPhoneNumber(): string - { - return $this->phoneNumber; - } - - /** - * The recipient's phone number. - */ - public function setPhoneNumber(string $phoneNumber): self - { - $this->initialized['phoneNumber'] = true; - $this->phoneNumber = $phoneNumber; - - return $this; - } -} diff --git a/lib/Model/QRCodeSpecSettings.php b/lib/Model/QRCodeSpecSettings.php deleted file mode 100644 index 22372e9..0000000 --- a/lib/Model/QRCodeSpecSettings.php +++ /dev/null @@ -1,99 +0,0 @@ -initialized); - } - /** - * The QR code's selected version, determined automatically when the QR code is generated. - * - * @var int - */ - protected $version; - /** - * The amount of error correction that the QR code was generated with. - * - * @var int - */ - protected $errorCorrection; - /** - * The mask value, which changes the QR codes dot arrangement without changing the underlying data. - * - * @var int - */ - protected $mask; - - /** - * The QR code's selected version, determined automatically when the QR code is generated. - */ - public function getVersion(): int - { - return $this->version; - } - - /** - * The QR code's selected version, determined automatically when the QR code is generated. - */ - public function setVersion(int $version): self - { - $this->initialized['version'] = true; - $this->version = $version; - - return $this; - } - - /** - * The amount of error correction that the QR code was generated with. - */ - public function getErrorCorrection(): int - { - return $this->errorCorrection; - } - - /** - * The amount of error correction that the QR code was generated with. - */ - public function setErrorCorrection(int $errorCorrection): self - { - $this->initialized['errorCorrection'] = true; - $this->errorCorrection = $errorCorrection; - - return $this; - } - - /** - * The mask value, which changes the QR codes dot arrangement without changing the underlying data. - */ - public function getMask(): int - { - return $this->mask; - } - - /** - * The mask value, which changes the QR codes dot arrangement without changing the underlying data. - */ - public function setMask(int $mask): self - { - $this->initialized['mask'] = true; - $this->mask = $mask; - - return $this; - } -} diff --git a/lib/Model/QRCodeTemplate.php b/lib/Model/QRCodeTemplate.php deleted file mode 100644 index ff27cf2..0000000 --- a/lib/Model/QRCodeTemplate.php +++ /dev/null @@ -1,224 +0,0 @@ -initialized); - } - /** - * The QR code template's id, as a shortid. - * - * @var string - */ - protected $id; - /** - * The Bitly brand_guid preference for use in the Bitly Canva app. - * - * @var string - */ - protected $brandGuid; - /** - * Options for customizing a QR Code's appearance. - * - * @var QRCodeCustomizations - */ - protected $renderCustomizations; - /** - * A boolean representing whether this is a default template premade by bitly. - * - * @var bool - */ - protected $premade; - /** - * A boolean representing if this template is currently active. - * - * @var bool - */ - protected $isActive; - /** - * The unix epoch time when the QR code template was created. - * - * @var int - */ - protected $createdTs; - /** - * The unix epoch time when the QR code template was updated. - * - * @var int - */ - protected $modifiedTs; - /** - * The QR code template's thumbnail svg image data as a data uri. - * - * @var string - */ - protected $svg; - - /** - * The QR code template's id, as a shortid. - */ - public function getId(): string - { - return $this->id; - } - - /** - * The QR code template's id, as a shortid. - */ - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - /** - * The Bitly brand_guid preference for use in the Bitly Canva app. - */ - public function getBrandGuid(): string - { - return $this->brandGuid; - } - - /** - * The Bitly brand_guid preference for use in the Bitly Canva app. - */ - public function setBrandGuid(string $brandGuid): self - { - $this->initialized['brandGuid'] = true; - $this->brandGuid = $brandGuid; - - return $this; - } - - /** - * Options for customizing a QR Code's appearance. - */ - public function getRenderCustomizations(): QRCodeCustomizations - { - return $this->renderCustomizations; - } - - /** - * Options for customizing a QR Code's appearance. - */ - public function setRenderCustomizations(QRCodeCustomizations $renderCustomizations): self - { - $this->initialized['renderCustomizations'] = true; - $this->renderCustomizations = $renderCustomizations; - - return $this; - } - - /** - * A boolean representing whether this is a default template premade by bitly. - */ - public function getPremade(): bool - { - return $this->premade; - } - - /** - * A boolean representing whether this is a default template premade by bitly. - */ - public function setPremade(bool $premade): self - { - $this->initialized['premade'] = true; - $this->premade = $premade; - - return $this; - } - - /** - * A boolean representing if this template is currently active. - */ - public function getIsActive(): bool - { - return $this->isActive; - } - - /** - * A boolean representing if this template is currently active. - */ - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - /** - * The unix epoch time when the QR code template was created. - */ - public function getCreatedTs(): int - { - return $this->createdTs; - } - - /** - * The unix epoch time when the QR code template was created. - */ - public function setCreatedTs(int $createdTs): self - { - $this->initialized['createdTs'] = true; - $this->createdTs = $createdTs; - - return $this; - } - - /** - * The unix epoch time when the QR code template was updated. - */ - public function getModifiedTs(): int - { - return $this->modifiedTs; - } - - /** - * The unix epoch time when the QR code template was updated. - */ - public function setModifiedTs(int $modifiedTs): self - { - $this->initialized['modifiedTs'] = true; - $this->modifiedTs = $modifiedTs; - - return $this; - } - - /** - * The QR code template's thumbnail svg image data as a data uri. - */ - public function getSvg(): string - { - return $this->svg; - } - - /** - * The QR code template's thumbnail svg image data as a data uri. - */ - public function setSvg(string $svg): self - { - $this->initialized['svg'] = true; - $this->svg = $svg; - - return $this; - } -} diff --git a/lib/Model/QRCodeTemplateRequest.php b/lib/Model/QRCodeTemplateRequest.php deleted file mode 100644 index 65a300b..0000000 --- a/lib/Model/QRCodeTemplateRequest.php +++ /dev/null @@ -1,49 +0,0 @@ -initialized); - } - /** - * Options for customizing a QR Code's appearance. - * - * @var QRCodeCustomizations - */ - protected $renderCustomizations; - - /** - * Options for customizing a QR Code's appearance. - */ - public function getRenderCustomizations(): QRCodeCustomizations - { - return $this->renderCustomizations; - } - - /** - * Options for customizing a QR Code's appearance. - */ - public function setRenderCustomizations(QRCodeCustomizations $renderCustomizations): self - { - $this->initialized['renderCustomizations'] = true; - $this->renderCustomizations = $renderCustomizations; - - return $this; - } -} diff --git a/lib/Model/QRCodeTemplateResponse.php b/lib/Model/QRCodeTemplateResponse.php deleted file mode 100644 index 0d8532e..0000000 --- a/lib/Model/QRCodeTemplateResponse.php +++ /dev/null @@ -1,49 +0,0 @@ -initialized); - } - /** - * A template for a set of QR code customizations. - * - * @var QRCodeTemplate - */ - protected $qrCodeTemplate; - - /** - * A template for a set of QR code customizations. - */ - public function getQrCodeTemplate(): QRCodeTemplate - { - return $this->qrCodeTemplate; - } - - /** - * A template for a set of QR code customizations. - */ - public function setQrCodeTemplate(QRCodeTemplate $qrCodeTemplate): self - { - $this->initialized['qrCodeTemplate'] = true; - $this->qrCodeTemplate = $qrCodeTemplate; - - return $this; - } -} diff --git a/lib/Model/QRCodeTemplatesResponse.php b/lib/Model/QRCodeTemplatesResponse.php deleted file mode 100644 index 0835e41..0000000 --- a/lib/Model/QRCodeTemplatesResponse.php +++ /dev/null @@ -1,53 +0,0 @@ -initialized); - } - /** - * A list of qr code templates. - * - * @var list - */ - protected $qrCodeTemplates; - - /** - * A list of qr code templates. - * - * @return list - */ - public function getQrCodeTemplates(): array - { - return $this->qrCodeTemplates; - } - - /** - * A list of qr code templates. - * - * @param list $qrCodeTemplates - */ - public function setQrCodeTemplates(array $qrCodeTemplates): self - { - $this->initialized['qrCodeTemplates'] = true; - $this->qrCodeTemplates = $qrCodeTemplates; - - return $this; - } -} diff --git a/lib/Model/QRCodeTextMessage.php b/lib/Model/QRCodeTextMessage.php deleted file mode 100644 index 0fc0188..0000000 --- a/lib/Model/QRCodeTextMessage.php +++ /dev/null @@ -1,74 +0,0 @@ -initialized); - } - /** - * The recipient's phone number. - * - * @var string - */ - protected $phoneNumber; - /** - * A preconfigured text message. - * - * @var string - */ - protected $message; - - /** - * The recipient's phone number. - */ - public function getPhoneNumber(): string - { - return $this->phoneNumber; - } - - /** - * The recipient's phone number. - */ - public function setPhoneNumber(string $phoneNumber): self - { - $this->initialized['phoneNumber'] = true; - $this->phoneNumber = $phoneNumber; - - return $this; - } - - /** - * A preconfigured text message. - */ - public function getMessage(): string - { - return $this->message; - } - - /** - * A preconfigured text message. - */ - public function setMessage(string $message): self - { - $this->initialized['message'] = true; - $this->message = $message; - - return $this; - } -} diff --git a/lib/Model/QRCodeTypeItem.php b/lib/Model/QRCodeTypeItem.php deleted file mode 100644 index c70249e..0000000 --- a/lib/Model/QRCodeTypeItem.php +++ /dev/null @@ -1,116 +0,0 @@ -initialized); - } - /** - * The type of dynamic/static content the QR serves, e.g. Link In Bio page, micro site, bitlink, email, text, Wifi, etc. - * - * @var string - */ - protected $id; - /** - * @var string - */ - protected $name; - /** - * The QR code's thumbnail image data as a data uri. Can be svg, png, jpg. Only used in response bodies. - * - * @var string - */ - protected $thumbnail; - /** - * Determines whether the user has acccess to this field. - * - * @var bool - */ - protected $locked; - - /** - * The type of dynamic/static content the QR serves, e.g. Link In Bio page, micro site, bitlink, email, text, Wifi, etc. - */ - public function getId(): string - { - return $this->id; - } - - /** - * The type of dynamic/static content the QR serves, e.g. Link In Bio page, micro site, bitlink, email, text, Wifi, etc. - */ - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getName(): string - { - return $this->name; - } - - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - /** - * The QR code's thumbnail image data as a data uri. Can be svg, png, jpg. Only used in response bodies. - */ - public function getThumbnail(): string - { - return $this->thumbnail; - } - - /** - * The QR code's thumbnail image data as a data uri. Can be svg, png, jpg. Only used in response bodies. - */ - public function setThumbnail(string $thumbnail): self - { - $this->initialized['thumbnail'] = true; - $this->thumbnail = $thumbnail; - - return $this; - } - - /** - * Determines whether the user has acccess to this field. - */ - public function getLocked(): bool - { - return $this->locked; - } - - /** - * Determines whether the user has acccess to this field. - */ - public function setLocked(bool $locked): self - { - $this->initialized['locked'] = true; - $this->locked = $locked; - - return $this; - } -} diff --git a/lib/Model/QRCodeTypeResponse.php b/lib/Model/QRCodeTypeResponse.php deleted file mode 100644 index 377923e..0000000 --- a/lib/Model/QRCodeTypeResponse.php +++ /dev/null @@ -1,82 +0,0 @@ -initialized); - } - /** - * A list of dynamic QR code types, such as bitlink, email, link in bio, micro site, etc. - * - * @var list - */ - protected $dynamic; - /** - * A list of static QR code types, such as wifi password, email, text message, etc. - * - * @var list - */ - protected $static; - - /** - * A list of dynamic QR code types, such as bitlink, email, link in bio, micro site, etc. - * - * @return list - */ - public function getDynamic(): array - { - return $this->dynamic; - } - - /** - * A list of dynamic QR code types, such as bitlink, email, link in bio, micro site, etc. - * - * @param list $dynamic - */ - public function setDynamic(array $dynamic): self - { - $this->initialized['dynamic'] = true; - $this->dynamic = $dynamic; - - return $this; - } - - /** - * A list of static QR code types, such as wifi password, email, text message, etc. - * - * @return list - */ - public function getStatic(): array - { - return $this->static; - } - - /** - * A list of static QR code types, such as wifi password, email, text message, etc. - * - * @param list $static - */ - public function setStatic(array $static): self - { - $this->initialized['static'] = true; - $this->static = $static; - - return $this; - } -} diff --git a/lib/Model/QRCodeURI.php b/lib/Model/QRCodeURI.php deleted file mode 100644 index 26fd957..0000000 --- a/lib/Model/QRCodeURI.php +++ /dev/null @@ -1,49 +0,0 @@ -initialized); - } - /** - * The data uri of the code. - * - * @var string - */ - protected $qrUri; - - /** - * The data uri of the code. - */ - public function getQrUri(): string - { - return $this->qrUri; - } - - /** - * The data uri of the code. - */ - public function setQrUri(string $qrUri): self - { - $this->initialized['qrUri'] = true; - $this->qrUri = $qrUri; - - return $this; - } -} diff --git a/lib/Model/QRCodeVirtualCard.php b/lib/Model/QRCodeVirtualCard.php deleted file mode 100644 index bb8fc1a..0000000 --- a/lib/Model/QRCodeVirtualCard.php +++ /dev/null @@ -1,103 +0,0 @@ -initialized); - } - /** - * The card owner's first name. - * - * @var string - */ - protected $firstName; - /** - * The card owner's last name. - * - * @var string - */ - protected $lastName; - /** - * A list of the card owner's phone numbers. - * - * @var list - */ - protected $phoneNumbers; - - /** - * The card owner's first name. - */ - public function getFirstName(): string - { - return $this->firstName; - } - - /** - * The card owner's first name. - */ - public function setFirstName(string $firstName): self - { - $this->initialized['firstName'] = true; - $this->firstName = $firstName; - - return $this; - } - - /** - * The card owner's last name. - */ - public function getLastName(): string - { - return $this->lastName; - } - - /** - * The card owner's last name. - */ - public function setLastName(string $lastName): self - { - $this->initialized['lastName'] = true; - $this->lastName = $lastName; - - return $this; - } - - /** - * A list of the card owner's phone numbers. - * - * @return list - */ - public function getPhoneNumbers(): array - { - return $this->phoneNumbers; - } - - /** - * A list of the card owner's phone numbers. - * - * @param list $phoneNumbers - */ - public function setPhoneNumbers(array $phoneNumbers): self - { - $this->initialized['phoneNumbers'] = true; - $this->phoneNumbers = $phoneNumbers; - - return $this; - } -} diff --git a/lib/Model/QRCodeWifi.php b/lib/Model/QRCodeWifi.php deleted file mode 100644 index e305578..0000000 --- a/lib/Model/QRCodeWifi.php +++ /dev/null @@ -1,99 +0,0 @@ -initialized); - } - /** - * The wifi ssid. - * - * @var string - */ - protected $ssid; - /** - * The wifi password. - * - * @var string - */ - protected $password; - /** - * The type of encryption that the wifi uses. - * - * @var string - */ - protected $encryption; - - /** - * The wifi ssid. - */ - public function getSsid(): string - { - return $this->ssid; - } - - /** - * The wifi ssid. - */ - public function setSsid(string $ssid): self - { - $this->initialized['ssid'] = true; - $this->ssid = $ssid; - - return $this; - } - - /** - * The wifi password. - */ - public function getPassword(): string - { - return $this->password; - } - - /** - * The wifi password. - */ - public function setPassword(string $password): self - { - $this->initialized['password'] = true; - $this->password = $password; - - return $this; - } - - /** - * The type of encryption that the wifi uses. - */ - public function getEncryption(): string - { - return $this->encryption; - } - - /** - * The type of encryption that the wifi uses. - */ - public function setEncryption(string $encryption): self - { - $this->initialized['encryption'] = true; - $this->encryption = $encryption; - - return $this; - } -} diff --git a/lib/Model/QRCodes.php b/lib/Model/QRCodes.php deleted file mode 100644 index 441270d..0000000 --- a/lib/Model/QRCodes.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $qrCodes; - /** - * @var int - */ - protected $size; - /** - * @var int - */ - protected $page; - /** - * @var int - */ - protected $total; - - /** - * @return list - */ - public function getQrCodes(): array - { - return $this->qrCodes; - } - - /** - * @param list $qrCodes - */ - public function setQrCodes(array $qrCodes): self - { - $this->initialized['qrCodes'] = true; - $this->qrCodes = $qrCodes; - - return $this; - } - - public function getSize(): int - { - return $this->size; - } - - public function setSize(int $size): self - { - $this->initialized['size'] = true; - $this->size = $size; - - return $this; - } - - public function getPage(): int - { - return $this->page; - } - - public function setPage(int $page): self - { - $this->initialized['page'] = true; - $this->page = $page; - - return $this; - } - - public function getTotal(): int - { - return $this->total; - } - - public function setTotal(int $total): self - { - $this->initialized['total'] = true; - $this->total = $total; - - return $this; - } -} diff --git a/lib/Model/QRCustomizations.php b/lib/Model/QRCustomizations.php deleted file mode 100644 index 7d0190c..0000000 --- a/lib/Model/QRCustomizations.php +++ /dev/null @@ -1,149 +0,0 @@ -initialized); - } - /** - * A color denoted in hexadecimal format ei. "1133ff". - * - * @var string - */ - protected $color; - /** - * Removes the Bitly logo from the center of the generated QR image. - * - * @var bool - */ - protected $excludeBitlyLogo; - /** - * Determines the image format of the returned QR code. - * - * @var string - */ - protected $imageFormat = 'png'; - /** - * Logo must first be uploaded through Bitly's QR Code Modal located on the "All links" page. Once created, a call to "Retrieve a QR Code" with specified bitlink will return the auto-generated "logo_image_guid". - * - * @var string - */ - protected $logoImageGuid; - /** - * Determine whether to hide the QR code. Passing true will hide the QR code. - * - * @var bool - */ - protected $isHidden; - - /** - * A color denoted in hexadecimal format ei. "1133ff". - */ - public function getColor(): string - { - return $this->color; - } - - /** - * A color denoted in hexadecimal format ei. "1133ff". - */ - public function setColor(string $color): self - { - $this->initialized['color'] = true; - $this->color = $color; - - return $this; - } - - /** - * Removes the Bitly logo from the center of the generated QR image. - */ - public function getExcludeBitlyLogo(): bool - { - return $this->excludeBitlyLogo; - } - - /** - * Removes the Bitly logo from the center of the generated QR image. - */ - public function setExcludeBitlyLogo(bool $excludeBitlyLogo): self - { - $this->initialized['excludeBitlyLogo'] = true; - $this->excludeBitlyLogo = $excludeBitlyLogo; - - return $this; - } - - /** - * Determines the image format of the returned QR code. - */ - public function getImageFormat(): string - { - return $this->imageFormat; - } - - /** - * Determines the image format of the returned QR code. - */ - public function setImageFormat(string $imageFormat): self - { - $this->initialized['imageFormat'] = true; - $this->imageFormat = $imageFormat; - - return $this; - } - - /** - * Logo must first be uploaded through Bitly's QR Code Modal located on the "All links" page. Once created, a call to "Retrieve a QR Code" with specified bitlink will return the auto-generated "logo_image_guid". - */ - public function getLogoImageGuid(): string - { - return $this->logoImageGuid; - } - - /** - * Logo must first be uploaded through Bitly's QR Code Modal located on the "All links" page. Once created, a call to "Retrieve a QR Code" with specified bitlink will return the auto-generated "logo_image_guid". - */ - public function setLogoImageGuid(string $logoImageGuid): self - { - $this->initialized['logoImageGuid'] = true; - $this->logoImageGuid = $logoImageGuid; - - return $this; - } - - /** - * Determine whether to hide the QR code. Passing true will hide the QR code. - */ - public function getIsHidden(): bool - { - return $this->isHidden; - } - - /** - * Determine whether to hide the QR code. Passing true will hide the QR code. - */ - public function setIsHidden(bool $isHidden): self - { - $this->initialized['isHidden'] = true; - $this->isHidden = $isHidden; - - return $this; - } -} diff --git a/lib/Model/QRLogoImages.php b/lib/Model/QRLogoImages.php deleted file mode 100644 index feda611..0000000 --- a/lib/Model/QRLogoImages.php +++ /dev/null @@ -1,66 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $imageGuid; - /** - * Public URL of QR Code logo. - * - * @var string - */ - protected $url; - - public function getImageGuid(): string - { - return $this->imageGuid; - } - - public function setImageGuid(string $imageGuid): self - { - $this->initialized['imageGuid'] = true; - $this->imageGuid = $imageGuid; - - return $this; - } - - /** - * Public URL of QR Code logo. - */ - public function getUrl(): string - { - return $this->url; - } - - /** - * Public URL of QR Code logo. - */ - public function setUrl(string $url): self - { - $this->initialized['url'] = true; - $this->url = $url; - - return $this; - } -} diff --git a/lib/Model/QRLogoImagesResponse.php b/lib/Model/QRLogoImagesResponse.php deleted file mode 100644 index e923736..0000000 --- a/lib/Model/QRLogoImagesResponse.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $qrLogoImages; - - /** - * @return list - */ - public function getQrLogoImages(): array - { - return $this->qrLogoImages; - } - - /** - * @param list $qrLogoImages - */ - public function setQrLogoImages(array $qrLogoImages): self - { - $this->initialized['qrLogoImages'] = true; - $this->qrLogoImages = $qrLogoImages; - - return $this; - } -} diff --git a/lib/Model/RedirectQRCodeRequest.php b/lib/Model/RedirectQRCodeRequest.php deleted file mode 100644 index 4ec47cd..0000000 --- a/lib/Model/RedirectQRCodeRequest.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $longUrl; - - public function getLongUrl(): string - { - return $this->longUrl; - } - - public function setLongUrl(string $longUrl): self - { - $this->initialized['longUrl'] = true; - $this->longUrl = $longUrl; - - return $this; - } -} diff --git a/lib/Model/Region.php b/lib/Model/Region.php deleted file mode 100644 index 44b6377..0000000 --- a/lib/Model/Region.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $regionName; - /** - * @var string - */ - protected $iso2; - /** - * @var string - */ - protected $iso3; - /** - * @var list - */ - protected $subregions; - - public function getRegionName(): string - { - return $this->regionName; - } - - public function setRegionName(string $regionName): self - { - $this->initialized['regionName'] = true; - $this->regionName = $regionName; - - return $this; - } - - public function getIso2(): string - { - return $this->iso2; - } - - public function setIso2(string $iso2): self - { - $this->initialized['iso2'] = true; - $this->iso2 = $iso2; - - return $this; - } - - public function getIso3(): string - { - return $this->iso3; - } - - public function setIso3(string $iso3): self - { - $this->initialized['iso3'] = true; - $this->iso3 = $iso3; - - return $this; - } - - /** - * @return list - */ - public function getSubregions(): array - { - return $this->subregions; - } - - /** - * @param list $subregions - */ - public function setSubregions(array $subregions): self - { - $this->initialized['subregions'] = true; - $this->subregions = $subregions; - - return $this; - } -} diff --git a/lib/Model/Regions.php b/lib/Model/Regions.php deleted file mode 100644 index 445a887..0000000 --- a/lib/Model/Regions.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $regions; - - /** - * @return list - */ - public function getRegions(): array - { - return $this->regions; - } - - /** - * @param list $regions - */ - public function setRegions(array $regions): self - { - $this->initialized['regions'] = true; - $this->regions = $regions; - - return $this; - } -} diff --git a/lib/Model/ReportFilters.php b/lib/Model/ReportFilters.php deleted file mode 100644 index cb7f44c..0000000 --- a/lib/Model/ReportFilters.php +++ /dev/null @@ -1,70 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $microsites; - /** - * @var list - */ - protected $bitlinks; - - /** - * @return list - */ - public function getMicrosites(): array - { - return $this->microsites; - } - - /** - * @param list $microsites - */ - public function setMicrosites(array $microsites): self - { - $this->initialized['microsites'] = true; - $this->microsites = $microsites; - - return $this; - } - - /** - * @return list - */ - public function getBitlinks(): array - { - return $this->bitlinks; - } - - /** - * @param list $bitlinks - */ - public function setBitlinks(array $bitlinks): self - { - $this->initialized['bitlinks'] = true; - $this->bitlinks = $bitlinks; - - return $this; - } -} diff --git a/lib/Model/ReportSettings.php b/lib/Model/ReportSettings.php deleted file mode 100644 index 2d1aead..0000000 --- a/lib/Model/ReportSettings.php +++ /dev/null @@ -1,149 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $presetTimeRange; - /** - * @var string - */ - protected $reportStart; - /** - * @var string - */ - protected $reportEnd; - /** - * @var bool - */ - protected $allowEdits; - /** - * @var ReportFilters - */ - protected $filters; - /** - * @var list - */ - protected $associatedModules; - /** - * @var AnalyticsReportContent - */ - protected $reportContent; - - public function getPresetTimeRange(): string - { - return $this->presetTimeRange; - } - - public function setPresetTimeRange(string $presetTimeRange): self - { - $this->initialized['presetTimeRange'] = true; - $this->presetTimeRange = $presetTimeRange; - - return $this; - } - - public function getReportStart(): string - { - return $this->reportStart; - } - - public function setReportStart(string $reportStart): self - { - $this->initialized['reportStart'] = true; - $this->reportStart = $reportStart; - - return $this; - } - - public function getReportEnd(): string - { - return $this->reportEnd; - } - - public function setReportEnd(string $reportEnd): self - { - $this->initialized['reportEnd'] = true; - $this->reportEnd = $reportEnd; - - return $this; - } - - public function getAllowEdits(): bool - { - return $this->allowEdits; - } - - public function setAllowEdits(bool $allowEdits): self - { - $this->initialized['allowEdits'] = true; - $this->allowEdits = $allowEdits; - - return $this; - } - - public function getFilters(): ReportFilters - { - return $this->filters; - } - - public function setFilters(ReportFilters $filters): self - { - $this->initialized['filters'] = true; - $this->filters = $filters; - - return $this; - } - - /** - * @return list - */ - public function getAssociatedModules(): array - { - return $this->associatedModules; - } - - /** - * @param list $associatedModules - */ - public function setAssociatedModules(array $associatedModules): self - { - $this->initialized['associatedModules'] = true; - $this->associatedModules = $associatedModules; - - return $this; - } - - public function getReportContent(): AnalyticsReportContent - { - return $this->reportContent; - } - - public function setReportContent(AnalyticsReportContent $reportContent): self - { - $this->initialized['reportContent'] = true; - $this->reportContent = $reportContent; - - return $this; - } -} diff --git a/lib/Model/RetainedEntitiesAfterDowngrade.php b/lib/Model/RetainedEntitiesAfterDowngrade.php deleted file mode 100644 index 055a231..0000000 --- a/lib/Model/RetainedEntitiesAfterDowngrade.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $usersToRetain; - - /** - * @return list - */ - public function getUsersToRetain(): array - { - return $this->usersToRetain; - } - - /** - * @param list $usersToRetain - */ - public function setUsersToRetain(array $usersToRetain): self - { - $this->initialized['usersToRetain'] = true; - $this->usersToRetain = $usersToRetain; - - return $this; - } -} diff --git a/lib/Model/SSOSettings.php b/lib/Model/SSOSettings.php deleted file mode 100644 index f9d4ecc..0000000 --- a/lib/Model/SSOSettings.php +++ /dev/null @@ -1,200 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $organizationGuid; - /** - * @var string - */ - protected $identityProvider; - /** - * @var string - */ - protected $issuerUrl; - /** - * @var string - */ - protected $urlSlug; - /** - * @var string - */ - protected $idpUrl; - /** - * @var string - */ - protected $samlEndpoint; - /** - * @var string - */ - protected $certificate; - /** - * @var string - */ - protected $sloEndpoint; - /** - * @var list - */ - protected $domains; - /** - * @var string - */ - protected $defaultGroupGuid; - - public function getOrganizationGuid(): string - { - return $this->organizationGuid; - } - - public function setOrganizationGuid(string $organizationGuid): self - { - $this->initialized['organizationGuid'] = true; - $this->organizationGuid = $organizationGuid; - - return $this; - } - - public function getIdentityProvider(): string - { - return $this->identityProvider; - } - - public function setIdentityProvider(string $identityProvider): self - { - $this->initialized['identityProvider'] = true; - $this->identityProvider = $identityProvider; - - return $this; - } - - public function getIssuerUrl(): string - { - return $this->issuerUrl; - } - - public function setIssuerUrl(string $issuerUrl): self - { - $this->initialized['issuerUrl'] = true; - $this->issuerUrl = $issuerUrl; - - return $this; - } - - public function getUrlSlug(): string - { - return $this->urlSlug; - } - - public function setUrlSlug(string $urlSlug): self - { - $this->initialized['urlSlug'] = true; - $this->urlSlug = $urlSlug; - - return $this; - } - - public function getIdpUrl(): string - { - return $this->idpUrl; - } - - public function setIdpUrl(string $idpUrl): self - { - $this->initialized['idpUrl'] = true; - $this->idpUrl = $idpUrl; - - return $this; - } - - public function getSamlEndpoint(): string - { - return $this->samlEndpoint; - } - - public function setSamlEndpoint(string $samlEndpoint): self - { - $this->initialized['samlEndpoint'] = true; - $this->samlEndpoint = $samlEndpoint; - - return $this; - } - - public function getCertificate(): string - { - return $this->certificate; - } - - public function setCertificate(string $certificate): self - { - $this->initialized['certificate'] = true; - $this->certificate = $certificate; - - return $this; - } - - public function getSloEndpoint(): string - { - return $this->sloEndpoint; - } - - public function setSloEndpoint(string $sloEndpoint): self - { - $this->initialized['sloEndpoint'] = true; - $this->sloEndpoint = $sloEndpoint; - - return $this; - } - - /** - * @return list - */ - public function getDomains(): array - { - return $this->domains; - } - - /** - * @param list $domains - */ - public function setDomains(array $domains): self - { - $this->initialized['domains'] = true; - $this->domains = $domains; - - return $this; - } - - public function getDefaultGroupGuid(): string - { - return $this->defaultGroupGuid; - } - - public function setDefaultGroupGuid(string $defaultGroupGuid): self - { - $this->initialized['defaultGroupGuid'] = true; - $this->defaultGroupGuid = $defaultGroupGuid; - - return $this; - } -} diff --git a/lib/Model/SSOSlug.php b/lib/Model/SSOSlug.php deleted file mode 100644 index 8993796..0000000 --- a/lib/Model/SSOSlug.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $urlSlug; - - public function getUrlSlug(): string - { - return $this->urlSlug; - } - - public function setUrlSlug(string $urlSlug): self - { - $this->initialized['urlSlug'] = true; - $this->urlSlug = $urlSlug; - - return $this; - } -} diff --git a/lib/Model/SSOVerifySlug.php b/lib/Model/SSOVerifySlug.php deleted file mode 100644 index d572812..0000000 --- a/lib/Model/SSOVerifySlug.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $urlSlug; - /** - * @var bool - */ - protected $available; - - public function getUrlSlug(): string - { - return $this->urlSlug; - } - - public function setUrlSlug(string $urlSlug): self - { - $this->initialized['urlSlug'] = true; - $this->urlSlug = $urlSlug; - - return $this; - } - - public function getAvailable(): bool - { - return $this->available; - } - - public function setAvailable(bool $available): self - { - $this->initialized['available'] = true; - $this->available = $available; - - return $this; - } -} diff --git a/lib/Model/Scans.php b/lib/Model/Scans.php deleted file mode 100644 index 9a78f50..0000000 --- a/lib/Model/Scans.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $qrScans; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unit; - /** - * @var string - */ - protected $unitReference; - - /** - * @return list - */ - public function getQrScans(): array - { - return $this->qrScans; - } - - /** - * @param list $qrScans - */ - public function setQrScans(array $qrScans): self - { - $this->initialized['qrScans'] = true; - $this->qrScans = $qrScans; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } -} diff --git a/lib/Model/ScansSummary.php b/lib/Model/ScansSummary.php deleted file mode 100644 index 1c40384..0000000 --- a/lib/Model/ScansSummary.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $totalScans; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unit; - /** - * @var string - */ - protected $unitReference; - - public function getTotalScans(): int - { - return $this->totalScans; - } - - public function setTotalScans(int $totalScans): self - { - $this->initialized['totalScans'] = true; - $this->totalScans = $totalScans; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } -} diff --git a/lib/Model/SetupIntent.php b/lib/Model/SetupIntent.php deleted file mode 100644 index 778f058..0000000 --- a/lib/Model/SetupIntent.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $clientSecret; - - public function getClientSecret(): string - { - return $this->clientSecret; - } - - public function setClientSecret(string $clientSecret): self - { - $this->initialized['clientSecret'] = true; - $this->clientSecret = $clientSecret; - - return $this; - } -} diff --git a/lib/Model/ShareableReport.php b/lib/Model/ShareableReport.php deleted file mode 100644 index ffc52a6..0000000 --- a/lib/Model/ShareableReport.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $shareableReport; - /** - * @var string - */ - protected $bitlinkId; - - public function getShareableReport(): string - { - return $this->shareableReport; - } - - public function setShareableReport(string $shareableReport): self - { - $this->initialized['shareableReport'] = true; - $this->shareableReport = $shareableReport; - - return $this; - } - - public function getBitlinkId(): string - { - return $this->bitlinkId; - } - - public function setBitlinkId(string $bitlinkId): self - { - $this->initialized['bitlinkId'] = true; - $this->bitlinkId = $bitlinkId; - - return $this; - } -} diff --git a/lib/Model/ShopifyDomainDetailsResponse.php b/lib/Model/ShopifyDomainDetailsResponse.php deleted file mode 100644 index 57af938..0000000 --- a/lib/Model/ShopifyDomainDetailsResponse.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $myShopifyDomain; - /** - * @var string - */ - protected $primaryDomain; - /** - * @var string - */ - protected $url; - - public function getMyShopifyDomain(): string - { - return $this->myShopifyDomain; - } - - public function setMyShopifyDomain(string $myShopifyDomain): self - { - $this->initialized['myShopifyDomain'] = true; - $this->myShopifyDomain = $myShopifyDomain; - - return $this; - } - - public function getPrimaryDomain(): string - { - return $this->primaryDomain; - } - - public function setPrimaryDomain(string $primaryDomain): self - { - $this->initialized['primaryDomain'] = true; - $this->primaryDomain = $primaryDomain; - - return $this; - } - - public function getUrl(): string - { - return $this->url; - } - - public function setUrl(string $url): self - { - $this->initialized['url'] = true; - $this->url = $url; - - return $this; - } -} diff --git a/lib/Model/ShopifyTokenExchangeRequest.php b/lib/Model/ShopifyTokenExchangeRequest.php deleted file mode 100644 index 11ba269..0000000 --- a/lib/Model/ShopifyTokenExchangeRequest.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $myshopifyId; - /** - * @var string - */ - protected $sessionToken; - - public function getMyshopifyId(): string - { - return $this->myshopifyId; - } - - public function setMyshopifyId(string $myshopifyId): self - { - $this->initialized['myshopifyId'] = true; - $this->myshopifyId = $myshopifyId; - - return $this; - } - - public function getSessionToken(): string - { - return $this->sessionToken; - } - - public function setSessionToken(string $sessionToken): self - { - $this->initialized['sessionToken'] = true; - $this->sessionToken = $sessionToken; - - return $this; - } -} diff --git a/lib/Model/SiteBlock.php b/lib/Model/SiteBlock.php deleted file mode 100644 index 18ea3ce..0000000 --- a/lib/Model/SiteBlock.php +++ /dev/null @@ -1,253 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $containerId; - /** - * @var string - */ - protected $scheme; - /** - * @var SiteBlockContent - */ - protected $content; - /** - * @var TextBlockAppearance - */ - protected $appearance; - /** - * @var string - */ - protected $siteId; - /** - * @var string - */ - protected $blockId; - /** - * @var int - */ - protected $sortOrder; - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPinned; - /** - * @var bool - */ - protected $isSample; - /** - * Available block types for Site blocks. - * - * @var string - */ - protected $type; - - public function getContainerId(): string - { - return $this->containerId; - } - - public function setContainerId(string $containerId): self - { - $this->initialized['containerId'] = true; - $this->containerId = $containerId; - - return $this; - } - - public function getScheme(): string - { - return $this->scheme; - } - - public function setScheme(string $scheme): self - { - $this->initialized['scheme'] = true; - $this->scheme = $scheme; - - return $this; - } - - public function getContent(): SiteBlockContent - { - return $this->content; - } - - public function setContent(SiteBlockContent $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } - - public function getAppearance(): TextBlockAppearance - { - return $this->appearance; - } - - public function setAppearance(TextBlockAppearance $appearance): self - { - $this->initialized['appearance'] = true; - $this->appearance = $appearance; - - return $this; - } - - public function getSiteId(): string - { - return $this->siteId; - } - - public function setSiteId(string $siteId): self - { - $this->initialized['siteId'] = true; - $this->siteId = $siteId; - - return $this; - } - - public function getBlockId(): string - { - return $this->blockId; - } - - public function setBlockId(string $blockId): self - { - $this->initialized['blockId'] = true; - $this->blockId = $blockId; - - return $this; - } - - public function getSortOrder(): int - { - return $this->sortOrder; - } - - public function setSortOrder(int $sortOrder): self - { - $this->initialized['sortOrder'] = true; - $this->sortOrder = $sortOrder; - - return $this; - } - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - public function getIsSample(): bool - { - return $this->isSample; - } - - public function setIsSample(bool $isSample): self - { - $this->initialized['isSample'] = true; - $this->isSample = $isSample; - - return $this; - } - - /** - * Available block types for Site blocks. - */ - public function getType(): string - { - return $this->type; - } - - /** - * Available block types for Site blocks. - */ - public function setType(string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/lib/Model/SiteBlockCommon.php b/lib/Model/SiteBlockCommon.php deleted file mode 100644 index 5194155..0000000 --- a/lib/Model/SiteBlockCommon.php +++ /dev/null @@ -1,185 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $siteId; - /** - * @var string - */ - protected $blockId; - /** - * @var int - */ - protected $sortOrder; - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPinned; - /** - * @var bool - */ - protected $isSample; - /** - * Available block types for Site blocks. - * - * @var string - */ - protected $type; - - public function getSiteId(): string - { - return $this->siteId; - } - - public function setSiteId(string $siteId): self - { - $this->initialized['siteId'] = true; - $this->siteId = $siteId; - - return $this; - } - - public function getBlockId(): string - { - return $this->blockId; - } - - public function setBlockId(string $blockId): self - { - $this->initialized['blockId'] = true; - $this->blockId = $blockId; - - return $this; - } - - public function getSortOrder(): int - { - return $this->sortOrder; - } - - public function setSortOrder(int $sortOrder): self - { - $this->initialized['sortOrder'] = true; - $this->sortOrder = $sortOrder; - - return $this; - } - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - public function getIsSample(): bool - { - return $this->isSample; - } - - public function setIsSample(bool $isSample): self - { - $this->initialized['isSample'] = true; - $this->isSample = $isSample; - - return $this; - } - - /** - * Available block types for Site blocks. - */ - public function getType(): string - { - return $this->type; - } - - /** - * Available block types for Site blocks. - */ - public function setType(string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } -} diff --git a/lib/Model/SiteBlockContainerRequest.php b/lib/Model/SiteBlockContainerRequest.php deleted file mode 100644 index a1f4ced..0000000 --- a/lib/Model/SiteBlockContainerRequest.php +++ /dev/null @@ -1,72 +0,0 @@ -initialized); - } - /** - * Available container types. - * - * @var string - */ - protected $type; - /** - * @var array - */ - protected $content; - - /** - * Available container types. - */ - public function getType(): string - { - return $this->type; - } - - /** - * Available container types. - */ - public function setType(string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - /** - * @return array - */ - public function getContent(): iterable - { - return $this->content; - } - - /** - * @param array $content - */ - public function setContent(iterable $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } -} diff --git a/lib/Model/SiteBlockContent.php b/lib/Model/SiteBlockContent.php deleted file mode 100644 index c211e2d..0000000 --- a/lib/Model/SiteBlockContent.php +++ /dev/null @@ -1,336 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $linkTitle; - /** - * @var string - */ - protected $description; - /** - * @var string - */ - protected $bitlinkId; - /** - * @var string - */ - protected $imageGuid; - /** - * @var string - */ - protected $imageUrl; - /** - * @var string - */ - protected $aspectRatio; - /** - * @var string - */ - protected $thumbnailUrl; - /** - * @var string - */ - protected $channel; - /** - * @var string - */ - protected $channelUrl; - /** - * @var string - */ - protected $digitalBusinessCardId; - /** - * @var string - */ - protected $layout; - /** - * @var string - */ - protected $firstName; - /** - * @var string - */ - protected $lastName; - /** - * @var string - */ - protected $jobTitle; - /** - * @var string - */ - protected $company; - /** - * @var string - */ - protected $pronouns; - /** - * @var list - */ - protected $contacts; - /** - * @var bool - */ - protected $downloadEnabled; - - public function getLinkTitle(): string - { - return $this->linkTitle; - } - - public function setLinkTitle(string $linkTitle): self - { - $this->initialized['linkTitle'] = true; - $this->linkTitle = $linkTitle; - - return $this; - } - - public function getDescription(): string - { - return $this->description; - } - - public function setDescription(string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getBitlinkId(): string - { - return $this->bitlinkId; - } - - public function setBitlinkId(string $bitlinkId): self - { - $this->initialized['bitlinkId'] = true; - $this->bitlinkId = $bitlinkId; - - return $this; - } - - public function getImageGuid(): string - { - return $this->imageGuid; - } - - public function setImageGuid(string $imageGuid): self - { - $this->initialized['imageGuid'] = true; - $this->imageGuid = $imageGuid; - - return $this; - } - - public function getImageUrl(): string - { - return $this->imageUrl; - } - - public function setImageUrl(string $imageUrl): self - { - $this->initialized['imageUrl'] = true; - $this->imageUrl = $imageUrl; - - return $this; - } - - public function getAspectRatio(): string - { - return $this->aspectRatio; - } - - public function setAspectRatio(string $aspectRatio): self - { - $this->initialized['aspectRatio'] = true; - $this->aspectRatio = $aspectRatio; - - return $this; - } - - public function getThumbnailUrl(): string - { - return $this->thumbnailUrl; - } - - public function setThumbnailUrl(string $thumbnailUrl): self - { - $this->initialized['thumbnailUrl'] = true; - $this->thumbnailUrl = $thumbnailUrl; - - return $this; - } - - public function getChannel(): string - { - return $this->channel; - } - - public function setChannel(string $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } - - public function getChannelUrl(): string - { - return $this->channelUrl; - } - - public function setChannelUrl(string $channelUrl): self - { - $this->initialized['channelUrl'] = true; - $this->channelUrl = $channelUrl; - - return $this; - } - - public function getDigitalBusinessCardId(): string - { - return $this->digitalBusinessCardId; - } - - public function setDigitalBusinessCardId(string $digitalBusinessCardId): self - { - $this->initialized['digitalBusinessCardId'] = true; - $this->digitalBusinessCardId = $digitalBusinessCardId; - - return $this; - } - - public function getLayout(): string - { - return $this->layout; - } - - public function setLayout(string $layout): self - { - $this->initialized['layout'] = true; - $this->layout = $layout; - - return $this; - } - - public function getFirstName(): string - { - return $this->firstName; - } - - public function setFirstName(string $firstName): self - { - $this->initialized['firstName'] = true; - $this->firstName = $firstName; - - return $this; - } - - public function getLastName(): string - { - return $this->lastName; - } - - public function setLastName(string $lastName): self - { - $this->initialized['lastName'] = true; - $this->lastName = $lastName; - - return $this; - } - - public function getJobTitle(): string - { - return $this->jobTitle; - } - - public function setJobTitle(string $jobTitle): self - { - $this->initialized['jobTitle'] = true; - $this->jobTitle = $jobTitle; - - return $this; - } - - public function getCompany(): string - { - return $this->company; - } - - public function setCompany(string $company): self - { - $this->initialized['company'] = true; - $this->company = $company; - - return $this; - } - - public function getPronouns(): string - { - return $this->pronouns; - } - - public function setPronouns(string $pronouns): self - { - $this->initialized['pronouns'] = true; - $this->pronouns = $pronouns; - - return $this; - } - - /** - * @return list - */ - public function getContacts(): array - { - return $this->contacts; - } - - /** - * @param list $contacts - */ - public function setContacts(array $contacts): self - { - $this->initialized['contacts'] = true; - $this->contacts = $contacts; - - return $this; - } - - public function getDownloadEnabled(): bool - { - return $this->downloadEnabled; - } - - public function setDownloadEnabled(bool $downloadEnabled): self - { - $this->initialized['downloadEnabled'] = true; - $this->downloadEnabled = $downloadEnabled; - - return $this; - } -} diff --git a/lib/Model/SiteButtonRequest.php b/lib/Model/SiteButtonRequest.php deleted file mode 100644 index 23f5e4d..0000000 --- a/lib/Model/SiteButtonRequest.php +++ /dev/null @@ -1,217 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $bitlink; - /** - * @var string - */ - protected $longUrl; - /** - * @var string - */ - protected $domain; - /** - * @var string - */ - protected $title; - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPinned; - /** - * @var string - */ - protected $description; - /** - * @var string - */ - protected $parent; - /** - * @var object - */ - protected $buttonThumbnailImage; - - public function getBitlink(): string - { - return $this->bitlink; - } - - public function setBitlink(string $bitlink): self - { - $this->initialized['bitlink'] = true; - $this->bitlink = $bitlink; - - return $this; - } - - public function getLongUrl(): string - { - return $this->longUrl; - } - - public function setLongUrl(string $longUrl): self - { - $this->initialized['longUrl'] = true; - $this->longUrl = $longUrl; - - return $this; - } - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - public function getDescription(): string - { - return $this->description; - } - - public function setDescription(string $description): self - { - $this->initialized['description'] = true; - $this->description = $description; - - return $this; - } - - public function getParent(): string - { - return $this->parent; - } - - public function setParent(string $parent): self - { - $this->initialized['parent'] = true; - $this->parent = $parent; - - return $this; - } - - /** - * @return object - */ - public function getButtonThumbnailImage() - { - return $this->buttonThumbnailImage; - } - - /** - * @param object $buttonThumbnailImage - */ - public function setButtonThumbnailImage($buttonThumbnailImage): self - { - $this->initialized['buttonThumbnailImage'] = true; - $this->buttonThumbnailImage = $buttonThumbnailImage; - - return $this; - } -} diff --git a/lib/Model/SiteCityViewMetrics.php b/lib/Model/SiteCityViewMetrics.php deleted file mode 100644 index 8cf83d8..0000000 --- a/lib/Model/SiteCityViewMetrics.php +++ /dev/null @@ -1,132 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $unit; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $facet; - /** - * @var string - */ - protected $unitReference; - /** - * @var list - */ - protected $siteViews; - /** - * @var OtherViewMetrics - */ - protected $otherMetrics; - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getFacet(): string - { - return $this->facet; - } - - public function setFacet(string $facet): self - { - $this->initialized['facet'] = true; - $this->facet = $facet; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - /** - * @return list - */ - public function getSiteViews(): array - { - return $this->siteViews; - } - - /** - * @param list $siteViews - */ - public function setSiteViews(array $siteViews): self - { - $this->initialized['siteViews'] = true; - $this->siteViews = $siteViews; - - return $this; - } - - public function getOtherMetrics(): OtherViewMetrics - { - return $this->otherMetrics; - } - - public function setOtherMetrics(OtherViewMetrics $otherMetrics): self - { - $this->initialized['otherMetrics'] = true; - $this->otherMetrics = $otherMetrics; - - return $this; - } -} diff --git a/lib/Model/SiteClicks.php b/lib/Model/SiteClicks.php deleted file mode 100644 index 5d97128..0000000 --- a/lib/Model/SiteClicks.php +++ /dev/null @@ -1,168 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $clicks; - /** - * @var string - */ - protected $title; - /** - * @var bool - */ - protected $isActive; - /** - * @var string - */ - protected $longUrl; - /** - * Available button types for Site content. - * - * @var string - */ - protected $type; - /** - * @var string - */ - protected $bitlinkId; - /** - * @var string - */ - protected $domain; - /** - * @var string - */ - protected $keyword; - - public function getClicks(): int - { - return $this->clicks; - } - - public function setClicks(int $clicks): self - { - $this->initialized['clicks'] = true; - $this->clicks = $clicks; - - return $this; - } - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getLongUrl(): string - { - return $this->longUrl; - } - - public function setLongUrl(string $longUrl): self - { - $this->initialized['longUrl'] = true; - $this->longUrl = $longUrl; - - return $this; - } - - /** - * Available button types for Site content. - */ - public function getType(): string - { - return $this->type; - } - - /** - * Available button types for Site content. - */ - public function setType(string $type): self - { - $this->initialized['type'] = true; - $this->type = $type; - - return $this; - } - - public function getBitlinkId(): string - { - return $this->bitlinkId; - } - - public function setBitlinkId(string $bitlinkId): self - { - $this->initialized['bitlinkId'] = true; - $this->bitlinkId = $bitlinkId; - - return $this; - } - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - public function getKeyword(): string - { - return $this->keyword; - } - - public function setKeyword(string $keyword): self - { - $this->initialized['keyword'] = true; - $this->keyword = $keyword; - - return $this; - } -} diff --git a/lib/Model/SiteCloneRequest.php b/lib/Model/SiteCloneRequest.php deleted file mode 100644 index 2df3f42..0000000 --- a/lib/Model/SiteCloneRequest.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $uri; - - public function getUri(): string - { - return $this->uri; - } - - public function setUri(string $uri): self - { - $this->initialized['uri'] = true; - $this->uri = $uri; - - return $this; - } -} diff --git a/lib/Model/SiteContentRequest.php b/lib/Model/SiteContentRequest.php deleted file mode 100644 index 17e9a13..0000000 --- a/lib/Model/SiteContentRequest.php +++ /dev/null @@ -1,149 +0,0 @@ -initialized); - } - /** - * @var YoutubeVideoRequest|SocialContent|DigitalBusinessCardContent|TextBlockContent - */ - protected $content; - /** - * @var TextBlockAppearanceRequest - */ - protected $appearance; - /** - * @var string - */ - protected $scheduleStart; - /** - * @var string - */ - protected $scheduleEnd; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPinned; - /** - * @var string - */ - protected $parent; - - /** - * @return YoutubeVideoRequest|SocialContent|DigitalBusinessCardContent|TextBlockContent - */ - public function getContent() - { - return $this->content; - } - - /** - * @param YoutubeVideoRequest|SocialContent|DigitalBusinessCardContent|TextBlockContent $content - */ - public function setContent($content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } - - public function getAppearance(): TextBlockAppearanceRequest - { - return $this->appearance; - } - - public function setAppearance(TextBlockAppearanceRequest $appearance): self - { - $this->initialized['appearance'] = true; - $this->appearance = $appearance; - - return $this; - } - - public function getScheduleStart(): string - { - return $this->scheduleStart; - } - - public function setScheduleStart(string $scheduleStart): self - { - $this->initialized['scheduleStart'] = true; - $this->scheduleStart = $scheduleStart; - - return $this; - } - - public function getScheduleEnd(): string - { - return $this->scheduleEnd; - } - - public function setScheduleEnd(string $scheduleEnd): self - { - $this->initialized['scheduleEnd'] = true; - $this->scheduleEnd = $scheduleEnd; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPinned(): bool - { - return $this->isPinned; - } - - public function setIsPinned(bool $isPinned): self - { - $this->initialized['isPinned'] = true; - $this->isPinned = $isPinned; - - return $this; - } - - public function getParent(): string - { - return $this->parent; - } - - public function setParent(string $parent): self - { - $this->initialized['parent'] = true; - $this->parent = $parent; - - return $this; - } -} diff --git a/lib/Model/SiteImageUpload.php b/lib/Model/SiteImageUpload.php deleted file mode 100644 index f28cf67..0000000 --- a/lib/Model/SiteImageUpload.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $imageGuid; - /** - * @var string - */ - protected $url; - /** - * @var string - */ - protected $imageUse; - /** - * @var string - */ - protected $crop; - - public function getImageGuid(): string - { - return $this->imageGuid; - } - - public function setImageGuid(string $imageGuid): self - { - $this->initialized['imageGuid'] = true; - $this->imageGuid = $imageGuid; - - return $this; - } - - public function getUrl(): string - { - return $this->url; - } - - public function setUrl(string $url): self - { - $this->initialized['url'] = true; - $this->url = $url; - - return $this; - } - - public function getImageUse(): string - { - return $this->imageUse; - } - - public function setImageUse(string $imageUse): self - { - $this->initialized['imageUse'] = true; - $this->imageUse = $imageUse; - - return $this; - } - - public function getCrop(): string - { - return $this->crop; - } - - public function setCrop(string $crop): self - { - $this->initialized['crop'] = true; - $this->crop = $crop; - - return $this; - } -} diff --git a/lib/Model/SiteLinkPerformance.php b/lib/Model/SiteLinkPerformance.php deleted file mode 100644 index 6ac0f8f..0000000 --- a/lib/Model/SiteLinkPerformance.php +++ /dev/null @@ -1,166 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $total; - /** - * @var list - */ - protected $linkClicks; - /** - * @var string - */ - protected $performanceStart; - /** - * @var string - */ - protected $performanceEnd; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unit; - /** - * @var string - */ - protected $unitReference; - /** - * @var SitesPagination - */ - protected $page; - - public function getTotal(): int - { - return $this->total; - } - - public function setTotal(int $total): self - { - $this->initialized['total'] = true; - $this->total = $total; - - return $this; - } - - /** - * @return list - */ - public function getLinkClicks(): array - { - return $this->linkClicks; - } - - /** - * @param list $linkClicks - */ - public function setLinkClicks(array $linkClicks): self - { - $this->initialized['linkClicks'] = true; - $this->linkClicks = $linkClicks; - - return $this; - } - - public function getPerformanceStart(): string - { - return $this->performanceStart; - } - - public function setPerformanceStart(string $performanceStart): self - { - $this->initialized['performanceStart'] = true; - $this->performanceStart = $performanceStart; - - return $this; - } - - public function getPerformanceEnd(): string - { - return $this->performanceEnd; - } - - public function setPerformanceEnd(string $performanceEnd): self - { - $this->initialized['performanceEnd'] = true; - $this->performanceEnd = $performanceEnd; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - public function getPage(): SitesPagination - { - return $this->page; - } - - public function setPage(SitesPagination $page): self - { - $this->initialized['page'] = true; - $this->page = $page; - - return $this; - } -} diff --git a/lib/Model/SiteRedirects.php b/lib/Model/SiteRedirects.php deleted file mode 100644 index be84b23..0000000 --- a/lib/Model/SiteRedirects.php +++ /dev/null @@ -1,211 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $redirectGuid; - /** - * @var string - */ - protected $micrositeGuid; - /** - * @var string - */ - protected $uri; - /** - * @var string - */ - protected $domain; - /** - * @var string - */ - protected $keyword; - /** - * @var string - */ - protected $redirectUri; - /** - * @var string - */ - protected $redirectDomain; - /** - * @var string - */ - protected $redirectKeyword; - /** - * @var string - */ - protected $status; - /** - * @var string - */ - protected $created; - /** - * @var string - */ - protected $modified; - - public function getRedirectGuid(): string - { - return $this->redirectGuid; - } - - public function setRedirectGuid(string $redirectGuid): self - { - $this->initialized['redirectGuid'] = true; - $this->redirectGuid = $redirectGuid; - - return $this; - } - - public function getMicrositeGuid(): string - { - return $this->micrositeGuid; - } - - public function setMicrositeGuid(string $micrositeGuid): self - { - $this->initialized['micrositeGuid'] = true; - $this->micrositeGuid = $micrositeGuid; - - return $this; - } - - public function getUri(): string - { - return $this->uri; - } - - public function setUri(string $uri): self - { - $this->initialized['uri'] = true; - $this->uri = $uri; - - return $this; - } - - public function getDomain(): string - { - return $this->domain; - } - - public function setDomain(string $domain): self - { - $this->initialized['domain'] = true; - $this->domain = $domain; - - return $this; - } - - public function getKeyword(): string - { - return $this->keyword; - } - - public function setKeyword(string $keyword): self - { - $this->initialized['keyword'] = true; - $this->keyword = $keyword; - - return $this; - } - - public function getRedirectUri(): string - { - return $this->redirectUri; - } - - public function setRedirectUri(string $redirectUri): self - { - $this->initialized['redirectUri'] = true; - $this->redirectUri = $redirectUri; - - return $this; - } - - public function getRedirectDomain(): string - { - return $this->redirectDomain; - } - - public function setRedirectDomain(string $redirectDomain): self - { - $this->initialized['redirectDomain'] = true; - $this->redirectDomain = $redirectDomain; - - return $this; - } - - public function getRedirectKeyword(): string - { - return $this->redirectKeyword; - } - - public function setRedirectKeyword(string $redirectKeyword): self - { - $this->initialized['redirectKeyword'] = true; - $this->redirectKeyword = $redirectKeyword; - - return $this; - } - - public function getStatus(): string - { - return $this->status; - } - - public function setStatus(string $status): self - { - $this->initialized['status'] = true; - $this->status = $status; - - return $this; - } - - public function getCreated(): string - { - return $this->created; - } - - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getModified(): string - { - return $this->modified; - } - - public function setModified(string $modified): self - { - $this->initialized['modified'] = true; - $this->modified = $modified; - - return $this; - } -} diff --git a/lib/Model/SiteTheme.php b/lib/Model/SiteTheme.php deleted file mode 100644 index 793c459..0000000 --- a/lib/Model/SiteTheme.php +++ /dev/null @@ -1,177 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $displayName; - /** - * @var string - */ - protected $bottomBackgroundColor; - /** - * @var string - */ - protected $headerBackgroundColor; - /** - * @var string - */ - protected $avatarBackgroundColor; - /** - * @var string - */ - protected $siteTextColor; - /** - * @var string - */ - protected $descriptionColor; - /** - * @var string - */ - protected $linkBackgroundColor; - /** - * @var string - */ - protected $linkTextColor; - /** - * @var string - */ - protected $iconGradient; - - public function getDisplayName(): string - { - return $this->displayName; - } - - public function setDisplayName(string $displayName): self - { - $this->initialized['displayName'] = true; - $this->displayName = $displayName; - - return $this; - } - - public function getBottomBackgroundColor(): string - { - return $this->bottomBackgroundColor; - } - - public function setBottomBackgroundColor(string $bottomBackgroundColor): self - { - $this->initialized['bottomBackgroundColor'] = true; - $this->bottomBackgroundColor = $bottomBackgroundColor; - - return $this; - } - - public function getHeaderBackgroundColor(): string - { - return $this->headerBackgroundColor; - } - - public function setHeaderBackgroundColor(string $headerBackgroundColor): self - { - $this->initialized['headerBackgroundColor'] = true; - $this->headerBackgroundColor = $headerBackgroundColor; - - return $this; - } - - public function getAvatarBackgroundColor(): string - { - return $this->avatarBackgroundColor; - } - - public function setAvatarBackgroundColor(string $avatarBackgroundColor): self - { - $this->initialized['avatarBackgroundColor'] = true; - $this->avatarBackgroundColor = $avatarBackgroundColor; - - return $this; - } - - public function getSiteTextColor(): string - { - return $this->siteTextColor; - } - - public function setSiteTextColor(string $siteTextColor): self - { - $this->initialized['siteTextColor'] = true; - $this->siteTextColor = $siteTextColor; - - return $this; - } - - public function getDescriptionColor(): string - { - return $this->descriptionColor; - } - - public function setDescriptionColor(string $descriptionColor): self - { - $this->initialized['descriptionColor'] = true; - $this->descriptionColor = $descriptionColor; - - return $this; - } - - public function getLinkBackgroundColor(): string - { - return $this->linkBackgroundColor; - } - - public function setLinkBackgroundColor(string $linkBackgroundColor): self - { - $this->initialized['linkBackgroundColor'] = true; - $this->linkBackgroundColor = $linkBackgroundColor; - - return $this; - } - - public function getLinkTextColor(): string - { - return $this->linkTextColor; - } - - public function setLinkTextColor(string $linkTextColor): self - { - $this->initialized['linkTextColor'] = true; - $this->linkTextColor = $linkTextColor; - - return $this; - } - - public function getIconGradient(): string - { - return $this->iconGradient; - } - - public function setIconGradient(string $iconGradient): self - { - $this->initialized['iconGradient'] = true; - $this->iconGradient = $iconGradient; - - return $this; - } -} diff --git a/lib/Model/SiteThemes.php b/lib/Model/SiteThemes.php deleted file mode 100644 index 72c3e45..0000000 --- a/lib/Model/SiteThemes.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $themes; - - /** - * @return list - */ - public function getThemes(): array - { - return $this->themes; - } - - /** - * @param list $themes - */ - public function setThemes(array $themes): self - { - $this->initialized['themes'] = true; - $this->themes = $themes; - - return $this; - } -} diff --git a/lib/Model/SiteViewMetrics.php b/lib/Model/SiteViewMetrics.php deleted file mode 100644 index 9f5a0c9..0000000 --- a/lib/Model/SiteViewMetrics.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $siteViews; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unit; - /** - * @var string - */ - protected $unitReference; - /** - * @var string - */ - protected $facet; - - /** - * @return list - */ - public function getSiteViews(): array - { - return $this->siteViews; - } - - /** - * @param list $siteViews - */ - public function setSiteViews(array $siteViews): self - { - $this->initialized['siteViews'] = true; - $this->siteViews = $siteViews; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - public function getFacet(): string - { - return $this->facet; - } - - public function setFacet(string $facet): self - { - $this->initialized['facet'] = true; - $this->facet = $facet; - - return $this; - } -} diff --git a/lib/Model/SiteViewsSummary.php b/lib/Model/SiteViewsSummary.php deleted file mode 100644 index 74cbbd8..0000000 --- a/lib/Model/SiteViewsSummary.php +++ /dev/null @@ -1,92 +0,0 @@ -initialized); - } - /** - * @var int - */ - protected $totalViews; - /** - * @var int - */ - protected $units; - /** - * @var string - */ - protected $unit; - /** - * @var string - */ - protected $unitReference; - - public function getTotalViews(): int - { - return $this->totalViews; - } - - public function setTotalViews(int $totalViews): self - { - $this->initialized['totalViews'] = true; - $this->totalViews = $totalViews; - - return $this; - } - - public function getUnits(): int - { - return $this->units; - } - - public function setUnits(int $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } -} diff --git a/lib/Model/SitesPagination.php b/lib/Model/SitesPagination.php deleted file mode 100644 index d62a4d4..0000000 --- a/lib/Model/SitesPagination.php +++ /dev/null @@ -1,109 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $prev; - /** - * @var string - */ - protected $next; - /** - * @var int - */ - protected $page; - /** - * @var int - */ - protected $total; - /** - * @var int - */ - protected $size; - - public function getPrev(): string - { - return $this->prev; - } - - public function setPrev(string $prev): self - { - $this->initialized['prev'] = true; - $this->prev = $prev; - - return $this; - } - - public function getNext(): string - { - return $this->next; - } - - public function setNext(string $next): self - { - $this->initialized['next'] = true; - $this->next = $next; - - return $this; - } - - public function getPage(): int - { - return $this->page; - } - - public function setPage(int $page): self - { - $this->initialized['page'] = true; - $this->page = $page; - - return $this; - } - - public function getTotal(): int - { - return $this->total; - } - - public function setTotal(int $total): self - { - $this->initialized['total'] = true; - $this->total = $total; - - return $this; - } - - public function getSize(): int - { - return $this->size; - } - - public function setSize(int $size): self - { - $this->initialized['size'] = true; - $this->size = $size; - - return $this; - } -} diff --git a/lib/Model/SocialContent.php b/lib/Model/SocialContent.php deleted file mode 100644 index e5bc384..0000000 --- a/lib/Model/SocialContent.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $url; - /** - * @var string - */ - protected $channel; - - public function getUrl(): string - { - return $this->url; - } - - public function setUrl(string $url): self - { - $this->initialized['url'] = true; - $this->url = $url; - - return $this; - } - - public function getChannel(): string - { - return $this->channel; - } - - public function setChannel(string $channel): self - { - $this->initialized['channel'] = true; - $this->channel = $channel; - - return $this; - } -} diff --git a/lib/Model/SortedButtons.php b/lib/Model/SortedButtons.php deleted file mode 100644 index c42513a..0000000 --- a/lib/Model/SortedButtons.php +++ /dev/null @@ -1,110 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $info; - /** - * @var list - */ - protected $sortedButtons; - /** - * @var list - */ - protected $buttons; - /** - * @var list - */ - protected $pageViews; - - public function getInfo(): string - { - return $this->info; - } - - public function setInfo(string $info): self - { - $this->initialized['info'] = true; - $this->info = $info; - - return $this; - } - - /** - * @return list - */ - public function getSortedButtons(): array - { - return $this->sortedButtons; - } - - /** - * @param list $sortedButtons - */ - public function setSortedButtons(array $sortedButtons): self - { - $this->initialized['sortedButtons'] = true; - $this->sortedButtons = $sortedButtons; - - return $this; - } - - /** - * @return list - */ - public function getButtons(): array - { - return $this->buttons; - } - - /** - * @param list $buttons - */ - public function setButtons(array $buttons): self - { - $this->initialized['buttons'] = true; - $this->buttons = $buttons; - - return $this; - } - - /** - * @return list - */ - public function getPageViews(): array - { - return $this->pageViews; - } - - /** - * @param list $pageViews - */ - public function setPageViews(array $pageViews): self - { - $this->initialized['pageViews'] = true; - $this->pageViews = $pageViews; - - return $this; - } -} diff --git a/lib/Model/SortedButtonsButtonsItem.php b/lib/Model/SortedButtonsButtonsItem.php deleted file mode 100644 index fe8c9ab..0000000 --- a/lib/Model/SortedButtonsButtonsItem.php +++ /dev/null @@ -1,100 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $id; - /** - * Available button types for Launchpad content. - * - * @var string - */ - protected $buttonType; - /** - * @var string - */ - protected $title; - /** - * @var string - */ - protected $micrositeGuid; - - public function getId(): string - { - return $this->id; - } - - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - /** - * Available button types for Launchpad content. - */ - public function getButtonType(): string - { - return $this->buttonType; - } - - /** - * Available button types for Launchpad content. - */ - public function setButtonType(string $buttonType): self - { - $this->initialized['buttonType'] = true; - $this->buttonType = $buttonType; - - return $this; - } - - public function getTitle(): string - { - return $this->title; - } - - public function setTitle(string $title): self - { - $this->initialized['title'] = true; - $this->title = $title; - - return $this; - } - - public function getMicrositeGuid(): string - { - return $this->micrositeGuid; - } - - public function setMicrositeGuid(string $micrositeGuid): self - { - $this->initialized['micrositeGuid'] = true; - $this->micrositeGuid = $micrositeGuid; - - return $this; - } -} diff --git a/lib/Model/SortedButtonsPageViewsItem.php b/lib/Model/SortedButtonsPageViewsItem.php deleted file mode 100644 index 21cb3ea..0000000 --- a/lib/Model/SortedButtonsPageViewsItem.php +++ /dev/null @@ -1,75 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $micrositeGuid; - /** - * @var string - */ - protected $uri; - /** - * @var float - */ - protected $views; - - public function getMicrositeGuid(): string - { - return $this->micrositeGuid; - } - - public function setMicrositeGuid(string $micrositeGuid): self - { - $this->initialized['micrositeGuid'] = true; - $this->micrositeGuid = $micrositeGuid; - - return $this; - } - - public function getUri(): string - { - return $this->uri; - } - - public function setUri(string $uri): self - { - $this->initialized['uri'] = true; - $this->uri = $uri; - - return $this; - } - - public function getViews(): float - { - return $this->views; - } - - public function setViews(float $views): self - { - $this->initialized['views'] = true; - $this->views = $views; - - return $this; - } -} diff --git a/lib/Model/SortedEngagements.php b/lib/Model/SortedEngagements.php deleted file mode 100644 index 840528a..0000000 --- a/lib/Model/SortedEngagements.php +++ /dev/null @@ -1,98 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $unitReference; - /** - * @var string - */ - protected $unit; - /** - * @var float - */ - protected $units; - /** - * @var list - */ - protected $sortedEngagements; - - public function getUnitReference(): string - { - return $this->unitReference; - } - - public function setUnitReference(string $unitReference): self - { - $this->initialized['unitReference'] = true; - $this->unitReference = $unitReference; - - return $this; - } - - public function getUnit(): string - { - return $this->unit; - } - - public function setUnit(string $unit): self - { - $this->initialized['unit'] = true; - $this->unit = $unit; - - return $this; - } - - public function getUnits(): float - { - return $this->units; - } - - public function setUnits(float $units): self - { - $this->initialized['units'] = true; - $this->units = $units; - - return $this; - } - - /** - * @return list - */ - public function getSortedEngagements(): array - { - return $this->sortedEngagements; - } - - /** - * @param list $sortedEngagements - */ - public function setSortedEngagements(array $sortedEngagements): self - { - $this->initialized['sortedEngagements'] = true; - $this->sortedEngagements = $sortedEngagements; - - return $this; - } -} diff --git a/lib/Model/StripeAddress.php b/lib/Model/StripeAddress.php deleted file mode 100644 index 6c49b74..0000000 --- a/lib/Model/StripeAddress.php +++ /dev/null @@ -1,174 +0,0 @@ -initialized); - } - /** - * City name. - * - * @var string - */ - protected $city; - /** - * Country name. - * - * @var string - */ - protected $country; - /** - * Address line 1. - * - * @var string - */ - protected $line1; - /** - * Address line 2. - * - * @var string - */ - protected $line2; - /** - * Postal/ZIP code. - * - * @var string - */ - protected $postalCode; - /** - * State/Province. - * - * @var string - */ - protected $state; - - /** - * City name. - */ - public function getCity(): string - { - return $this->city; - } - - /** - * City name. - */ - public function setCity(string $city): self - { - $this->initialized['city'] = true; - $this->city = $city; - - return $this; - } - - /** - * Country name. - */ - public function getCountry(): string - { - return $this->country; - } - - /** - * Country name. - */ - public function setCountry(string $country): self - { - $this->initialized['country'] = true; - $this->country = $country; - - return $this; - } - - /** - * Address line 1. - */ - public function getLine1(): string - { - return $this->line1; - } - - /** - * Address line 1. - */ - public function setLine1(string $line1): self - { - $this->initialized['line1'] = true; - $this->line1 = $line1; - - return $this; - } - - /** - * Address line 2. - */ - public function getLine2(): string - { - return $this->line2; - } - - /** - * Address line 2. - */ - public function setLine2(string $line2): self - { - $this->initialized['line2'] = true; - $this->line2 = $line2; - - return $this; - } - - /** - * Postal/ZIP code. - */ - public function getPostalCode(): string - { - return $this->postalCode; - } - - /** - * Postal/ZIP code. - */ - public function setPostalCode(string $postalCode): self - { - $this->initialized['postalCode'] = true; - $this->postalCode = $postalCode; - - return $this; - } - - /** - * State/Province. - */ - public function getState(): string - { - return $this->state; - } - - /** - * State/Province. - */ - public function setState(string $state): self - { - $this->initialized['state'] = true; - $this->state = $state; - - return $this; - } -} diff --git a/lib/Model/StripeCustomer.php b/lib/Model/StripeCustomer.php deleted file mode 100644 index cd87733..0000000 --- a/lib/Model/StripeCustomer.php +++ /dev/null @@ -1,212 +0,0 @@ -initialized); - } - /** - * Unique identifier for the Stripe customer. - * - * @var string - */ - protected $id; - /** - * @var StripeAddress - */ - protected $address; - /** - * Customer's full name. - * - * @var string - */ - protected $name; - /** - * Customer's phone number. - * - * @var string - */ - protected $phone; - /** - * @var StripeCustomerInvoiceSettings - */ - protected $invoiceSettings; - /** - * Set of key-value pairs for storing additional information. - * - * @var array - */ - protected $metadata; - /** - * Customer's email address. - * - * @var string - */ - protected $email; - /** - * Three-letter ISO currency code. - * - * @var string - */ - protected $currency; - - /** - * Unique identifier for the Stripe customer. - */ - public function getId(): string - { - return $this->id; - } - - /** - * Unique identifier for the Stripe customer. - */ - public function setId(string $id): self - { - $this->initialized['id'] = true; - $this->id = $id; - - return $this; - } - - public function getAddress(): StripeAddress - { - return $this->address; - } - - public function setAddress(StripeAddress $address): self - { - $this->initialized['address'] = true; - $this->address = $address; - - return $this; - } - - /** - * Customer's full name. - */ - public function getName(): string - { - return $this->name; - } - - /** - * Customer's full name. - */ - public function setName(string $name): self - { - $this->initialized['name'] = true; - $this->name = $name; - - return $this; - } - - /** - * Customer's phone number. - */ - public function getPhone(): string - { - return $this->phone; - } - - /** - * Customer's phone number. - */ - public function setPhone(string $phone): self - { - $this->initialized['phone'] = true; - $this->phone = $phone; - - return $this; - } - - public function getInvoiceSettings(): StripeCustomerInvoiceSettings - { - return $this->invoiceSettings; - } - - public function setInvoiceSettings(StripeCustomerInvoiceSettings $invoiceSettings): self - { - $this->initialized['invoiceSettings'] = true; - $this->invoiceSettings = $invoiceSettings; - - return $this; - } - - /** - * Set of key-value pairs for storing additional information. - * - * @return array - */ - public function getMetadata(): iterable - { - return $this->metadata; - } - - /** - * Set of key-value pairs for storing additional information. - * - * @param array $metadata - */ - public function setMetadata(iterable $metadata): self - { - $this->initialized['metadata'] = true; - $this->metadata = $metadata; - - return $this; - } - - /** - * Customer's email address. - */ - public function getEmail(): string - { - return $this->email; - } - - /** - * Customer's email address. - */ - public function setEmail(string $email): self - { - $this->initialized['email'] = true; - $this->email = $email; - - return $this; - } - - /** - * Three-letter ISO currency code. - */ - public function getCurrency(): string - { - return $this->currency; - } - - /** - * Three-letter ISO currency code. - */ - public function setCurrency(string $currency): self - { - $this->initialized['currency'] = true; - $this->currency = $currency; - - return $this; - } -} diff --git a/lib/Model/StripeCustomerInvoiceSettings.php b/lib/Model/StripeCustomerInvoiceSettings.php deleted file mode 100644 index 740617a..0000000 --- a/lib/Model/StripeCustomerInvoiceSettings.php +++ /dev/null @@ -1,49 +0,0 @@ -initialized); - } - /** - * ID of the default payment method for the customer. - * - * @var string - */ - protected $defaultPaymentMethod; - - /** - * ID of the default payment method for the customer. - */ - public function getDefaultPaymentMethod(): string - { - return $this->defaultPaymentMethod; - } - - /** - * ID of the default payment method for the customer. - */ - public function setDefaultPaymentMethod(string $defaultPaymentMethod): self - { - $this->initialized['defaultPaymentMethod'] = true; - $this->defaultPaymentMethod = $defaultPaymentMethod; - - return $this; - } -} diff --git a/lib/Model/StripeOrganizationInfo.php b/lib/Model/StripeOrganizationInfo.php deleted file mode 100644 index dbf317a..0000000 --- a/lib/Model/StripeOrganizationInfo.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $currency; - /** - * @var string - */ - protected $stripeAccount; - - public function getCurrency(): string - { - return $this->currency; - } - - public function setCurrency(string $currency): self - { - $this->initialized['currency'] = true; - $this->currency = $currency; - - return $this; - } - - public function getStripeAccount(): string - { - return $this->stripeAccount; - } - - public function setStripeAccount(string $stripeAccount): self - { - $this->initialized['stripeAccount'] = true; - $this->stripeAccount = $stripeAccount; - - return $this; - } -} diff --git a/lib/Model/StripeUpgradeOrgBody.php b/lib/Model/StripeUpgradeOrgBody.php deleted file mode 100644 index 6733493..0000000 --- a/lib/Model/StripeUpgradeOrgBody.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $targetTierName; - /** - * @var string - */ - protected $promoCode; - - public function getTargetTierName(): string - { - return $this->targetTierName; - } - - public function setTargetTierName(string $targetTierName): self - { - $this->initialized['targetTierName'] = true; - $this->targetTierName = $targetTierName; - - return $this; - } - - public function getPromoCode(): string - { - return $this->promoCode; - } - - public function setPromoCode(string $promoCode): self - { - $this->initialized['promoCode'] = true; - $this->promoCode = $promoCode; - - return $this; - } -} diff --git a/lib/Model/Subregion.php b/lib/Model/Subregion.php deleted file mode 100644 index ee0f68c..0000000 --- a/lib/Model/Subregion.php +++ /dev/null @@ -1,58 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $subregionName; - /** - * @var string - */ - protected $code; - - public function getSubregionName(): string - { - return $this->subregionName; - } - - public function setSubregionName(string $subregionName): self - { - $this->initialized['subregionName'] = true; - $this->subregionName = $subregionName; - - return $this; - } - - public function getCode(): string - { - return $this->code; - } - - public function setCode(string $code): self - { - $this->initialized['code'] = true; - $this->code = $code; - - return $this; - } -} diff --git a/lib/Model/SubscriptionCancelledDate.php b/lib/Model/SubscriptionCancelledDate.php deleted file mode 100644 index 3bb37b4..0000000 --- a/lib/Model/SubscriptionCancelledDate.php +++ /dev/null @@ -1,49 +0,0 @@ -initialized); - } - /** - * ISO timestamp. - * - * @var string - */ - protected $subscriptionCancelledDate; - - /** - * ISO timestamp. - */ - public function getSubscriptionCancelledDate(): string - { - return $this->subscriptionCancelledDate; - } - - /** - * ISO timestamp. - */ - public function setSubscriptionCancelledDate(string $subscriptionCancelledDate): self - { - $this->initialized['subscriptionCancelledDate'] = true; - $this->subscriptionCancelledDate = $subscriptionCancelledDate; - - return $this; - } -} diff --git a/lib/Model/SubscriptionDiscount.php b/lib/Model/SubscriptionDiscount.php deleted file mode 100644 index 5f8d29d..0000000 --- a/lib/Model/SubscriptionDiscount.php +++ /dev/null @@ -1,194 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $billingPeriod; - /** - * @var string - */ - protected $effectiveEndDate; - /** - * @var string - */ - protected $effectiveStartDate; - /** - * @var string - */ - protected $upToPeriodsType; - /** - * @var string - */ - protected $productRatePlanChargeId; - /** - * @var string - */ - protected $model; - /** - * @var string - */ - protected $endDateCondition; - /** - * @var float - */ - protected $upToPeriods; - /** - * @var float - */ - protected $discountAmount; - /** - * @var float - */ - protected $discountPercentage; - - public function getBillingPeriod(): string - { - return $this->billingPeriod; - } - - public function setBillingPeriod(string $billingPeriod): self - { - $this->initialized['billingPeriod'] = true; - $this->billingPeriod = $billingPeriod; - - return $this; - } - - public function getEffectiveEndDate(): string - { - return $this->effectiveEndDate; - } - - public function setEffectiveEndDate(string $effectiveEndDate): self - { - $this->initialized['effectiveEndDate'] = true; - $this->effectiveEndDate = $effectiveEndDate; - - return $this; - } - - public function getEffectiveStartDate(): string - { - return $this->effectiveStartDate; - } - - public function setEffectiveStartDate(string $effectiveStartDate): self - { - $this->initialized['effectiveStartDate'] = true; - $this->effectiveStartDate = $effectiveStartDate; - - return $this; - } - - public function getUpToPeriodsType(): string - { - return $this->upToPeriodsType; - } - - public function setUpToPeriodsType(string $upToPeriodsType): self - { - $this->initialized['upToPeriodsType'] = true; - $this->upToPeriodsType = $upToPeriodsType; - - return $this; - } - - public function getProductRatePlanChargeId(): string - { - return $this->productRatePlanChargeId; - } - - public function setProductRatePlanChargeId(string $productRatePlanChargeId): self - { - $this->initialized['productRatePlanChargeId'] = true; - $this->productRatePlanChargeId = $productRatePlanChargeId; - - return $this; - } - - public function getModel(): string - { - return $this->model; - } - - public function setModel(string $model): self - { - $this->initialized['model'] = true; - $this->model = $model; - - return $this; - } - - public function getEndDateCondition(): string - { - return $this->endDateCondition; - } - - public function setEndDateCondition(string $endDateCondition): self - { - $this->initialized['endDateCondition'] = true; - $this->endDateCondition = $endDateCondition; - - return $this; - } - - public function getUpToPeriods(): float - { - return $this->upToPeriods; - } - - public function setUpToPeriods(float $upToPeriods): self - { - $this->initialized['upToPeriods'] = true; - $this->upToPeriods = $upToPeriods; - - return $this; - } - - public function getDiscountAmount(): float - { - return $this->discountAmount; - } - - public function setDiscountAmount(float $discountAmount): self - { - $this->initialized['discountAmount'] = true; - $this->discountAmount = $discountAmount; - - return $this; - } - - public function getDiscountPercentage(): float - { - return $this->discountPercentage; - } - - public function setDiscountPercentage(float $discountPercentage): self - { - $this->initialized['discountPercentage'] = true; - $this->discountPercentage = $discountPercentage; - - return $this; - } -} diff --git a/lib/Model/SupportedCurrency.php b/lib/Model/SupportedCurrency.php deleted file mode 100644 index 1270570..0000000 --- a/lib/Model/SupportedCurrency.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var bool - */ - protected $isSupported; - - public function getIsSupported(): bool - { - return $this->isSupported; - } - - public function setIsSupported(bool $isSupported): self - { - $this->initialized['isSupported'] = true; - $this->isSupported = $isSupported; - - return $this; - } -} diff --git a/lib/Model/SurveyResponse.php b/lib/Model/SurveyResponse.php deleted file mode 100644 index c5fbd23..0000000 --- a/lib/Model/SurveyResponse.php +++ /dev/null @@ -1,115 +0,0 @@ -initialized); - } - /** - * @var list - */ - protected $useCases; - /** - * @var string - */ - protected $industry; - /** - * @var string - */ - protected $companySize; - /** - * @var string - */ - protected $roleLevel; - /** - * @var string - */ - protected $startLocation; - - /** - * @return list - */ - public function getUseCases(): array - { - return $this->useCases; - } - - /** - * @param list $useCases - */ - public function setUseCases(array $useCases): self - { - $this->initialized['useCases'] = true; - $this->useCases = $useCases; - - return $this; - } - - public function getIndustry(): string - { - return $this->industry; - } - - public function setIndustry(string $industry): self - { - $this->initialized['industry'] = true; - $this->industry = $industry; - - return $this; - } - - public function getCompanySize(): string - { - return $this->companySize; - } - - public function setCompanySize(string $companySize): self - { - $this->initialized['companySize'] = true; - $this->companySize = $companySize; - - return $this; - } - - public function getRoleLevel(): string - { - return $this->roleLevel; - } - - public function setRoleLevel(string $roleLevel): self - { - $this->initialized['roleLevel'] = true; - $this->roleLevel = $roleLevel; - - return $this; - } - - public function getStartLocation(): string - { - return $this->startLocation; - } - - public function setStartLocation(string $startLocation): self - { - $this->initialized['startLocation'] = true; - $this->startLocation = $startLocation; - - return $this; - } -} diff --git a/lib/Model/Template.php b/lib/Model/Template.php deleted file mode 100644 index 37eb3bf..0000000 --- a/lib/Model/Template.php +++ /dev/null @@ -1,206 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $templateGuid; - /** - * @var BitlySiteContent - */ - protected $content; - /** - * @var BitlySiteAppearance - */ - protected $appearance; - /** - * @var list - */ - protected $blocks; - /** - * @var string - */ - protected $status; - /** - * @var list - */ - protected $categories; - /** - * @var string - */ - protected $created; - /** - * @var string - */ - protected $modified; - /** - * @var bool - */ - protected $isActive; - /** - * @var bool - */ - protected $isPaid; - - public function getTemplateGuid(): string - { - return $this->templateGuid; - } - - public function setTemplateGuid(string $templateGuid): self - { - $this->initialized['templateGuid'] = true; - $this->templateGuid = $templateGuid; - - return $this; - } - - public function getContent(): BitlySiteContent - { - return $this->content; - } - - public function setContent(BitlySiteContent $content): self - { - $this->initialized['content'] = true; - $this->content = $content; - - return $this; - } - - public function getAppearance(): BitlySiteAppearance - { - return $this->appearance; - } - - public function setAppearance(BitlySiteAppearance $appearance): self - { - $this->initialized['appearance'] = true; - $this->appearance = $appearance; - - return $this; - } - - /** - * @return list - */ - public function getBlocks(): array - { - return $this->blocks; - } - - /** - * @param list $blocks - */ - public function setBlocks(array $blocks): self - { - $this->initialized['blocks'] = true; - $this->blocks = $blocks; - - return $this; - } - - public function getStatus(): string - { - return $this->status; - } - - public function setStatus(string $status): self - { - $this->initialized['status'] = true; - $this->status = $status; - - return $this; - } - - /** - * @return list - */ - public function getCategories(): array - { - return $this->categories; - } - - /** - * @param list $categories - */ - public function setCategories(array $categories): self - { - $this->initialized['categories'] = true; - $this->categories = $categories; - - return $this; - } - - public function getCreated(): string - { - return $this->created; - } - - public function setCreated(string $created): self - { - $this->initialized['created'] = true; - $this->created = $created; - - return $this; - } - - public function getModified(): string - { - return $this->modified; - } - - public function setModified(string $modified): self - { - $this->initialized['modified'] = true; - $this->modified = $modified; - - return $this; - } - - public function getIsActive(): bool - { - return $this->isActive; - } - - public function setIsActive(bool $isActive): self - { - $this->initialized['isActive'] = true; - $this->isActive = $isActive; - - return $this; - } - - public function getIsPaid(): bool - { - return $this->isPaid; - } - - public function setIsPaid(bool $isPaid): self - { - $this->initialized['isPaid'] = true; - $this->isPaid = $isPaid; - - return $this; - } -} diff --git a/lib/Model/TemplatesRequest.php b/lib/Model/TemplatesRequest.php deleted file mode 100644 index dde2717..0000000 --- a/lib/Model/TemplatesRequest.php +++ /dev/null @@ -1,41 +0,0 @@ -initialized); - } - /** - * @var string - */ - protected $siteId; - - public function getSiteId(): string - { - return $this->siteId; - } - - public function setSiteId(string $siteId): self - { - $this->initialized['siteId'] = true; - $this->siteId = $siteId; - - return $this; - } -} diff --git a/lib/Model/TemplatesResponse.php b/lib/Model/TemplatesResponse.php deleted file mode 100644 index 93518bf..0000000 --- a/lib/Model/TemplatesResponse.php +++ /dev/null @@ -1,47 +0,0 @@ -initialized); - } - /** - * @var list