From 20c2a307ec9ae7b3981d94e277f79ade5be263ff Mon Sep 17 00:00:00 2001 From: James Gilliland Date: Thu, 4 Jun 2020 09:35:23 -0500 Subject: [PATCH] Trying OpenAPITools generator --- build_swagger.sh | 12 +- docs/Asset/Api/ChannelsApi.md | 6 +- docs/Asset/Api/EmailTemplatesApi.md | 72 +- docs/Asset/Api/EmailsApi.md | 242 +++-- docs/Asset/Api/FileContentsApi.md | 10 +- docs/Asset/Api/FilesApi.md | 24 +- docs/Asset/Api/FoldersApi.md | 56 +- docs/Asset/Api/FormFieldsApi.md | 146 ++- docs/Asset/Api/FormsApi.md | 122 ++- docs/Asset/Api/LandingPageContentApi.md | 136 ++- docs/Asset/Api/LandingPageRedirectRulesApi.md | 40 +- docs/Asset/Api/LandingPageTemplatesApi.md | 66 +- docs/Asset/Api/LandingPagesApi.md | 106 ++- docs/Asset/Api/ProgramsApi.md | 88 +- docs/Asset/Api/SegmentsApi.md | 8 +- docs/Asset/Api/SmartCampaignsApi.md | 50 +- docs/Asset/Api/SmartListsApi.md | 34 +- docs/Asset/Api/SnippetsApi.md | 76 +- docs/Asset/Api/StaticListsApi.md | 42 +- docs/Asset/Api/TagsApi.md | 6 +- docs/Asset/Api/TokensApi.md | 32 +- docs/Asset/Model/BrowseAllPrograms.md | 2 +- docs/Asset/Model/CloneEmailRequest.md | 2 +- docs/Asset/Model/CloneEmailTemplateRequest.md | 2 +- docs/Asset/Model/CloneFormRequest.md | 2 +- docs/Asset/Model/CloneLandingPageRequest.md | 2 +- docs/Asset/Model/CloneLpTemplateRequest.md | 2 +- docs/Asset/Model/CloneProgramRequest.md | 2 +- docs/Asset/Model/CloneSmartCampaignRequest.md | 2 +- docs/Asset/Model/CloneSmartListRequest.md | 2 +- docs/Asset/Model/CloneSnippetRequest.md | 2 +- docs/Asset/Model/CreateEmailRequest.md | 2 +- .../Asset/Model/CreateEmailTemplateRequest.md | 2 +- docs/Asset/Model/CreateFileRequest.md | 2 +- docs/Asset/Model/CreateFolderRequest.md | 2 +- .../CreateLandingPageRedirectRuleRequest.md | 4 +- docs/Asset/Model/CreateLandingPageRequest.md | 2 +- docs/Asset/Model/CreateLpFormRequest.md | 4 +- docs/Asset/Model/CreateLpTemplateRequest.md | 2 +- docs/Asset/Model/CreateProgramRequest.md | 2 +- .../Asset/Model/CreateSmartCampaignRequest.md | 2 +- docs/Asset/Model/CreateSnippetRequest.md | 2 +- docs/Asset/Model/CreateStaticListRequest.md | 2 +- docs/Asset/Model/EmailContentResponse.md | 2 +- docs/Asset/Model/EmailResponse.md | 2 +- docs/Asset/Model/EmailTemplateResponse.md | 2 +- docs/Asset/Model/FileResponse.md | 2 +- docs/Asset/Model/FolderResponse.md | 4 +- docs/Asset/Model/FormThankYouPageDTO.md | 2 +- docs/Asset/Model/GetFilesRequest.md | 2 +- .../Asset/Model/LandingPageContentResponse.md | 4 +- docs/Asset/Model/LandingPageRedirectRule.md | 4 +- docs/Asset/Model/LandingPageResponse.md | 2 +- .../Model/LandingPageVariableResponse.md | 2 +- docs/Asset/Model/LpFormFieldResponse.md | 4 +- docs/Asset/Model/LpFormResponse.md | 4 +- docs/Asset/Model/LpTemplateResponse.md | 2 +- docs/Asset/Model/ProgramResponse.md | 2 +- docs/Asset/Model/SegmentContent.md | 2 +- docs/Asset/Model/SegmentationResponse.md | 2 +- docs/Asset/Model/SmartCampaignResponse.md | 4 +- docs/Asset/Model/SmartListResponse.md | 2 +- .../Asset/Model/SmartListResponseWithRules.md | 4 +- docs/Asset/Model/SnippetResponse.md | 2 +- docs/Asset/Model/StaticListResponse.md | 2 +- .../Model/UpdateEmailComponentDataRequest.md | 8 +- docs/Asset/Model/UpdateFormMetaDataRequest.md | 2 +- .../UpdateLandingPageRedirectRuleRequest.md | 4 +- docs/Identity/Api/IdentityApi.md | 10 +- docs/Identity/Model/ResponseOfIdentity.md | 2 +- docs/Lead/Api/ActivitiesApi.md | 46 +- docs/Lead/Api/BulkExportActivitiesApi.md | 24 +- docs/Lead/Api/BulkExportLeadsApi.md | 24 +- docs/Lead/Api/BulkExportProgramMembersApi.md | 24 +- docs/Lead/Api/BulkImportCustomObjectsApi.md | 18 +- docs/Lead/Api/BulkImportLeadsApi.md | 14 +- docs/Lead/Api/BulkImportProgramMembersApi.md | 14 +- docs/Lead/Api/CampaignsApi.md | 14 +- docs/Lead/Api/CompaniesApi.md | 12 +- docs/Lead/Api/CustomObjectsApi.md | 66 +- docs/Lead/Api/LeadsApi.md | 78 +- docs/Lead/Api/NamedAccountListsApi.md | 20 +- docs/Lead/Api/NamedAccountsApi.md | 28 +- docs/Lead/Api/OpportunitiesApi.md | 36 +- docs/Lead/Api/SalesPersonsApi.md | 12 +- docs/Lead/Api/StaticListsApi.md | 48 +- docs/Lead/Api/UsageApi.md | 8 +- docs/Lead/Model/ActivityType.md | 2 +- docs/Lead/Model/AddCustomObjectTypeField.md | 2 +- docs/Lead/Model/Attribute.md | 2 +- docs/Lead/Model/CustomActivityType.md | 2 +- docs/Lead/Model/CustomActivityTypeRequest.md | 2 +- docs/Lead/Model/ExportActivityFilter.md | 2 +- docs/Lead/Model/ExportActivityRequest.md | 4 +- docs/Lead/Model/ExportLeadFilter.md | 4 +- docs/Lead/Model/ExportLeadRequest.md | 4 +- docs/Lead/Model/ExportProgramMemberRequest.md | 4 +- docs/Lead/Model/Lead.md | 4 +- docs/Lead/Model/LeadAttribute.md | 4 +- docs/Lead/Model/LeadAttribute2.md | 2 +- .../Model/LeadAttribute2SearchableFields.md | 9 - docs/Lead/Model/ObjectRelation.md | 2 +- docs/Lead/Model/TriggerCampaignRequest.md | 2 +- .../UpdateCustomObjectTypeFieldRequest.md | 2 +- src/Asset/Api/ChannelsApi.php | 6 +- src/Asset/Api/EmailTemplatesApi.php | 250 +++-- src/Asset/Api/EmailsApi.php | 882 +++++++++++++----- src/Asset/Api/FileContentsApi.php | 58 +- src/Asset/Api/FilesApi.php | 95 +- src/Asset/Api/FoldersApi.php | 143 ++- src/Asset/Api/FormFieldsApi.php | 594 +++++++++--- src/Asset/Api/FormsApi.php | 452 ++++++--- src/Asset/Api/LandingPageContentApi.php | 563 +++++++++-- src/Asset/Api/LandingPageRedirectRulesApi.php | 140 ++- src/Asset/Api/LandingPageTemplatesApi.php | 225 +++-- src/Asset/Api/LandingPagesApi.php | 386 ++++++-- src/Asset/Api/ProgramsApi.php | 273 ++++-- src/Asset/Api/SegmentsApi.php | 6 +- src/Asset/Api/SmartCampaignsApi.php | 146 ++- src/Asset/Api/SmartListsApi.php | 75 +- src/Asset/Api/SnippetsApi.php | 259 +++-- src/Asset/Api/StaticListsApi.php | 125 ++- src/Asset/Api/TagsApi.php | 6 +- src/Asset/Api/TokensApi.php | 169 ++-- src/Asset/ApiException.php | 2 +- src/Asset/Configuration.php | 2 +- src/Asset/HeaderSelector.php | 2 +- src/Asset/Model/AddFormFieldRequest.php | 2 +- src/Asset/Model/AddFormFieldSetRequest.php | 2 +- .../Model/AddFormFieldVisibilityRequest.php | 2 +- src/Asset/Model/AddRichTextRequest.php | 2 +- src/Asset/Model/BrowseAllPrograms.php | 4 +- src/Asset/Model/ChannelProgression.php | 2 +- src/Asset/Model/ChannelResponse.php | 2 +- src/Asset/Model/CloneEmailRequest.php | 4 +- src/Asset/Model/CloneEmailTemplateRequest.php | 4 +- src/Asset/Model/CloneFormRequest.php | 4 +- src/Asset/Model/CloneLandingPageRequest.php | 4 +- src/Asset/Model/CloneLpTemplateRequest.php | 4 +- src/Asset/Model/CloneProgramRequest.php | 4 +- src/Asset/Model/CloneSmartCampaignRequest.php | 4 +- src/Asset/Model/CloneSmartListRequest.php | 4 +- src/Asset/Model/CloneSnippetRequest.php | 4 +- src/Asset/Model/CostRequest.php | 2 +- src/Asset/Model/Costs.php | 2 +- src/Asset/Model/CreateEmailRequest.php | 4 +- .../Model/CreateEmailTemplateRequest.php | 4 +- src/Asset/Model/CreateFileRequest.php | 4 +- src/Asset/Model/CreateFolderRequest.php | 4 +- .../Model/CreateLandingPageContentRequest.php | 2 +- .../CreateLandingPageRedirectRuleRequest.php | 6 +- src/Asset/Model/CreateLandingPageRequest.php | 4 +- src/Asset/Model/CreateLpFormRequest.php | 6 +- src/Asset/Model/CreateLpTemplateRequest.php | 4 +- src/Asset/Model/CreateProgramRequest.php | 4 +- .../Model/CreateSmartCampaignRequest.php | 4 +- src/Asset/Model/CreateSnippetRequest.php | 4 +- src/Asset/Model/CreateStaticListRequest.php | 4 +- src/Asset/Model/CreateTokenRequest.php | 2 +- src/Asset/Model/DeleteTokenRequest.php | 2 +- src/Asset/Model/EmailContentResponse.php | 2 +- src/Asset/Model/EmailDynamicContentItem.php | 2 +- .../Model/EmailDynamicContentResponse.php | 2 +- src/Asset/Model/EmailHeaderTypeValue.php | 2 +- src/Asset/Model/EmailResponse.php | 4 +- src/Asset/Model/EmailResponseCCFields.php | 2 +- .../Model/EmailTemplateContentResponse.php | 2 +- src/Asset/Model/EmailTemplateResponse.php | 4 +- .../Model/EmailTemplateUsedByResponse.php | 2 +- src/Asset/Model/Error.php | 2 +- src/Asset/Model/FieldsMetaDataResponse.php | 2 +- src/Asset/Model/FileFolder.php | 2 +- src/Asset/Model/FileResponse.php | 4 +- src/Asset/Model/Folder.php | 2 +- src/Asset/Model/FolderContentResponse.php | 2 +- src/Asset/Model/FolderResponse.php | 6 +- .../Model/FormFieldVisibilityRequest.php | 2 +- .../Model/FormFieldVisibilityRuleResponse.php | 2 +- src/Asset/Model/FormKnownVisitorDTO.php | 2 +- src/Asset/Model/FormThankYouPageDTO.php | 2 +- src/Asset/Model/FormVisibilityRuleDTO.php | 2 +- .../Model/FormVisibilityRuleResponse.php | 2 +- .../Model/GetEmailFullContentResponse.php | 2 +- src/Asset/Model/GetFilesRequest.php | 4 +- src/Asset/Model/IdResponse.php | 2 +- src/Asset/Model/JsonNode.php | 2 +- .../Model/LandingPageContentResponse.php | 2 +- src/Asset/Model/LandingPageDomain.php | 2 +- .../LandingPageDynamicContentResponse.php | 2 +- src/Asset/Model/LandingPageRedirectRule.php | 6 +- src/Asset/Model/LandingPageResponse.php | 4 +- .../Model/LandingPageVariableResponse.php | 2 +- src/Asset/Model/LpFormFieldResponse.php | 2 +- src/Asset/Model/LpFormResponse.php | 6 +- .../Model/LpTemplateGetContentResponse.php | 2 +- src/Asset/Model/LpTemplateResponse.php | 4 +- src/Asset/Model/ModelInterface.php | 2 +- src/Asset/Model/ModelResponse.php | 2 +- src/Asset/Model/MultipartFile.php | 2 +- src/Asset/Model/PickListDTO.php | 2 +- src/Asset/Model/ProgramResponse.php | 4 +- src/Asset/Model/ReArrangeRequest.php | 2 +- src/Asset/Model/Recurrence.php | 2 +- src/Asset/Model/RedirectFrom.php | 2 +- src/Asset/Model/RedirectTo.php | 2 +- .../Model/ResponseOfBrowseAllPrograms.php | 2 +- src/Asset/Model/ResponseOfChannelResponse.php | 2 +- .../Model/ResponseOfEmailCCFieldsResponse.php | 2 +- .../Model/ResponseOfEmailContentResponse.php | 2 +- .../ResponseOfEmailDynamicContentResponse.php | 2 +- src/Asset/Model/ResponseOfEmailResponse.php | 2 +- ...ResponseOfEmailTemplateContentResponse.php | 2 +- .../Model/ResponseOfEmailTemplateResponse.php | 2 +- .../ResponseOfEmailTemplateUsedByResponse.php | 2 +- .../ResponseOfFieldsMetaDataResponse.php | 2 +- src/Asset/Model/ResponseOfFileResponse.php | 2 +- .../Model/ResponseOfFolderContentResponse.php | 2 +- src/Asset/Model/ResponseOfFolderResponse.php | 2 +- .../ResponseOfFormVisibilityRuleResponse.php | 2 +- .../ResponseOfGetEmailFullContentResponse.php | 2 +- src/Asset/Model/ResponseOfIdResponse.php | 2 +- .../ResponseOfLandingPageContentResponse.php | 2 +- .../Model/ResponseOfLandingPageDomains.php | 2 +- ...nseOfLandingPageDynamicContentResponse.php | 2 +- .../ResponseOfLandingPageRedirectRules.php | 2 +- .../Model/ResponseOfLandingPageResponse.php | 2 +- .../ResponseOfLandingPageVariableResponse.php | 2 +- .../Model/ResponseOfLpFormFieldResponse.php | 2 +- src/Asset/Model/ResponseOfLpFormResponse.php | 2 +- ...ResponseOfLpTemplateGetContentResponse.php | 2 +- .../Model/ResponseOfLpTemplateResponse.php | 2 +- src/Asset/Model/ResponseOfProgramResponse.php | 2 +- .../Model/ResponseOfSegmentationResponse.php | 2 +- .../Model/ResponseOfSegmentsResponse.php | 2 +- .../Model/ResponseOfSmartCampaignResponse.php | 2 +- .../Model/ResponseOfSmartListResponse.php | 2 +- .../ResponseOfSmartListResponseWithRules.php | 2 +- .../ResponseOfSnippetContentResponse.php | 2 +- src/Asset/Model/ResponseOfSnippetResponse.php | 2 +- .../Model/ResponseOfStaticListResponse.php | 2 +- src/Asset/Model/ResponseOfTagResponse.php | 2 +- .../Model/ResponseOfTagResponseGetAll.php | 2 +- .../Model/ResponseOfThankYouPageResponse.php | 2 +- src/Asset/Model/ResponseOfTokenResponse.php | 2 +- ...sponseOfUpdateEmailFullContentResponse.php | 2 +- src/Asset/Model/ResponseOfobject.php | 2 +- src/Asset/Model/SegmentContent.php | 2 +- src/Asset/Model/SegmentationResponse.php | 4 +- src/Asset/Model/SegmentsResponse.php | 2 +- src/Asset/Model/SendSampleEmailRequest.php | 2 +- src/Asset/Model/SmartCampaignResponse.php | 6 +- src/Asset/Model/SmartListConditions.php | 2 +- src/Asset/Model/SmartListFilters.php | 2 +- src/Asset/Model/SmartListResponse.php | 4 +- .../Model/SmartListResponseWithRules.php | 6 +- src/Asset/Model/SmartListRules.php | 2 +- src/Asset/Model/SnippetContentResponse.php | 2 +- src/Asset/Model/SnippetResponse.php | 4 +- src/Asset/Model/StaticListResponse.php | 4 +- src/Asset/Model/SubmitButtonRequest.php | 2 +- src/Asset/Model/TagRequest.php | 2 +- src/Asset/Model/TagResponse.php | 2 +- src/Asset/Model/TagResponseGetAll.php | 2 +- src/Asset/Model/Tags.php | 2 +- src/Asset/Model/ThankYouPageRequest.php | 2 +- src/Asset/Model/ThankYouPageResponse.php | 2 +- src/Asset/Model/TokenDTO.php | 2 +- src/Asset/Model/TokenResponse.php | 2 +- .../UpdateEmailComponentContentRequest.php | 2 +- .../Model/UpdateEmailComponentDataRequest.php | 10 +- .../UpdateEmailDynamicContentRequest.php | 2 +- .../Model/UpdateEmailFullContentRequest.php | 2 +- .../Model/UpdateEmailFullContentResponse.php | 2 +- .../Model/UpdateEmailMetaDataRequest.php | 2 +- .../UpdateEmailTemplateContentRequest.php | 2 +- .../UpdateEmailTemplateMetaDataRequest.php | 2 +- src/Asset/Model/UpdateFieldPosition.php | 2 +- src/Asset/Model/UpdateFileContentRequest.php | 2 +- src/Asset/Model/UpdateFolderRequest.php | 2 +- src/Asset/Model/UpdateFormFieldRequest.php | 2 +- src/Asset/Model/UpdateFormMetaDataRequest.php | 4 +- .../Model/UpdateLandingPageContentRequest.php | 2 +- ...UpdateLandingPageDynamicContentRequest.php | 2 +- .../UpdateLandingPageRedirectRuleRequest.php | 6 +- src/Asset/Model/UpdateLandingPageRequest.php | 2 +- src/Asset/Model/UpdateLpTemplateRequest.php | 2 +- src/Asset/Model/UpdateProgramRequest.php | 2 +- .../Model/UpdateSmartCampaignRequest.php | 2 +- .../UpdateSnippetDynamicContentRequest.php | 2 +- src/Asset/Model/UpdateSnippetRequest.php | 2 +- src/Asset/Model/UpdateStaticListRequest.php | 2 +- src/Asset/Model/UpdateThankYouPageRequest.php | 2 +- src/Asset/Model/UpdateVariableRequest.php | 2 +- src/Asset/Model/VisibilityRuleRequest.php | 2 +- src/Asset/ObjectSerializer.php | 2 +- src/Identity/Api/IdentityApi.php | 4 +- src/Identity/ApiException.php | 2 +- src/Identity/Configuration.php | 2 +- src/Identity/HeaderSelector.php | 2 +- src/Identity/Model/ModelInterface.php | 2 +- src/Identity/Model/ResponseOfIdentity.php | 72 +- src/Identity/ObjectSerializer.php | 2 +- src/Lead/Api/ActivitiesApi.php | 22 +- src/Lead/Api/BulkExportActivitiesApi.php | 12 +- src/Lead/Api/BulkExportLeadsApi.php | 12 +- src/Lead/Api/BulkExportProgramMembersApi.php | 12 +- src/Lead/Api/BulkImportCustomObjectsApi.php | 8 +- src/Lead/Api/BulkImportLeadsApi.php | 8 +- src/Lead/Api/BulkImportProgramMembersApi.php | 8 +- src/Lead/Api/CampaignsApi.php | 6 +- src/Lead/Api/CompaniesApi.php | 6 +- src/Lead/Api/CustomObjectsApi.php | 52 +- src/Lead/Api/LeadsApi.php | 54 +- src/Lead/Api/NamedAccountListsApi.php | 6 +- src/Lead/Api/NamedAccountsApi.php | 82 +- src/Lead/Api/OpportunitiesApi.php | 70 +- src/Lead/Api/SalesPersonsApi.php | 6 +- src/Lead/Api/StaticListsApi.php | 106 +-- src/Lead/Api/UsageApi.php | 10 +- src/Lead/ApiException.php | 2 +- src/Lead/Configuration.php | 2 +- src/Lead/HeaderSelector.php | 2 +- src/Lead/Model/Activity.php | 2 +- src/Lead/Model/ActivityType.php | 4 +- src/Lead/Model/ActivityTypeAttribute.php | 2 +- src/Lead/Model/AddCustomObjectTypeField.php | 4 +- .../AddCustomObjectTypeFieldsRequest.php | 2 +- .../AddNamedAccountListMemberRequest.php | 2 +- src/Lead/Model/Attribute.php | 2 +- src/Lead/Model/Campaign.php | 2 +- .../ChangeLeadProgramStatusOutputData.php | 2 +- .../Model/ChangeLeadProgramStatusRequest.php | 2 +- src/Lead/Model/ColumnHeaderNames.php | 2 +- src/Lead/Model/Company.php | 2 +- src/Lead/Model/CustomActivity.php | 2 +- src/Lead/Model/CustomActivityRequest.php | 2 +- src/Lead/Model/CustomActivityType.php | 4 +- .../Model/CustomActivityTypeAttribute.php | 2 +- .../CustomActivityTypeAttributeRequest.php | 2 +- src/Lead/Model/CustomActivityTypeRequest.php | 4 +- src/Lead/Model/CustomObject.php | 2 +- .../Model/CustomObjectTypeFieldRelatedTo.php | 2 +- src/Lead/Model/DateRange.php | 2 +- src/Lead/Model/DeleteCompanyRequest.php | 2 +- src/Lead/Model/DeleteCustomObjectRequest.php | 2 +- .../Model/DeleteCustomObjectTypeField.php | 2 +- .../DeleteCustomObjectTypeFieldsRequest.php | 2 +- src/Lead/Model/DeleteLeadRequest.php | 2 +- .../Model/DeleteNamedAccountListRequest.php | 2 +- src/Lead/Model/DeleteNamedAccountRequest.php | 2 +- src/Lead/Model/DeleteSalesPersonRequest.php | 2 +- src/Lead/Model/Error.php | 2 +- src/Lead/Model/ErrorCount.php | 2 +- src/Lead/Model/ExportActivityFilter.php | 4 +- src/Lead/Model/ExportActivityRequest.php | 6 +- src/Lead/Model/ExportLeadFilter.php | 6 +- src/Lead/Model/ExportLeadRequest.php | 6 +- src/Lead/Model/ExportProgramMemberFilter.php | 2 +- src/Lead/Model/ExportProgramMemberRequest.php | 6 +- src/Lead/Model/ExportResponse.php | 2 +- src/Lead/Model/FileRange.php | 2 +- src/Lead/Model/ImportCustomObjectResponse.php | 2 +- src/Lead/Model/ImportLeadResponse.php | 2 +- .../Model/ImportProgramMemberResponse.php | 2 +- src/Lead/Model/InputLead.php | 2 +- src/Lead/Model/InputStream.php | 2 +- src/Lead/Model/InputStreamContent.php | 2 +- src/Lead/Model/InputStreamRangeContent.php | 2 +- src/Lead/Model/Lead.php | 6 +- src/Lead/Model/LeadAttribute.php | 6 +- src/Lead/Model/LeadAttribute2.php | 2 +- src/Lead/Model/LeadAttribute2Fields.php | 2 +- .../Model/LeadAttribute2SearchableFields.php | 282 ------ src/Lead/Model/LeadChange.php | 2 +- src/Lead/Model/LeadChangeField.php | 2 +- src/Lead/Model/LeadInputData.php | 2 +- src/Lead/Model/LeadLookupInputData.php | 2 +- src/Lead/Model/LeadMapAttribute.php | 2 +- src/Lead/Model/LeadPartition.php | 2 +- src/Lead/Model/ListOperationOutputData.php | 2 +- src/Lead/Model/ListOperationRequest.php | 2 +- src/Lead/Model/LookupCustomObjectRequest.php | 2 +- src/Lead/Model/ModelEmpty.php | 2 +- src/Lead/Model/ModelInterface.php | 2 +- src/Lead/Model/ModelList.php | 2 +- src/Lead/Model/NamedAccount.php | 2 +- src/Lead/Model/NamedAccountList.php | 2 +- src/Lead/Model/ObjectField.php | 2 +- src/Lead/Model/ObjectLinkableObject.php | 2 +- src/Lead/Model/ObjectLinkableObjectField.php | 2 +- src/Lead/Model/ObjectMetaData.php | 2 +- src/Lead/Model/ObjectRelation.php | 4 +- .../Model/ObservableOfInputStreamContent.php | 2 +- .../ObservableOfInputStreamRangeContent.php | 2 +- src/Lead/Model/Program.php | 2 +- src/Lead/Model/ProgramMemberAttribute.php | 2 +- src/Lead/Model/ProgramMembership.php | 2 +- src/Lead/Model/PushLeadToMarketoRequest.php | 2 +- src/Lead/Model/Reason.php | 2 +- src/Lead/Model/RelatedObject.php | 2 +- .../RemoveNamedAccountListMemberRequest.php | 2 +- src/Lead/Model/ResponseOfActivity.php | 2 +- src/Lead/Model/ResponseOfActivityType.php | 2 +- src/Lead/Model/ResponseOfCampaign.php | 2 +- ...nseOfChangeLeadProgramStatusOutputData.php | 2 +- src/Lead/Model/ResponseOfCompany.php | 2 +- src/Lead/Model/ResponseOfCustomActivity.php | 2 +- .../Model/ResponseOfCustomActivityType.php | 2 +- src/Lead/Model/ResponseOfCustomObject.php | 2 +- src/Lead/Model/ResponseOfCustomObjectType.php | 2 +- ...sponseOfCustomObjectTypeFieldDataTypes.php | 2 +- src/Lead/Model/ResponseOfExportResponse.php | 2 +- .../ResponseOfExportResponseWithToken.php | 2 +- .../ResponseOfImportCustomObjectResponse.php | 2 +- .../Model/ResponseOfImportLeadResponse.php | 2 +- .../ResponseOfImportProgramMemberResponse.php | 2 +- src/Lead/Model/ResponseOfLead.php | 2 +- src/Lead/Model/ResponseOfLeadAttribute.php | 2 +- src/Lead/Model/ResponseOfLeadAttribute2.php | 2 +- src/Lead/Model/ResponseOfLeadChange.php | 2 +- src/Lead/Model/ResponseOfLeadPartition.php | 2 +- .../ResponseOfListOperationOutputData.php | 2 +- src/Lead/Model/ResponseOfLists.php | 2 +- src/Lead/Model/ResponseOfNamedAccount.php | 2 +- src/Lead/Model/ResponseOfNamedAccountList.php | 2 +- .../Model/ResponseOfObjectLinkableObject.php | 2 +- src/Lead/Model/ResponseOfObjectMetaData.php | 2 +- .../ResponseOfProgramMemberAttributes.php | 2 +- src/Lead/Model/ResponseOfPrograms.php | 2 +- .../Model/ResponseOfPushLeadToMarketo.php | 2 +- src/Lead/Model/ResponseOfSalesPerson.php | 2 +- src/Lead/Model/ResponseOfSmartCampaigns.php | 2 +- src/Lead/Model/ResponseOfStaticList.php | 2 +- src/Lead/Model/ResponseOfUsageData.php | 2 +- src/Lead/Model/ResponseOfVoid.php | 2 +- src/Lead/Model/ResponseWithoutResult.php | 2 +- src/Lead/Model/SalesPerson.php | 2 +- src/Lead/Model/ScheduleCampaignData.php | 2 +- src/Lead/Model/ScheduleCampaignRequest.php | 2 +- src/Lead/Model/SmartCampaign.php | 2 +- src/Lead/Model/StaticList.php | 2 +- src/Lead/Model/SyncCompanyRequest.php | 2 +- src/Lead/Model/SyncCustomObjectRequest.php | 2 +- .../Model/SyncCustomObjectTypeRequest.php | 2 +- src/Lead/Model/SyncLeadRequest.php | 2 +- .../Model/SyncNamedAccountListRequest.php | 2 +- src/Lead/Model/SyncNamedAccountRequest.php | 2 +- src/Lead/Model/SyncSalesPersonRequest.php | 2 +- src/Lead/Model/Token.php | 2 +- src/Lead/Model/TriggerCampaignData.php | 2 +- src/Lead/Model/TriggerCampaignRequest.php | 4 +- .../UpdateCustomObjectTypeFieldRequest.php | 4 +- src/Lead/Model/UpdateLeadPartition.php | 2 +- src/Lead/Model/UpdateLeadPartitionRequest.php | 2 +- src/Lead/Model/UsageData.php | 2 +- src/Lead/Model/UserCount.php | 2 +- src/Lead/Model/Warning.php | 2 +- src/Lead/ObjectSerializer.php | 2 +- tests/Asset/Api/ChannelsApiTest.php | 2 +- tests/Asset/Api/EmailTemplatesApiTest.php | 2 +- tests/Asset/Api/EmailsApiTest.php | 2 +- tests/Asset/Api/FileContentsApiTest.php | 2 +- tests/Asset/Api/FilesApiTest.php | 2 +- tests/Asset/Api/FoldersApiTest.php | 2 +- tests/Asset/Api/FormFieldsApiTest.php | 2 +- tests/Asset/Api/FormsApiTest.php | 2 +- tests/Asset/Api/LandingPageContentApiTest.php | 2 +- .../Api/LandingPageRedirectRulesApiTest.php | 2 +- .../Asset/Api/LandingPageTemplatesApiTest.php | 2 +- tests/Asset/Api/LandingPagesApiTest.php | 2 +- tests/Asset/Api/ProgramsApiTest.php | 2 +- tests/Asset/Api/SegmentsApiTest.php | 2 +- tests/Asset/Api/SmartCampaignsApiTest.php | 2 +- tests/Asset/Api/SmartListsApiTest.php | 2 +- tests/Asset/Api/SnippetsApiTest.php | 2 +- tests/Asset/Api/StaticListsApiTest.php | 2 +- tests/Asset/Api/TagsApiTest.php | 2 +- tests/Asset/Api/TokensApiTest.php | 2 +- tests/Asset/Model/AddFormFieldRequestTest.php | 2 +- .../Model/AddFormFieldSetRequestTest.php | 2 +- .../AddFormFieldVisibilityRequestTest.php | 2 +- tests/Asset/Model/AddRichTextRequestTest.php | 2 +- tests/Asset/Model/BrowseAllProgramsTest.php | 2 +- tests/Asset/Model/ChannelProgressionTest.php | 2 +- tests/Asset/Model/ChannelResponseTest.php | 2 +- tests/Asset/Model/CloneEmailRequestTest.php | 2 +- .../Model/CloneEmailTemplateRequestTest.php | 2 +- tests/Asset/Model/CloneFormRequestTest.php | 2 +- .../Model/CloneLandingPageRequestTest.php | 2 +- .../Model/CloneLpTemplateRequestTest.php | 2 +- tests/Asset/Model/CloneProgramRequestTest.php | 2 +- .../Model/CloneSmartCampaignRequestTest.php | 2 +- .../Asset/Model/CloneSmartListRequestTest.php | 2 +- tests/Asset/Model/CloneSnippetRequestTest.php | 2 +- tests/Asset/Model/CostRequestTest.php | 2 +- tests/Asset/Model/CostsTest.php | 2 +- tests/Asset/Model/CreateEmailRequestTest.php | 2 +- .../Model/CreateEmailTemplateRequestTest.php | 2 +- tests/Asset/Model/CreateFileRequestTest.php | 2 +- tests/Asset/Model/CreateFolderRequestTest.php | 2 +- .../CreateLandingPageContentRequestTest.php | 2 +- ...eateLandingPageRedirectRuleRequestTest.php | 2 +- .../Model/CreateLandingPageRequestTest.php | 2 +- tests/Asset/Model/CreateLpFormRequestTest.php | 2 +- .../Model/CreateLpTemplateRequestTest.php | 2 +- .../Asset/Model/CreateProgramRequestTest.php | 2 +- .../Model/CreateSmartCampaignRequestTest.php | 2 +- .../Asset/Model/CreateSnippetRequestTest.php | 2 +- .../Model/CreateStaticListRequestTest.php | 2 +- tests/Asset/Model/CreateTokenRequestTest.php | 2 +- tests/Asset/Model/DeleteTokenRequestTest.php | 2 +- .../Asset/Model/EmailContentResponseTest.php | 2 +- .../Model/EmailDynamicContentItemTest.php | 2 +- .../Model/EmailDynamicContentResponseTest.php | 2 +- .../Asset/Model/EmailHeaderTypeValueTest.php | 2 +- .../Asset/Model/EmailResponseCCFieldsTest.php | 2 +- tests/Asset/Model/EmailResponseTest.php | 2 +- .../EmailTemplateContentResponseTest.php | 2 +- .../Asset/Model/EmailTemplateResponseTest.php | 2 +- .../Model/EmailTemplateUsedByResponseTest.php | 2 +- tests/Asset/Model/ErrorTest.php | 2 +- .../Model/FieldsMetaDataResponseTest.php | 2 +- tests/Asset/Model/FileFolderTest.php | 2 +- tests/Asset/Model/FileResponseTest.php | 2 +- .../Asset/Model/FolderContentResponseTest.php | 2 +- tests/Asset/Model/FolderResponseTest.php | 2 +- tests/Asset/Model/FolderTest.php | 2 +- .../Model/FormFieldVisibilityRequestTest.php | 2 +- .../FormFieldVisibilityRuleResponseTest.php | 2 +- tests/Asset/Model/FormKnownVisitorDTOTest.php | 2 +- tests/Asset/Model/FormThankYouPageDTOTest.php | 2 +- .../Asset/Model/FormVisibilityRuleDTOTest.php | 2 +- .../Model/FormVisibilityRuleResponseTest.php | 2 +- .../Model/GetEmailFullContentResponseTest.php | 2 +- tests/Asset/Model/GetFilesRequestTest.php | 2 +- tests/Asset/Model/IdResponseTest.php | 2 +- tests/Asset/Model/JsonNodeTest.php | 2 +- .../Model/LandingPageContentResponseTest.php | 2 +- tests/Asset/Model/LandingPageDomainTest.php | 2 +- .../LandingPageDynamicContentResponseTest.php | 2 +- .../Model/LandingPageRedirectRuleTest.php | 2 +- tests/Asset/Model/LandingPageResponseTest.php | 2 +- .../Model/LandingPageVariableResponseTest.php | 2 +- tests/Asset/Model/LpFormFieldResponseTest.php | 2 +- tests/Asset/Model/LpFormResponseTest.php | 2 +- .../LpTemplateGetContentResponseTest.php | 2 +- tests/Asset/Model/LpTemplateResponseTest.php | 2 +- tests/Asset/Model/ModelResponseTest.php | 2 +- tests/Asset/Model/MultipartFileTest.php | 2 +- tests/Asset/Model/PickListDTOTest.php | 2 +- tests/Asset/Model/ProgramResponseTest.php | 2 +- tests/Asset/Model/ReArrangeRequestTest.php | 2 +- tests/Asset/Model/RecurrenceTest.php | 2 +- tests/Asset/Model/RedirectFromTest.php | 2 +- tests/Asset/Model/RedirectToTest.php | 2 +- .../Model/ResponseOfBrowseAllProgramsTest.php | 2 +- .../Model/ResponseOfChannelResponseTest.php | 2 +- .../ResponseOfEmailCCFieldsResponseTest.php | 2 +- .../ResponseOfEmailContentResponseTest.php | 2 +- ...ponseOfEmailDynamicContentResponseTest.php | 2 +- .../Model/ResponseOfEmailResponseTest.php | 2 +- ...onseOfEmailTemplateContentResponseTest.php | 2 +- .../ResponseOfEmailTemplateResponseTest.php | 2 +- ...ponseOfEmailTemplateUsedByResponseTest.php | 2 +- .../ResponseOfFieldsMetaDataResponseTest.php | 2 +- .../Model/ResponseOfFileResponseTest.php | 2 +- .../ResponseOfFolderContentResponseTest.php | 2 +- .../Model/ResponseOfFolderResponseTest.php | 2 +- ...sponseOfFormVisibilityRuleResponseTest.php | 2 +- ...ponseOfGetEmailFullContentResponseTest.php | 2 +- .../Asset/Model/ResponseOfIdResponseTest.php | 2 +- ...sponseOfLandingPageContentResponseTest.php | 2 +- .../ResponseOfLandingPageDomainsTest.php | 2 +- ...fLandingPageDynamicContentResponseTest.php | 2 +- ...ResponseOfLandingPageRedirectRulesTest.php | 2 +- .../ResponseOfLandingPageResponseTest.php | 2 +- ...ponseOfLandingPageVariableResponseTest.php | 2 +- .../ResponseOfLpFormFieldResponseTest.php | 2 +- .../Model/ResponseOfLpFormResponseTest.php | 2 +- ...onseOfLpTemplateGetContentResponseTest.php | 2 +- .../ResponseOfLpTemplateResponseTest.php | 2 +- .../Model/ResponseOfProgramResponseTest.php | 2 +- .../ResponseOfSegmentationResponseTest.php | 2 +- .../Model/ResponseOfSegmentsResponseTest.php | 2 +- .../ResponseOfSmartCampaignResponseTest.php | 2 +- .../Model/ResponseOfSmartListResponseTest.php | 2 +- ...sponseOfSmartListResponseWithRulesTest.php | 2 +- .../ResponseOfSnippetContentResponseTest.php | 2 +- .../Model/ResponseOfSnippetResponseTest.php | 2 +- .../ResponseOfStaticListResponseTest.php | 2 +- .../Model/ResponseOfTagResponseGetAllTest.php | 2 +- .../Asset/Model/ResponseOfTagResponseTest.php | 2 +- .../ResponseOfThankYouPageResponseTest.php | 2 +- .../Model/ResponseOfTokenResponseTest.php | 2 +- ...seOfUpdateEmailFullContentResponseTest.php | 2 +- tests/Asset/Model/ResponseOfobjectTest.php | 2 +- tests/Asset/Model/SegmentContentTest.php | 2 +- .../Asset/Model/SegmentationResponseTest.php | 2 +- tests/Asset/Model/SegmentsResponseTest.php | 2 +- .../Model/SendSampleEmailRequestTest.php | 2 +- .../Asset/Model/SmartCampaignResponseTest.php | 2 +- tests/Asset/Model/SmartListConditionsTest.php | 2 +- tests/Asset/Model/SmartListFiltersTest.php | 2 +- tests/Asset/Model/SmartListResponseTest.php | 2 +- .../Model/SmartListResponseWithRulesTest.php | 2 +- tests/Asset/Model/SmartListRulesTest.php | 2 +- .../Model/SnippetContentResponseTest.php | 2 +- tests/Asset/Model/SnippetResponseTest.php | 2 +- tests/Asset/Model/StaticListResponseTest.php | 2 +- tests/Asset/Model/SubmitButtonRequestTest.php | 2 +- tests/Asset/Model/TagRequestTest.php | 2 +- tests/Asset/Model/TagResponseGetAllTest.php | 2 +- tests/Asset/Model/TagResponseTest.php | 2 +- tests/Asset/Model/TagsTest.php | 2 +- tests/Asset/Model/ThankYouPageRequestTest.php | 2 +- .../Asset/Model/ThankYouPageResponseTest.php | 2 +- tests/Asset/Model/TokenDTOTest.php | 2 +- tests/Asset/Model/TokenResponseTest.php | 2 +- ...UpdateEmailComponentContentRequestTest.php | 2 +- .../UpdateEmailComponentDataRequestTest.php | 2 +- .../UpdateEmailDynamicContentRequestTest.php | 2 +- .../UpdateEmailFullContentRequestTest.php | 2 +- .../UpdateEmailFullContentResponseTest.php | 2 +- .../Model/UpdateEmailMetaDataRequestTest.php | 2 +- .../UpdateEmailTemplateContentRequestTest.php | 2 +- ...UpdateEmailTemplateMetaDataRequestTest.php | 2 +- tests/Asset/Model/UpdateFieldPositionTest.php | 2 +- .../Model/UpdateFileContentRequestTest.php | 2 +- tests/Asset/Model/UpdateFolderRequestTest.php | 2 +- .../Model/UpdateFormFieldRequestTest.php | 2 +- .../Model/UpdateFormMetaDataRequestTest.php | 2 +- .../UpdateLandingPageContentRequestTest.php | 2 +- ...teLandingPageDynamicContentRequestTest.php | 2 +- ...dateLandingPageRedirectRuleRequestTest.php | 2 +- .../Model/UpdateLandingPageRequestTest.php | 2 +- .../Model/UpdateLpTemplateRequestTest.php | 2 +- .../Asset/Model/UpdateProgramRequestTest.php | 2 +- .../Model/UpdateSmartCampaignRequestTest.php | 2 +- ...UpdateSnippetDynamicContentRequestTest.php | 2 +- .../Asset/Model/UpdateSnippetRequestTest.php | 2 +- .../Model/UpdateStaticListRequestTest.php | 2 +- .../Model/UpdateThankYouPageRequestTest.php | 2 +- .../Asset/Model/UpdateVariableRequestTest.php | 2 +- .../Asset/Model/VisibilityRuleRequestTest.php | 2 +- tests/Identity/Api/IdentityApiTest.php | 2 +- .../Identity/Model/ResponseOfIdentityTest.php | 10 +- tests/Lead/Api/ActivitiesApiTest.php | 2 +- .../Lead/Api/BulkExportActivitiesApiTest.php | 2 +- tests/Lead/Api/BulkExportLeadsApiTest.php | 2 +- .../Api/BulkExportProgramMembersApiTest.php | 2 +- .../Api/BulkImportCustomObjectsApiTest.php | 2 +- tests/Lead/Api/BulkImportLeadsApiTest.php | 2 +- .../Api/BulkImportProgramMembersApiTest.php | 2 +- tests/Lead/Api/CampaignsApiTest.php | 2 +- tests/Lead/Api/CompaniesApiTest.php | 2 +- tests/Lead/Api/CustomObjectsApiTest.php | 2 +- tests/Lead/Api/LeadsApiTest.php | 2 +- tests/Lead/Api/NamedAccountListsApiTest.php | 2 +- tests/Lead/Api/NamedAccountsApiTest.php | 2 +- tests/Lead/Api/OpportunitiesApiTest.php | 2 +- tests/Lead/Api/SalesPersonsApiTest.php | 2 +- tests/Lead/Api/StaticListsApiTest.php | 2 +- tests/Lead/Api/UsageApiTest.php | 2 +- tests/Lead/Model/ActivityTest.php | 2 +- .../Lead/Model/ActivityTypeAttributeTest.php | 2 +- tests/Lead/Model/ActivityTypeTest.php | 2 +- .../Model/AddCustomObjectTypeFieldTest.php | 2 +- .../AddCustomObjectTypeFieldsRequestTest.php | 2 +- .../AddNamedAccountListMemberRequestTest.php | 2 +- tests/Lead/Model/AttributeTest.php | 2 +- tests/Lead/Model/CampaignTest.php | 2 +- .../ChangeLeadProgramStatusOutputDataTest.php | 2 +- .../ChangeLeadProgramStatusRequestTest.php | 2 +- tests/Lead/Model/ColumnHeaderNamesTest.php | 2 +- tests/Lead/Model/CompanyTest.php | 2 +- .../Lead/Model/CustomActivityRequestTest.php | 2 +- tests/Lead/Model/CustomActivityTest.php | 2 +- ...CustomActivityTypeAttributeRequestTest.php | 2 +- .../Model/CustomActivityTypeAttributeTest.php | 2 +- .../Model/CustomActivityTypeRequestTest.php | 2 +- tests/Lead/Model/CustomActivityTypeTest.php | 2 +- tests/Lead/Model/CustomObjectTest.php | 2 +- .../CustomObjectTypeFieldRelatedToTest.php | 2 +- tests/Lead/Model/DateRangeTest.php | 2 +- tests/Lead/Model/DeleteCompanyRequestTest.php | 2 +- .../Model/DeleteCustomObjectRequestTest.php | 2 +- .../Model/DeleteCustomObjectTypeFieldTest.php | 2 +- ...eleteCustomObjectTypeFieldsRequestTest.php | 2 +- tests/Lead/Model/DeleteLeadRequestTest.php | 2 +- .../DeleteNamedAccountListRequestTest.php | 2 +- .../Model/DeleteNamedAccountRequestTest.php | 2 +- .../Model/DeleteSalesPersonRequestTest.php | 2 +- tests/Lead/Model/ErrorCountTest.php | 2 +- tests/Lead/Model/ErrorTest.php | 2 +- tests/Lead/Model/ExportActivityFilterTest.php | 2 +- .../Lead/Model/ExportActivityRequestTest.php | 2 +- tests/Lead/Model/ExportLeadFilterTest.php | 2 +- tests/Lead/Model/ExportLeadRequestTest.php | 2 +- .../Model/ExportProgramMemberFilterTest.php | 2 +- .../Model/ExportProgramMemberRequestTest.php | 2 +- tests/Lead/Model/ExportResponseTest.php | 2 +- tests/Lead/Model/FileRangeTest.php | 2 +- .../Model/ImportCustomObjectResponseTest.php | 2 +- tests/Lead/Model/ImportLeadResponseTest.php | 2 +- .../Model/ImportProgramMemberResponseTest.php | 2 +- tests/Lead/Model/InputLeadTest.php | 2 +- tests/Lead/Model/InputStreamContentTest.php | 2 +- .../Model/InputStreamRangeContentTest.php | 2 +- tests/Lead/Model/InputStreamTest.php | 2 +- tests/Lead/Model/LeadAttribute2FieldsTest.php | 2 +- .../LeadAttribute2SearchableFieldsTest.php | 55 -- tests/Lead/Model/LeadAttribute2Test.php | 2 +- tests/Lead/Model/LeadAttributeTest.php | 2 +- tests/Lead/Model/LeadChangeFieldTest.php | 2 +- tests/Lead/Model/LeadChangeTest.php | 2 +- tests/Lead/Model/LeadInputDataTest.php | 2 +- tests/Lead/Model/LeadLookupInputDataTest.php | 2 +- tests/Lead/Model/LeadMapAttributeTest.php | 2 +- tests/Lead/Model/LeadPartitionTest.php | 2 +- tests/Lead/Model/LeadTest.php | 2 +- .../Model/ListOperationOutputDataTest.php | 2 +- tests/Lead/Model/ListOperationRequestTest.php | 2 +- .../Model/LookupCustomObjectRequestTest.php | 2 +- tests/Lead/Model/ModelEmptyTest.php | 2 +- tests/Lead/Model/ModelListTest.php | 2 +- tests/Lead/Model/NamedAccountListTest.php | 2 +- tests/Lead/Model/NamedAccountTest.php | 2 +- tests/Lead/Model/ObjectFieldTest.php | 2 +- .../Model/ObjectLinkableObjectFieldTest.php | 2 +- tests/Lead/Model/ObjectLinkableObjectTest.php | 2 +- tests/Lead/Model/ObjectMetaDataTest.php | 2 +- tests/Lead/Model/ObjectRelationTest.php | 2 +- .../ObservableOfInputStreamContentTest.php | 2 +- ...bservableOfInputStreamRangeContentTest.php | 2 +- .../Lead/Model/ProgramMemberAttributeTest.php | 2 +- tests/Lead/Model/ProgramMembershipTest.php | 2 +- tests/Lead/Model/ProgramTest.php | 2 +- .../Model/PushLeadToMarketoRequestTest.php | 2 +- tests/Lead/Model/ReasonTest.php | 2 +- tests/Lead/Model/RelatedObjectTest.php | 2 +- ...emoveNamedAccountListMemberRequestTest.php | 2 +- tests/Lead/Model/ResponseOfActivityTest.php | 2 +- .../Lead/Model/ResponseOfActivityTypeTest.php | 2 +- tests/Lead/Model/ResponseOfCampaignTest.php | 2 +- ...fChangeLeadProgramStatusOutputDataTest.php | 2 +- tests/Lead/Model/ResponseOfCompanyTest.php | 2 +- .../Model/ResponseOfCustomActivityTest.php | 2 +- .../ResponseOfCustomActivityTypeTest.php | 2 +- .../Lead/Model/ResponseOfCustomObjectTest.php | 2 +- ...seOfCustomObjectTypeFieldDataTypesTest.php | 2 +- .../Model/ResponseOfCustomObjectTypeTest.php | 2 +- .../Model/ResponseOfExportResponseTest.php | 2 +- .../ResponseOfExportResponseWithTokenTest.php | 2 +- ...sponseOfImportCustomObjectResponseTest.php | 2 +- .../ResponseOfImportLeadResponseTest.php | 2 +- ...ponseOfImportProgramMemberResponseTest.php | 2 +- .../Model/ResponseOfLeadAttribute2Test.php | 2 +- .../Model/ResponseOfLeadAttributeTest.php | 2 +- tests/Lead/Model/ResponseOfLeadChangeTest.php | 2 +- .../Model/ResponseOfLeadPartitionTest.php | 2 +- tests/Lead/Model/ResponseOfLeadTest.php | 2 +- .../ResponseOfListOperationOutputDataTest.php | 2 +- tests/Lead/Model/ResponseOfListsTest.php | 2 +- .../Model/ResponseOfNamedAccountListTest.php | 2 +- .../Lead/Model/ResponseOfNamedAccountTest.php | 2 +- .../ResponseOfObjectLinkableObjectTest.php | 2 +- .../Model/ResponseOfObjectMetaDataTest.php | 2 +- .../ResponseOfProgramMemberAttributesTest.php | 2 +- tests/Lead/Model/ResponseOfProgramsTest.php | 2 +- .../Model/ResponseOfPushLeadToMarketoTest.php | 2 +- .../Lead/Model/ResponseOfSalesPersonTest.php | 2 +- .../Model/ResponseOfSmartCampaignsTest.php | 2 +- tests/Lead/Model/ResponseOfStaticListTest.php | 2 +- tests/Lead/Model/ResponseOfUsageDataTest.php | 2 +- tests/Lead/Model/ResponseOfVoidTest.php | 2 +- .../Lead/Model/ResponseWithoutResultTest.php | 2 +- tests/Lead/Model/SalesPersonTest.php | 2 +- tests/Lead/Model/ScheduleCampaignDataTest.php | 2 +- .../Model/ScheduleCampaignRequestTest.php | 2 +- tests/Lead/Model/SmartCampaignTest.php | 2 +- tests/Lead/Model/StaticListTest.php | 2 +- tests/Lead/Model/SyncCompanyRequestTest.php | 2 +- .../Model/SyncCustomObjectRequestTest.php | 2 +- .../Model/SyncCustomObjectTypeRequestTest.php | 2 +- tests/Lead/Model/SyncLeadRequestTest.php | 2 +- .../Model/SyncNamedAccountListRequestTest.php | 2 +- .../Model/SyncNamedAccountRequestTest.php | 2 +- .../Lead/Model/SyncSalesPersonRequestTest.php | 2 +- tests/Lead/Model/TokenTest.php | 2 +- tests/Lead/Model/TriggerCampaignDataTest.php | 2 +- .../Lead/Model/TriggerCampaignRequestTest.php | 2 +- ...UpdateCustomObjectTypeFieldRequestTest.php | 2 +- .../Model/UpdateLeadPartitionRequestTest.php | 2 +- tests/Lead/Model/UpdateLeadPartitionTest.php | 2 +- tests/Lead/Model/UsageDataTest.php | 2 +- tests/Lead/Model/UserCountTest.php | 2 +- tests/Lead/Model/WarningTest.php | 2 +- 797 files changed, 5877 insertions(+), 3370 deletions(-) delete mode 100644 docs/Lead/Model/LeadAttribute2SearchableFields.md delete mode 100644 src/Lead/Model/LeadAttribute2SearchableFields.php delete mode 100644 tests/Lead/Model/LeadAttribute2SearchableFieldsTest.php diff --git a/build_swagger.sh b/build_swagger.sh index 3dc8c876..9529d5ee 100755 --- a/build_swagger.sh +++ b/build_swagger.sh @@ -8,25 +8,25 @@ MakeSwagger() { sudo find .build/ -mindepth 1 -not -name .gitignore -delete # Use docker to run the swagger codegen tool. - docker run --rm -v ${PWD}:/local/ swaggerapi/swagger-codegen-cli generate \ - -i ${1} -l php -o /local/.build \ + docker run --rm -v ${PWD}:/local/ openapitools/openapi-generator-cli:v3.3.4 generate \ + -i ${1} -g php -o /local/.build \ -t /local/template/php/ \ - -DinvokerPackage=NecLimDul\\MarketoRest\\${2} + -D invokerPackage=NecLimDul\\MarketoRest\\${2} sudo chown ${USER}: .build/ -R mkdir -p docs/${2} rm -rf docs/${2}/Api docs/${2}/Model - mv .build/SwaggerClient-php/docs/* ./docs/${2}/ + mv .build/docs/* ./docs/${2}/ mkdir -p src/${2} rm -rf src/${2}/* - mv .build/SwaggerClient-php/lib/* ./src/${2}/ + mv .build/lib/* ./src/${2}/ # These are autogenerated tests. mkdir -p tests/${2}/* rm -rf tests/${2}/Api tests/${2}/Model - mv .build/SwaggerClient-php/test/* ./tests/${2}/ + mv .build/test/* ./tests/${2}/ find .build/ -mindepth 1 -not -name .gitignore -delete } diff --git a/docs/Asset/Api/ChannelsApi.md b/docs/Asset/Api/ChannelsApi.md index 829dc9d6..657643de 100644 --- a/docs/Asset/Api/ChannelsApi.md +++ b/docs/Asset/Api/ChannelsApi.md @@ -54,7 +54,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -76,7 +76,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\ChannelsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$name = "name_example"; // string | Name of channel to retrieve +$name = 'name_example'; // string | Name of channel to retrieve try { $result = $apiInstance->getChannelByNameUsingGET($name); @@ -103,7 +103,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/Asset/Api/EmailTemplatesApi.md b/docs/Asset/Api/EmailTemplatesApi.md index 4b424fbc..d4c290e1 100644 --- a/docs/Asset/Api/EmailTemplatesApi.md +++ b/docs/Asset/Api/EmailTemplatesApi.md @@ -63,13 +63,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **cloneTemplateUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailTemplateResponse cloneTemplateUsingPOST($id, $clone_email_template_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailTemplateResponse cloneTemplateUsingPOST($id, $folder, $name, $description) Clone Email Template @@ -86,10 +86,12 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailTemplatesApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$clone_email_template_request = new \NecLimDul\MarketoRest\Asset\Model\CloneEmailTemplateRequest(); // \NecLimDul\MarketoRest\Asset\Model\CloneEmailTemplateRequest | cloneEmailTemplateRequest +$folder = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$name = 'name_example'; // string | Name of the Email Template +$description = 'description_example'; // string | Description of the asset try { - $result = $apiInstance->cloneTemplateUsingPOST($id, $clone_email_template_request); + $result = $apiInstance->cloneTemplateUsingPOST($id, $folder, $name, $description); print_r($result); } catch (Exception $e) { echo 'Exception when calling EmailTemplatesApi->cloneTemplateUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -102,7 +104,9 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **clone_email_template_request** | [**\NecLimDul\MarketoRest\Asset\Model\CloneEmailTemplateRequest**](../Model/CloneEmailTemplateRequest.md)| cloneEmailTemplateRequest | + **folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **name** | **string**| Name of the Email Template | + **description** | **string**| Description of the asset | [optional] ### Return type @@ -120,7 +124,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createEmailTemplateUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailTemplateResponse createEmailTemplateUsingPOST($create_email_template_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailTemplateResponse createEmailTemplateUsingPOST($name, $folder, $content, $description) Create Email Template @@ -136,10 +140,13 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailTemplatesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$create_email_template_request = new \NecLimDul\MarketoRest\Asset\Model\CreateEmailTemplateRequest(); // \NecLimDul\MarketoRest\Asset\Model\CreateEmailTemplateRequest | createEmailTemplateRequest +$name = 'name_example'; // string | Name of the Email Template. Must be unique under the parent folder. +$folder = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$content = 'content_example'; // string | HTML content for template. Multipart file. +$description = 'description_example'; // string | Description of the email template try { - $result = $apiInstance->createEmailTemplateUsingPOST($create_email_template_request); + $result = $apiInstance->createEmailTemplateUsingPOST($name, $folder, $content, $description); print_r($result); } catch (Exception $e) { echo 'Exception when calling EmailTemplatesApi->createEmailTemplateUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -151,7 +158,10 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **create_email_template_request** | [**\NecLimDul\MarketoRest\Asset\Model\CreateEmailTemplateRequest**](../Model/CreateEmailTemplateRequest.md)| createEmailTemplateRequest | + **name** | **string**| Name of the Email Template. Must be unique under the parent folder. | + **folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **content** | **string**| HTML content for template. Multipart file. | + **description** | **string**| Description of the email template | [optional] ### Return type @@ -212,7 +222,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -261,7 +271,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -314,7 +324,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -338,7 +348,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailTemplatesApi( ); $offset = 56; // int | Integer offset for paging $max_return = 56; // int | Maximum number of channels to return. Max 200, default 20 -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions try { $result = $apiInstance->getEmailTemplatesUsingGET($offset, $max_return, $status); @@ -367,7 +377,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -390,7 +400,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailTemplatesApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions try { $result = $apiInstance->getTemplateByIdUsingGET($id, $status); @@ -418,7 +428,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -440,8 +450,8 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailTemplatesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$name = "name_example"; // string | name -$status = "status_example"; // string | Status filter for draft or approved versions +$name = 'name_example'; // string | name +$status = 'status_example'; // string | Status filter for draft or approved versions try { $result = $apiInstance->getTemplateByNameUsingGET($name, $status); @@ -469,7 +479,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -492,7 +502,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailTemplatesApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions try { $result = $apiInstance->getTemplateContentByIdUsingGET($id, $status); @@ -520,7 +530,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -569,13 +579,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateEmailTemplateContentUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse updateEmailTemplateContentUsingPOST($id, $update_email_template_content_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse updateEmailTemplateContentUsingPOST($id, $content) Update Email Template Content @@ -592,10 +602,10 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailTemplatesApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$update_email_template_content_request = new \NecLimDul\MarketoRest\Asset\Model\UpdateEmailTemplateContentRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateEmailTemplateContentRequest | updateEmailTemplateContentRequest +$content = 'content_example'; // string | Content for the email template. Multipart file. try { - $result = $apiInstance->updateEmailTemplateContentUsingPOST($id, $update_email_template_content_request); + $result = $apiInstance->updateEmailTemplateContentUsingPOST($id, $content); print_r($result); } catch (Exception $e) { echo 'Exception when calling EmailTemplatesApi->updateEmailTemplateContentUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -608,7 +618,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **update_email_template_content_request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateEmailTemplateContentRequest**](../Model/UpdateEmailTemplateContentRequest.md)| updateEmailTemplateContentRequest | [optional] + **content** | **string**| Content for the email template. Multipart file. | [optional] ### Return type @@ -626,7 +636,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateEmailTemplateUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailTemplateResponse updateEmailTemplateUsingPOST($id, $update_email_meta_data_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailTemplateResponse updateEmailTemplateUsingPOST($id, $description, $name) Update Email Template Metadata @@ -643,10 +653,11 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailTemplatesApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$update_email_meta_data_request = new \NecLimDul\MarketoRest\Asset\Model\UpdateEmailTemplateMetaDataRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateEmailTemplateMetaDataRequest | updateEmailMetaDataRequest +$description = 'description_example'; // string | Description of the asset +$name = 'name_example'; // string | Name of the Email Template try { - $result = $apiInstance->updateEmailTemplateUsingPOST($id, $update_email_meta_data_request); + $result = $apiInstance->updateEmailTemplateUsingPOST($id, $description, $name); print_r($result); } catch (Exception $e) { echo 'Exception when calling EmailTemplatesApi->updateEmailTemplateUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -659,7 +670,8 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **update_email_meta_data_request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateEmailTemplateMetaDataRequest**](../Model/UpdateEmailTemplateMetaDataRequest.md)| updateEmailMetaDataRequest | + **description** | **string**| Description of the asset | [optional] + **name** | **string**| Name of the Email Template | [optional] ### Return type diff --git a/docs/Asset/Api/EmailsApi.md b/docs/Asset/Api/EmailsApi.md index d89169b6..fe57788d 100644 --- a/docs/Asset/Api/EmailsApi.md +++ b/docs/Asset/Api/EmailsApi.md @@ -50,8 +50,8 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$module_id = "module_id_example"; // string | moduleId -$name = "name_example"; // string | Name of the module +$module_id = 'module_id_example'; // string | moduleId +$name = 'name_example'; // string | Name of the module $index = 56; // int | Index of the module. Determines the order of the module in the email. try { @@ -82,7 +82,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -131,13 +131,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **cloneEmailUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailResponse cloneEmailUsingPOST($id, $clone_email_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailResponse cloneEmailUsingPOST($id, $folder, $name, $description, $operational) Clone Email @@ -154,10 +154,13 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$clone_email_request = new \NecLimDul\MarketoRest\Asset\Model\CloneEmailRequest(); // \NecLimDul\MarketoRest\Asset\Model\CloneEmailRequest | cloneEmailRequest +$folder = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$name = 'name_example'; // string | Name of the new email asset +$description = 'description_example'; // string | Description of the asset +$operational = True; // bool | Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false try { - $result = $apiInstance->cloneEmailUsingPOST($id, $clone_email_request); + $result = $apiInstance->cloneEmailUsingPOST($id, $folder, $name, $description, $operational); print_r($result); } catch (Exception $e) { echo 'Exception when calling EmailsApi->cloneEmailUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -170,7 +173,10 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **clone_email_request** | [**\NecLimDul\MarketoRest\Asset\Model\CloneEmailRequest**](../Model/CloneEmailRequest.md)| cloneEmailRequest | + **folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **name** | **string**| Name of the new email asset | + **description** | **string**| Description of the asset | [optional] + **operational** | **bool**| Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false | [optional] ### Return type @@ -188,7 +194,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createEmailFullContentUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfUpdateEmailFullContentResponse createEmailFullContentUsingPOST($id, $update_email_full_content_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfUpdateEmailFullContentResponse createEmailFullContentUsingPOST($id, $content) Update Email Full Content @@ -205,10 +211,10 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( new GuzzleHttp\Client() ); $id = 56; // int | Id of the email -$update_email_full_content_request = new \NecLimDul\MarketoRest\Asset\Model\UpdateEmailFullContentRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateEmailFullContentRequest | Content is multipart file parameter +$content = 'content_example'; // string | Multipart file. File containing HTML document to update with. File cannot include JavaScript or script tags. try { - $result = $apiInstance->createEmailFullContentUsingPOST($id, $update_email_full_content_request); + $result = $apiInstance->createEmailFullContentUsingPOST($id, $content); print_r($result); } catch (Exception $e) { echo 'Exception when calling EmailsApi->createEmailFullContentUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -221,7 +227,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| Id of the email | - **update_email_full_content_request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateEmailFullContentRequest**](../Model/UpdateEmailFullContentRequest.md)| Content is multipart file parameter | + **content** | **string**| Multipart file. File containing HTML document to update with. File cannot include JavaScript or script tags. | ### Return type @@ -239,7 +245,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createEmailUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailResponse createEmailUsingPOST($create_email_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailResponse createEmailUsingPOST($folder, $from_email, $from_name, $name, $reply_email, $subject, $template, $description, $operational, $text_only) Create Email @@ -255,10 +261,19 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$create_email_request = new \NecLimDul\MarketoRest\Asset\Model\CreateEmailRequest(); // \NecLimDul\MarketoRest\Asset\Model\CreateEmailRequest | createEmailRequest +$folder = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$from_email = 'from_email_example'; // string | From-address of the Email +$from_name = 'from_name_example'; // string | From-name of the Email +$name = 'name_example'; // string | Name of the email +$reply_email = 'reply_email_example'; // string | Reply-To address of the Email +$subject = 'subject_example'; // string | Subject Line of the Email +$template = 56; // int | Id of the parent template +$description = 'description_example'; // string | Description of the asset +$operational = True; // bool | Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false +$text_only = 'text_only_example'; // string | Setting to include text-only version of email when sent try { - $result = $apiInstance->createEmailUsingPOST($create_email_request); + $result = $apiInstance->createEmailUsingPOST($folder, $from_email, $from_name, $name, $reply_email, $subject, $template, $description, $operational, $text_only); print_r($result); } catch (Exception $e) { echo 'Exception when calling EmailsApi->createEmailUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -270,7 +285,16 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **create_email_request** | [**\NecLimDul\MarketoRest\Asset\Model\CreateEmailRequest**](../Model/CreateEmailRequest.md)| createEmailRequest | + **folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **from_email** | **string**| From-address of the Email | + **from_name** | **string**| From-name of the Email | + **name** | **string**| Name of the email | + **reply_email** | **string**| Reply-To address of the Email | + **subject** | **string**| Subject Line of the Email | + **template** | **int**| Id of the parent template | + **description** | **string**| Description of the asset | [optional] + **operational** | **bool**| Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false | [optional] + **text_only** | **string**| Setting to include text-only version of email when sent | [optional] ### Return type @@ -331,7 +355,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -354,7 +378,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$module_id = "module_id_example"; // string | moduleId +$module_id = 'module_id_example'; // string | moduleId try { $result = $apiInstance->deleteModuleUsingPOST($id, $module_id); @@ -382,7 +406,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -431,7 +455,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -454,8 +478,8 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$module_id = "module_id_example"; // string | moduleId -$name = "name_example"; // string | Name of the new module +$module_id = 'module_id_example'; // string | moduleId +$name = 'name_example'; // string | Name of the new module try { $result = $apiInstance->duplicateModuleUsingPOST($id, $module_id, $name); @@ -484,7 +508,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -507,7 +531,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions try { $result = $apiInstance->getEmailByIdUsingGET($id, $status); @@ -535,7 +559,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -557,9 +581,9 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$name = "name_example"; // string | Name of the email -$status = "status_example"; // string | Status filter for draft or approved versions -$folder = "folder_example"; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' +$name = 'name_example'; // string | Name of the email +$status = 'status_example'; // string | Status filter for draft or approved versions +$folder = 'folder_example'; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' try { $result = $apiInstance->getEmailByNameUsingGET($name, $status, $folder); @@ -588,7 +612,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -633,7 +657,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -656,7 +680,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions try { $result = $apiInstance->getEmailContentByIdUsingGET($id, $status); @@ -684,7 +708,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -707,8 +731,8 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( new GuzzleHttp\Client() ); $id = 56; // int | Id of email -$content_id = "content_id_example"; // string | Id of email dynamic content section -$status = "status_example"; // string | Status filter for draft or approved versions +$content_id = 'content_id_example'; // string | Id of email dynamic content section +$status = 'status_example'; // string | Status filter for draft or approved versions try { $result = $apiInstance->getEmailDynamicContentUsingGET($id, $content_id, $status); @@ -737,7 +761,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -760,9 +784,9 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( new GuzzleHttp\Client() ); $id = 56; // int | Id of the email -$status = "status_example"; // string | Status filter for draft or approved versions. Defaults to approved if asset is approved, draft if not. +$status = 'status_example'; // string | Status filter for draft or approved versions. Defaults to approved if asset is approved, draft if not. $lead_id = 56; // int | The lead id to impersonate. Email is rendered as though it was received by this lead. -$type = "type_example"; // string | Email content type to return. Default is HTML. +$type = 'type_example'; // string | Email content type to return. Default is HTML. try { $result = $apiInstance->getEmailFullContentUsingGET($id, $status, $lead_id, $type); @@ -792,7 +816,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -814,8 +838,8 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$status = "status_example"; // string | Status filter for draft or approved versions -$folder = "folder_example"; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' +$status = 'status_example'; // string | Status filter for draft or approved versions +$folder = 'folder_example'; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' $offset = 56; // int | Integer offset for paging $max_return = 56; // int | Maximum number of emails to return. Max 200, default 20 @@ -847,7 +871,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -896,13 +920,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **rearrangeModulesUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ModelResponse rearrangeModulesUsingPOST($id, $positions) +> \NecLimDul\MarketoRest\Asset\Model\ModelResponse rearrangeModulesUsingPOST($id) Rearrange Email Modules @@ -919,10 +943,9 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$positions = "positions_example"; // string | JSON array of module positions. Each position must be a JSON object with members 'index' and a 'moduleId'. Required Permissions: Read-Write Assets try { - $result = $apiInstance->rearrangeModulesUsingPOST($id, $positions); + $result = $apiInstance->rearrangeModulesUsingPOST($id); print_r($result); } catch (Exception $e) { echo 'Exception when calling EmailsApi->rearrangeModulesUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -935,7 +958,6 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **positions** | **string**| JSON array of module positions. Each position must be a JSON object with members 'index' and a 'moduleId'. Required Permissions: Read-Write Assets | [optional] ### Return type @@ -970,8 +992,8 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$module_id = "module_id_example"; // string | moduleId -$name = "name_example"; // string | New module name +$module_id = 'module_id_example'; // string | moduleId +$name = 'name_example'; // string | New module name try { $result = $apiInstance->renameUsingPOST($id, $module_id, $name); @@ -1000,13 +1022,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **sendSampleEmailUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse sendSampleEmailUsingPOST($id, $send_sample_email_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse sendSampleEmailUsingPOST($id, $email_address, $lead_id, $text_only) Send Sample Email @@ -1023,10 +1045,12 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( new GuzzleHttp\Client() ); $id = 56; // int | Id of the email -$send_sample_email_request = new \NecLimDul\MarketoRest\Asset\Model\SendSampleEmailRequest(); // \NecLimDul\MarketoRest\Asset\Model\SendSampleEmailRequest | sendSampleEmailRequest +$email_address = 'email_address_example'; // string | Email address to receive sample email +$lead_id = 'lead_id_example'; // string | Id of a lead to impersonate. Tokens and dynamic content will be populated as though it were sent to the lead. +$text_only = True; // bool | Whether to send to text only version along with the HTML version. Default false. try { - $result = $apiInstance->sendSampleEmailUsingPOST($id, $send_sample_email_request); + $result = $apiInstance->sendSampleEmailUsingPOST($id, $email_address, $lead_id, $text_only); print_r($result); } catch (Exception $e) { echo 'Exception when calling EmailsApi->sendSampleEmailUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -1039,7 +1063,9 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| Id of the email | - **send_sample_email_request** | [**\NecLimDul\MarketoRest\Asset\Model\SendSampleEmailRequest**](../Model/SendSampleEmailRequest.md)| sendSampleEmailRequest | + **email_address** | **string**| Email address to receive sample email | + **lead_id** | **string**| Id of a lead to impersonate. Tokens and dynamic content will be populated as though it were sent to the lead. | [optional] + **text_only** | **bool**| Whether to send to text only version along with the HTML version. Default false. | [optional] ### Return type @@ -1100,13 +1126,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateEmailComponentContentUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse updateEmailComponentContentUsingPOST($id, $html_id, $request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse updateEmailComponentContentUsingPOST($id, $html_id, $type, $value, $alt_text, $external_url, $height, $image, $link_url, $over_write, $style, $text_value, $video_url, $width) Update Email Content Section @@ -1123,11 +1149,22 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$html_id = "html_id_example"; // string | htmlId -$request = new \NecLimDul\MarketoRest\Asset\Model\UpdateEmailComponentContentRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateEmailComponentContentRequest | request +$html_id = 'html_id_example'; // string | htmlId +$type = 'type_example'; // string | Type of content to set for the section. +$value = 'value_example'; // string | Value to set for the section. For type Text, the HTML content of the section. For type DynamicContent, the id of the segmentation to use for the content. For type Snippet, the id of the snippet to embed +$alt_text = 'alt_text_example'; // string | Sets the value of the alt parameter for the resulting img element +$external_url = 'external_url_example'; // string | +$height = 56; // int | Overrides naitve height of the image. The resulting file will be resized to the given height +$image = 'image_example'; // string | Multipart file that allows you to load an image from your computer +$link_url = 'link_url_example'; // string | +$over_write = True; // bool | Allows overwriting of the existing image content section +$style = 'style_example'; // string | Sets the value of the style parameter for the content section +$text_value = 'text_value_example'; // string | +$video_url = 'video_url_example'; // string | Sets the Url of the video element. Videos must be either from YouTube or Vimeo +$width = 56; // int | Overrides native width of the image. The resulting file will be resized to the given width try { - $result = $apiInstance->updateEmailComponentContentUsingPOST($id, $html_id, $request); + $result = $apiInstance->updateEmailComponentContentUsingPOST($id, $html_id, $type, $value, $alt_text, $external_url, $height, $image, $link_url, $over_write, $style, $text_value, $video_url, $width); print_r($result); } catch (Exception $e) { echo 'Exception when calling EmailsApi->updateEmailComponentContentUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -1141,7 +1178,18 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | **html_id** | **string**| htmlId | - **request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateEmailComponentContentRequest**](../Model/UpdateEmailComponentContentRequest.md)| request | + **type** | **string**| Type of content to set for the section. | + **value** | **string**| Value to set for the section. For type Text, the HTML content of the section. For type DynamicContent, the id of the segmentation to use for the content. For type Snippet, the id of the snippet to embed | + **alt_text** | **string**| Sets the value of the alt parameter for the resulting img element | [optional] + **external_url** | **string**| | [optional] + **height** | **int**| Overrides naitve height of the image. The resulting file will be resized to the given height | [optional] + **image** | **string**| Multipart file that allows you to load an image from your computer | [optional] + **link_url** | **string**| | [optional] + **over_write** | **bool**| Allows overwriting of the existing image content section | [optional] + **style** | **string**| Sets the value of the style parameter for the content section | [optional] + **text_value** | **string**| | [optional] + **video_url** | **string**| Sets the Url of the video element. Videos must be either from YouTube or Vimeo | [optional] + **width** | **int**| Overrides native width of the image. The resulting file will be resized to the given width | [optional] ### Return type @@ -1159,7 +1207,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateEmailContentUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse updateEmailContentUsingPOST($id, $update_email_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse updateEmailContentUsingPOST($id, $from_email, $from_name, $reply_to, $subject) Update Email Content @@ -1176,10 +1224,13 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$update_email_request = new \NecLimDul\MarketoRest\Asset\Model\UpdateEmailComponentDataRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateEmailComponentDataRequest | updateEmailRequest +$from_email = new \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue(); // \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue | +$from_name = new \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue(); // \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue | +$reply_to = new \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue(); // \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue | +$subject = new \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue(); // \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue | try { - $result = $apiInstance->updateEmailContentUsingPOST($id, $update_email_request); + $result = $apiInstance->updateEmailContentUsingPOST($id, $from_email, $from_name, $reply_to, $subject); print_r($result); } catch (Exception $e) { echo 'Exception when calling EmailsApi->updateEmailContentUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -1192,7 +1243,10 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **update_email_request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateEmailComponentDataRequest**](../Model/UpdateEmailComponentDataRequest.md)| updateEmailRequest | + **from_email** | [**\NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue**](../Model/EmailHeaderTypeValue.md)| | [optional] + **from_name** | [**\NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue**](../Model/EmailHeaderTypeValue.md)| | [optional] + **reply_to** | [**\NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue**](../Model/EmailHeaderTypeValue.md)| | [optional] + **subject** | [**\NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue**](../Model/EmailHeaderTypeValue.md)| | [optional] ### Return type @@ -1210,7 +1264,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateEmailDynamicContentUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse updateEmailDynamicContentUsingPOST($id, $content_id, $request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse updateEmailDynamicContentUsingPOST($id, $content_id, $type, $value, $alt_text, $external_url, $height, $image, $link_url, $over_write, $style, $video_url, $width) Update Email Dynamic Content Section @@ -1227,11 +1281,21 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( new GuzzleHttp\Client() ); $id = 56; // int | Id of email -$content_id = "content_id_example"; // string | Id of email dynamic content section -$request = new \NecLimDul\MarketoRest\Asset\Model\UpdateEmailDynamicContentRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateEmailDynamicContentRequest | Content properties +$content_id = 'content_id_example'; // string | Id of email dynamic content section +$type = 'type_example'; // string | Type of content to set for the section. +$value = 'value_example'; // string | Value to set for the section. For type Text, the HTML content of the section. For type DynamicContent, the id of the segmentation to use for the content. For type Snippet, the id of the snippet to embed +$alt_text = 'alt_text_example'; // string | Sets the value of the alt parameter for the resulting img element +$external_url = 'external_url_example'; // string | +$height = 56; // int | Overrides naitve height of the image. The resulting file will be resized to the given height +$image = 'image_example'; // string | Multipart file that allows you to add an image from your computer +$link_url = 'link_url_example'; // string | +$over_write = True; // bool | Allows overwriting of the existing image content section +$style = 'style_example'; // string | Sets the value of the style parameter for the content section +$video_url = 'video_url_example'; // string | Sets the Url of the video element. Videos must be either from YouTube or Vimeo +$width = 56; // int | Overrides native width of the image. The resulting file will be resized to the given width try { - $result = $apiInstance->updateEmailDynamicContentUsingPOST($id, $content_id, $request); + $result = $apiInstance->updateEmailDynamicContentUsingPOST($id, $content_id, $type, $value, $alt_text, $external_url, $height, $image, $link_url, $over_write, $style, $video_url, $width); print_r($result); } catch (Exception $e) { echo 'Exception when calling EmailsApi->updateEmailDynamicContentUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -1245,7 +1309,17 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| Id of email | **content_id** | **string**| Id of email dynamic content section | - **request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateEmailDynamicContentRequest**](../Model/UpdateEmailDynamicContentRequest.md)| Content properties | + **type** | **string**| Type of content to set for the section. | + **value** | **string**| Value to set for the section. For type Text, the HTML content of the section. For type DynamicContent, the id of the segmentation to use for the content. For type Snippet, the id of the snippet to embed | + **alt_text** | **string**| Sets the value of the alt parameter for the resulting img element | [optional] + **external_url** | **string**| | [optional] + **height** | **int**| Overrides naitve height of the image. The resulting file will be resized to the given height | [optional] + **image** | **string**| Multipart file that allows you to add an image from your computer | [optional] + **link_url** | **string**| | [optional] + **over_write** | **bool**| Allows overwriting of the existing image content section | [optional] + **style** | **string**| Sets the value of the style parameter for the content section | [optional] + **video_url** | **string**| Sets the Url of the video element. Videos must be either from YouTube or Vimeo | [optional] + **width** | **int**| Overrides native width of the image. The resulting file will be resized to the given width | [optional] ### Return type @@ -1263,7 +1337,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateEmailUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailResponse updateEmailUsingPOST($id, $update_email_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailResponse updateEmailUsingPOST($id, $description, $name, $pre_header, $operational, $published, $text_only, $web_view) Update Email Metadata @@ -1280,10 +1354,16 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$update_email_request = new \NecLimDul\MarketoRest\Asset\Model\UpdateEmailMetaDataRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateEmailMetaDataRequest | updateEmailRequest +$description = 'description_example'; // string | Description of the asset +$name = 'name_example'; // string | Name of the Email +$pre_header = 'pre_header_example'; // string | Preheader text for the email +$operational = True; // bool | Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false +$published = True; // bool | Whether the email has been published to Sales Insight. Default false +$text_only = True; // bool | Setting to include text-only version of email when sent +$web_view = True; // bool | Whether the email has been enabled to allow the 'View as Web Page' when received try { - $result = $apiInstance->updateEmailUsingPOST($id, $update_email_request); + $result = $apiInstance->updateEmailUsingPOST($id, $description, $name, $pre_header, $operational, $published, $text_only, $web_view); print_r($result); } catch (Exception $e) { echo 'Exception when calling EmailsApi->updateEmailUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -1296,7 +1376,13 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **update_email_request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateEmailMetaDataRequest**](../Model/UpdateEmailMetaDataRequest.md)| updateEmailRequest | + **description** | **string**| Description of the asset | [optional] + **name** | **string**| Name of the Email | [optional] + **pre_header** | **string**| Preheader text for the email | [optional] + **operational** | **bool**| Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false | [optional] + **published** | **bool**| Whether the email has been published to Sales Insight. Default false | [optional] + **text_only** | **bool**| Setting to include text-only version of email when sent | [optional] + **web_view** | **bool**| Whether the email has been enabled to allow the 'View as Web Page' when received | [optional] ### Return type @@ -1314,7 +1400,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateVariableUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ModelResponse updateVariableUsingPOST($id, $name, $update_variable_request) +> \NecLimDul\MarketoRest\Asset\Model\ModelResponse updateVariableUsingPOST($id, $name, $value, $module_id) Update Email Variable @@ -1331,11 +1417,12 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\EmailsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$name = "name_example"; // string | name -$update_variable_request = new \NecLimDul\MarketoRest\Asset\Model\UpdateVariableRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateVariableRequest | updateVariableRequest +$name = 'name_example'; // string | name +$value = 'value_example'; // string | Value to update variable with +$module_id = 'module_id_example'; // string | Module that variable is associated with. Required for updating module variables. Not needed for global variables. try { - $result = $apiInstance->updateVariableUsingPOST($id, $name, $update_variable_request); + $result = $apiInstance->updateVariableUsingPOST($id, $name, $value, $module_id); print_r($result); } catch (Exception $e) { echo 'Exception when calling EmailsApi->updateVariableUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -1349,7 +1436,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | **name** | **string**| name | - **update_variable_request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateVariableRequest**](../Model/UpdateVariableRequest.md)| updateVariableRequest | [optional] + **value** | **string**| Value to update variable with | [optional] + **module_id** | **string**| Module that variable is associated with. Required for updating module variables. Not needed for global variables. | [optional] ### Return type diff --git a/docs/Asset/Api/FileContentsApi.md b/docs/Asset/Api/FileContentsApi.md index 4faef1bf..6b5b5e46 100644 --- a/docs/Asset/Api/FileContentsApi.md +++ b/docs/Asset/Api/FileContentsApi.md @@ -8,7 +8,7 @@ Method | HTTP request | Description # **updateContentUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfFileResponse updateContentUsingPOST($id, $request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfFileResponse updateContentUsingPOST($id, $file, $id) Update File Content @@ -25,10 +25,11 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FileContentsApi( new GuzzleHttp\Client() ); $id = 56; // int | Id for file in database -$request = new \NecLimDul\MarketoRest\Asset\Model\UpdateFileContentRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateFileContentRequest | request +$file = 'file_example'; // string | Multipart file. Content of the file. +$id = 56; // int | Id of the file try { - $result = $apiInstance->updateContentUsingPOST($id, $request); + $result = $apiInstance->updateContentUsingPOST($id, $file, $id); print_r($result); } catch (Exception $e) { echo 'Exception when calling FileContentsApi->updateContentUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -41,7 +42,8 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| Id for file in database | - **request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateFileContentRequest**](../Model/UpdateFileContentRequest.md)| request | + **file** | **string**| Multipart file. Content of the file. | + **id** | **int**| Id of the file | ### Return type diff --git a/docs/Asset/Api/FilesApi.md b/docs/Asset/Api/FilesApi.md index 54848da4..b81b749e 100644 --- a/docs/Asset/Api/FilesApi.md +++ b/docs/Asset/Api/FilesApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description # **createFileUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfFileResponse createFileUsingPOST($create_file_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfFileResponse createFileUsingPOST($file, $folder, $name, $description, $insert_only) Create File @@ -27,10 +27,14 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FilesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$create_file_request = new \NecLimDul\MarketoRest\Asset\Model\CreateFileRequest(); // \NecLimDul\MarketoRest\Asset\Model\CreateFileRequest | createFileRequest +$file = 'file_example'; // string | Multipart file. Content of the file. +$folder = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$name = 'name_example'; // string | Name of the File +$description = 'description_example'; // string | Description of the asset +$insert_only = True; // bool | Whether the calls hould fail if there is already an existing file with the same name try { - $result = $apiInstance->createFileUsingPOST($create_file_request); + $result = $apiInstance->createFileUsingPOST($file, $folder, $name, $description, $insert_only); print_r($result); } catch (Exception $e) { echo 'Exception when calling FilesApi->createFileUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -42,7 +46,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **create_file_request** | [**\NecLimDul\MarketoRest\Asset\Model\CreateFileRequest**](../Model/CreateFileRequest.md)| createFileRequest | + **file** | **string**| Multipart file. Content of the file. | + **folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **name** | **string**| Name of the File | + **description** | **string**| Description of the asset | [optional] + **insert_only** | **bool**| Whether the calls hould fail if there is already an existing file with the same name | [optional] ### Return type @@ -103,7 +111,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -125,7 +133,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FilesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$name = "name_example"; // string | Name of the file +$name = 'name_example'; // string | Name of the file try { $result = $apiInstance->getFileByNameUsingGET($name); @@ -152,7 +160,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -175,7 +183,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FilesApi( new GuzzleHttp\Client() ); $get_files_request = new \NecLimDul\MarketoRest\Asset\Model\GetFilesRequest(); // \NecLimDul\MarketoRest\Asset\Model\GetFilesRequest | getFilesRequest -$folder = "folder_example"; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' +$folder = 'folder_example'; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' try { $result = $apiInstance->getFilesUsingGET($get_files_request, $folder); diff --git a/docs/Asset/Api/FoldersApi.md b/docs/Asset/Api/FoldersApi.md index 1e996e04..ec58c274 100644 --- a/docs/Asset/Api/FoldersApi.md +++ b/docs/Asset/Api/FoldersApi.md @@ -14,7 +14,7 @@ Method | HTTP request | Description # **createFolderUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfFolderResponse createFolderUsingPOST($create_folder_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfFolderResponse createFolderUsingPOST($name, $parent, $description) Create Folder @@ -30,10 +30,12 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FoldersApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$create_folder_request = new \NecLimDul\MarketoRest\Asset\Model\CreateFolderRequest(); // \NecLimDul\MarketoRest\Asset\Model\CreateFolderRequest | createFolderRequest +$name = 'name_example'; // string | Name of the Folder +$parent = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$description = 'description_example'; // string | Description of the asset try { - $result = $apiInstance->createFolderUsingPOST($create_folder_request); + $result = $apiInstance->createFolderUsingPOST($name, $parent, $description); print_r($result); } catch (Exception $e) { echo 'Exception when calling FoldersApi->createFolderUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -45,7 +47,9 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **create_folder_request** | [**\NecLimDul\MarketoRest\Asset\Model\CreateFolderRequest**](../Model/CreateFolderRequest.md)| createFolderRequest | + **name** | **string**| Name of the Folder | + **parent** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **description** | **string**| Description of the asset | [optional] ### Return type @@ -80,7 +84,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FoldersApi( new GuzzleHttp\Client() ); $id = 56; // int | Id of the folder to delete -$type = "Folder"; // string | type +$type = 'Folder'; // string | type try { $result = $apiInstance->deleteFolderUsingPOST($id, $type); @@ -96,7 +100,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| Id of the folder to delete | - **type** | **string**| type | [default to Folder] + **type** | **string**| type | [default to 'Folder'] ### Return type @@ -131,7 +135,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FoldersApi( new GuzzleHttp\Client() ); $id = 56; // int | Id of the folder to retrieve -$type = "Folder"; // string | Type of folder. 'Folder' or 'Program' +$type = 'Folder'; // string | Type of folder. 'Folder' or 'Program' try { $result = $apiInstance->getFolderByIdUsingGET($id, $type); @@ -147,7 +151,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| Id of the folder to retrieve | - **type** | **string**| Type of folder. 'Folder' or 'Program' | [default to Folder] + **type** | **string**| Type of folder. 'Folder' or 'Program' | [default to 'Folder'] ### Return type @@ -159,7 +163,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -181,10 +185,10 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FoldersApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$name = "name_example"; // string | Name of the folder. Not applicable for Programs -$type = "type_example"; // string | Type of folder. 'Folder' or 'Program' -$root = "root_example"; // string | Parent folder reference -$work_space = "work_space_example"; // string | Name of the workspace +$name = 'name_example'; // string | Name of the folder. Not applicable for Programs +$type = 'type_example'; // string | Type of folder. 'Folder' or 'Program' +$root = 'root_example'; // string | Parent folder reference +$work_space = 'work_space_example'; // string | Name of the workspace try { $result = $apiInstance->getFolderByNameUsingGET($name, $type, $root, $work_space); @@ -214,7 +218,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -237,7 +241,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FoldersApi( new GuzzleHttp\Client() ); $id = 56; // int | Id of the folder to retrieve -$type = "type_example"; // string | Type of folder. 'Folder' or 'Program'. Default is 'Folder' +$type = 'type_example'; // string | Type of folder. 'Folder' or 'Program'. Default is 'Folder' $max_return = 56; // int | Maximum number of channels to return. Max 200, default 20 $offset = 56; // int | Integer offset for paging @@ -269,7 +273,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -291,11 +295,11 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FoldersApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$root = "root_example"; // string | Parent folder reference +$root = 'root_example'; // string | Parent folder reference $max_depth = 56; // int | Maximum folder depth to traverse, Default 2 $max_return = 56; // int | Maximum number of folders to return. Default 20, maximum 200 $offset = 56; // int | Integer offset for paging. Default 0 -$work_space = "work_space_example"; // string | Name of the workspace +$work_space = 'work_space_example'; // string | Name of the workspace try { $result = $apiInstance->getFolderUsingGET($root, $max_depth, $max_return, $offset, $work_space); @@ -326,13 +330,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateFolderUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfFolderResponse updateFolderUsingPOST($id, $update_folder_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfFolderResponse updateFolderUsingPOST($id, $type, $description, $is_archive, $name) Update Folder Metadata @@ -349,10 +353,13 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FoldersApi( new GuzzleHttp\Client() ); $id = 56; // int | Id of the folder to update -$update_folder_request = new \NecLimDul\MarketoRest\Asset\Model\UpdateFolderRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateFolderRequest | updateFolderRequest +$type = 'type_example'; // string | Type of folder. 'Folder' or 'Program' +$description = 'description_example'; // string | Description of the asset +$is_archive = True; // bool | Whether the folder is archived or not. Toggling this value will change the archival status of the folder +$name = 'name_example'; // string | Name of the Folder try { - $result = $apiInstance->updateFolderUsingPOST($id, $update_folder_request); + $result = $apiInstance->updateFolderUsingPOST($id, $type, $description, $is_archive, $name); print_r($result); } catch (Exception $e) { echo 'Exception when calling FoldersApi->updateFolderUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -365,7 +372,10 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| Id of the folder to update | - **update_folder_request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateFolderRequest**](../Model/UpdateFolderRequest.md)| updateFolderRequest | + **type** | **string**| Type of folder. 'Folder' or 'Program' | + **description** | **string**| Description of the asset | [optional] + **is_archive** | **bool**| Whether the folder is archived or not. Toggling this value will change the archival status of the folder | [optional] + **name** | **string**| Name of the Folder | [optional] ### Return type diff --git a/docs/Asset/Api/FormFieldsApi.md b/docs/Asset/Api/FormFieldsApi.md index c3935d92..0f000132 100644 --- a/docs/Asset/Api/FormFieldsApi.md +++ b/docs/Asset/Api/FormFieldsApi.md @@ -18,7 +18,7 @@ Method | HTTP request | Description # **addFieldSetUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse addFieldSetUsingPOST($id, $add_form_field_set_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse addFieldSetUsingPOST($id, $label) Add Fieldset to Form @@ -35,10 +35,10 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FormFieldsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$add_form_field_set_request = new \NecLimDul\MarketoRest\Asset\Model\AddFormFieldSetRequest(); // \NecLimDul\MarketoRest\Asset\Model\AddFormFieldSetRequest | addFormFieldSetRequest +$label = 'label_example'; // string | Label of the fieldset try { - $result = $apiInstance->addFieldSetUsingPOST($id, $add_form_field_set_request); + $result = $apiInstance->addFieldSetUsingPOST($id, $label); print_r($result); } catch (Exception $e) { echo 'Exception when calling FormFieldsApi->addFieldSetUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -51,7 +51,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **add_form_field_set_request** | [**\NecLimDul\MarketoRest\Asset\Model\AddFormFieldSetRequest**](../Model/AddFormFieldSetRequest.md)| addFormFieldSetRequest | + **label** | **string**| Label of the fieldset | ### Return type @@ -69,7 +69,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **addFieldToAFormUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse addFieldToAFormUsingPOST($id, $add_form_field_set_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse addFieldToAFormUsingPOST($id, $field_id, $blank_fields, $default_value, $field_width, $form_prefill, $hint_text, $initially_checked, $instructions, $label, $label_to_right, $label_width, $mask_input, $max_length, $max_value, $min_value, $multi_select, $required, $validation_message, $values, $visible_lines) Add Field to Form @@ -86,10 +86,29 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FormFieldsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$add_form_field_set_request = new \NecLimDul\MarketoRest\Asset\Model\AddFormFieldRequest(); // \NecLimDul\MarketoRest\Asset\Model\AddFormFieldRequest | addFormFieldSetRequest +$field_id = 'field_id_example'; // string | Id of the field +$blank_fields = 56; // int | Number of blank fields to show when progressive profiling is enabled +$default_value = 'default_value_example'; // string | Optional default value for the field +$field_width = 56; // int | Width of the input or select element +$form_prefill = True; // bool | Whether the field should prefill. Default true +$hint_text = 'hint_text_example'; // string | Hint text for the field +$initially_checked = True; // bool | Whether the field should be checked upon loading. Default false +$instructions = 'instructions_example'; // string | Instructions for the field +$label = 'label_example'; // string | Label of the field +$label_to_right = True; // bool | Whether the field label should be displayed to the right of the input/select element. Default false +$label_width = 56; // int | Width of the field label element +$mask_input = 'mask_input_example'; // string | Optional input mask for the field +$max_length = 56; // int | Maximum length for text type fields +$max_value = 3.4; // float | Maximum value accepted by the field +$min_value = 3.4; // float | Minimum value accepted by the field +$multi_select = True; // bool | Whether the field should allow multiple selections. Default false +$required = True; // bool | Whether the field is required to submit the form. Default false +$validation_message = 'validation_message_example'; // string | Validation message to display on failed validation +$values = 'values_example'; // string | Comma-separated list of accepted values for the field. Only for select-field types +$visible_lines = 56; // int | Number of lines to display for the field element try { - $result = $apiInstance->addFieldToAFormUsingPOST($id, $add_form_field_set_request); + $result = $apiInstance->addFieldToAFormUsingPOST($id, $field_id, $blank_fields, $default_value, $field_width, $form_prefill, $hint_text, $initially_checked, $instructions, $label, $label_to_right, $label_width, $mask_input, $max_length, $max_value, $min_value, $multi_select, $required, $validation_message, $values, $visible_lines); print_r($result); } catch (Exception $e) { echo 'Exception when calling FormFieldsApi->addFieldToAFormUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -102,7 +121,26 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **add_form_field_set_request** | [**\NecLimDul\MarketoRest\Asset\Model\AddFormFieldRequest**](../Model/AddFormFieldRequest.md)| addFormFieldSetRequest | + **field_id** | **string**| Id of the field | + **blank_fields** | **int**| Number of blank fields to show when progressive profiling is enabled | [optional] + **default_value** | **string**| Optional default value for the field | [optional] + **field_width** | **int**| Width of the input or select element | [optional] + **form_prefill** | **bool**| Whether the field should prefill. Default true | [optional] + **hint_text** | **string**| Hint text for the field | [optional] + **initially_checked** | **bool**| Whether the field should be checked upon loading. Default false | [optional] + **instructions** | **string**| Instructions for the field | [optional] + **label** | **string**| Label of the field | [optional] + **label_to_right** | **bool**| Whether the field label should be displayed to the right of the input/select element. Default false | [optional] + **label_width** | **int**| Width of the field label element | [optional] + **mask_input** | **string**| Optional input mask for the field | [optional] + **max_length** | **int**| Maximum length for text type fields | [optional] + **max_value** | **float**| Maximum value accepted by the field | [optional] + **min_value** | **float**| Minimum value accepted by the field | [optional] + **multi_select** | **bool**| Whether the field should allow multiple selections. Default false | [optional] + **required** | **bool**| Whether the field is required to submit the form. Default false | [optional] + **validation_message** | **string**| Validation message to display on failed validation | [optional] + **values** | **string**| Comma-separated list of accepted values for the field. Only for select-field types | [optional] + **visible_lines** | **int**| Number of lines to display for the field element | [optional] ### Return type @@ -120,7 +158,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **addFormFieldVisibilityRuleUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfFormVisibilityRuleResponse addFormFieldVisibilityRuleUsingPOST($form_id, $field_id, $add_form_field_visibility_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfFormVisibilityRuleResponse addFormFieldVisibilityRuleUsingPOST($form_id, $field_id, $visibility_rule) Add Form Field Visibility Rules @@ -137,11 +175,11 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FormFieldsApi( new GuzzleHttp\Client() ); $form_id = 56; // int | formId -$field_id = "field_id_example"; // string | fieldId -$add_form_field_visibility_request = new \NecLimDul\MarketoRest\Asset\Model\AddFormFieldVisibilityRequest(); // \NecLimDul\MarketoRest\Asset\Model\AddFormFieldVisibilityRequest | addFormFieldVisibilityRequest +$field_id = 'field_id_example'; // string | fieldId +$visibility_rule = new \NecLimDul\MarketoRest\Asset\Model\FormFieldVisibilityRequest(); // \NecLimDul\MarketoRest\Asset\Model\FormFieldVisibilityRequest | try { - $result = $apiInstance->addFormFieldVisibilityRuleUsingPOST($form_id, $field_id, $add_form_field_visibility_request); + $result = $apiInstance->addFormFieldVisibilityRuleUsingPOST($form_id, $field_id, $visibility_rule); print_r($result); } catch (Exception $e) { echo 'Exception when calling FormFieldsApi->addFormFieldVisibilityRuleUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -155,7 +193,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **form_id** | **int**| formId | **field_id** | **string**| fieldId | - **add_form_field_visibility_request** | [**\NecLimDul\MarketoRest\Asset\Model\AddFormFieldVisibilityRequest**](../Model/AddFormFieldVisibilityRequest.md)| addFormFieldVisibilityRequest | + **visibility_rule** | [**\NecLimDul\MarketoRest\Asset\Model\FormFieldVisibilityRequest**](../Model/FormFieldVisibilityRequest.md)| | [optional] ### Return type @@ -173,7 +211,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **addRichTextFieldUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse addRichTextFieldUsingPOST($id, $add_rich_text_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse addRichTextFieldUsingPOST($id, $text) Add Rich Text Field @@ -190,10 +228,10 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FormFieldsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$add_rich_text_request = new \NecLimDul\MarketoRest\Asset\Model\AddRichTextRequest(); // \NecLimDul\MarketoRest\Asset\Model\AddRichTextRequest | addRichTextRequest +$text = 'text_example'; // string | Multipart file. HTML Content for the rich text field. try { - $result = $apiInstance->addRichTextFieldUsingPOST($id, $add_rich_text_request); + $result = $apiInstance->addRichTextFieldUsingPOST($id, $text); print_r($result); } catch (Exception $e) { echo 'Exception when calling FormFieldsApi->addRichTextFieldUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -206,7 +244,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **add_rich_text_request** | [**\NecLimDul\MarketoRest\Asset\Model\AddRichTextRequest**](../Model/AddRichTextRequest.md)| addRichTextRequest | + **text** | **string**| Multipart file. HTML Content for the rich text field. | ### Return type @@ -241,8 +279,8 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FormFieldsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$field_set_id = "field_set_id_example"; // string | fieldSetId -$field_id = "field_id_example"; // string | fieldId +$field_set_id = 'field_set_id_example'; // string | fieldSetId +$field_id = 'field_id_example'; // string | fieldId try { $result = $apiInstance->deleteFormFieldFromFieldSetUsingPOST($id, $field_set_id, $field_id); @@ -271,7 +309,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -294,7 +332,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FormFieldsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$field_id = "field_id_example"; // string | fieldId +$field_id = 'field_id_example'; // string | fieldId try { $result = $apiInstance->deleteFormFieldUsingPOST($id, $field_id); @@ -322,7 +360,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -373,7 +411,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -424,7 +462,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -447,7 +485,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FormFieldsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions try { $result = $apiInstance->getFormFieldByFormVidUsingGET($id, $status); @@ -475,13 +513,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateFieldPositionsUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse updateFieldPositionsUsingPOST($id, $re_arrange_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse updateFieldPositionsUsingPOST($id, $positions) Update Field Positions @@ -498,10 +536,10 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FormFieldsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$re_arrange_request = new \NecLimDul\MarketoRest\Asset\Model\ReArrangeRequest(); // \NecLimDul\MarketoRest\Asset\Model\ReArrangeRequest | reArrangeRequest +$positions = new \NecLimDul\MarketoRest\Asset\Model\UpdateFieldPosition(); // \NecLimDul\MarketoRest\Asset\Model\UpdateFieldPosition[] | try { - $result = $apiInstance->updateFieldPositionsUsingPOST($id, $re_arrange_request); + $result = $apiInstance->updateFieldPositionsUsingPOST($id, $positions); print_r($result); } catch (Exception $e) { echo 'Exception when calling FormFieldsApi->updateFieldPositionsUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -514,7 +552,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **re_arrange_request** | [**\NecLimDul\MarketoRest\Asset\Model\ReArrangeRequest**](../Model/ReArrangeRequest.md)| reArrangeRequest | [optional] + **positions** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateFieldPosition[]**](../Model/\NecLimDul\MarketoRest\Asset\Model\UpdateFieldPosition.md)| | [optional] ### Return type @@ -532,7 +570,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateFormFieldUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse updateFormFieldUsingPOST($id, $field_id, $update_form_field_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse updateFormFieldUsingPOST($id, $field_id, $blank_fields, $default_value, $field_type, $field_width, $form_prefill, $hint_text, $initially_checked, $instructions, $label, $label_to_right, $label_width, $mask_input, $max_length, $max_value, $min_value, $multi_select, $required, $validation_message, $values, $visible_lines) Update Form Field @@ -549,11 +587,30 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FormFieldsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$field_id = "field_id_example"; // string | fieldId -$update_form_field_request = new \NecLimDul\MarketoRest\Asset\Model\UpdateFormFieldRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateFormFieldRequest | updateFormFieldRequest +$field_id = 'field_id_example'; // string | fieldId +$blank_fields = 56; // int | Number of blank fields to show when progressive profiling is enabled +$default_value = 'default_value_example'; // string | Optional default value for the field +$field_type = 'field_type_example'; // string | Type of field +$field_width = 56; // int | Width of the input or select element +$form_prefill = True; // bool | Whether the field should prefill. Default true +$hint_text = 'hint_text_example'; // string | Hint text for the field +$initially_checked = True; // bool | Whether the field should be checked upon loading. Default false +$instructions = 'instructions_example'; // string | Instructions for the field +$label = 'label_example'; // string | Label of the field +$label_to_right = True; // bool | Whether the field label should be displayed to the right of the input/select element. Default false +$label_width = 56; // int | Width of the field label element +$mask_input = 'mask_input_example'; // string | Optional input mask for the field +$max_length = 56; // int | Maximum length for text type fields +$max_value = 3.4; // float | Maximum value accepted by the field +$min_value = 3.4; // float | Minimum value accepted by the field +$multi_select = True; // bool | Whether the field should allow multiple selections. Default false +$required = True; // bool | Whether the field is required to submit the form. Default false +$validation_message = 'validation_message_example'; // string | Validation message to display on failed validation +$values = 'values_example'; // string | Array of JSON objects that contain field attributes. Only for select-field types. Example: values=[{'label':'Select...','value':'','isDefault':true,'selected':true}, {'label':'MR','value':'Mr'}, {'label':'MS','value':'Ms'}, {'label':'MRS','value':'Mrs'}, {'label':'DR','value':'Dr'}, {'label':'PROF','value':'Prof'}] +$visible_lines = 56; // int | Number of lines to display for the field element try { - $result = $apiInstance->updateFormFieldUsingPOST($id, $field_id, $update_form_field_request); + $result = $apiInstance->updateFormFieldUsingPOST($id, $field_id, $blank_fields, $default_value, $field_type, $field_width, $form_prefill, $hint_text, $initially_checked, $instructions, $label, $label_to_right, $label_width, $mask_input, $max_length, $max_value, $min_value, $multi_select, $required, $validation_message, $values, $visible_lines); print_r($result); } catch (Exception $e) { echo 'Exception when calling FormFieldsApi->updateFormFieldUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -567,7 +624,26 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | **field_id** | **string**| fieldId | - **update_form_field_request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateFormFieldRequest**](../Model/UpdateFormFieldRequest.md)| updateFormFieldRequest | + **blank_fields** | **int**| Number of blank fields to show when progressive profiling is enabled | [optional] + **default_value** | **string**| Optional default value for the field | [optional] + **field_type** | **string**| Type of field | [optional] + **field_width** | **int**| Width of the input or select element | [optional] + **form_prefill** | **bool**| Whether the field should prefill. Default true | [optional] + **hint_text** | **string**| Hint text for the field | [optional] + **initially_checked** | **bool**| Whether the field should be checked upon loading. Default false | [optional] + **instructions** | **string**| Instructions for the field | [optional] + **label** | **string**| Label of the field | [optional] + **label_to_right** | **bool**| Whether the field label should be displayed to the right of the input/select element. Default false | [optional] + **label_width** | **int**| Width of the field label element | [optional] + **mask_input** | **string**| Optional input mask for the field | [optional] + **max_length** | **int**| Maximum length for text type fields | [optional] + **max_value** | **float**| Maximum value accepted by the field | [optional] + **min_value** | **float**| Minimum value accepted by the field | [optional] + **multi_select** | **bool**| Whether the field should allow multiple selections. Default false | [optional] + **required** | **bool**| Whether the field is required to submit the form. Default false | [optional] + **validation_message** | **string**| Validation message to display on failed validation | [optional] + **values** | **string**| Array of JSON objects that contain field attributes. Only for select-field types. Example: values=[{'label':'Select...','value':'','isDefault':true,'selected':true}, {'label':'MR','value':'Mr'}, {'label':'MS','value':'Ms'}, {'label':'MRS','value':'Mrs'}, {'label':'DR','value':'Dr'}, {'label':'PROF','value':'Prof'}] | [optional] + **visible_lines** | **int**| Number of lines to display for the field element | [optional] ### Return type diff --git a/docs/Asset/Api/FormsApi.md b/docs/Asset/Api/FormsApi.md index 1f055d5a..372450d4 100644 --- a/docs/Asset/Api/FormsApi.md +++ b/docs/Asset/Api/FormsApi.md @@ -62,7 +62,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -84,10 +84,10 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FormsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$folder = "folder_example"; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' -$status = "status_example"; // string | Status filter for draft or approved versions -$max_return = "max_return_example"; // string | Maximum number of channels to return. Max 200, default 20 -$offset = "offset_example"; // string | Integer offset for paging +$folder = 'folder_example'; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' +$status = 'status_example'; // string | Status filter for draft or approved versions +$max_return = 'max_return_example'; // string | Maximum number of channels to return. Max 200, default 20 +$offset = 'offset_example'; // string | Integer offset for paging try { $result = $apiInstance->browseForms2UsingGET($folder, $status, $max_return, $offset); @@ -117,13 +117,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **cloneLpFormsUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse cloneLpFormsUsingPOST($id, $clone_form_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse cloneLpFormsUsingPOST($id, $name, $folder, $description) Clone Form @@ -140,10 +140,12 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FormsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$clone_form_request = new \NecLimDul\MarketoRest\Asset\Model\CloneFormRequest(); // \NecLimDul\MarketoRest\Asset\Model\CloneFormRequest | cloneFormRequest +$name = 'name_example'; // string | Name for the cloned form +$folder = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$description = 'description_example'; // string | Description of the cloned form try { - $result = $apiInstance->cloneLpFormsUsingPOST($id, $clone_form_request); + $result = $apiInstance->cloneLpFormsUsingPOST($id, $name, $folder, $description); print_r($result); } catch (Exception $e) { echo 'Exception when calling FormsApi->cloneLpFormsUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -156,7 +158,9 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **clone_form_request** | [**\NecLimDul\MarketoRest\Asset\Model\CloneFormRequest**](../Model/CloneFormRequest.md)| cloneFormRequest | [optional] + **name** | **string**| Name for the cloned form | + **folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **description** | **string**| Description of the cloned form | [optional] ### Return type @@ -174,7 +178,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createLpFormsUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse createLpFormsUsingPOST($create_form_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse createLpFormsUsingPOST($folder, $description, $font_family, $font_size, $known_visitor, $label_position, $language, $locale, $name, $progressive_profiling, $theme) Create Form @@ -190,10 +194,20 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FormsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$create_form_request = new \NecLimDul\MarketoRest\Asset\Model\CreateLpFormRequest(); // \NecLimDul\MarketoRest\Asset\Model\CreateLpFormRequest | createFormRequest +$folder = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$description = 'description_example'; // string | Description of the form +$font_family = 'font_family_example'; // string | font-family property for the form +$font_size = 'font_size_example'; // string | font-size property of the form +$known_visitor = new \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO(); // \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO | +$label_position = 'label_position_example'; // string | Default positioning of labels. +$language = 'language_example'; // string | Language of the form +$locale = 'locale_example'; // string | Locale of the form +$name = 'name_example'; // string | Name of the form +$progressive_profiling = True; // bool | Whether progressive profiling is enabled for the form +$theme = 'theme_example'; // string | CSS theme for the form to use try { - $result = $apiInstance->createLpFormsUsingPOST($create_form_request); + $result = $apiInstance->createLpFormsUsingPOST($folder, $description, $font_family, $font_size, $known_visitor, $label_position, $language, $locale, $name, $progressive_profiling, $theme); print_r($result); } catch (Exception $e) { echo 'Exception when calling FormsApi->createLpFormsUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -205,7 +219,17 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **create_form_request** | [**\NecLimDul\MarketoRest\Asset\Model\CreateLpFormRequest**](../Model/CreateLpFormRequest.md)| createFormRequest | + **folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **description** | **string**| Description of the form | [optional] + **font_family** | **string**| font-family property for the form | [optional] + **font_size** | **string**| font-size property of the form | [optional] + **known_visitor** | [**\NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO**](../Model/FormKnownVisitorDTO.md)| | [optional] + **label_position** | **string**| Default positioning of labels. | [optional] + **language** | **string**| Language of the form | [optional] + **locale** | **string**| Locale of the form | [optional] + **name** | **string**| Name of the form | [optional] + **progressive_profiling** | **bool**| Whether progressive profiling is enabled for the form | [optional] + **theme** | **string**| CSS theme for the form to use | [optional] ### Return type @@ -266,7 +290,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -315,7 +339,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -338,7 +362,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FormsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions try { $result = $apiInstance->getLpFormByIdUsingGET($id, $status); @@ -366,7 +390,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -388,9 +412,9 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FormsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$name = "name_example"; // string | Name of the form -$status = "status_example"; // string | Status filter for draft or approved versions -$folder = "folder_example"; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' +$name = 'name_example'; // string | Name of the form +$status = 'status_example'; // string | Status filter for draft or approved versions +$folder = 'folder_example'; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' try { $result = $apiInstance->getLpFormByNameUsingGET($name, $status, $folder); @@ -419,7 +443,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -442,7 +466,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FormsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions try { $result = $apiInstance->getThankYouPageByIdUsingGET($id, $status); @@ -470,13 +494,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateFormSubmitButtonUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse updateFormSubmitButtonUsingPOST($id, $submit_button_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse updateFormSubmitButtonUsingPOST($id, $button_position, $button_style, $label, $waiting_label) Update Submit Button @@ -493,10 +517,13 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FormsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$submit_button_request = new \NecLimDul\MarketoRest\Asset\Model\SubmitButtonRequest(); // \NecLimDul\MarketoRest\Asset\Model\SubmitButtonRequest | submitButtonRequest +$button_position = 56; // int | Location in pixels of the button relative to the left of the form +$button_style = 'button_style_example'; // string | Style of the button +$label = 'label_example'; // string | Label text of the button +$waiting_label = 'waiting_label_example'; // string | Waiting text of the button try { - $result = $apiInstance->updateFormSubmitButtonUsingPOST($id, $submit_button_request); + $result = $apiInstance->updateFormSubmitButtonUsingPOST($id, $button_position, $button_style, $label, $waiting_label); print_r($result); } catch (Exception $e) { echo 'Exception when calling FormsApi->updateFormSubmitButtonUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -509,7 +536,10 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **submit_button_request** | [**\NecLimDul\MarketoRest\Asset\Model\SubmitButtonRequest**](../Model/SubmitButtonRequest.md)| submitButtonRequest | + **button_position** | **int**| Location in pixels of the button relative to the left of the form | [optional] + **button_style** | **string**| Style of the button | [optional] + **label** | **string**| Label text of the button | [optional] + **waiting_label** | **string**| Waiting text of the button | [optional] ### Return type @@ -527,7 +557,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateFormsUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse updateFormsUsingPOST($id, $update_form_meta_data_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse updateFormsUsingPOST($id, $custom_css, $description, $font_family, $font_size, $known_visitor, $label_position, $language, $locale, $name, $progressive_profiling, $theme) Update Form Metadata @@ -544,10 +574,20 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FormsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$update_form_meta_data_request = new \NecLimDul\MarketoRest\Asset\Model\UpdateFormMetaDataRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateFormMetaDataRequest | updateFormMetaDataRequest +$custom_css = 'custom_css_example'; // string | Custom CSS to apply to the form +$description = 'description_example'; // string | Description of the form +$font_family = 'font_family_example'; // string | font-family property for the form +$font_size = 'font_size_example'; // string | font-size property of the form +$known_visitor = new \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO(); // \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO | +$label_position = 'label_position_example'; // string | Default positioning of labels. +$language = 'language_example'; // string | Language of the form +$locale = 'locale_example'; // string | Locale of the form +$name = 'name_example'; // string | Name of the form +$progressive_profiling = True; // bool | Whether progressive profiling is enabled for the form +$theme = 'theme_example'; // string | CSS theme for the form to use try { - $result = $apiInstance->updateFormsUsingPOST($id, $update_form_meta_data_request); + $result = $apiInstance->updateFormsUsingPOST($id, $custom_css, $description, $font_family, $font_size, $known_visitor, $label_position, $language, $locale, $name, $progressive_profiling, $theme); print_r($result); } catch (Exception $e) { echo 'Exception when calling FormsApi->updateFormsUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -560,7 +600,17 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **update_form_meta_data_request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateFormMetaDataRequest**](../Model/UpdateFormMetaDataRequest.md)| updateFormMetaDataRequest | + **custom_css** | **string**| Custom CSS to apply to the form | [optional] + **description** | **string**| Description of the form | [optional] + **font_family** | **string**| font-family property for the form | [optional] + **font_size** | **string**| font-size property of the form | [optional] + **known_visitor** | [**\NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO**](../Model/FormKnownVisitorDTO.md)| | [optional] + **label_position** | **string**| Default positioning of labels. | [optional] + **language** | **string**| Language of the form | [optional] + **locale** | **string**| Locale of the form | [optional] + **name** | **string**| Name of the form | [optional] + **progressive_profiling** | **bool**| Whether progressive profiling is enabled for the form | [optional] + **theme** | **string**| CSS theme for the form to use | [optional] ### Return type @@ -578,7 +628,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateThankYouPageByIdUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfThankYouPageResponse updateThankYouPageByIdUsingPOST($id, $thank_you_page_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfThankYouPageResponse updateThankYouPageByIdUsingPOST($id, $thankyou) Update Thank You Page @@ -595,10 +645,10 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\FormsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$thank_you_page_request = new \NecLimDul\MarketoRest\Asset\Model\UpdateThankYouPageRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateThankYouPageRequest | thankYouPageRequest +$thankyou = new \NecLimDul\MarketoRest\Asset\Model\ThankYouPageRequest(); // \NecLimDul\MarketoRest\Asset\Model\ThankYouPageRequest[] | JSON array of followup rules try { - $result = $apiInstance->updateThankYouPageByIdUsingPOST($id, $thank_you_page_request); + $result = $apiInstance->updateThankYouPageByIdUsingPOST($id, $thankyou); print_r($result); } catch (Exception $e) { echo 'Exception when calling FormsApi->updateThankYouPageByIdUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -611,7 +661,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **thank_you_page_request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateThankYouPageRequest**](../Model/UpdateThankYouPageRequest.md)| thankYouPageRequest | + **thankyou** | [**\NecLimDul\MarketoRest\Asset\Model\ThankYouPageRequest[]**](../Model/\NecLimDul\MarketoRest\Asset\Model\ThankYouPageRequest.md)| JSON array of followup rules | [optional] ### Return type diff --git a/docs/Asset/Api/LandingPageContentApi.md b/docs/Asset/Api/LandingPageContentApi.md index 69a7a5bb..885e7e46 100644 --- a/docs/Asset/Api/LandingPageContentApi.md +++ b/docs/Asset/Api/LandingPageContentApi.md @@ -13,7 +13,7 @@ Method | HTTP request | Description # **addLandingPageContentUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse addLandingPageContentUsingPOST($id, $request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse addLandingPageContentUsingPOST($id, $content_id, $type, $background_color, $border_color, $border_style, $border_width, $height, $hide_desktop, $hide_mobile, $image_open_new_window, $left, $link_url, $opacity, $top, $value, $width, $z_index) Add Landing Page Content Section @@ -30,10 +30,26 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPageContentApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$request = new \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageContentRequest(); // \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageContentRequest | request +$content_id = 'content_id_example'; // string | Id of the content section. Also the HTML id of the section. +$type = 'type_example'; // string | Type of content section +$background_color = 'background_color_example'; // string | background-color property of the HTML section +$border_color = 'border_color_example'; // string | border-color property of the HTML section +$border_style = 'border_style_example'; // string | border-style property of the HTML section +$border_width = 'border_width_example'; // string | border-width property of the HTML section +$height = 'height_example'; // string | height property of the HTML section +$hide_desktop = True; // bool | Hide the section when displayed on a desktop browser. Default false +$hide_mobile = True; // bool | Hide the section when displayed on a mobile browser. Default false +$image_open_new_window = 'image_open_new_window_example'; // string | +$left = 'left_example'; // string | left property of the HTML section +$link_url = 'link_url_example'; // string | URL parameter of a link type section +$opacity = 'opacity_example'; // string | opacity property of the HTML section +$top = 'top_example'; // string | top property of the HTML section +$value = 'value_example'; // string | Type of content section +$width = 'width_example'; // string | width property of the HTML section +$z_index = 'z_index_example'; // string | z-index property of the HTML section try { - $result = $apiInstance->addLandingPageContentUsingPOST($id, $request); + $result = $apiInstance->addLandingPageContentUsingPOST($id, $content_id, $type, $background_color, $border_color, $border_style, $border_width, $height, $hide_desktop, $hide_mobile, $image_open_new_window, $left, $link_url, $opacity, $top, $value, $width, $z_index); print_r($result); } catch (Exception $e) { echo 'Exception when calling LandingPageContentApi->addLandingPageContentUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -46,7 +62,23 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **request** | [**\NecLimDul\MarketoRest\Asset\Model\CreateLandingPageContentRequest**](../Model/CreateLandingPageContentRequest.md)| request | + **content_id** | **string**| Id of the content section. Also the HTML id of the section. | + **type** | **string**| Type of content section | + **background_color** | **string**| background-color property of the HTML section | [optional] + **border_color** | **string**| border-color property of the HTML section | [optional] + **border_style** | **string**| border-style property of the HTML section | [optional] + **border_width** | **string**| border-width property of the HTML section | [optional] + **height** | **string**| height property of the HTML section | [optional] + **hide_desktop** | **bool**| Hide the section when displayed on a desktop browser. Default false | [optional] + **hide_mobile** | **bool**| Hide the section when displayed on a mobile browser. Default false | [optional] + **image_open_new_window** | **string**| | [optional] + **left** | **string**| left property of the HTML section | [optional] + **link_url** | **string**| URL parameter of a link type section | [optional] + **opacity** | **string**| opacity property of the HTML section | [optional] + **top** | **string**| top property of the HTML section | [optional] + **value** | **string**| Type of content section | [optional] + **width** | **string**| width property of the HTML section | [optional] + **z_index** | **string**| z-index property of the HTML section | [optional] ### Return type @@ -81,7 +113,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPageContentApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions try { $result = $apiInstance->getLandingPageContentUsingGET($id, $status); @@ -109,7 +141,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -132,7 +164,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPageContentApi( new GuzzleHttp\Client() ); $id = 56; // int | Id of landing page -$content_id = "content_id_example"; // string | Id of landing page dynamic content section +$content_id = 'content_id_example'; // string | Id of landing page dynamic content section try { $result = $apiInstance->getLandingPageDynamicContentsUsingGET($id, $content_id); @@ -160,7 +192,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -183,7 +215,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPageContentApi( new GuzzleHttp\Client() ); $id = 56; // int | Id of landing page -$content_id = "content_id_example"; // string | Id of landing page content section +$content_id = 'content_id_example'; // string | Id of landing page content section try { $result = $apiInstance->removeLandingPageContentUsingPOST($id, $content_id); @@ -211,13 +243,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateLandingPageContentUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse updateLandingPageContentUsingPOST($id, $content_id, $request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse updateLandingPageContentUsingPOST($id, $content_id, $type, $background_color, $border_color, $border_style, $border_width, $height, $hide_desktop, $hide_mobile, $image_open_new_window, $index, $left, $link_url, $opacity, $top, $value, $width, $z_index) Update Landing Page Content Section @@ -234,11 +266,27 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPageContentApi( new GuzzleHttp\Client() ); $id = 56; // int | Id of landing page -$content_id = "content_id_example"; // string | Id of landing page content section -$request = new \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageContentRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageContentRequest | Content properties +$content_id = 'content_id_example'; // string | Id of landing page content section +$type = 'type_example'; // string | Type of content section +$background_color = 'background_color_example'; // string | background-color property of the HTML section +$border_color = 'border_color_example'; // string | border-color property of the HTML section +$border_style = 'border_style_example'; // string | border-style property of the HTML section +$border_width = 'border_width_example'; // string | border-width property of the HTML section +$height = 'height_example'; // string | height property of the HTML section +$hide_desktop = True; // bool | Hide the section when displayed on a desktop browser. Default false +$hide_mobile = True; // bool | Hide the section when displayed on a mobile browser. Default false +$image_open_new_window = 'image_open_new_window_example'; // string | +$index = 56; // int | Index of the content section. Determines the order of the section in the landing page +$left = 'left_example'; // string | left property of the HTML section +$link_url = 'link_url_example'; // string | URL parameter of a link type section +$opacity = 'opacity_example'; // string | opacity property of the HTML section +$top = 'top_example'; // string | top property of the HTML section +$value = 'value_example'; // string | Type of content section +$width = 'width_example'; // string | width property of the HTML section +$z_index = 'z_index_example'; // string | z-index property of the HTML section try { - $result = $apiInstance->updateLandingPageContentUsingPOST($id, $content_id, $request); + $result = $apiInstance->updateLandingPageContentUsingPOST($id, $content_id, $type, $background_color, $border_color, $border_style, $border_width, $height, $hide_desktop, $hide_mobile, $image_open_new_window, $index, $left, $link_url, $opacity, $top, $value, $width, $z_index); print_r($result); } catch (Exception $e) { echo 'Exception when calling LandingPageContentApi->updateLandingPageContentUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -252,7 +300,23 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| Id of landing page | **content_id** | **string**| Id of landing page content section | - **request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageContentRequest**](../Model/UpdateLandingPageContentRequest.md)| Content properties | + **type** | **string**| Type of content section | + **background_color** | **string**| background-color property of the HTML section | [optional] + **border_color** | **string**| border-color property of the HTML section | [optional] + **border_style** | **string**| border-style property of the HTML section | [optional] + **border_width** | **string**| border-width property of the HTML section | [optional] + **height** | **string**| height property of the HTML section | [optional] + **hide_desktop** | **bool**| Hide the section when displayed on a desktop browser. Default false | [optional] + **hide_mobile** | **bool**| Hide the section when displayed on a mobile browser. Default false | [optional] + **image_open_new_window** | **string**| | [optional] + **index** | **int**| Index of the content section. Determines the order of the section in the landing page | [optional] + **left** | **string**| left property of the HTML section | [optional] + **link_url** | **string**| URL parameter of a link type section | [optional] + **opacity** | **string**| opacity property of the HTML section | [optional] + **top** | **string**| top property of the HTML section | [optional] + **value** | **string**| Type of content section | [optional] + **width** | **string**| width property of the HTML section | [optional] + **z_index** | **string**| z-index property of the HTML section | [optional] ### Return type @@ -270,7 +334,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateLandingPageDynamicContentUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse updateLandingPageDynamicContentUsingPOST($id, $content_id, $request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse updateLandingPageDynamicContentUsingPOST($id, $content_id, $background_color, $border_color, $border_style, $border_width, $height, $hide_desktop, $hide_mobile, $image_open_new_window, $left, $link_url, $opacity, $segment, $top, $type, $value, $width, $z_index) Update Landing Page Dynamic Content Section @@ -287,11 +351,27 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPageContentApi( new GuzzleHttp\Client() ); $id = 56; // int | Id of the landing page -$content_id = "content_id_example"; // string | Id of the landing page dynamic content -$request = new \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageDynamicContentRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageDynamicContentRequest | Dynamic content properties +$content_id = 'content_id_example'; // string | Id of the landing page dynamic content +$background_color = 'background_color_example'; // string | background-color property of the HTML section +$border_color = 'border_color_example'; // string | border-color property of the HTML section +$border_style = 'border_style_example'; // string | border-style property of the HTML section +$border_width = 'border_width_example'; // string | border-width property of the HTML section +$height = 'height_example'; // string | height property of the HTML section +$hide_desktop = True; // bool | Hide the section when displayed on a desktop browser. Default false +$hide_mobile = True; // bool | Hide the section when displayed on a mobile browser. Default false +$image_open_new_window = 'image_open_new_window_example'; // string | +$left = 'left_example'; // string | left property of the HTML section +$link_url = 'link_url_example'; // string | URL parameter of a link type section +$opacity = 'opacity_example'; // string | opacity property of the HTML section +$segment = 'segment_example'; // string | Name of the segment to display content section for +$top = 'top_example'; // string | top property of the HTML section +$type = 'type_example'; // string | Type of content section +$value = 'value_example'; // string | Type of content section +$width = 'width_example'; // string | width property of the HTML section +$z_index = 'z_index_example'; // string | z-index property of the HTML section try { - $result = $apiInstance->updateLandingPageDynamicContentUsingPOST($id, $content_id, $request); + $result = $apiInstance->updateLandingPageDynamicContentUsingPOST($id, $content_id, $background_color, $border_color, $border_style, $border_width, $height, $hide_desktop, $hide_mobile, $image_open_new_window, $left, $link_url, $opacity, $segment, $top, $type, $value, $width, $z_index); print_r($result); } catch (Exception $e) { echo 'Exception when calling LandingPageContentApi->updateLandingPageDynamicContentUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -305,7 +385,23 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| Id of the landing page | **content_id** | **string**| Id of the landing page dynamic content | - **request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageDynamicContentRequest**](../Model/UpdateLandingPageDynamicContentRequest.md)| Dynamic content properties | [optional] + **background_color** | **string**| background-color property of the HTML section | [optional] + **border_color** | **string**| border-color property of the HTML section | [optional] + **border_style** | **string**| border-style property of the HTML section | [optional] + **border_width** | **string**| border-width property of the HTML section | [optional] + **height** | **string**| height property of the HTML section | [optional] + **hide_desktop** | **bool**| Hide the section when displayed on a desktop browser. Default false | [optional] + **hide_mobile** | **bool**| Hide the section when displayed on a mobile browser. Default false | [optional] + **image_open_new_window** | **string**| | [optional] + **left** | **string**| left property of the HTML section | [optional] + **link_url** | **string**| URL parameter of a link type section | [optional] + **opacity** | **string**| opacity property of the HTML section | [optional] + **segment** | **string**| Name of the segment to display content section for | [optional] + **top** | **string**| top property of the HTML section | [optional] + **type** | **string**| Type of content section | [optional] + **value** | **string**| Type of content section | [optional] + **width** | **string**| width property of the HTML section | [optional] + **z_index** | **string**| z-index property of the HTML section | [optional] ### Return type diff --git a/docs/Asset/Api/LandingPageRedirectRulesApi.md b/docs/Asset/Api/LandingPageRedirectRulesApi.md index d7cb5a52..a1f112e9 100644 --- a/docs/Asset/Api/LandingPageRedirectRulesApi.md +++ b/docs/Asset/Api/LandingPageRedirectRulesApi.md @@ -13,7 +13,7 @@ Method | HTTP request | Description # **createLandingPageRedirectRuleUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageRedirectRules createLandingPageRedirectRuleUsingPOST($create_landing_page_redirect_rule_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageRedirectRules createLandingPageRedirectRuleUsingPOST($hostname, $redirect_from, $redirect_to) Create Landing Page Redirect Rule @@ -29,10 +29,12 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPageRedirectRulesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$create_landing_page_redirect_rule_request = new \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageRedirectRuleRequest(); // \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageRedirectRuleRequest | createLandingPageRedirectRuleRequest +$hostname = 'hostname_example'; // string | The hostname for the landing pages. Branding domain or alias. Max 255 characters +$redirect_from = new \NecLimDul\MarketoRest\Asset\Model\RedirectFrom(); // \NecLimDul\MarketoRest\Asset\Model\RedirectFrom | +$redirect_to = new \NecLimDul\MarketoRest\Asset\Model\RedirectTo(); // \NecLimDul\MarketoRest\Asset\Model\RedirectTo | try { - $result = $apiInstance->createLandingPageRedirectRuleUsingPOST($create_landing_page_redirect_rule_request); + $result = $apiInstance->createLandingPageRedirectRuleUsingPOST($hostname, $redirect_from, $redirect_to); print_r($result); } catch (Exception $e) { echo 'Exception when calling LandingPageRedirectRulesApi->createLandingPageRedirectRuleUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -44,7 +46,9 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **create_landing_page_redirect_rule_request** | [**\NecLimDul\MarketoRest\Asset\Model\CreateLandingPageRedirectRuleRequest**](../Model/CreateLandingPageRedirectRuleRequest.md)| createLandingPageRedirectRuleRequest | + **hostname** | **string**| The hostname for the landing pages. Branding domain or alias. Max 255 characters | + **redirect_from** | [**\NecLimDul\MarketoRest\Asset\Model\RedirectFrom**](../Model/RedirectFrom.md)| | + **redirect_to** | [**\NecLimDul\MarketoRest\Asset\Model\RedirectTo**](../Model/RedirectTo.md)| | ### Return type @@ -105,7 +109,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -156,7 +160,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -205,7 +209,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -229,10 +233,10 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPageRedirectRulesApi( ); $max_return = 56; // int | Maximum number of landing page redirect rules to return. Max 200, default 20 $offset = 56; // int | Integer offset for paging -$redirect_tolanding_page_id = "redirect_tolanding_page_id_example"; // string | Landing page id of landing page to redirect to -$redirect_to_path = "redirect_to_path_example"; // string | Path of landing page to redirect to -$earliest_updated_at = "earliest_updated_at_example"; // string | Exclude landing page redirect rules prior to this date. Must be valid ISO-8601 string. See Datetime field type description. -$latest_updated_at = "latest_updated_at_example"; // string | Exclude landing page redirect rules after this date. Must be valid ISO-8601 string. See Datetime field type description. +$redirect_tolanding_page_id = 'redirect_tolanding_page_id_example'; // string | Landing page id of landing page to redirect to +$redirect_to_path = 'redirect_to_path_example'; // string | Path of landing page to redirect to +$earliest_updated_at = 'earliest_updated_at_example'; // string | Exclude landing page redirect rules prior to this date. Must be valid ISO-8601 string. See Datetime field type description. +$latest_updated_at = 'latest_updated_at_example'; // string | Exclude landing page redirect rules after this date. Must be valid ISO-8601 string. See Datetime field type description. try { $result = $apiInstance->getLandingPageRedirectRulesUsingGET($max_return, $offset, $redirect_tolanding_page_id, $redirect_to_path, $earliest_updated_at, $latest_updated_at); @@ -264,13 +268,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateLandingPageRedirectRuleUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageRedirectRules updateLandingPageRedirectRuleUsingPOST($id, $update_landing_page_redirect_rule_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageRedirectRules updateLandingPageRedirectRuleUsingPOST($id, $hostname, $redirect_from, $redirect_to) Update Landing Page Redirect Rule @@ -287,10 +291,12 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPageRedirectRulesApi( new GuzzleHttp\Client() ); $id = 56; // int | Id of landing page redirect rule -$update_landing_page_redirect_rule_request = new \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageRedirectRuleRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageRedirectRuleRequest | updateLandingPageRedirectRuleRequest +$hostname = 'hostname_example'; // string | The hostname for the landing pages. Branding domain or alias. Max 255 characters +$redirect_from = new \NecLimDul\MarketoRest\Asset\Model\RedirectFrom(); // \NecLimDul\MarketoRest\Asset\Model\RedirectFrom | +$redirect_to = new \NecLimDul\MarketoRest\Asset\Model\RedirectTo(); // \NecLimDul\MarketoRest\Asset\Model\RedirectTo | try { - $result = $apiInstance->updateLandingPageRedirectRuleUsingPOST($id, $update_landing_page_redirect_rule_request); + $result = $apiInstance->updateLandingPageRedirectRuleUsingPOST($id, $hostname, $redirect_from, $redirect_to); print_r($result); } catch (Exception $e) { echo 'Exception when calling LandingPageRedirectRulesApi->updateLandingPageRedirectRuleUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -303,7 +309,9 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| Id of landing page redirect rule | - **update_landing_page_redirect_rule_request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageRedirectRuleRequest**](../Model/UpdateLandingPageRedirectRuleRequest.md)| updateLandingPageRedirectRuleRequest | + **hostname** | **string**| The hostname for the landing pages. Branding domain or alias. Max 255 characters | [optional] + **redirect_from** | [**\NecLimDul\MarketoRest\Asset\Model\RedirectFrom**](../Model/RedirectFrom.md)| | [optional] + **redirect_to** | [**\NecLimDul\MarketoRest\Asset\Model\RedirectTo**](../Model/RedirectTo.md)| | [optional] ### Return type diff --git a/docs/Asset/Api/LandingPageTemplatesApi.md b/docs/Asset/Api/LandingPageTemplatesApi.md index 0a241b64..fc1e5115 100644 --- a/docs/Asset/Api/LandingPageTemplatesApi.md +++ b/docs/Asset/Api/LandingPageTemplatesApi.md @@ -61,13 +61,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **cloneLpTemplateUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpTemplateResponse cloneLpTemplateUsingPOST($id, $clone_lp_template_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpTemplateResponse cloneLpTemplateUsingPOST($id, $folder, $name, $description) Clone Landing Page Template @@ -84,10 +84,12 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPageTemplatesApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$clone_lp_template_request = new \NecLimDul\MarketoRest\Asset\Model\CloneLpTemplateRequest(); // \NecLimDul\MarketoRest\Asset\Model\CloneLpTemplateRequest | cloneLpTemplateRequest +$folder = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$name = 'name_example'; // string | Name of the landing page template +$description = 'description_example'; // string | Description of the landing page template try { - $result = $apiInstance->cloneLpTemplateUsingPOST($id, $clone_lp_template_request); + $result = $apiInstance->cloneLpTemplateUsingPOST($id, $folder, $name, $description); print_r($result); } catch (Exception $e) { echo 'Exception when calling LandingPageTemplatesApi->cloneLpTemplateUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -100,7 +102,9 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **clone_lp_template_request** | [**\NecLimDul\MarketoRest\Asset\Model\CloneLpTemplateRequest**](../Model/CloneLpTemplateRequest.md)| cloneLpTemplateRequest | + **folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **name** | **string**| Name of the landing page template | + **description** | **string**| Description of the landing page template | [optional] ### Return type @@ -118,7 +122,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createLpTemplateUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpTemplateResponse createLpTemplateUsingPOST($create_lp_template_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpTemplateResponse createLpTemplateUsingPOST($folder, $name, $description, $enable_munchkin, $template_type) Create Landing Page Template @@ -134,10 +138,14 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPageTemplatesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$create_lp_template_request = new \NecLimDul\MarketoRest\Asset\Model\CreateLpTemplateRequest(); // \NecLimDul\MarketoRest\Asset\Model\CreateLpTemplateRequest | createLpTemplateRequest +$folder = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$name = 'name_example'; // string | Name of the landing page template +$description = 'description_example'; // string | Description of the landing page template +$enable_munchkin = True; // bool | Whether to enable munchkin on the derived pages. Defaults to true +$template_type = 'template_type_example'; // string | Type of template to create. Defaults to freeForm try { - $result = $apiInstance->createLpTemplateUsingPOST($create_lp_template_request); + $result = $apiInstance->createLpTemplateUsingPOST($folder, $name, $description, $enable_munchkin, $template_type); print_r($result); } catch (Exception $e) { echo 'Exception when calling LandingPageTemplatesApi->createLpTemplateUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -149,7 +157,11 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **create_lp_template_request** | [**\NecLimDul\MarketoRest\Asset\Model\CreateLpTemplateRequest**](../Model/CreateLpTemplateRequest.md)| createLpTemplateRequest | + **folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **name** | **string**| Name of the landing page template | + **description** | **string**| Description of the landing page template | [optional] + **enable_munchkin** | **bool**| Whether to enable munchkin on the derived pages. Defaults to true | [optional] + **template_type** | **string**| Type of template to create. Defaults to freeForm | [optional] ### Return type @@ -210,7 +222,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -259,7 +271,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -282,7 +294,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPageTemplatesApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions try { $result = $apiInstance->getLandingPageTemplateByIdUsingGET($id, $status); @@ -310,7 +322,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -332,7 +344,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPageTemplatesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$name = "name_example"; // string | Name of the landing page template +$name = 'name_example'; // string | Name of the landing page template try { $result = $apiInstance->getLandingPageTemplateByNameUsingGET($name); @@ -359,7 +371,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -382,7 +394,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPageTemplatesApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions try { $result = $apiInstance->getLandingPageTemplateContentUsingGET($id, $status); @@ -410,7 +422,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -434,8 +446,8 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPageTemplatesApi( ); $max_return = 56; // int | Maximum number of channels to return. Max 200, default 20 $offset = 56; // int | Integer offset for paging -$status = "status_example"; // string | Status filter for draft or approved versions -$folder = "folder_example"; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' +$status = 'status_example'; // string | Status filter for draft or approved versions +$folder = 'folder_example'; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' try { $result = $apiInstance->getLandingPageTemplatesUsingGET($max_return, $offset, $status, $folder); @@ -465,7 +477,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -514,13 +526,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateLpTemplateUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpTemplateResponse updateLpTemplateUsingPOST($id, $update_lp_template_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpTemplateResponse updateLpTemplateUsingPOST($id, $description, $enable_munchkin, $name) Update Landing Page Template Metadata @@ -537,10 +549,12 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPageTemplatesApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$update_lp_template_request = new \NecLimDul\MarketoRest\Asset\Model\UpdateLpTemplateRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateLpTemplateRequest | updateLpTemplateRequest +$description = 'description_example'; // string | Description of the landing page template +$enable_munchkin = True; // bool | Whether to enable munchkin on the derived pages. Defaults to true +$name = 'name_example'; // string | Name of the landing page template try { - $result = $apiInstance->updateLpTemplateUsingPOST($id, $update_lp_template_request); + $result = $apiInstance->updateLpTemplateUsingPOST($id, $description, $enable_munchkin, $name); print_r($result); } catch (Exception $e) { echo 'Exception when calling LandingPageTemplatesApi->updateLpTemplateUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -553,7 +567,9 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **update_lp_template_request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateLpTemplateRequest**](../Model/UpdateLpTemplateRequest.md)| updateLpTemplateRequest | + **description** | **string**| Description of the landing page template | [optional] + **enable_munchkin** | **bool**| Whether to enable munchkin on the derived pages. Defaults to true | [optional] + **name** | **string**| Name of the landing page template | [optional] ### Return type diff --git a/docs/Asset/Api/LandingPagesApi.md b/docs/Asset/Api/LandingPagesApi.md index 87fa123b..7f9b35f0 100644 --- a/docs/Asset/Api/LandingPagesApi.md +++ b/docs/Asset/Api/LandingPagesApi.md @@ -62,7 +62,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -84,10 +84,10 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPagesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions $max_return = 56; // int | Maximum number of landing pages to return. Max 200, default 20 $offset = 56; // int | Integer offset for paging -$folder = "folder_example"; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' +$folder = 'folder_example'; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' try { $result = $apiInstance->browseLandingPagesUsingGET($status, $max_return, $offset, $folder); @@ -117,13 +117,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **cloneLandingPageUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageResponse cloneLandingPageUsingPOST($id, $clone_landing_page_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageResponse cloneLandingPageUsingPOST($id, $folder, $name, $description, $template) Clone Landing Page @@ -140,10 +140,13 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPagesApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$clone_landing_page_request = new \NecLimDul\MarketoRest\Asset\Model\CloneLandingPageRequest(); // \NecLimDul\MarketoRest\Asset\Model\CloneLandingPageRequest | cloneLandingPageRequest +$folder = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$name = 'name_example'; // string | Name of the landing page +$description = 'description_example'; // string | Description of the asset +$template = 56; // int | Id of the template used try { - $result = $apiInstance->cloneLandingPageUsingPOST($id, $clone_landing_page_request); + $result = $apiInstance->cloneLandingPageUsingPOST($id, $folder, $name, $description, $template); print_r($result); } catch (Exception $e) { echo 'Exception when calling LandingPagesApi->cloneLandingPageUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -156,7 +159,10 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **clone_landing_page_request** | [**\NecLimDul\MarketoRest\Asset\Model\CloneLandingPageRequest**](../Model/CloneLandingPageRequest.md)| cloneLandingPageRequest | + **folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **name** | **string**| Name of the landing page | + **description** | **string**| Description of the asset | [optional] + **template** | **int**| Id of the template used | [optional] ### Return type @@ -174,7 +180,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createLandingPageUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageResponse createLandingPageUsingPOST($create_landing_page_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageResponse createLandingPageUsingPOST($folder, $name, $template, $custom_head_html, $description, $facebook_og_tags, $keywords, $mobile_enabled, $prefill_form, $robots, $title, $url_page_name, $workspace) Create Landing Page @@ -190,10 +196,22 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPagesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$create_landing_page_request = new \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageRequest(); // \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageRequest | createLandingPageRequest +$folder = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$name = 'name_example'; // string | Name of the landing page +$template = 56; // int | Id of the template used +$custom_head_html = 'custom_head_html_example'; // string | Any custom HTML to embed in the tag of the page +$description = 'description_example'; // string | Description of the asset +$facebook_og_tags = 'facebook_og_tags_example'; // string | Any OpenGraph meta tags to apply to the page +$keywords = 'keywords_example'; // string | +$mobile_enabled = True; // bool | Whether the page has mobile viewing enabled. Free-form pages only. Default false +$prefill_form = True; // bool | Boolean to toggle whether forms embedded in the page will prefill. Default false +$robots = 'robots_example'; // string | Robots directives to apply to the pages meta tags +$title = 'title_example'; // string | Title element of the landing page +$url_page_name = 'url_page_name_example'; // string | URL path of the page. Derived from the name field if unset +$workspace = 'workspace_example'; // string | Name of the workspace try { - $result = $apiInstance->createLandingPageUsingPOST($create_landing_page_request); + $result = $apiInstance->createLandingPageUsingPOST($folder, $name, $template, $custom_head_html, $description, $facebook_og_tags, $keywords, $mobile_enabled, $prefill_form, $robots, $title, $url_page_name, $workspace); print_r($result); } catch (Exception $e) { echo 'Exception when calling LandingPagesApi->createLandingPageUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -205,7 +223,19 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **create_landing_page_request** | [**\NecLimDul\MarketoRest\Asset\Model\CreateLandingPageRequest**](../Model/CreateLandingPageRequest.md)| createLandingPageRequest | + **folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **name** | **string**| Name of the landing page | + **template** | **int**| Id of the template used | + **custom_head_html** | **string**| Any custom HTML to embed in the <head> tag of the page | [optional] + **description** | **string**| Description of the asset | [optional] + **facebook_og_tags** | **string**| Any OpenGraph meta tags to apply to the page | [optional] + **keywords** | **string**| | [optional] + **mobile_enabled** | **bool**| Whether the page has mobile viewing enabled. Free-form pages only. Default false | [optional] + **prefill_form** | **bool**| Boolean to toggle whether forms embedded in the page will prefill. Default false | [optional] + **robots** | **string**| Robots directives to apply to the pages meta tags | [optional] + **title** | **string**| Title element of the landing page | [optional] + **url_page_name** | **string**| URL path of the page. Derived from the name field if unset | [optional] + **workspace** | **string**| Name of the workspace | [optional] ### Return type @@ -266,7 +296,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -315,7 +345,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -338,7 +368,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPagesApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions try { $result = $apiInstance->getLandingPageByIdUsingGET($id, $status); @@ -366,7 +396,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -388,8 +418,8 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPagesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$name = "name_example"; // string | Name of the landing page -$status = "status_example"; // string | Status filter for draft or approved versions +$name = 'name_example'; // string | Name of the landing page +$status = 'status_example'; // string | Status filter for draft or approved versions $max_return = 56; // int | Maximum number of channels to return. Max 200, default 20 $offset = 56; // int | Integer offset for paging @@ -421,7 +451,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -442,7 +472,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPagesApi( new GuzzleHttp\Client() ); $id = 56; // int | Id of the landing page -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions try { $result = $apiInstance->getVariablesUsingGET($id, $status); @@ -470,7 +500,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -519,13 +549,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateLandingPageUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageResponse updateLandingPageUsingPOST($id, $update_landing_page_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageResponse updateLandingPageUsingPOST($id, $custom_head_html, $description, $facebook_og_tags, $keywords, $meta_tags_description, $mobile_enabled, $name, $robots, $style_over_ride, $title, $url_page_name) Update Landing Page Metadata @@ -542,10 +572,20 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPagesApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$update_landing_page_request = new \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageRequest | updateLandingPageRequest +$custom_head_html = 'custom_head_html_example'; // string | Any custom HTML to embed in the tag of the page +$description = 'description_example'; // string | Description of the asset +$facebook_og_tags = 'facebook_og_tags_example'; // string | Any OpenGraph meta tags to apply to the page +$keywords = 'keywords_example'; // string | +$meta_tags_description = 'meta_tags_description_example'; // string | Meta description property of the page +$mobile_enabled = True; // bool | Whether the page has mobile viewing enabled. Free-form pages only. Default false +$name = 'name_example'; // string | Name of the landing page +$robots = 'robots_example'; // string | Robots directives to apply to the pages meta tags +$style_over_ride = 'style_over_ride_example'; // string | Additional CSS styles to append to the landing page +$title = 'title_example'; // string | Title element of the landing page +$url_page_name = 'url_page_name_example'; // string | URL path of the page. Derived from the name field if unset try { - $result = $apiInstance->updateLandingPageUsingPOST($id, $update_landing_page_request); + $result = $apiInstance->updateLandingPageUsingPOST($id, $custom_head_html, $description, $facebook_og_tags, $keywords, $meta_tags_description, $mobile_enabled, $name, $robots, $style_over_ride, $title, $url_page_name); print_r($result); } catch (Exception $e) { echo 'Exception when calling LandingPagesApi->updateLandingPageUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -558,7 +598,17 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **update_landing_page_request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageRequest**](../Model/UpdateLandingPageRequest.md)| updateLandingPageRequest | + **custom_head_html** | **string**| Any custom HTML to embed in the <head> tag of the page | [optional] + **description** | **string**| Description of the asset | [optional] + **facebook_og_tags** | **string**| Any OpenGraph meta tags to apply to the page | [optional] + **keywords** | **string**| | [optional] + **meta_tags_description** | **string**| Meta description property of the page | [optional] + **mobile_enabled** | **bool**| Whether the page has mobile viewing enabled. Free-form pages only. Default false | [optional] + **name** | **string**| Name of the landing page | [optional] + **robots** | **string**| Robots directives to apply to the pages meta tags | [optional] + **style_over_ride** | **string**| Additional CSS styles to append to the landing page <head> | [optional] + **title** | **string**| Title element of the landing page | [optional] + **url_page_name** | **string**| URL path of the page. Derived from the name field if unset | [optional] ### Return type @@ -593,7 +643,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPagesApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$variable_id = "variable_id_example"; // string | variableId +$variable_id = 'variable_id_example'; // string | variableId $value = 56; // int | New value of the variable try { @@ -623,7 +673,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/Asset/Api/ProgramsApi.md b/docs/Asset/Api/ProgramsApi.md index 8146b2bf..d6ba1294 100644 --- a/docs/Asset/Api/ProgramsApi.md +++ b/docs/Asset/Api/ProgramsApi.md @@ -61,7 +61,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -85,9 +85,9 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\ProgramsApi( ); $max_return = 56; // int | Maximum number of channels to return. Max 200, default 20 $offset = 56; // int | Integer offset for paging -$filter_type = "filter_type_example"; // string | Optional filter. Requires filterValues -$earliest_updated_at = "earliest_updated_at_example"; // string | Exclude programs prior to this date. Must be valid ISO-8601 string. See Datetime field type description. -$latest_updated_at = "latest_updated_at_example"; // string | Exclude programs after this date. Must be valid ISO-8601 string. See Datetime field type description. +$filter_type = 'filter_type_example'; // string | Optional filter. Requires filterValues +$earliest_updated_at = 'earliest_updated_at_example'; // string | Exclude programs prior to this date. Must be valid ISO-8601 string. See Datetime field type description. +$latest_updated_at = 'latest_updated_at_example'; // string | Exclude programs after this date. Must be valid ISO-8601 string. See Datetime field type description. try { $result = $apiInstance->browseProgramsUsingGET($max_return, $offset, $filter_type, $earliest_updated_at, $latest_updated_at); @@ -118,13 +118,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **cloneProgramUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfProgramResponse cloneProgramUsingPOST($id, $clone_program_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfProgramResponse cloneProgramUsingPOST($id, $folder, $name, $description) Clone Program @@ -141,10 +141,12 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\ProgramsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$clone_program_request = new \NecLimDul\MarketoRest\Asset\Model\CloneProgramRequest(); // \NecLimDul\MarketoRest\Asset\Model\CloneProgramRequest | cloneProgramRequest +$folder = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$name = 'name_example'; // string | Name of the program +$description = 'description_example'; // string | try { - $result = $apiInstance->cloneProgramUsingPOST($id, $clone_program_request); + $result = $apiInstance->cloneProgramUsingPOST($id, $folder, $name, $description); print_r($result); } catch (Exception $e) { echo 'Exception when calling ProgramsApi->cloneProgramUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -157,7 +159,9 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **clone_program_request** | [**\NecLimDul\MarketoRest\Asset\Model\CloneProgramRequest**](../Model/CloneProgramRequest.md)| cloneProgramRequest | + **folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **name** | **string**| Name of the program | + **description** | **string**| | [optional] ### Return type @@ -175,7 +179,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createProgramUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfProgramResponse createProgramUsingPOST($create_program_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfProgramResponse createProgramUsingPOST($folder, $channel, $costs, $description, $name, $tags, $type) Create Program @@ -191,10 +195,16 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\ProgramsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$create_program_request = new \NecLimDul\MarketoRest\Asset\Model\CreateProgramRequest(); // \NecLimDul\MarketoRest\Asset\Model\CreateProgramRequest | createProgramRequest +$folder = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$channel = 'channel_example'; // string | Channel of the program +$costs = new \NecLimDul\MarketoRest\Asset\Model\CostRequest(); // \NecLimDul\MarketoRest\Asset\Model\CostRequest[] | Lists of associated period costs +$description = 'description_example'; // string | +$name = 'name_example'; // string | Name of the program +$tags = new \NecLimDul\MarketoRest\Asset\Model\TagRequest(); // \NecLimDul\MarketoRest\Asset\Model\TagRequest[] | List of associated program tags +$type = 'type_example'; // string | Type of the program try { - $result = $apiInstance->createProgramUsingPOST($create_program_request); + $result = $apiInstance->createProgramUsingPOST($folder, $channel, $costs, $description, $name, $tags, $type); print_r($result); } catch (Exception $e) { echo 'Exception when calling ProgramsApi->createProgramUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -206,7 +216,13 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **create_program_request** | [**\NecLimDul\MarketoRest\Asset\Model\CreateProgramRequest**](../Model/CreateProgramRequest.md)| createProgramRequest | + **folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **channel** | **string**| Channel of the program | [optional] + **costs** | [**\NecLimDul\MarketoRest\Asset\Model\CostRequest[]**](../Model/\NecLimDul\MarketoRest\Asset\Model\CostRequest.md)| Lists of associated period costs | [optional] + **description** | **string**| | [optional] + **name** | **string**| Name of the program | [optional] + **tags** | [**\NecLimDul\MarketoRest\Asset\Model\TagRequest[]**](../Model/\NecLimDul\MarketoRest\Asset\Model\TagRequest.md)| List of associated program tags | [optional] + **type** | **string**| Type of the program | [optional] ### Return type @@ -267,7 +283,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -316,7 +332,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -338,9 +354,9 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\ProgramsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$name = "name_example"; // string | Name of the program -$include_tags = true; // bool | Set true to populate program tags -$include_costs = true; // bool | Set true to populate program costs +$name = 'name_example'; // string | Name of the program +$include_tags = True; // bool | Set true to populate program tags +$include_costs = True; // bool | Set true to populate program costs try { $result = $apiInstance->getProgramByNameUsingGET($name, $include_tags, $include_costs); @@ -369,7 +385,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -391,8 +407,8 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\ProgramsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$tag_type = "tag_type_example"; // string | Type of program tag -$tag_value = "tag_value_example"; // string | Value of the tag +$tag_type = 'tag_type_example'; // string | Type of program tag +$tag_value = 'tag_value_example'; // string | Value of the tag $max_return = 56; // int | Maximum number of channels to return. Max 200, default 20 $offset = 56; // int | Integer offset for paging @@ -424,7 +440,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -446,8 +462,8 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\ProgramsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$program_id = 789; // int | Id for the email program containing smart list to retrieve -$include_rules = true; // bool | Set true to populate smart list rules. Default false +$program_id = 56; // int | Id for the email program containing smart list to retrieve +$include_rules = True; // bool | Set true to populate smart list rules. Default false try { $result = $apiInstance->getSmartListByProgramIdUsingGET($program_id, $include_rules); @@ -475,7 +491,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -524,13 +540,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateProgramUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfProgramResponse updateProgramUsingPOST($id, $update_program_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfProgramResponse updateProgramUsingPOST($id, $costs, $costs_destructive_update, $description, $end_date, $name, $start_date, $tags) Update Program Metadata @@ -547,10 +563,16 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\ProgramsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$update_program_request = new \NecLimDul\MarketoRest\Asset\Model\UpdateProgramRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateProgramRequest | updateProgramRequest +$costs = new \NecLimDul\MarketoRest\Asset\Model\CostRequest(); // \NecLimDul\MarketoRest\Asset\Model\CostRequest[] | Lists of associated period costs that allow you to append, replace, or delete. To append new costs, simply add them to costs array. To replace costs (destructive update), pass new costs and set costsDestructiveUpdate to true. To delete costs, do not pass costs parameter and set costsDestructiveUpdate to true +$costs_destructive_update = True; // bool | Set true to destroy existing costs and replace them with the specified costs +$description = 'description_example'; // string | Updated description for the program +$end_date = 'end_date_example'; // string | End date of the program. Applicable to event, email, and webinar type programs +$name = 'name_example'; // string | Name of the program +$start_date = 'start_date_example'; // string | Start date of program. Applicable to event, email and webinar type programs +$tags = new \NecLimDul\MarketoRest\Asset\Model\TagRequest(); // \NecLimDul\MarketoRest\Asset\Model\TagRequest[] | List of associated program tags try { - $result = $apiInstance->updateProgramUsingPOST($id, $update_program_request); + $result = $apiInstance->updateProgramUsingPOST($id, $costs, $costs_destructive_update, $description, $end_date, $name, $start_date, $tags); print_r($result); } catch (Exception $e) { echo 'Exception when calling ProgramsApi->updateProgramUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -563,7 +585,13 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **update_program_request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateProgramRequest**](../Model/UpdateProgramRequest.md)| updateProgramRequest | + **costs** | [**\NecLimDul\MarketoRest\Asset\Model\CostRequest[]**](../Model/\NecLimDul\MarketoRest\Asset\Model\CostRequest.md)| Lists of associated period costs that allow you to append, replace, or delete. To append new costs, simply add them to costs array. To replace costs (destructive update), pass new costs and set costsDestructiveUpdate to true. To delete costs, do not pass costs parameter and set costsDestructiveUpdate to true | [optional] + **costs_destructive_update** | **bool**| Set true to destroy existing costs and replace them with the specified costs | [optional] + **description** | **string**| Updated description for the program | [optional] + **end_date** | **string**| End date of the program. Applicable to event, email, and webinar type programs | [optional] + **name** | **string**| Name of the program | [optional] + **start_date** | **string**| Start date of program. Applicable to event, email and webinar type programs | [optional] + **tags** | [**\NecLimDul\MarketoRest\Asset\Model\TagRequest[]**](../Model/\NecLimDul\MarketoRest\Asset\Model\TagRequest.md)| List of associated program tags | [optional] ### Return type diff --git a/docs/Asset/Api/SegmentsApi.md b/docs/Asset/Api/SegmentsApi.md index 6d572016..ce02b0e4 100644 --- a/docs/Asset/Api/SegmentsApi.md +++ b/docs/Asset/Api/SegmentsApi.md @@ -25,7 +25,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SegmentsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions try { $result = $apiInstance->getSegmentationUsingGET($status); @@ -52,7 +52,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -75,7 +75,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SegmentsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions $offset = 56; // int | Integer offset for paging $max_return = 56; // int | Maximum number of channels to return. Max 200, default 20 @@ -107,7 +107,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/Asset/Api/SmartCampaignsApi.md b/docs/Asset/Api/SmartCampaignsApi.md index 3806fe12..03b73476 100644 --- a/docs/Asset/Api/SmartCampaignsApi.md +++ b/docs/Asset/Api/SmartCampaignsApi.md @@ -60,13 +60,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: multipart/form-data + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **cloneSmartCampaignUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfSmartCampaignResponse cloneSmartCampaignUsingPOST($id, $clone_smart_campaign_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfSmartCampaignResponse cloneSmartCampaignUsingPOST($id, $folder, $name, $description) Clone Smart Campaign @@ -83,10 +83,12 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SmartCampaignsApi( new GuzzleHttp\Client() ); $id = 56; // int | Id of the smart campaign -$clone_smart_campaign_request = new \NecLimDul\MarketoRest\Asset\Model\CloneSmartCampaignRequest(); // \NecLimDul\MarketoRest\Asset\Model\CloneSmartCampaignRequest | cloneSmartCampaignRequest +$folder = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$name = 'name_example'; // string | Name of the smart campaign +$description = 'description_example'; // string | Description of the smart campaign try { - $result = $apiInstance->cloneSmartCampaignUsingPOST($id, $clone_smart_campaign_request); + $result = $apiInstance->cloneSmartCampaignUsingPOST($id, $folder, $name, $description); print_r($result); } catch (Exception $e) { echo 'Exception when calling SmartCampaignsApi->cloneSmartCampaignUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -99,7 +101,9 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| Id of the smart campaign | - **clone_smart_campaign_request** | [**\NecLimDul\MarketoRest\Asset\Model\CloneSmartCampaignRequest**](../Model/CloneSmartCampaignRequest.md)| cloneSmartCampaignRequest | + **folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **name** | **string**| Name of the smart campaign | + **description** | **string**| Description of the smart campaign | [optional] ### Return type @@ -117,7 +121,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createSmartCampaignUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfSmartCampaignResponse createSmartCampaignUsingPOST($create_smart_campaign_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfSmartCampaignResponse createSmartCampaignUsingPOST($folder, $name, $description) Create Smart Campaign @@ -133,10 +137,12 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SmartCampaignsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$create_smart_campaign_request = new \NecLimDul\MarketoRest\Asset\Model\CreateSmartCampaignRequest(); // \NecLimDul\MarketoRest\Asset\Model\CreateSmartCampaignRequest | createSmartCampaignRequest +$folder = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$name = 'name_example'; // string | Name of the smart campaign +$description = 'description_example'; // string | Description of the smart campaign try { - $result = $apiInstance->createSmartCampaignUsingPOST($create_smart_campaign_request); + $result = $apiInstance->createSmartCampaignUsingPOST($folder, $name, $description); print_r($result); } catch (Exception $e) { echo 'Exception when calling SmartCampaignsApi->createSmartCampaignUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -148,7 +154,9 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **create_smart_campaign_request** | [**\NecLimDul\MarketoRest\Asset\Model\CreateSmartCampaignRequest**](../Model/CreateSmartCampaignRequest.md)| createSmartCampaignRequest | + **folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **name** | **string**| Name of the smart campaign | + **description** | **string**| Description of the smart campaign | [optional] ### Return type @@ -209,7 +217,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: multipart/form-data + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -258,7 +266,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -282,9 +290,9 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SmartCampaignsApi( ); $max_return = 56; // int | Maximum number of smart campaigns to return. Max 200, default 20 $offset = 56; // int | Integer offset for paging -$folder = "folder_example"; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' -$earliest_updated_at = "earliest_updated_at_example"; // string | Exclude smart campaigns prior to this date. Must be valid ISO-8601 string. See Datetime field type description. -$latest_updated_at = "latest_updated_at_example"; // string | Exclude smart campaigns after this date. Must be valid ISO-8601 string. See Datetime field type description. +$folder = 'folder_example'; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' +$earliest_updated_at = 'earliest_updated_at_example'; // string | Exclude smart campaigns prior to this date. Must be valid ISO-8601 string. See Datetime field type description. +$latest_updated_at = 'latest_updated_at_example'; // string | Exclude smart campaigns after this date. Must be valid ISO-8601 string. See Datetime field type description. try { $result = $apiInstance->getAllSmartCampaignsGET($max_return, $offset, $folder, $earliest_updated_at, $latest_updated_at); @@ -315,7 +323,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -364,7 +372,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -386,7 +394,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SmartCampaignsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$name = "name_example"; // string | Name for the smart campaign +$name = 'name_example'; // string | Name for the smart campaign try { $result = $apiInstance->getSmartCampaignByNameUsingGET($name); @@ -413,7 +421,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -435,8 +443,8 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SmartCampaignsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$id = 789; // int | Id for the smart campaign containing smart list to retrieve -$include_rules = true; // bool | Set true to populate smart list rules. Default false +$id = 56; // int | Id for the smart campaign containing smart list to retrieve +$include_rules = True; // bool | Set true to populate smart list rules. Default false try { $result = $apiInstance->getSmartListBySmartCampaignIdUsingGET($id, $include_rules); @@ -464,7 +472,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/Asset/Api/SmartListsApi.md b/docs/Asset/Api/SmartListsApi.md index fd409070..155d301c 100644 --- a/docs/Asset/Api/SmartListsApi.md +++ b/docs/Asset/Api/SmartListsApi.md @@ -12,7 +12,7 @@ Method | HTTP request | Description # **cloneSmartListUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfSmartListResponse cloneSmartListUsingPOST($id, $clone_smart_list_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfSmartListResponse cloneSmartListUsingPOST($id, $name, $folder, $description) Clone Smart List @@ -29,10 +29,12 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SmartListsApi( new GuzzleHttp\Client() ); $id = 56; // int | Id of smart list to clone -$clone_smart_list_request = new \NecLimDul\MarketoRest\Asset\Model\CloneSmartListRequest(); // \NecLimDul\MarketoRest\Asset\Model\CloneSmartListRequest | cloneSmartListRequest +$name = 'name_example'; // string | Name for the cloned smart list +$folder = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$description = 'description_example'; // string | Description of the cloned smart list try { - $result = $apiInstance->cloneSmartListUsingPOST($id, $clone_smart_list_request); + $result = $apiInstance->cloneSmartListUsingPOST($id, $name, $folder, $description); print_r($result); } catch (Exception $e) { echo 'Exception when calling SmartListsApi->cloneSmartListUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -45,7 +47,9 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| Id of smart list to clone | - **clone_smart_list_request** | [**\NecLimDul\MarketoRest\Asset\Model\CloneSmartListRequest**](../Model/CloneSmartListRequest.md)| cloneSmartListRequest | + **name** | **string**| Name for the cloned smart list | + **folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **description** | **string**| Description of the cloned smart list | [optional] ### Return type @@ -79,7 +83,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SmartListsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$id = 789; // int | Id of the smart list to delete +$id = 56; // int | Id of the smart list to delete try { $result = $apiInstance->deleteSmartListByIdUsingPOST($id); @@ -106,7 +110,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -128,8 +132,8 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SmartListsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$id = 789; // int | Id of the smart list to retrieve -$include_rules = true; // bool | Set true to populate smart list rules. Default false +$id = 56; // int | Id of the smart list to retrieve +$include_rules = True; // bool | Set true to populate smart list rules. Default false try { $result = $apiInstance->getSmartListByIdUsingGET($id, $include_rules); @@ -157,7 +161,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -179,7 +183,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SmartListsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$name = "name_example"; // string | Name of smart list to retrieve +$name = 'name_example'; // string | Name of smart list to retrieve try { $result = $apiInstance->getSmartListByNameUsingGET($name); @@ -206,7 +210,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -228,11 +232,11 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SmartListsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$folder = "folder_example"; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' +$folder = 'folder_example'; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' $offset = 56; // int | Integer offset for paging $max_return = 56; // int | Maximum number of smart lists to return. Max 200, default 20. -$earliest_updated_at = "earliest_updated_at_example"; // string | Exclude smart lists prior to this date. Must be valid ISO-8601 string. See Datetime field type description. -$latest_updated_at = "latest_updated_at_example"; // string | Exclude smart lists after this date. Must be valid ISO-8601 string. See Datetime field type description. +$earliest_updated_at = 'earliest_updated_at_example'; // string | Exclude smart lists prior to this date. Must be valid ISO-8601 string. See Datetime field type description. +$latest_updated_at = 'latest_updated_at_example'; // string | Exclude smart lists after this date. Must be valid ISO-8601 string. See Datetime field type description. try { $result = $apiInstance->getSmartListsUsingGET($folder, $offset, $max_return, $earliest_updated_at, $latest_updated_at); @@ -263,7 +267,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/Asset/Api/SnippetsApi.md b/docs/Asset/Api/SnippetsApi.md index eccd96ae..547371df 100644 --- a/docs/Asset/Api/SnippetsApi.md +++ b/docs/Asset/Api/SnippetsApi.md @@ -63,13 +63,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **cloneSnippetUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfSnippetResponse cloneSnippetUsingPOST($id, $clone_snippet_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfSnippetResponse cloneSnippetUsingPOST($id, $name, $folder, $description) Clone Snippet @@ -86,10 +86,12 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SnippetsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$clone_snippet_request = new \NecLimDul\MarketoRest\Asset\Model\CloneSnippetRequest(); // \NecLimDul\MarketoRest\Asset\Model\CloneSnippetRequest | cloneSnippetRequest +$name = 'name_example'; // string | Name for the cloned snippet +$folder = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$description = 'description_example'; // string | Description of the cloned snippet try { - $result = $apiInstance->cloneSnippetUsingPOST($id, $clone_snippet_request); + $result = $apiInstance->cloneSnippetUsingPOST($id, $name, $folder, $description); print_r($result); } catch (Exception $e) { echo 'Exception when calling SnippetsApi->cloneSnippetUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -102,7 +104,9 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **clone_snippet_request** | [**\NecLimDul\MarketoRest\Asset\Model\CloneSnippetRequest**](../Model/CloneSnippetRequest.md)| cloneSnippetRequest | [optional] + **name** | **string**| Name for the cloned snippet | + **folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **description** | **string**| Description of the cloned snippet | [optional] ### Return type @@ -120,7 +124,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **createSnippetUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfSnippetResponse createSnippetUsingPOST($create_snippet_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfSnippetResponse createSnippetUsingPOST($folder, $name, $description) Create Snippet @@ -136,10 +140,12 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SnippetsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$create_snippet_request = new \NecLimDul\MarketoRest\Asset\Model\CreateSnippetRequest(); // \NecLimDul\MarketoRest\Asset\Model\CreateSnippetRequest | createSnippetRequest +$folder = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$name = 'name_example'; // string | Name of the snippet +$description = 'description_example'; // string | Description of the snippet try { - $result = $apiInstance->createSnippetUsingPOST($create_snippet_request); + $result = $apiInstance->createSnippetUsingPOST($folder, $name, $description); print_r($result); } catch (Exception $e) { echo 'Exception when calling SnippetsApi->createSnippetUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -151,7 +157,9 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **create_snippet_request** | [**\NecLimDul\MarketoRest\Asset\Model\CreateSnippetRequest**](../Model/CreateSnippetRequest.md)| createSnippetRequest | + **folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **name** | **string**| Name of the snippet | + **description** | **string**| Description of the snippet | [optional] ### Return type @@ -212,7 +220,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -261,7 +269,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -284,7 +292,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SnippetsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions try { $result = $apiInstance->getDynamicContentUsingGET($id, $status); @@ -312,7 +320,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -335,7 +343,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SnippetsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions try { $result = $apiInstance->getSnippetByIdUsingGET($id, $status); @@ -363,7 +371,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -386,7 +394,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SnippetsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions try { $result = $apiInstance->getSnippetContentByIdUsingGET($id, $status); @@ -414,7 +422,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -436,7 +444,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SnippetsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$status = "status_example"; // string | Status filter for draft or approved versions +$status = 'status_example'; // string | Status filter for draft or approved versions $max_return = 56; // int | Maximum number of channels to return. Max 200, default 20 $offset = 56; // int | Integer offset for paging @@ -467,7 +475,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -516,7 +524,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -539,8 +547,8 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SnippetsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$content = "content_example"; // string | Content of the snippet -$type = "type_example"; // string | Type of snippet content +$content = 'content_example'; // string | Content of the snippet +$type = 'type_example'; // string | Type of snippet content try { $result = $apiInstance->updateContentUsingPOST1($id, $content, $type); @@ -569,13 +577,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateDynamicContentUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse updateDynamicContentUsingPOST($id, $segment_id, $request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse updateDynamicContentUsingPOST($id, $segment_id, $type, $value) Update Snippet Dynamic Content @@ -593,10 +601,11 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SnippetsApi( ); $id = 56; // int | id $segment_id = 56; // int | segmentId -$request = new \NecLimDul\MarketoRest\Asset\Model\UpdateSnippetDynamicContentRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateSnippetDynamicContentRequest | request +$type = 'type_example'; // string | Type of dynamic content section +$value = 'value_example'; // string | Value of the dynamic content section try { - $result = $apiInstance->updateDynamicContentUsingPOST($id, $segment_id, $request); + $result = $apiInstance->updateDynamicContentUsingPOST($id, $segment_id, $type, $value); print_r($result); } catch (Exception $e) { echo 'Exception when calling SnippetsApi->updateDynamicContentUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -610,7 +619,8 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | **segment_id** | **int**| segmentId | - **request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateSnippetDynamicContentRequest**](../Model/UpdateSnippetDynamicContentRequest.md)| request | + **type** | **string**| Type of dynamic content section | [optional] + **value** | **string**| Value of the dynamic content section | [optional] ### Return type @@ -628,7 +638,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateSnippetUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfSnippetResponse updateSnippetUsingPOST($id, $update_snippet_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfSnippetResponse updateSnippetUsingPOST($id, $description, $is_archive, $name) Update Snippet Metadata @@ -645,10 +655,12 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\SnippetsApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$update_snippet_request = new \NecLimDul\MarketoRest\Asset\Model\UpdateSnippetRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateSnippetRequest | updateSnippetRequest +$description = 'description_example'; // string | Description of the snippet +$is_archive = 'is_archive_example'; // string | Archival status of the snippet +$name = 'name_example'; // string | Name of the snippet try { - $result = $apiInstance->updateSnippetUsingPOST($id, $update_snippet_request); + $result = $apiInstance->updateSnippetUsingPOST($id, $description, $is_archive, $name); print_r($result); } catch (Exception $e) { echo 'Exception when calling SnippetsApi->updateSnippetUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -661,7 +673,9 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **update_snippet_request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateSnippetRequest**](../Model/UpdateSnippetRequest.md)| updateSnippetRequest | + **description** | **string**| Description of the snippet | [optional] + **is_archive** | **string**| Archival status of the snippet | [optional] + **name** | **string**| Name of the snippet | [optional] ### Return type diff --git a/docs/Asset/Api/StaticListsApi.md b/docs/Asset/Api/StaticListsApi.md index 45634a6c..98f470c3 100644 --- a/docs/Asset/Api/StaticListsApi.md +++ b/docs/Asset/Api/StaticListsApi.md @@ -13,7 +13,7 @@ Method | HTTP request | Description # **createStaticListUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfStaticListResponse createStaticListUsingPOST($create_static_list_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfStaticListResponse createStaticListUsingPOST($name, $folder, $description) Create Static List @@ -29,10 +29,12 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\StaticListsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$create_static_list_request = new \NecLimDul\MarketoRest\Asset\Model\CreateStaticListRequest(); // \NecLimDul\MarketoRest\Asset\Model\CreateStaticListRequest | createStaticListRequest +$name = 'name_example'; // string | Name of the static list +$folder = new \NecLimDul\MarketoRest\Asset\Model\Folder(); // \NecLimDul\MarketoRest\Asset\Model\Folder | +$description = 'description_example'; // string | Description of the static list try { - $result = $apiInstance->createStaticListUsingPOST($create_static_list_request); + $result = $apiInstance->createStaticListUsingPOST($name, $folder, $description); print_r($result); } catch (Exception $e) { echo 'Exception when calling StaticListsApi->createStaticListUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -44,7 +46,9 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **create_static_list_request** | [**\NecLimDul\MarketoRest\Asset\Model\CreateStaticListRequest**](../Model/CreateStaticListRequest.md)| createStaticListRequest | + **name** | **string**| Name of the static list | + **folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](../Model/Folder.md)| | + **description** | **string**| Description of the static list | [optional] ### Return type @@ -78,7 +82,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\StaticListsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$id = 789; // int | Id of the static list to delete +$id = 56; // int | Id of the static list to delete try { $result = $apiInstance->deleteStaticListByIdUsingPOST($id); @@ -105,7 +109,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -127,7 +131,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\StaticListsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$id = 789; // int | Id of the static list to retrieve +$id = 56; // int | Id of the static list to retrieve try { $result = $apiInstance->getStaticListByIdUsingGET($id); @@ -154,7 +158,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -176,7 +180,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\StaticListsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$name = "name_example"; // string | Name of static list to retrieve +$name = 'name_example'; // string | Name of static list to retrieve try { $result = $apiInstance->getStaticListByNameUsingGET($name); @@ -203,7 +207,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -225,11 +229,11 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\StaticListsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$folder = "folder_example"; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' +$folder = 'folder_example'; // string | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' $offset = 56; // int | Integer offset for paging $max_return = 56; // int | Maximum number of static lists to return. Max 200, default 20. -$earliest_updated_at = "earliest_updated_at_example"; // string | Exclude static lists prior to this date. Must be valid ISO-8601 string. See Datetime field type description. -$latest_updated_at = "latest_updated_at_example"; // string | Exclude static lists after this date. Must be valid ISO-8601 string. See Datetime field type description. +$earliest_updated_at = 'earliest_updated_at_example'; // string | Exclude static lists prior to this date. Must be valid ISO-8601 string. See Datetime field type description. +$latest_updated_at = 'latest_updated_at_example'; // string | Exclude static lists after this date. Must be valid ISO-8601 string. See Datetime field type description. try { $result = $apiInstance->getStaticListsUsingGET($folder, $offset, $max_return, $earliest_updated_at, $latest_updated_at); @@ -260,13 +264,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **updateStaticListUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfStaticListResponse updateStaticListUsingPOST($id, $update_static_list_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfStaticListResponse updateStaticListUsingPOST($id, $description, $name) Update Static List Metadata @@ -283,10 +287,11 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\StaticListsApi( new GuzzleHttp\Client() ); $id = 56; // int | Id of static list to update -$update_static_list_request = new \NecLimDul\MarketoRest\Asset\Model\UpdateStaticListRequest(); // \NecLimDul\MarketoRest\Asset\Model\UpdateStaticListRequest | updateStaticListRequest +$description = 'description_example'; // string | Description of the static list +$name = 'name_example'; // string | Name of the static list try { - $result = $apiInstance->updateStaticListUsingPOST($id, $update_static_list_request); + $result = $apiInstance->updateStaticListUsingPOST($id, $description, $name); print_r($result); } catch (Exception $e) { echo 'Exception when calling StaticListsApi->updateStaticListUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -299,7 +304,8 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| Id of static list to update | - **update_static_list_request** | [**\NecLimDul\MarketoRest\Asset\Model\UpdateStaticListRequest**](../Model/UpdateStaticListRequest.md)| updateStaticListRequest | + **description** | **string**| Description of the static list | [optional] + **name** | **string**| Name of the static list | [optional] ### Return type diff --git a/docs/Asset/Api/TagsApi.md b/docs/Asset/Api/TagsApi.md index 888c0e81..d09c96d9 100644 --- a/docs/Asset/Api/TagsApi.md +++ b/docs/Asset/Api/TagsApi.md @@ -25,7 +25,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\TagsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$name = "name_example"; // string | Name of the tag +$name = 'name_example'; // string | Name of the tag try { $result = $apiInstance->getTagByNameUsingGET($name); @@ -52,7 +52,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -103,7 +103,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/Asset/Api/TokensApi.md b/docs/Asset/Api/TokensApi.md index 40c0b433..8dd1501b 100644 --- a/docs/Asset/Api/TokensApi.md +++ b/docs/Asset/Api/TokensApi.md @@ -10,7 +10,7 @@ Method | HTTP request | Description # **addTokenTOFolderUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfTokenResponse addTokenTOFolderUsingPOST($id, $create_token_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfTokenResponse addTokenTOFolderUsingPOST($id, $folder_type, $name, $type, $value) Create Token @@ -27,10 +27,13 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\TokensApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$create_token_request = new \NecLimDul\MarketoRest\Asset\Model\CreateTokenRequest(); // \NecLimDul\MarketoRest\Asset\Model\CreateTokenRequest | createTokenRequest +$folder_type = 'folder_type_example'; // string | Type of folder. 'Folder' or 'Program' +$name = 'name_example'; // string | Name of the token +$type = 'type_example'; // string | Type of the token +$value = 'value_example'; // string | Value of the token try { - $result = $apiInstance->addTokenTOFolderUsingPOST($id, $create_token_request); + $result = $apiInstance->addTokenTOFolderUsingPOST($id, $folder_type, $name, $type, $value); print_r($result); } catch (Exception $e) { echo 'Exception when calling TokensApi->addTokenTOFolderUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -43,7 +46,10 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **create_token_request** | [**\NecLimDul\MarketoRest\Asset\Model\CreateTokenRequest**](../Model/CreateTokenRequest.md)| createTokenRequest | + **folder_type** | **string**| Type of folder. 'Folder' or 'Program' | + **name** | **string**| Name of the token | + **type** | **string**| Type of the token | + **value** | **string**| Value of the token | ### Return type @@ -61,7 +67,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **deleteTokenByNameUsingPOST** -> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse deleteTokenByNameUsingPOST($id, $delete_token_request) +> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse deleteTokenByNameUsingPOST($id, $folder_type, $name, $type) Delete Token by Name @@ -78,10 +84,12 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\TokensApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$delete_token_request = new \NecLimDul\MarketoRest\Asset\Model\DeleteTokenRequest(); // \NecLimDul\MarketoRest\Asset\Model\DeleteTokenRequest | deleteTokenRequest +$folder_type = 'folder_type_example'; // string | +$name = 'name_example'; // string | +$type = 'type_example'; // string | try { - $result = $apiInstance->deleteTokenByNameUsingPOST($id, $delete_token_request); + $result = $apiInstance->deleteTokenByNameUsingPOST($id, $folder_type, $name, $type); print_r($result); } catch (Exception $e) { echo 'Exception when calling TokensApi->deleteTokenByNameUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -94,7 +102,9 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **delete_token_request** | [**\NecLimDul\MarketoRest\Asset\Model\DeleteTokenRequest**](../Model/DeleteTokenRequest.md)| deleteTokenRequest | + **folder_type** | **string**| | [optional] + **name** | **string**| | [optional] + **type** | **string**| | [optional] ### Return type @@ -129,7 +139,7 @@ $apiInstance = new NecLimDul\MarketoRest\Asset\Api\TokensApi( new GuzzleHttp\Client() ); $id = 56; // int | id -$folder_type = "Folder"; // string | Type of folder. 'Folder' or 'Program' +$folder_type = 'Folder'; // string | Type of folder. 'Folder' or 'Program' try { $result = $apiInstance->getTokensByFolderIdUsingGET($id, $folder_type); @@ -145,7 +155,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **id** | **int**| id | - **folder_type** | **string**| Type of folder. 'Folder' or 'Program' | [optional] [default to Folder] + **folder_type** | **string**| Type of folder. 'Folder' or 'Program' | [optional] [default to 'Folder'] ### Return type @@ -157,7 +167,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/x-www-form-urlencoded + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/Asset/Model/BrowseAllPrograms.md b/docs/Asset/Model/BrowseAllPrograms.md index a7c38090..1dd27b09 100644 --- a/docs/Asset/Model/BrowseAllPrograms.md +++ b/docs/Asset/Model/BrowseAllPrograms.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **channel** | **string** | Channel of the program | **created_at** | [**\DateTime**](\DateTime.md) | Datetime the asset was created | [optional] **description** | **string** | Description of the asset | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **id** | **int** | Id of the asset | [optional] **name** | **string** | Name of the asset | [optional] **sfdc_id** | **string** | SFDC id of the program if linked to an SFDC campaign | [optional] diff --git a/docs/Asset/Model/CloneEmailRequest.md b/docs/Asset/Model/CloneEmailRequest.md index 7a749681..a3b7171c 100644 --- a/docs/Asset/Model/CloneEmailRequest.md +++ b/docs/Asset/Model/CloneEmailRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **string** | Description of the asset | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **name** | **string** | Name of the new email asset | **operational** | **bool** | Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false | [optional] diff --git a/docs/Asset/Model/CloneEmailTemplateRequest.md b/docs/Asset/Model/CloneEmailTemplateRequest.md index 8b92ae57..15ef3229 100644 --- a/docs/Asset/Model/CloneEmailTemplateRequest.md +++ b/docs/Asset/Model/CloneEmailTemplateRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **string** | Description of the asset | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **name** | **string** | Name of the Email Template | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Asset/Model/CloneFormRequest.md b/docs/Asset/Model/CloneFormRequest.md index 4cd4b33b..680abbf1 100644 --- a/docs/Asset/Model/CloneFormRequest.md +++ b/docs/Asset/Model/CloneFormRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **string** | Name for the cloned form | -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **description** | **string** | Description of the cloned form | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Asset/Model/CloneLandingPageRequest.md b/docs/Asset/Model/CloneLandingPageRequest.md index 36a5d7ca..08818474 100644 --- a/docs/Asset/Model/CloneLandingPageRequest.md +++ b/docs/Asset/Model/CloneLandingPageRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **string** | Description of the asset | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **name** | **string** | Name of the landing page | **template** | **int** | Id of the template used | [optional] diff --git a/docs/Asset/Model/CloneLpTemplateRequest.md b/docs/Asset/Model/CloneLpTemplateRequest.md index 6f245934..bb405cd5 100644 --- a/docs/Asset/Model/CloneLpTemplateRequest.md +++ b/docs/Asset/Model/CloneLpTemplateRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **string** | Description of the landing page template | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **name** | **string** | Name of the landing page template | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Asset/Model/CloneProgramRequest.md b/docs/Asset/Model/CloneProgramRequest.md index 73fa4098..f394f83d 100644 --- a/docs/Asset/Model/CloneProgramRequest.md +++ b/docs/Asset/Model/CloneProgramRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **string** | | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **name** | **string** | Name of the program | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Asset/Model/CloneSmartCampaignRequest.md b/docs/Asset/Model/CloneSmartCampaignRequest.md index 09166f64..b98701c8 100644 --- a/docs/Asset/Model/CloneSmartCampaignRequest.md +++ b/docs/Asset/Model/CloneSmartCampaignRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **string** | Description of the smart campaign | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **name** | **string** | Name of the smart campaign | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Asset/Model/CloneSmartListRequest.md b/docs/Asset/Model/CloneSmartListRequest.md index 31263969..ad62f713 100644 --- a/docs/Asset/Model/CloneSmartListRequest.md +++ b/docs/Asset/Model/CloneSmartListRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **string** | Name for the cloned smart list | -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **description** | **string** | Description of the cloned smart list | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Asset/Model/CloneSnippetRequest.md b/docs/Asset/Model/CloneSnippetRequest.md index 47e42481..04eaa6f5 100644 --- a/docs/Asset/Model/CloneSnippetRequest.md +++ b/docs/Asset/Model/CloneSnippetRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **string** | Name for the cloned snippet | -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **description** | **string** | Description of the cloned snippet | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Asset/Model/CreateEmailRequest.md b/docs/Asset/Model/CreateEmailRequest.md index 911a1aaa..f756335b 100644 --- a/docs/Asset/Model/CreateEmailRequest.md +++ b/docs/Asset/Model/CreateEmailRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **string** | Description of the asset | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **from_email** | **string** | From-address of the Email | **from_name** | **string** | From-name of the Email | **name** | **string** | Name of the email | diff --git a/docs/Asset/Model/CreateEmailTemplateRequest.md b/docs/Asset/Model/CreateEmailTemplateRequest.md index 1bf2ad6e..dc5236f9 100644 --- a/docs/Asset/Model/CreateEmailTemplateRequest.md +++ b/docs/Asset/Model/CreateEmailTemplateRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **string** | Name of the Email Template. Must be unique under the parent folder. | -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **description** | **string** | Description of the email template | [optional] **content** | **string** | HTML content for template. Multipart file. | diff --git a/docs/Asset/Model/CreateFileRequest.md b/docs/Asset/Model/CreateFileRequest.md index 64bee564..18e0a01e 100644 --- a/docs/Asset/Model/CreateFileRequest.md +++ b/docs/Asset/Model/CreateFileRequest.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **string** | Description of the asset | [optional] **file** | **string** | Multipart file. Content of the file. | -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **insert_only** | **bool** | Whether the calls hould fail if there is already an existing file with the same name | [optional] **name** | **string** | Name of the File | diff --git a/docs/Asset/Model/CreateFolderRequest.md b/docs/Asset/Model/CreateFolderRequest.md index ecfbf2d1..9da365cb 100644 --- a/docs/Asset/Model/CreateFolderRequest.md +++ b/docs/Asset/Model/CreateFolderRequest.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **string** | Description of the asset | [optional] **name** | **string** | Name of the Folder | -**parent** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | Folder object describing the parent folder | +**parent** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Asset/Model/CreateLandingPageRedirectRuleRequest.md b/docs/Asset/Model/CreateLandingPageRedirectRuleRequest.md index 0830cb4d..4af87843 100644 --- a/docs/Asset/Model/CreateLandingPageRedirectRuleRequest.md +++ b/docs/Asset/Model/CreateLandingPageRedirectRuleRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **hostname** | **string** | The hostname for the landing pages. Branding domain or alias. Max 255 characters | -**redirect_from** | [**\NecLimDul\MarketoRest\Asset\Model\RedirectFrom**](RedirectFrom.md) | JSON representation of redirect from landing page, with members 'type' which may be 'landingPageId' or 'path', and 'value' | -**redirect_to** | [**\NecLimDul\MarketoRest\Asset\Model\RedirectTo**](RedirectTo.md) | JSON representation of redirect to landing page, with members 'type' which may be 'landingPageId' or 'url', and 'value' | +**redirect_from** | [**\NecLimDul\MarketoRest\Asset\Model\RedirectFrom**](RedirectFrom.md) | | +**redirect_to** | [**\NecLimDul\MarketoRest\Asset\Model\RedirectTo**](RedirectTo.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Asset/Model/CreateLandingPageRequest.md b/docs/Asset/Model/CreateLandingPageRequest.md index 2cdb068a..2b32aeb3 100644 --- a/docs/Asset/Model/CreateLandingPageRequest.md +++ b/docs/Asset/Model/CreateLandingPageRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **custom_head_html** | **string** | Any custom HTML to embed in the <head> tag of the page | [optional] **description** | **string** | Description of the asset | [optional] **facebook_og_tags** | **string** | Any OpenGraph meta tags to apply to the page | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **keywords** | **string** | | [optional] **mobile_enabled** | **bool** | Whether the page has mobile viewing enabled. Free-form pages only. Default false | [optional] **name** | **string** | Name of the landing page | diff --git a/docs/Asset/Model/CreateLpFormRequest.md b/docs/Asset/Model/CreateLpFormRequest.md index 9437c8c2..8cd6f358 100644 --- a/docs/Asset/Model/CreateLpFormRequest.md +++ b/docs/Asset/Model/CreateLpFormRequest.md @@ -4,10 +4,10 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **string** | Description of the form | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **font_family** | **string** | font-family property for the form | [optional] **font_size** | **string** | font-size property of the form | [optional] -**known_visitor** | [**\NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO**](FormKnownVisitorDTO.md) | Known visitor behavior for the form | [optional] +**known_visitor** | [**\NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO**](FormKnownVisitorDTO.md) | | [optional] **label_position** | **string** | Default positioning of labels. | [optional] **language** | **string** | Language of the form | [optional] **locale** | **string** | Locale of the form | [optional] diff --git a/docs/Asset/Model/CreateLpTemplateRequest.md b/docs/Asset/Model/CreateLpTemplateRequest.md index b8900603..2756e617 100644 --- a/docs/Asset/Model/CreateLpTemplateRequest.md +++ b/docs/Asset/Model/CreateLpTemplateRequest.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **string** | Description of the landing page template | [optional] **enable_munchkin** | **bool** | Whether to enable munchkin on the derived pages. Defaults to true | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **name** | **string** | Name of the landing page template | **template_type** | **string** | Type of template to create. Defaults to freeForm | [optional] diff --git a/docs/Asset/Model/CreateProgramRequest.md b/docs/Asset/Model/CreateProgramRequest.md index 37c32d80..e1645014 100644 --- a/docs/Asset/Model/CreateProgramRequest.md +++ b/docs/Asset/Model/CreateProgramRequest.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **channel** | **string** | Channel of the program | [optional] **costs** | [**\NecLimDul\MarketoRest\Asset\Model\CostRequest[]**](CostRequest.md) | Lists of associated period costs | [optional] **description** | **string** | | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **name** | **string** | Name of the program | [optional] **tags** | [**\NecLimDul\MarketoRest\Asset\Model\TagRequest[]**](TagRequest.md) | List of associated program tags | [optional] **type** | **string** | Type of the program | [optional] diff --git a/docs/Asset/Model/CreateSmartCampaignRequest.md b/docs/Asset/Model/CreateSmartCampaignRequest.md index 849eed49..c95ab936 100644 --- a/docs/Asset/Model/CreateSmartCampaignRequest.md +++ b/docs/Asset/Model/CreateSmartCampaignRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **string** | Description of the smart campaign | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **name** | **string** | Name of the smart campaign | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Asset/Model/CreateSnippetRequest.md b/docs/Asset/Model/CreateSnippetRequest.md index fde8853d..7c40e1eb 100644 --- a/docs/Asset/Model/CreateSnippetRequest.md +++ b/docs/Asset/Model/CreateSnippetRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **string** | Description of the snippet | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **name** | **string** | Name of the snippet | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Asset/Model/CreateStaticListRequest.md b/docs/Asset/Model/CreateStaticListRequest.md index 06bd837b..8a178783 100644 --- a/docs/Asset/Model/CreateStaticListRequest.md +++ b/docs/Asset/Model/CreateStaticListRequest.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **description** | **string** | Description of the static list | [optional] **name** | **string** | Name of the static list | -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | Folder object describing the parent folder | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Asset/Model/EmailContentResponse.md b/docs/Asset/Model/EmailContentResponse.md index 8eabefd1..b499c6f5 100644 --- a/docs/Asset/Model/EmailContentResponse.md +++ b/docs/Asset/Model/EmailContentResponse.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **index** | **int** | | [optional] **is_locked** | **bool** | | [optional] **parent_html_id** | **string** | | [optional] -**value** | **object** | Contents of the section | +**value** | [**object**](.md) | Contents of the section | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Asset/Model/EmailResponse.md b/docs/Asset/Model/EmailResponse.md index 0fa63485..be65b5e1 100644 --- a/docs/Asset/Model/EmailResponse.md +++ b/docs/Asset/Model/EmailResponse.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created_at** | [**\DateTime**](\DateTime.md) | Datetime the asset was created | [optional] **description** | **string** | Description of the asset | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **from_email** | **string** | From-address of the Email | **from_name** | **string** | From-name of the Email | **id** | **int** | Id of the asset | [optional] diff --git a/docs/Asset/Model/EmailTemplateResponse.md b/docs/Asset/Model/EmailTemplateResponse.md index 8fdb5316..4c371edb 100644 --- a/docs/Asset/Model/EmailTemplateResponse.md +++ b/docs/Asset/Model/EmailTemplateResponse.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created_at** | [**\DateTime**](\DateTime.md) | Datetime the asset was created | [optional] **description** | **string** | Description of the asset | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **id** | **int** | Id of the asset | [optional] **name** | **string** | Name of the asset | [optional] **status** | **string** | Status filter for draft or approved versions | diff --git a/docs/Asset/Model/FileResponse.md b/docs/Asset/Model/FileResponse.md index 6a2e54b4..df03282b 100644 --- a/docs/Asset/Model/FileResponse.md +++ b/docs/Asset/Model/FileResponse.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created_at** | [**\DateTime**](\DateTime.md) | Datetime when the file was created | **description** | **string** | Description of the file | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\FileFolder**](FileFolder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\FileFolder**](FileFolder.md) | | **id** | **int** | Id of the file | **mime_type** | **string** | MIME type of the file | **name** | **string** | Name of the file | diff --git a/docs/Asset/Model/FolderResponse.md b/docs/Asset/Model/FolderResponse.md index e6133de9..5598651a 100644 --- a/docs/Asset/Model/FolderResponse.md +++ b/docs/Asset/Model/FolderResponse.md @@ -6,13 +6,13 @@ Name | Type | Description | Notes **access_zone_id** | **int** | | [optional] **created_at** | [**\DateTime**](\DateTime.md) | Datetime the folder was created | **description** | **string** | Description of the folder | [optional] -**folder_id** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | Id of the folder | +**folder_id** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **folder_type** | **string** | Type of folder. 'Folder' or 'Program' | **id** | **int** | Id of the folder | **is_archive** | **bool** | Archival status of the folder | **is_system** | **bool** | Whether the folder is system-managed | [optional] **name** | **string** | Name of the folder. Not applicable for Programs | -**parent** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | Parent folder reference | +**parent** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **path** | **string** | Path of the folder | **updated_at** | [**\DateTime**](\DateTime.md) | Datetime the folder was last updated | **url** | **string** | Url of the folder | diff --git a/docs/Asset/Model/FormThankYouPageDTO.md b/docs/Asset/Model/FormThankYouPageDTO.md index e5a18654..26d7a1f5 100644 --- a/docs/Asset/Model/FormThankYouPageDTO.md +++ b/docs/Asset/Model/FormThankYouPageDTO.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **default** | **bool** | | [optional] **followup_type** | **string** | | [optional] -**followup_value** | **object** | | [optional] +**followup_value** | [**object**](.md) | | [optional] **operator** | **string** | | [optional] **subject_field** | **string** | | [optional] **values** | **string[]** | | [optional] diff --git a/docs/Asset/Model/GetFilesRequest.md b/docs/Asset/Model/GetFilesRequest.md index a82990a5..3e7a7b2f 100644 --- a/docs/Asset/Model/GetFilesRequest.md +++ b/docs/Asset/Model/GetFilesRequest.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | [optional] +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | [optional] **max_return** | **int** | Maximum number of channels to return. Max 200, default 20 | [optional] **offset** | **int** | Integer offset for paging | [optional] diff --git a/docs/Asset/Model/LandingPageContentResponse.md b/docs/Asset/Model/LandingPageContentResponse.md index 34308bd1..5e7c08a0 100644 --- a/docs/Asset/Model/LandingPageContentResponse.md +++ b/docs/Asset/Model/LandingPageContentResponse.md @@ -3,11 +3,11 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**content** | **object** | Content of the section. Expected values vary based on type. Image: An image URL. RichText: HTML Content. HTML: HTML Content. Form: A form id. Rectangle: Empty. Snippet: A snippet id. | [optional] +**content** | [**object**](.md) | Content of the section. Expected values vary based on type. Image: An image URL. RichText: HTML Content. HTML: HTML Content. Form: A form id. Rectangle: Empty. Snippet: A snippet id. | [optional] **followup_type** | **string** | Follow-up behavior of a form. Only available for form-type content sections. Defaults to form defined behavior. | [optional] **followup_value** | **string** | Where to follow-up on form submission. When followupType is lp, accepts the integer id of a landing page. For url, it accepts a url string. | [optional] **formatting_options** | [**\NecLimDul\MarketoRest\Asset\Model\JsonNode**](JsonNode.md) | | [optional] -**id** | **object** | Id of the content section, may be a string or an int | +**id** | [**object**](.md) | Id of the content section, may be a string or an int | **index** | **int** | Index of the content section. Index orients the elements from lowest to highest | [optional] **type** | **string** | Type of content section | diff --git a/docs/Asset/Model/LandingPageRedirectRule.md b/docs/Asset/Model/LandingPageRedirectRule.md index 6fb150b3..cc93d8fe 100644 --- a/docs/Asset/Model/LandingPageRedirectRule.md +++ b/docs/Asset/Model/LandingPageRedirectRule.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes **redirect_from_url** | **string** | Redirect 'from' URL of the Landing Page. Combination of the hostname and redirectFrom landing page or path | **redirect_to_url** | **string** | Redirect 'to' URL of the Landing Page. Could be a Marketo landing page or non-Marketo URL. | **hostname** | **string** | The hostname for the landing pages. Branding domain or alias. Max 255 characters. | -**redirect_from** | [**\NecLimDul\MarketoRest\Asset\Model\RedirectFrom**](RedirectFrom.md) | JSON representation of redirect from landing page, with members 'type' which may be 'landingPageId' or 'path', and 'value' | -**redirect_to** | [**\NecLimDul\MarketoRest\Asset\Model\RedirectTo**](RedirectTo.md) | JSON representation of redirect to landing page, with members 'type' which may be 'landingPageId' or 'url', and 'value' | +**redirect_from** | [**\NecLimDul\MarketoRest\Asset\Model\RedirectFrom**](RedirectFrom.md) | | +**redirect_to** | [**\NecLimDul\MarketoRest\Asset\Model\RedirectTo**](RedirectTo.md) | | **created_at** | [**\DateTime**](\DateTime.md) | Datetime the landing page redirect rule was created | **updated_at** | [**\DateTime**](\DateTime.md) | Datetime the landing page redirect rule was most recently updated | diff --git a/docs/Asset/Model/LandingPageResponse.md b/docs/Asset/Model/LandingPageResponse.md index 21328ece..2dc3da83 100644 --- a/docs/Asset/Model/LandingPageResponse.md +++ b/docs/Asset/Model/LandingPageResponse.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **custom_head_html** | **string** | Any custom HTML to embed in the <head> tag of the page | **description** | **string** | Description of the asset | [optional] **facebook_og_tags** | **string** | Any OpenGraph meta tags to apply to the page | -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | [optional] +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | [optional] **form_prefill** | **bool** | Boolean to toggle whether forms embedded in the page will prefill. Default false | [optional] **id** | **int** | Id of the asset | [optional] **keywords** | **string** | | [optional] diff --git a/docs/Asset/Model/LandingPageVariableResponse.md b/docs/Asset/Model/LandingPageVariableResponse.md index 9d526e56..307d6ab1 100644 --- a/docs/Asset/Model/LandingPageVariableResponse.md +++ b/docs/Asset/Model/LandingPageVariableResponse.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **string** | Integer id of the variable | **type** | **string** | Type of the variable | [optional] -**value** | **object** | Value of the variable | [optional] +**value** | [**object**](.md) | Value of the variable | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Asset/Model/LpFormFieldResponse.md b/docs/Asset/Model/LpFormFieldResponse.md index 16d8a51d..6231ef7f 100644 --- a/docs/Asset/Model/LpFormFieldResponse.md +++ b/docs/Asset/Model/LpFormFieldResponse.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **column_number** | **int** | | [optional] **data_type** | **string** | | [optional] **default_value** | **string** | | [optional] -**field_meta_data** | **object** | | [optional] +**field_meta_data** | [**object**](.md) | | [optional] **field_width** | **int** | | [optional] **fields** | **string[]** | | [optional] **form_prefill** | **bool** | | [optional] @@ -20,7 +20,7 @@ Name | Type | Description | Notes **required** | **bool** | | [optional] **row_number** | **int** | | [optional] **text** | **string** | | [optional] -**validation_message** | **object** | | [optional] +**validation_message** | [**object**](.md) | | [optional] **visibility_rules** | [**\NecLimDul\MarketoRest\Asset\Model\FormFieldVisibilityRuleResponse**](FormFieldVisibilityRuleResponse.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Asset/Model/LpFormResponse.md b/docs/Asset/Model/LpFormResponse.md index 0bdaf9d3..ad14c466 100644 --- a/docs/Asset/Model/LpFormResponse.md +++ b/docs/Asset/Model/LpFormResponse.md @@ -7,11 +7,11 @@ Name | Type | Description | Notes **button_location** | **int** | Location in pixels of the button relative to the left of the form | **created_at** | [**\DateTime**](\DateTime.md) | Datetime the asset was created | [optional] **description** | **string** | Description of the asset | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **font_family** | **string** | font-family property for the form | **font_size** | **string** | font-size property of the form | **id** | **int** | Id of the asset | [optional] -**known_visitor** | [**\NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO**](FormKnownVisitorDTO.md) | Known visitor behavior for the form | +**known_visitor** | [**\NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO**](FormKnownVisitorDTO.md) | | **label_position** | **string** | Default positioning of labels. | **language** | **string** | Language of the form | **locale** | **string** | Locale of the form | diff --git a/docs/Asset/Model/LpTemplateResponse.md b/docs/Asset/Model/LpTemplateResponse.md index 660c3c23..8f2517ef 100644 --- a/docs/Asset/Model/LpTemplateResponse.md +++ b/docs/Asset/Model/LpTemplateResponse.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes **created_at** | [**\DateTime**](\DateTime.md) | Datetime the asset was created | [optional] **description** | **string** | Description of the asset | [optional] **enable_munchkin** | **bool** | Whether to enable munchkin on the derived pages. Defaults to true | -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **id** | **int** | Id of the asset | [optional] **name** | **string** | Name of the asset | [optional] **status** | **string** | Status filter for draft or approved versions | diff --git a/docs/Asset/Model/ProgramResponse.md b/docs/Asset/Model/ProgramResponse.md index 022c788a..de1ec2a8 100644 --- a/docs/Asset/Model/ProgramResponse.md +++ b/docs/Asset/Model/ProgramResponse.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **created_at** | [**\DateTime**](\DateTime.md) | Datetime the asset was created | [optional] **description** | **string** | Description of the asset | [optional] **end_date** | [**\DateTime**](\DateTime.md) | End date of the program. Applicable to event, email, and webinar type programs | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **id** | **int** | Id of the asset | [optional] **name** | **string** | Name of the asset | [optional] **sfdc_id** | **string** | SFDC id of the program if linked to an SFDC campaign | [optional] diff --git a/docs/Asset/Model/SegmentContent.md b/docs/Asset/Model/SegmentContent.md index ac4eea01..3634333b 100644 --- a/docs/Asset/Model/SegmentContent.md +++ b/docs/Asset/Model/SegmentContent.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**content** | **object** | Type of content section | +**content** | [**object**](.md) | Type of content section | **followup_type** | **string** | | [optional] **followup_value** | **string** | | [optional] **segment_id** | **int** | Segmentation to which the section is linked | diff --git a/docs/Asset/Model/SegmentationResponse.md b/docs/Asset/Model/SegmentationResponse.md index cc5698b6..b7f0f6d6 100644 --- a/docs/Asset/Model/SegmentationResponse.md +++ b/docs/Asset/Model/SegmentationResponse.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created_at** | [**\DateTime**](\DateTime.md) | Datetime the asset was created | [optional] **description** | **string** | Description of the asset | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **id** | **int** | Id of the asset | [optional] **name** | **string** | Name of the asset | [optional] **status** | **string** | Status filter for draft or approved versions | diff --git a/docs/Asset/Model/SmartCampaignResponse.md b/docs/Asset/Model/SmartCampaignResponse.md index 61a3767f..e379f0b4 100644 --- a/docs/Asset/Model/SmartCampaignResponse.md +++ b/docs/Asset/Model/SmartCampaignResponse.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **is_system** | **bool** | Whether smart campaign is system managed. Defaults to false | **is_active** | **bool** | Whether smart campaign is active. Defaults to false | **is_requestable** | **bool** | Whether smart campaign is requestable (is active and contains 'Campaign is Requested' trigger with Source of 'Web Service API'). Defaults to false | -**recurrence** | [**\NecLimDul\MarketoRest\Asset\Model\Recurrence**](Recurrence.md) | Recurrence schedule of batch smart campaign | +**recurrence** | [**\NecLimDul\MarketoRest\Asset\Model\Recurrence**](Recurrence.md) | | **qualification_rule_type** | **string** | Type of qualification rule. Defaults to 'once' | **qualification_rule_interval** | **int** | Interval of qualification rule. Only set when qualificationRuleType is 'interval' | **qualification_rule_unit** | **string** | Unit of measure of qualification rule. Only set when qualificationRuleType is 'interval' | @@ -18,7 +18,7 @@ Name | Type | Description | Notes **is_communication_limit_enabled** | **bool** | Whether smart campaign communication limit is enabled (i.e. block non-operational emails). Defaults to false | **smart_list_id** | **int** | Id of the smart campaign's child smart list | **flow_id** | **int** | Id of the smart campaign's child flow | -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **created_at** | [**\DateTime**](\DateTime.md) | Datetime when the smart campaign was created | **updated_at** | [**\DateTime**](\DateTime.md) | Datetime when the smart campaign was most recently updated | **workspace** | **string** | Name of the smart campaign workspace | diff --git a/docs/Asset/Model/SmartListResponse.md b/docs/Asset/Model/SmartListResponse.md index fb369cd9..b066010b 100644 --- a/docs/Asset/Model/SmartListResponse.md +++ b/docs/Asset/Model/SmartListResponse.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **created_at** | [**\DateTime**](\DateTime.md) | Datetime the smart list was created | **updated_at** | [**\DateTime**](\DateTime.md) | Datetime the smart list was most recently updated | **url** | **string** | Url of the smart list in the Marketo UI | -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **workspace** | **string** | Name of the workspace | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Asset/Model/SmartListResponseWithRules.md b/docs/Asset/Model/SmartListResponseWithRules.md index 32856749..150f2644 100644 --- a/docs/Asset/Model/SmartListResponseWithRules.md +++ b/docs/Asset/Model/SmartListResponseWithRules.md @@ -9,9 +9,9 @@ Name | Type | Description | Notes **created_at** | [**\DateTime**](\DateTime.md) | Datetime the smart list was created | **updated_at** | [**\DateTime**](\DateTime.md) | Datetime the smart list was most recently updated | **url** | **string** | Url of the smart list in the Marketo UI | -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **workspace** | **string** | Name of the workspace | -**rules** | [**\NecLimDul\MarketoRest\Asset\Model\SmartListRules**](SmartListRules.md) | Rules contained in the smart list | [optional] +**rules** | [**\NecLimDul\MarketoRest\Asset\Model\SmartListRules**](SmartListRules.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Asset/Model/SnippetResponse.md b/docs/Asset/Model/SnippetResponse.md index 08fba54f..826d55ec 100644 --- a/docs/Asset/Model/SnippetResponse.md +++ b/docs/Asset/Model/SnippetResponse.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **created_at** | [**\DateTime**](\DateTime.md) | Datetime the asset was created | [optional] **description** | **string** | Description of the asset | [optional] -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **id** | **int** | Id of the asset | [optional] **name** | **string** | Name of the asset | [optional] **status** | **string** | Status filter for draft or approved versions | diff --git a/docs/Asset/Model/StaticListResponse.md b/docs/Asset/Model/StaticListResponse.md index 7e5c413e..df22df27 100644 --- a/docs/Asset/Model/StaticListResponse.md +++ b/docs/Asset/Model/StaticListResponse.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **created_at** | [**\DateTime**](\DateTime.md) | Datetime the static list was created | **updated_at** | [**\DateTime**](\DateTime.md) | Datetime the static list was most recently updated | **url** | **string** | Url of the static list in the Marketo UI | -**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' | +**folder** | [**\NecLimDul\MarketoRest\Asset\Model\Folder**](Folder.md) | | **workspace** | **string** | Name of the workspace | **computed_url** | **string** | | [optional] diff --git a/docs/Asset/Model/UpdateEmailComponentDataRequest.md b/docs/Asset/Model/UpdateEmailComponentDataRequest.md index 732be60a..b41378eb 100644 --- a/docs/Asset/Model/UpdateEmailComponentDataRequest.md +++ b/docs/Asset/Model/UpdateEmailComponentDataRequest.md @@ -3,10 +3,10 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**from_email** | [**\NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue**](EmailHeaderTypeValue.md) | From-address of the Email | [optional] -**from_name** | [**\NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue**](EmailHeaderTypeValue.md) | From-name of the Email | [optional] -**reply_to** | [**\NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue**](EmailHeaderTypeValue.md) | Reply-To address of the Email | [optional] -**subject** | [**\NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue**](EmailHeaderTypeValue.md) | Subject Line of the Email | [optional] +**from_email** | [**\NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue**](EmailHeaderTypeValue.md) | | [optional] +**from_name** | [**\NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue**](EmailHeaderTypeValue.md) | | [optional] +**reply_to** | [**\NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue**](EmailHeaderTypeValue.md) | | [optional] +**subject** | [**\NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue**](EmailHeaderTypeValue.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Asset/Model/UpdateFormMetaDataRequest.md b/docs/Asset/Model/UpdateFormMetaDataRequest.md index 4176918a..c45efd0e 100644 --- a/docs/Asset/Model/UpdateFormMetaDataRequest.md +++ b/docs/Asset/Model/UpdateFormMetaDataRequest.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **description** | **string** | Description of the form | [optional] **font_family** | **string** | font-family property for the form | [optional] **font_size** | **string** | font-size property of the form | [optional] -**known_visitor** | [**\NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO**](FormKnownVisitorDTO.md) | Known visitor behavior for the form | [optional] +**known_visitor** | [**\NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO**](FormKnownVisitorDTO.md) | | [optional] **label_position** | **string** | Default positioning of labels. | [optional] **language** | **string** | Language of the form | [optional] **locale** | **string** | Locale of the form | [optional] diff --git a/docs/Asset/Model/UpdateLandingPageRedirectRuleRequest.md b/docs/Asset/Model/UpdateLandingPageRedirectRuleRequest.md index f93c34a9..b935f5d4 100644 --- a/docs/Asset/Model/UpdateLandingPageRedirectRuleRequest.md +++ b/docs/Asset/Model/UpdateLandingPageRedirectRuleRequest.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **hostname** | **string** | The hostname for the landing pages. Branding domain or alias. Max 255 characters | [optional] -**redirect_from** | [**\NecLimDul\MarketoRest\Asset\Model\RedirectFrom**](RedirectFrom.md) | JSON representation of redirect from landing page, with members 'type' which may be 'landingPageId' or 'path', and 'value' | [optional] -**redirect_to** | [**\NecLimDul\MarketoRest\Asset\Model\RedirectTo**](RedirectTo.md) | JSON representation of redirect to landing page, with members 'type' which may be 'landingPageId' or 'url', and 'value' | [optional] +**redirect_from** | [**\NecLimDul\MarketoRest\Asset\Model\RedirectFrom**](RedirectFrom.md) | | [optional] +**redirect_to** | [**\NecLimDul\MarketoRest\Asset\Model\RedirectTo**](RedirectTo.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Identity/Api/IdentityApi.md b/docs/Identity/Api/IdentityApi.md index 127dd22b..2bcdc567 100644 --- a/docs/Identity/Api/IdentityApi.md +++ b/docs/Identity/Api/IdentityApi.md @@ -24,10 +24,10 @@ $apiInstance = new NecLimDul\MarketoRest\Identity\Api\IdentityApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$client_id = "client_id_example"; // string | Client ID from Admin > Integration > Launchpoint menu. -$client_secret = "client_secret_example"; // string | Client Secret from Admin > Integration > Launchpoint menu. -$grant_type = "grant_type_example"; // string | Grant type. -$partner_id = "partner_id_example"; // string | LaunchPoint Technology Partner API Key. +$client_id = 'client_id_example'; // string | Client ID from Admin > Integration > Launchpoint menu. +$client_secret = 'client_secret_example'; // string | Client Secret from Admin > Integration > Launchpoint menu. +$grant_type = 'grant_type_example'; // string | Grant type. +$partner_id = 'partner_id_example'; // string | LaunchPoint Technology Partner API Key. try { $result = $apiInstance->identityUsingGET($client_id, $client_secret, $grant_type, $partner_id); @@ -57,7 +57,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/Identity/Model/ResponseOfIdentity.md b/docs/Identity/Model/ResponseOfIdentity.md index d1c018d5..42745c50 100644 --- a/docs/Identity/Model/ResponseOfIdentity.md +++ b/docs/Identity/Model/ResponseOfIdentity.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **access_token** | **string** | | [optional] **scope** | **string** | | [optional] -**expires_in** | **int** | | [optional] **token_type** | **string** | | [optional] +**expires_in** | **int** | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Lead/Api/ActivitiesApi.md b/docs/Lead/Api/ActivitiesApi.md index 1615258d..607d1442 100644 --- a/docs/Lead/Api/ActivitiesApi.md +++ b/docs/Lead/Api/ActivitiesApi.md @@ -88,7 +88,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\ActivitiesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$api_name = "api_name_example"; // string | API Name of the activity type +$api_name = 'api_name_example'; // string | API Name of the activity type try { $result = $apiInstance->approveCustomActivityTypeUsingPOST($api_name); @@ -115,7 +115,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -137,7 +137,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\ActivitiesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$api_name = "api_name_example"; // string | API Name of the activity type +$api_name = 'api_name_example'; // string | API Name of the activity type $custom_activity_type_attribute_request = new \NecLimDul\MarketoRest\Lead\Model\CustomActivityTypeAttributeRequest(); // \NecLimDul\MarketoRest\Lead\Model\CustomActivityTypeAttributeRequest | customActivityTypeAttributeRequest try { @@ -237,7 +237,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\ActivitiesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$api_name = "api_name_example"; // string | API Name of the activity type +$api_name = 'api_name_example'; // string | API Name of the activity type $custom_activity_type_attribute_request = new \NecLimDul\MarketoRest\Lead\Model\CustomActivityTypeAttributeRequest(); // \NecLimDul\MarketoRest\Lead\Model\CustomActivityTypeAttributeRequest | customActivityTypeAttributeRequest try { @@ -288,7 +288,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\ActivitiesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$api_name = "api_name_example"; // string | API Name of the activity type +$api_name = 'api_name_example'; // string | API Name of the activity type try { $result = $apiInstance->deleteCustomActivityTypeUsingPOST($api_name); @@ -315,7 +315,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -337,8 +337,8 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\ActivitiesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$api_name = "api_name_example"; // string | API Name of the activity type -$draft = true; // bool | draft +$api_name = 'api_name_example'; // string | API Name of the activity type +$draft = True; // bool | draft try { $result = $apiInstance->describeCustomActivityTypeUsingGET($api_name, $draft); @@ -366,7 +366,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -388,7 +388,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\ActivitiesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$api_name = "api_name_example"; // string | API Name of the activity type +$api_name = 'api_name_example'; // string | API Name of the activity type try { $result = $apiInstance->discardDraftofCustomActivityTypeUsingPOST($api_name); @@ -415,7 +415,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -464,7 +464,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -509,7 +509,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -554,7 +554,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -576,7 +576,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\ActivitiesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$next_page_token = "next_page_token_example"; // string | Token representation of a datetime returned by the Get Paging Token endpoint. This endpoint will return activities after this datetime +$next_page_token = 'next_page_token_example'; // string | Token representation of a datetime returned by the Get Paging Token endpoint. This endpoint will return activities after this datetime $batch_size = 56; // int | Maximum number of records to return. Maximum and default is 300. try { @@ -605,7 +605,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -627,7 +627,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\ActivitiesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$next_page_token = "next_page_token_example"; // string | Token representation of a datetime returned by the Get Paging Token endpoint. This endpoint will return activities after this datetime +$next_page_token = 'next_page_token_example'; // string | Token representation of a datetime returned by the Get Paging Token endpoint. This endpoint will return activities after this datetime $activity_type_ids = array(56); // int[] | Comma-separated list of activity type ids. These can be retrieved with the Get Activity Types API. $asset_ids = array(56); // int[] | Id of the primary asset for an activity. This is based on the primary asset id of a given activity type. Should only be used when a single activity type is set $list_id = 56; // int | Id of a static list. If set, will only return activities of members of this static list. @@ -664,7 +664,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -686,8 +686,8 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\ActivitiesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$next_page_token = "next_page_token_example"; // string | Token representation of a datetime returned by the Get Paging Token endpoint. This endpoint will return activities after this datetime -$fields = array("fields_example"); // string[] | Comma-separated list of field names to return changes for. Field names can be retrieved with the Describe Lead API. +$next_page_token = 'next_page_token_example'; // string | Token representation of a datetime returned by the Get Paging Token endpoint. This endpoint will return activities after this datetime +$fields = array('fields_example'); // string[] | Comma-separated list of field names to return changes for. Field names can be retrieved with the Describe Lead API. $list_id = 56; // int | Id of a static list. If set, will only return activities of members of this static list. $lead_ids = array(56); // int[] | Comma-separated list of lead ids. If set, will only return activities of the leads with these ids. Allows up to 30 entries. $batch_size = 56; // int | Maximum number of records to return. Maximum and default is 300. @@ -721,7 +721,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -743,7 +743,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\ActivitiesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$api_name = "api_name_example"; // string | API Name of the activity type +$api_name = 'api_name_example'; // string | API Name of the activity type $custom_activity_type_attribute_request = new \NecLimDul\MarketoRest\Lead\Model\CustomActivityTypeAttributeRequest(); // \NecLimDul\MarketoRest\Lead\Model\CustomActivityTypeAttributeRequest | customActivityTypeAttributeRequest try { @@ -794,7 +794,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\ActivitiesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$api_name = "api_name_example"; // string | API Name of the activity type +$api_name = 'api_name_example'; // string | API Name of the activity type $custom_activity_type_request = new \NecLimDul\MarketoRest\Lead\Model\CustomActivityTypeRequest(); // \NecLimDul\MarketoRest\Lead\Model\CustomActivityTypeRequest | customActivityTypeRequest try { diff --git a/docs/Lead/Api/BulkExportActivitiesApi.md b/docs/Lead/Api/BulkExportActivitiesApi.md index d98569d6..30f36100 100644 --- a/docs/Lead/Api/BulkExportActivitiesApi.md +++ b/docs/Lead/Api/BulkExportActivitiesApi.md @@ -29,7 +29,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkExportActivitiesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$export_id = "export_id_example"; // string | Id of export batch job. +$export_id = 'export_id_example'; // string | Id of export batch job. try { $result = $apiInstance->cancelExportActivitiesUsingPOST($export_id); @@ -56,7 +56,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -127,7 +127,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkExportActivitiesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$export_id = "export_id_example"; // string | Id of export batch job. +$export_id = 'export_id_example'; // string | Id of export batch job. try { $result = $apiInstance->enqueueExportActivitiesUsingPOST($export_id); @@ -154,7 +154,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -176,8 +176,8 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkExportActivitiesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$export_id = "export_id_example"; // string | Id of export batch job. -$range = "range_example"; // string | To support partial retrieval of extracted data, the HTTP header \"Range\" of type \"bytes\" may be specified. See RFC 2616 \"Range Retrieval Requests\" for more information. If the header is not set, the entire contents will be returned. +$export_id = 'export_id_example'; // string | Id of export batch job. +$range = 'range_example'; // string | To support partial retrieval of extracted data, the HTTP header \"Range\" of type \"bytes\" may be specified. See RFC 2616 \"Range Retrieval Requests\" for more information. If the header is not set, the entire contents will be returned. try { $result = $apiInstance->getExportActivitiesFileUsingGET($export_id, $range); @@ -205,7 +205,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -227,7 +227,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkExportActivitiesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$export_id = "export_id_example"; // string | Id of export batch job. +$export_id = 'export_id_example'; // string | Id of export batch job. try { $result = $apiInstance->getExportActivitiesStatusUsingGET($export_id); @@ -254,7 +254,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -276,9 +276,9 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkExportActivitiesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$status = array("status_example"); // string[] | Comma separated list of statuses to filter on. +$status = array('status_example'); // string[] | Comma separated list of statuses to filter on. $batch_size = 56; // int | The batch size to return. The max and default value is 300. -$next_page_token = "next_page_token_example"; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. +$next_page_token = 'next_page_token_example'; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. try { $result = $apiInstance->getExportActivitiesUsingGET($status, $batch_size, $next_page_token); @@ -307,7 +307,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/Lead/Api/BulkExportLeadsApi.md b/docs/Lead/Api/BulkExportLeadsApi.md index 1ad81ca4..22be07bf 100644 --- a/docs/Lead/Api/BulkExportLeadsApi.md +++ b/docs/Lead/Api/BulkExportLeadsApi.md @@ -29,7 +29,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkExportLeadsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$export_id = "export_id_example"; // string | Id of export batch job. +$export_id = 'export_id_example'; // string | Id of export batch job. try { $result = $apiInstance->cancelExportLeadsUsingPOST($export_id); @@ -56,7 +56,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -127,7 +127,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkExportLeadsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$export_id = "export_id_example"; // string | Id of export batch job. +$export_id = 'export_id_example'; // string | Id of export batch job. try { $result = $apiInstance->enqueueExportLeadsUsingPOST($export_id); @@ -154,7 +154,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -176,8 +176,8 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkExportLeadsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$export_id = "export_id_example"; // string | Id of export batch job. -$range = "range_example"; // string | To support partial retrieval of extracted data, the HTTP header \"Range\" of type \"bytes\" may be specified. See RFC 2616 \"Range Retrieval Requests\" for more information. If the header is not set, the entire contents will be returned. +$export_id = 'export_id_example'; // string | Id of export batch job. +$range = 'range_example'; // string | To support partial retrieval of extracted data, the HTTP header \"Range\" of type \"bytes\" may be specified. See RFC 2616 \"Range Retrieval Requests\" for more information. If the header is not set, the entire contents will be returned. try { $result = $apiInstance->getExportLeadsFileUsingGET($export_id, $range); @@ -205,7 +205,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -227,7 +227,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkExportLeadsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$export_id = "export_id_example"; // string | Id of export batch job. +$export_id = 'export_id_example'; // string | Id of export batch job. try { $result = $apiInstance->getExportLeadsStatusUsingGET($export_id); @@ -254,7 +254,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -276,9 +276,9 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkExportLeadsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$status = array("status_example"); // string[] | Comma separated list of statuses to filter on. +$status = array('status_example'); // string[] | Comma separated list of statuses to filter on. $batch_size = 56; // int | The batch size to return. The max and default value is 300. -$next_page_token = "next_page_token_example"; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. +$next_page_token = 'next_page_token_example'; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. try { $result = $apiInstance->getExportLeadsUsingGET($status, $batch_size, $next_page_token); @@ -307,7 +307,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/Lead/Api/BulkExportProgramMembersApi.md b/docs/Lead/Api/BulkExportProgramMembersApi.md index 3c293881..9316b753 100644 --- a/docs/Lead/Api/BulkExportProgramMembersApi.md +++ b/docs/Lead/Api/BulkExportProgramMembersApi.md @@ -29,7 +29,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkExportProgramMembersApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$export_id = "export_id_example"; // string | Id of export batch job. +$export_id = 'export_id_example'; // string | Id of export batch job. try { $result = $apiInstance->cancelExportProgramMembersUsingPOST($export_id); @@ -56,7 +56,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -127,7 +127,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkExportProgramMembersApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$export_id = "export_id_example"; // string | Id of export batch job. +$export_id = 'export_id_example'; // string | Id of export batch job. try { $result = $apiInstance->enqueueExportProgramMembersUsingPOST($export_id); @@ -154,7 +154,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -176,8 +176,8 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkExportProgramMembersApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$export_id = "export_id_example"; // string | Id of export batch job. -$range = "range_example"; // string | To support partial retrieval of extracted data, the HTTP header \"Range\" of type \"bytes\" may be specified. See RFC 2616 \"Range Retrieval Requests\" for more information. If the header is not set, the entire contents will be returned. +$export_id = 'export_id_example'; // string | Id of export batch job. +$range = 'range_example'; // string | To support partial retrieval of extracted data, the HTTP header \"Range\" of type \"bytes\" may be specified. See RFC 2616 \"Range Retrieval Requests\" for more information. If the header is not set, the entire contents will be returned. try { $result = $apiInstance->getExportProgramMembersFileUsingGET($export_id, $range); @@ -205,7 +205,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -227,7 +227,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkExportProgramMembersApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$export_id = "export_id_example"; // string | Id of export batch job. +$export_id = 'export_id_example'; // string | Id of export batch job. try { $result = $apiInstance->getExportProgramMembersStatusUsingGET($export_id); @@ -254,7 +254,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -276,9 +276,9 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkExportProgramMembersApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$status = array("status_example"); // string[] | Comma separated list of statuses to filter on. +$status = array('status_example'); // string[] | Comma separated list of statuses to filter on. $batch_size = 56; // int | The batch size to return. The max and default value is 300. -$next_page_token = "next_page_token_example"; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. +$next_page_token = 'next_page_token_example'; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. try { $result = $apiInstance->getExportProgramMembersUsingGET($status, $batch_size, $next_page_token); @@ -307,7 +307,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/Lead/Api/BulkImportCustomObjectsApi.md b/docs/Lead/Api/BulkImportCustomObjectsApi.md index 1027de21..791b959b 100644 --- a/docs/Lead/Api/BulkImportCustomObjectsApi.md +++ b/docs/Lead/Api/BulkImportCustomObjectsApi.md @@ -27,7 +27,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkImportCustomObjectsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$api_name = "api_name_example"; // string | API Name of the custom object for the import batch job. +$api_name = 'api_name_example'; // string | API Name of the custom object for the import batch job. $batch_id = 56; // int | Id of the import batch job. try { @@ -56,7 +56,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -78,7 +78,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkImportCustomObjectsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$api_name = "api_name_example"; // string | API Name of the custom object for the import batch job. +$api_name = 'api_name_example'; // string | API Name of the custom object for the import batch job. $batch_id = 56; // int | Id of the import batch job. try { @@ -107,7 +107,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -129,7 +129,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkImportCustomObjectsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$api_name = "api_name_example"; // string | API Name of the custom object for the import batch job. +$api_name = 'api_name_example'; // string | API Name of the custom object for the import batch job. $batch_id = 56; // int | Id of the import batch job. try { @@ -158,7 +158,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -180,8 +180,8 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkImportCustomObjectsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$api_name = "api_name_example"; // string | API Name of the custom object for the import batch job. -$format = "format_example"; // string | Import file format. +$api_name = 'api_name_example'; // string | API Name of the custom object for the import batch job. +$format = 'format_example'; // string | Import file format. $file = "/path/to/file.txt"; // \SplFileObject | File containing the data records to import. try { @@ -199,7 +199,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **api_name** | **string**| API Name of the custom object for the import batch job. | **format** | **string**| Import file format. | - **file** | **\SplFileObject**| File containing the data records to import. | + **file** | **\SplFileObject****\SplFileObject**| File containing the data records to import. | ### Return type diff --git a/docs/Lead/Api/BulkImportLeadsApi.md b/docs/Lead/Api/BulkImportLeadsApi.md index 3b5b3288..96e6d551 100644 --- a/docs/Lead/Api/BulkImportLeadsApi.md +++ b/docs/Lead/Api/BulkImportLeadsApi.md @@ -54,7 +54,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -103,7 +103,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -152,7 +152,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -174,10 +174,10 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkImportLeadsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$format = "format_example"; // string | Import file format. +$format = 'format_example'; // string | Import file format. $file = "/path/to/file.txt"; // \SplFileObject | File containing the data records to import. -$lookup_field = "lookup_field_example"; // string | Field to use for deduplication. Custom fields (string, email, integer), and the following field types are supported: id, cookies, email, twitterId, facebookId, linkedInId, sfdcAccountId, sfdcContactId, sfdcLeadId, sfdcLeadOwnerId, sfdcOpptyId. Default is email.
Note: You can use id for update only operations. -$partition_name = "partition_name_example"; // string | Name of the lead partition to import to. +$lookup_field = 'lookup_field_example'; // string | Field to use for deduplication. Custom fields (string, email, integer), and the following field types are supported: id, cookies, email, twitterId, facebookId, linkedInId, sfdcAccountId, sfdcContactId, sfdcLeadId, sfdcLeadOwnerId, sfdcOpptyId. Default is email.
Note: You can use id for update only operations. +$partition_name = 'partition_name_example'; // string | Name of the lead partition to import to. $list_id = 56; // int | Id of the static list to import into. try { @@ -194,7 +194,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **format** | **string**| Import file format. | - **file** | **\SplFileObject**| File containing the data records to import. | + **file** | **\SplFileObject****\SplFileObject**| File containing the data records to import. | **lookup_field** | **string**| Field to use for deduplication. Custom fields (string, email, integer), and the following field types are supported: id, cookies, email, twitterId, facebookId, linkedInId, sfdcAccountId, sfdcContactId, sfdcLeadId, sfdcLeadOwnerId, sfdcOpptyId. Default is email.<br>Note: You can use id for update only operations. | [optional] **partition_name** | **string**| Name of the lead partition to import to. | [optional] **list_id** | **int**| Id of the static list to import into. | [optional] diff --git a/docs/Lead/Api/BulkImportProgramMembersApi.md b/docs/Lead/Api/BulkImportProgramMembersApi.md index 3205ccdb..35a4c456 100644 --- a/docs/Lead/Api/BulkImportProgramMembersApi.md +++ b/docs/Lead/Api/BulkImportProgramMembersApi.md @@ -54,7 +54,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -103,7 +103,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -152,7 +152,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -174,9 +174,9 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\BulkImportProgramMembersApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$program_id = "program_id_example"; // string | Id of the program to add members to. -$program_member_status = "program_member_status_example"; // string | Program member status for members being added. -$format = "format_example"; // string | Import file format. +$program_id = 'program_id_example'; // string | Id of the program to add members to. +$program_member_status = 'program_member_status_example'; // string | Program member status for members being added. +$format = 'format_example'; // string | Import file format. $file = "/path/to/file.txt"; // \SplFileObject | File containing the data records to import. try { @@ -195,7 +195,7 @@ Name | Type | Description | Notes **program_id** | **string**| Id of the program to add members to. | **program_member_status** | **string**| Program member status for members being added. | **format** | **string**| Import file format. | - **file** | **\SplFileObject**| File containing the data records to import. | + **file** | **\SplFileObject****\SplFileObject**| File containing the data records to import. | ### Return type diff --git a/docs/Lead/Api/CampaignsApi.md b/docs/Lead/Api/CampaignsApi.md index 52025ae2..cac320d7 100644 --- a/docs/Lead/Api/CampaignsApi.md +++ b/docs/Lead/Api/CampaignsApi.md @@ -54,7 +54,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -77,12 +77,12 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\CampaignsApi( new GuzzleHttp\Client() ); $id = array(56); // int[] | Comma-separated list of campaign ids to return records for -$name = array("name_example"); // string[] | Comma-separated list of names to filter on -$program_name = array("program_name_example"); // string[] | Comma-separated list of program names to filter on. If set, will filter to only campaigns which are children of the designated programs. -$workspace_name = array("workspace_name_example"); // string[] | Comma-separated list of workspace names to filter on. If set, will only return campaigns in the given workspaces. +$name = array('name_example'); // string[] | Comma-separated list of names to filter on +$program_name = array('program_name_example'); // string[] | Comma-separated list of program names to filter on. If set, will filter to only campaigns which are children of the designated programs. +$workspace_name = array('workspace_name_example'); // string[] | Comma-separated list of workspace names to filter on. If set, will only return campaigns in the given workspaces. $batch_size = 56; // int | Maximum number of records to return. Maximum and default is 300. -$next_page_token = "next_page_token_example"; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. -$is_triggerable = true; // bool | Set to true to return active Campaigns which have a Campaign is Requested trigger and source is Web Service API +$next_page_token = 'next_page_token_example'; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. +$is_triggerable = True; // bool | Set to true to return active Campaigns which have a Campaign is Requested trigger and source is Web Service API try { $result = $apiInstance->getCampaignsUsingGET($id, $name, $program_name, $workspace_name, $batch_size, $next_page_token, $is_triggerable); @@ -115,7 +115,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/Lead/Api/CompaniesApi.md b/docs/Lead/Api/CompaniesApi.md index 035070b9..16ce6cae 100644 --- a/docs/Lead/Api/CompaniesApi.md +++ b/docs/Lead/Api/CompaniesApi.md @@ -99,7 +99,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -121,11 +121,11 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\CompaniesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$filter_type = "filter_type_example"; // string | The company field to filter on. Searchable fields can be retrieved with the Describe Company call. -$filter_values = array("filter_values_example"); // string[] | Comma-separated list of values to match against -$fields = array("fields_example"); // string[] | Comma-separated list of fields to include in the response +$filter_type = 'filter_type_example'; // string | The company field to filter on. Searchable fields can be retrieved with the Describe Company call. +$filter_values = array('filter_values_example'); // string[] | Comma-separated list of values to match against +$fields = array('fields_example'); // string[] | Comma-separated list of fields to include in the response $batch_size = 56; // int | The batch size to return. The max and default value is 300. -$next_page_token = "next_page_token_example"; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. +$next_page_token = 'next_page_token_example'; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. try { $result = $apiInstance->getCompaniesUsingGET($filter_type, $filter_values, $fields, $batch_size, $next_page_token); @@ -156,7 +156,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/Lead/Api/CustomObjectsApi.md b/docs/Lead/Api/CustomObjectsApi.md index bf8e82d1..f029a5c3 100644 --- a/docs/Lead/Api/CustomObjectsApi.md +++ b/docs/Lead/Api/CustomObjectsApi.md @@ -39,7 +39,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\CustomObjectsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$api_name = "api_name_example"; // string | API name of custom object type +$api_name = 'api_name_example'; // string | API name of custom object type $add_custom_object_type_fields_request = new \NecLimDul\MarketoRest\Lead\Model\AddCustomObjectTypeFieldsRequest(); // \NecLimDul\MarketoRest\Lead\Model\AddCustomObjectTypeFieldsRequest | JSON object containing custom object type fields try { @@ -90,7 +90,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\CustomObjectsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$api_name = "api_name_example"; // string | API Name of the custom object type to approve +$api_name = 'api_name_example'; // string | API Name of the custom object type to approve try { $result = $apiInstance->approveCustomObjectTypeUsingPOST($api_name); @@ -117,7 +117,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -139,7 +139,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\CustomObjectsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$api_name = "api_name_example"; // string | API name of custom object type +$api_name = 'api_name_example'; // string | API name of custom object type $delete_custom_object_type_fields_request = new \NecLimDul\MarketoRest\Lead\Model\DeleteCustomObjectTypeFieldsRequest(); // \NecLimDul\MarketoRest\Lead\Model\DeleteCustomObjectTypeFieldsRequest | JSON object containing custom object type fields try { @@ -190,7 +190,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\CustomObjectsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$api_name = "api_name_example"; // string | API Name of the custom object type to delete +$api_name = 'api_name_example'; // string | API Name of the custom object type to delete try { $result = $apiInstance->deleteCustomObjectTypeUsingPOST($api_name); @@ -217,7 +217,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -239,7 +239,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\CustomObjectsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$custom_object_name = "custom_object_name_example"; // string | customObjectName +$custom_object_name = 'custom_object_name_example'; // string | customObjectName $delete_custom_object_request = new \NecLimDul\MarketoRest\Lead\Model\DeleteCustomObjectRequest(); // \NecLimDul\MarketoRest\Lead\Model\DeleteCustomObjectRequest | deleteCustomObjectRequest try { @@ -290,8 +290,8 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\CustomObjectsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$api_name = "api_name_example"; // string | API name of custom object type to describe -$state = "state_example"; // string | State of custom object type to filter on. By default, if an approved version exists, it is returned. Otherwise, the draft version is returned. +$api_name = 'api_name_example'; // string | API name of custom object type to describe +$state = 'state_example'; // string | State of custom object type to filter on. By default, if an approved version exists, it is returned. Otherwise, the draft version is returned. try { $result = $apiInstance->describeCustomObjectTypeUsingGET($api_name, $state); @@ -319,7 +319,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -341,7 +341,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\CustomObjectsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$custom_object_name = "custom_object_name_example"; // string | customObjectName +$custom_object_name = 'custom_object_name_example'; // string | customObjectName try { $result = $apiInstance->describeUsingGET1($custom_object_name); @@ -368,7 +368,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -390,7 +390,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\CustomObjectsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$api_name = "api_name_example"; // string | API Name of the custom object type draft to discard +$api_name = 'api_name_example'; // string | API Name of the custom object type draft to discard try { $result = $apiInstance->discardCustomObjectTypeUsingPOST($api_name); @@ -417,7 +417,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -462,7 +462,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -507,13 +507,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getCustomObjectsUsingGET** -> \NecLimDul\MarketoRest\Lead\Model\ResponseOfCustomObject getCustomObjectsUsingGET($custom_object_name, $filter_type, $filter_values, $custom_object_lookup_request, $fields, $batch_size, $next_page_token) +> \NecLimDul\MarketoRest\Lead\Model\ResponseOfCustomObject getCustomObjectsUsingGET($custom_object_name, $filter_type, $filter_values, $fields, $batch_size, $next_page_token, $lookup_custom_object_request) Get Custom Objects @@ -529,16 +529,16 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\CustomObjectsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$custom_object_name = "custom_object_name_example"; // string | Name of custom object type to retrieve records for -$filter_type = "filter_type_example"; // string | Field to filter on. Searchable fields can be retrieved with Describe Custom Object -$filter_values = array("filter_values_example"); // string[] | Comma-separated list of field values to match against. -$custom_object_lookup_request = new \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest(); // \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest | Optional JSON request for retrieving custom objects with compound keys. Example:
{
\"filterType\":\"dedupeFields\",
\"fields\":[
\"marketoGuid\",
\"Bedrooms\",
\"yearBuilt\"
],
\"input\":[
{
\"mlsNum\":\"1962352\",
\"houseOwnerId\":\"42645756\"
},
{
\"mlsNum\":\"3962352\",
\"houseOwnerId\":\"62645756\"
}
]
}

-$fields = array("fields_example"); // string[] | Comma-separated list of fields to return for each record. If unset marketoGuid, dedupeFields, updatedAt, createdAt will be returned +$custom_object_name = 'custom_object_name_example'; // string | Name of custom object type to retrieve records for +$filter_type = 'filter_type_example'; // string | Field to filter on. Searchable fields can be retrieved with Describe Custom Object +$filter_values = array('filter_values_example'); // string[] | Comma-separated list of field values to match against. +$fields = array('fields_example'); // string[] | Comma-separated list of fields to return for each record. If unset marketoGuid, dedupeFields, updatedAt, createdAt will be returned $batch_size = 56; // int | The batch size to return. The max and default value is 300. -$next_page_token = "next_page_token_example"; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. +$next_page_token = 'next_page_token_example'; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. +$lookup_custom_object_request = new \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest(); // \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest | Optional JSON request for retrieving custom objects with compound keys. Example:
{
\"filterType\":\"dedupeFields\",
\"fields\":[
\"marketoGuid\",
\"Bedrooms\",
\"yearBuilt\"
],
\"input\":[
{
\"mlsNum\":\"1962352\",
\"houseOwnerId\":\"42645756\"
},
{
\"mlsNum\":\"3962352\",
\"houseOwnerId\":\"62645756\"
}
]
}

try { - $result = $apiInstance->getCustomObjectsUsingGET($custom_object_name, $filter_type, $filter_values, $custom_object_lookup_request, $fields, $batch_size, $next_page_token); + $result = $apiInstance->getCustomObjectsUsingGET($custom_object_name, $filter_type, $filter_values, $fields, $batch_size, $next_page_token, $lookup_custom_object_request); print_r($result); } catch (Exception $e) { echo 'Exception when calling CustomObjectsApi->getCustomObjectsUsingGET: ', $e->getMessage(), PHP_EOL; @@ -553,10 +553,10 @@ Name | Type | Description | Notes **custom_object_name** | **string**| Name of custom object type to retrieve records for | **filter_type** | **string**| Field to filter on. Searchable fields can be retrieved with Describe Custom Object | **filter_values** | [**string[]**](../Model/string.md)| Comma-separated list of field values to match against. | - **custom_object_lookup_request** | [**\NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest**](../Model/LookupCustomObjectRequest.md)| Optional JSON request for retrieving custom objects with compound keys. Example:<br><code>{<br>\"filterType\":\"dedupeFields\",<br>\"fields\":[<br>\"marketoGuid\",<br>\"Bedrooms\",<br>\"yearBuilt\"<br>],<br>\"input\":[<br>{<br>\"mlsNum\":\"1962352\",<br>\"houseOwnerId\":\"42645756\"<br>},<br>{<br>\"mlsNum\":\"3962352\",<br>\"houseOwnerId\":\"62645756\"<br>}<br>]<br>}</code><br> | [optional] **fields** | [**string[]**](../Model/string.md)| Comma-separated list of fields to return for each record. If unset marketoGuid, dedupeFields, updatedAt, createdAt will be returned | [optional] **batch_size** | **int**| The batch size to return. The max and default value is 300. | [optional] **next_page_token** | **string**| A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. | [optional] + **lookup_custom_object_request** | [**\NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest**](../Model/LookupCustomObjectRequest.md)| Optional JSON request for retrieving custom objects with compound keys. Example:<br><code>{<br>\"filterType\":\"dedupeFields\",<br>\"fields\":[<br>\"marketoGuid\",<br>\"Bedrooms\",<br>\"yearBuilt\"<br>],<br>\"input\":[<br>{<br>\"mlsNum\":\"1962352\",<br>\"houseOwnerId\":\"42645756\"<br>},<br>{<br>\"mlsNum\":\"3962352\",<br>\"houseOwnerId\":\"62645756\"<br>}<br>]<br>}</code><br> | [optional] ### Return type @@ -590,8 +590,8 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\CustomObjectsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$names = array("names_example"); // string[] | Comma-separated list of API names of custom object types to filter on -$state = "state_example"; // string | State of custom object type to filter on. By default, if an approved version exists, it is returned. Otherwise, the draft version is returned. +$names = array('names_example'); // string[] | Comma-separated list of API names of custom object types to filter on +$state = 'state_example'; // string | State of custom object type to filter on. By default, if an approved version exists, it is returned. Otherwise, the draft version is returned. try { $result = $apiInstance->listCustomObjectTypesUsingGET($names, $state); @@ -619,7 +619,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -641,7 +641,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\CustomObjectsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$names = array("names_example"); // string[] | Comma-separated list of names to filter types on +$names = array('names_example'); // string[] | Comma-separated list of names to filter types on try { $result = $apiInstance->listCustomObjectsUsingGET($names); @@ -668,7 +668,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -739,7 +739,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\CustomObjectsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$custom_object_name = "custom_object_name_example"; // string | customObjectName +$custom_object_name = 'custom_object_name_example'; // string | customObjectName $sync_custom_object_request = new \NecLimDul\MarketoRest\Lead\Model\SyncCustomObjectRequest(); // \NecLimDul\MarketoRest\Lead\Model\SyncCustomObjectRequest | syncCustomObjectRequest try { @@ -790,8 +790,8 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\CustomObjectsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$api_name = "api_name_example"; // string | API name of custom object type -$field_api_name = "field_api_name_example"; // string | API name of custom object type field +$api_name = 'api_name_example'; // string | API name of custom object type +$field_api_name = 'field_api_name_example'; // string | API name of custom object type field $update_custom_object_type_field_request = new \NecLimDul\MarketoRest\Lead\Model\UpdateCustomObjectTypeFieldRequest(); // \NecLimDul\MarketoRest\Lead\Model\UpdateCustomObjectTypeFieldRequest | JSON object containing custom object type fields try { diff --git a/docs/Lead/Api/LeadsApi.md b/docs/Lead/Api/LeadsApi.md index 86d28357..797a4976 100644 --- a/docs/Lead/Api/LeadsApi.md +++ b/docs/Lead/Api/LeadsApi.md @@ -40,8 +40,8 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\LeadsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$lead_id = 789; // int | The id of the lead to associate -$cookie = "cookie_example"; // string | The cookie value to associate +$lead_id = 56; // int | The id of the lead to associate +$cookie = 'cookie_example'; // string | The cookie value to associate try { $result = $apiInstance->associateLeadUsingPOST($lead_id, $cookie); @@ -69,7 +69,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -126,7 +126,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **deleteLeadsUsingPOST** -> \NecLimDul\MarketoRest\Lead\Model\ResponseOfLead deleteLeadsUsingPOST($delete_lead_request, $id) +> \NecLimDul\MarketoRest\Lead\Model\ResponseOfLead deleteLeadsUsingPOST($id, $delete_lead_request) Delete Leads @@ -142,11 +142,11 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\LeadsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$delete_lead_request = new \NecLimDul\MarketoRest\Lead\Model\DeleteLeadRequest(); // \NecLimDul\MarketoRest\Lead\Model\DeleteLeadRequest | deleteLeadRequest $id = array(56); // int[] | Parameter can be specified if the request body is empty. Multiple lead ids can be specified. e.g. id=1,2,3,2342 +$delete_lead_request = new \NecLimDul\MarketoRest\Lead\Model\DeleteLeadRequest(); // \NecLimDul\MarketoRest\Lead\Model\DeleteLeadRequest | deleteLeadRequest try { - $result = $apiInstance->deleteLeadsUsingPOST($delete_lead_request, $id); + $result = $apiInstance->deleteLeadsUsingPOST($id, $delete_lead_request); print_r($result); } catch (Exception $e) { echo 'Exception when calling LeadsApi->deleteLeadsUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -158,8 +158,8 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **delete_lead_request** | [**\NecLimDul\MarketoRest\Lead\Model\DeleteLeadRequest**](../Model/DeleteLeadRequest.md)| deleteLeadRequest | [optional] **id** | [**int[]**](../Model/int.md)| Parameter can be specified if the request body is empty. Multiple lead ids can be specified. e.g. id=1,2,3,2342 | [optional] + **delete_lead_request** | [**\NecLimDul\MarketoRest\Lead\Model\DeleteLeadRequest**](../Model/DeleteLeadRequest.md)| deleteLeadRequest | [optional] ### Return type @@ -216,7 +216,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -261,7 +261,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -306,7 +306,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -328,8 +328,8 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\LeadsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$lead_id = 789; // int | The Marketo lead id -$fields = array("fields_example"); // string[] | Comma separated list of field names. If omitted, the following default fields will be returned: email, updatedAt, createdAt, lastName, firstName, and id. +$lead_id = 56; // int | The Marketo lead id +$fields = array('fields_example'); // string[] | Comma separated list of field names. If omitted, the following default fields will be returned: email, updatedAt, createdAt, lastName, firstName, and id. try { $result = $apiInstance->getLeadByIdUsingGET($lead_id, $fields); @@ -357,7 +357,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -402,7 +402,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -424,11 +424,11 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\LeadsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$filter_type = "filter_type_example"; // string | The lead field to filter on. Any custom field (string, email, or integer types only), and any of the following fields are supported: cookies, email, facebookId, id, leadPartitionId, linkedInId, sfdcAccountId, sfdcContactId, sfdcLeadId, sfdcLeadOwnerId, sfdcOpptyId, twitterId.

A comprehensive list of fields can be obtained via the Describe Lead2 endpoint. -$filter_values = array("filter_values_example"); // string[] | A comma-separated list of values to filter on in the specified fields. -$fields = array("fields_example"); // string[] | A comma-separated list of lead fields to return for each record +$filter_type = 'filter_type_example'; // string | The lead field to filter on. Any custom field (string, email, or integer types only), and any of the following fields are supported: cookies, email, facebookId, id, leadPartitionId, linkedInId, sfdcAccountId, sfdcContactId, sfdcLeadId, sfdcLeadOwnerId, sfdcOpptyId, twitterId.

A comprehensive list of fields can be obtained via the Describe Lead2 endpoint. +$filter_values = array('filter_values_example'); // string[] | A comma-separated list of values to filter on in the specified fields. +$fields = array('fields_example'); // string[] | A comma-separated list of lead fields to return for each record $batch_size = 56; // int | The batch size to return. The max and default value is 300. -$next_page_token = "next_page_token_example"; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. +$next_page_token = 'next_page_token_example'; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. try { $result = $apiInstance->getLeadsByFilterUsingGET($filter_type, $filter_values, $fields, $batch_size, $next_page_token); @@ -459,7 +459,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -482,9 +482,9 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\LeadsApi( new GuzzleHttp\Client() ); $program_id = 56; // int | The id of the program to retrieve from -$fields = array("fields_example"); // string[] | A comma-separated list of fields to be returned for each record +$fields = array('fields_example'); // string[] | A comma-separated list of fields to be returned for each record $batch_size = 56; // int | The batch size to return. The max and default value is 300. -$next_page_token = "next_page_token_example"; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. +$next_page_token = 'next_page_token_example'; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. try { $result = $apiInstance->getLeadsByProgramIdUsingGET($program_id, $fields, $batch_size, $next_page_token); @@ -514,7 +514,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -536,8 +536,8 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\LeadsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$lead_id = 789; // int | The Marketo lead id -$next_page_token = "next_page_token_example"; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. +$lead_id = 56; // int | The Marketo lead id +$next_page_token = 'next_page_token_example'; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. $batch_size = 56; // int | Maximum number of records to return. Maximum and default is 300. try { @@ -567,7 +567,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -589,11 +589,11 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\LeadsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$lead_id = 789; // int | The Marketo lead id -$next_page_token = "next_page_token_example"; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. +$lead_id = 56; // int | The Marketo lead id +$next_page_token = 'next_page_token_example'; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. $batch_size = 56; // int | Maximum number of records to return. Maximum and default is 300. -$earliest_updated_at = "earliest_updated_at_example"; // string | Exclude programs prior to this date. Must be valid ISO-8601 string. See Datetime field type description. -$latest_updated_at = "latest_updated_at_example"; // string | Exclude programs after this date. Must be valid ISO-8601 string. See Datetime field type description. +$earliest_updated_at = 'earliest_updated_at_example'; // string | Exclude programs prior to this date. Must be valid ISO-8601 string. See Datetime field type description. +$latest_updated_at = 'latest_updated_at_example'; // string | Exclude programs after this date. Must be valid ISO-8601 string. See Datetime field type description. try { $result = $apiInstance->getProgramMembershipUsingGET($lead_id, $next_page_token, $batch_size, $earliest_updated_at, $latest_updated_at); @@ -624,7 +624,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -646,11 +646,11 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\LeadsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$lead_id = 789; // int | The Marketo lead id -$next_page_token = "next_page_token_example"; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. +$lead_id = 56; // int | The Marketo lead id +$next_page_token = 'next_page_token_example'; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. $batch_size = 56; // int | Maximum number of records to return. Maximum and default is 300. -$earliest_updated_at = "earliest_updated_at_example"; // string | Exclude smart campaigns prior to this date. Must be valid ISO-8601 string. See Datetime field type description. -$latest_updated_at = "latest_updated_at_example"; // string | Exclude smart campaigns after this date. Must be valid ISO-8601 string. See Datetime field type description. +$earliest_updated_at = 'earliest_updated_at_example'; // string | Exclude smart campaigns prior to this date. Must be valid ISO-8601 string. See Datetime field type description. +$latest_updated_at = 'latest_updated_at_example'; // string | Exclude smart campaigns after this date. Must be valid ISO-8601 string. See Datetime field type description. try { $result = $apiInstance->getSmartCampaignMembershipUsingGET($lead_id, $next_page_token, $batch_size, $earliest_updated_at, $latest_updated_at); @@ -681,7 +681,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -703,10 +703,10 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\LeadsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$lead_id = 789; // int | The id of the winning lead record -$lead_id2 = 789; // int | The id of the losing record +$lead_id = 56; // int | The id of the winning lead record +$lead_id2 = 56; // int | The id of the losing record $lead_ids = array(56); // int[] | A comma-separated list of ids of losing records -$merge_in_crm = true; // bool | If set, will attempt to merge the designated records in a natively-synched CRM. Only valid for instances with are natively synched to SFDC. +$merge_in_crm = True; // bool | If set, will attempt to merge the designated records in a natively-synched CRM. Only valid for instances with are natively synched to SFDC. try { $result = $apiInstance->mergeLeadsUsingPOST($lead_id, $lead_id2, $lead_ids, $merge_in_crm); @@ -736,7 +736,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/Lead/Api/NamedAccountListsApi.md b/docs/Lead/Api/NamedAccountListsApi.md index 40a476f1..10e844b2 100644 --- a/docs/Lead/Api/NamedAccountListsApi.md +++ b/docs/Lead/Api/NamedAccountListsApi.md @@ -29,7 +29,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\NamedAccountListsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$id = "id_example"; // string | Id of target named account list +$id = 'id_example'; // string | Id of target named account list $add_named_account_list_member_request = new \NecLimDul\MarketoRest\Lead\Model\AddNamedAccountListMemberRequest(); // \NecLimDul\MarketoRest\Lead\Model\AddNamedAccountListMemberRequest | addNamedAccountListMemberRequest try { @@ -129,10 +129,10 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\NamedAccountListsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$id = "id_example"; // string | Id of the named account list -$fields = array("fields_example"); // string[] | Comma-separated list of fields to include in the response +$id = 'id_example'; // string | Id of the named account list +$fields = array('fields_example'); // string[] | Comma-separated list of fields to include in the response $batch_size = 56; // int | The batch size to return. The max and default value is 300. -$next_page_token = "next_page_token_example"; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. +$next_page_token = 'next_page_token_example'; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. try { $result = $apiInstance->getNamedAccountListMembersUsingGET($id, $fields, $batch_size, $next_page_token); @@ -162,7 +162,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -184,10 +184,10 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\NamedAccountListsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$filter_type = "filter_type_example"; // string | The named account list field to filter on (\"dedupeFields\" or \"idFields\"). -$filter_values = array("filter_values_example"); // string[] | Comma-separated list of values to match against +$filter_type = 'filter_type_example'; // string | The named account list field to filter on (\"dedupeFields\" or \"idFields\"). +$filter_values = array('filter_values_example'); // string[] | Comma-separated list of values to match against $batch_size = 56; // int | The batch size to return. The max and default value is 300. -$next_page_token = "next_page_token_example"; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. +$next_page_token = 'next_page_token_example'; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. try { $result = $apiInstance->getNamedAccountListsUsingGET($filter_type, $filter_values, $batch_size, $next_page_token); @@ -217,7 +217,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -239,7 +239,7 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\NamedAccountListsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$id = "id_example"; // string | Id of target named account list +$id = 'id_example'; // string | Id of target named account list $remove_named_account_list_member_request = new \NecLimDul\MarketoRest\Lead\Model\RemoveNamedAccountListMemberRequest(); // \NecLimDul\MarketoRest\Lead\Model\RemoveNamedAccountListMemberRequest | removeNamedAccountListMemberRequest try { diff --git a/docs/Lead/Api/NamedAccountsApi.md b/docs/Lead/Api/NamedAccountsApi.md index 41f54c94..2e994f7a 100644 --- a/docs/Lead/Api/NamedAccountsApi.md +++ b/docs/Lead/Api/NamedAccountsApi.md @@ -11,7 +11,7 @@ Method | HTTP request | Description # **deleteNamedAccountsUsingPOST** -> \NecLimDul\MarketoRest\Lead\Model\ResponseOfNamedAccount deleteNamedAccountsUsingPOST($delete_account_request) +> \NecLimDul\MarketoRest\Lead\Model\ResponseOfNamedAccount deleteNamedAccountsUsingPOST($delete_named_account_request) Delete NamedAccounts @@ -27,10 +27,10 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\NamedAccountsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$delete_account_request = new \NecLimDul\MarketoRest\Lead\Model\DeleteNamedAccountRequest(); // \NecLimDul\MarketoRest\Lead\Model\DeleteNamedAccountRequest | deleteAccountRequest +$delete_named_account_request = new \NecLimDul\MarketoRest\Lead\Model\DeleteNamedAccountRequest(); // \NecLimDul\MarketoRest\Lead\Model\DeleteNamedAccountRequest | deleteAccountRequest try { - $result = $apiInstance->deleteNamedAccountsUsingPOST($delete_account_request); + $result = $apiInstance->deleteNamedAccountsUsingPOST($delete_named_account_request); print_r($result); } catch (Exception $e) { echo 'Exception when calling NamedAccountsApi->deleteNamedAccountsUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -42,7 +42,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **delete_account_request** | [**\NecLimDul\MarketoRest\Lead\Model\DeleteNamedAccountRequest**](../Model/DeleteNamedAccountRequest.md)| deleteAccountRequest | + **delete_named_account_request** | [**\NecLimDul\MarketoRest\Lead\Model\DeleteNamedAccountRequest**](../Model/DeleteNamedAccountRequest.md)| deleteAccountRequest | ### Return type @@ -99,7 +99,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -121,11 +121,11 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\NamedAccountsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$filter_type = "filter_type_example"; // string | NamedAccounts field to filter on. Can be any searchable fields -$filter_values = array("filter_values_example"); // string[] | A comma-separated list of values to match against -$fields = array("fields_example"); // string[] | Comma-separated list of fields to include in the response +$filter_type = 'filter_type_example'; // string | NamedAccounts field to filter on. Can be any searchable fields +$filter_values = array('filter_values_example'); // string[] | A comma-separated list of values to match against +$fields = array('fields_example'); // string[] | Comma-separated list of fields to include in the response $batch_size = 56; // int | The batch size to return. The max and default value is 300. -$next_page_token = "next_page_token_example"; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. +$next_page_token = 'next_page_token_example'; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. try { $result = $apiInstance->getNamedAccountsUsingGET($filter_type, $filter_values, $fields, $batch_size, $next_page_token); @@ -156,13 +156,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **syncNamedAccountsUsingPOST** -> \NecLimDul\MarketoRest\Lead\Model\ResponseOfNamedAccount syncNamedAccountsUsingPOST($sync_account_request) +> \NecLimDul\MarketoRest\Lead\Model\ResponseOfNamedAccount syncNamedAccountsUsingPOST($sync_named_account_request) Sync NamedAccounts @@ -178,10 +178,10 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\NamedAccountsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$sync_account_request = new \NecLimDul\MarketoRest\Lead\Model\SyncNamedAccountRequest(); // \NecLimDul\MarketoRest\Lead\Model\SyncNamedAccountRequest | syncAccountRequest +$sync_named_account_request = new \NecLimDul\MarketoRest\Lead\Model\SyncNamedAccountRequest(); // \NecLimDul\MarketoRest\Lead\Model\SyncNamedAccountRequest | syncAccountRequest try { - $result = $apiInstance->syncNamedAccountsUsingPOST($sync_account_request); + $result = $apiInstance->syncNamedAccountsUsingPOST($sync_named_account_request); print_r($result); } catch (Exception $e) { echo 'Exception when calling NamedAccountsApi->syncNamedAccountsUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -193,7 +193,7 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **sync_account_request** | [**\NecLimDul\MarketoRest\Lead\Model\SyncNamedAccountRequest**](../Model/SyncNamedAccountRequest.md)| syncAccountRequest | + **sync_named_account_request** | [**\NecLimDul\MarketoRest\Lead\Model\SyncNamedAccountRequest**](../Model/SyncNamedAccountRequest.md)| syncAccountRequest | ### Return type diff --git a/docs/Lead/Api/OpportunitiesApi.md b/docs/Lead/Api/OpportunitiesApi.md index 31d495a3..1a967598 100644 --- a/docs/Lead/Api/OpportunitiesApi.md +++ b/docs/Lead/Api/OpportunitiesApi.md @@ -152,7 +152,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -197,13 +197,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getOpportunitiesUsingGET** -> \NecLimDul\MarketoRest\Lead\Model\ResponseOfCustomObject getOpportunitiesUsingGET($filter_type, $filter_values, $custom_object_lookup_request, $fields, $batch_size, $next_page_token) +> \NecLimDul\MarketoRest\Lead\Model\ResponseOfCustomObject getOpportunitiesUsingGET($filter_type, $filter_values, $fields, $batch_size, $next_page_token, $lookup_custom_object_request) Get Opportunities @@ -219,15 +219,15 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\OpportunitiesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$filter_type = "filter_type_example"; // string | Opportunities field to filter on -$filter_values = array("filter_values_example"); // string[] | Comma-separated list of values to match against -$custom_object_lookup_request = new \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest(); // \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest | customObjectLookupRequest -$fields = array("fields_example"); // string[] | Comma-separated list of fields to include in the response +$filter_type = 'filter_type_example'; // string | Opportunities field to filter on +$filter_values = array('filter_values_example'); // string[] | Comma-separated list of values to match against +$fields = array('fields_example'); // string[] | Comma-separated list of fields to include in the response $batch_size = 56; // int | Maximum number of records to return in the response. Max and default is 300 -$next_page_token = "next_page_token_example"; // string | Paging token returned from a previous response +$next_page_token = 'next_page_token_example'; // string | Paging token returned from a previous response +$lookup_custom_object_request = new \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest(); // \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest | customObjectLookupRequest try { - $result = $apiInstance->getOpportunitiesUsingGET($filter_type, $filter_values, $custom_object_lookup_request, $fields, $batch_size, $next_page_token); + $result = $apiInstance->getOpportunitiesUsingGET($filter_type, $filter_values, $fields, $batch_size, $next_page_token, $lookup_custom_object_request); print_r($result); } catch (Exception $e) { echo 'Exception when calling OpportunitiesApi->getOpportunitiesUsingGET: ', $e->getMessage(), PHP_EOL; @@ -241,10 +241,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **filter_type** | **string**| Opportunities field to filter on | **filter_values** | [**string[]**](../Model/string.md)| Comma-separated list of values to match against | - **custom_object_lookup_request** | [**\NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest**](../Model/LookupCustomObjectRequest.md)| customObjectLookupRequest | [optional] **fields** | [**string[]**](../Model/string.md)| Comma-separated list of fields to include in the response | [optional] **batch_size** | **int**| Maximum number of records to return in the response. Max and default is 300 | [optional] **next_page_token** | **string**| Paging token returned from a previous response | [optional] + **lookup_custom_object_request** | [**\NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest**](../Model/LookupCustomObjectRequest.md)| customObjectLookupRequest | [optional] ### Return type @@ -262,7 +262,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **getOpportunityRolesUsingGET** -> \NecLimDul\MarketoRest\Lead\Model\ResponseOfCustomObject getOpportunityRolesUsingGET($filter_type, $filter_values, $custom_object_lookup_request, $fields, $batch_size, $next_page_token) +> \NecLimDul\MarketoRest\Lead\Model\ResponseOfCustomObject getOpportunityRolesUsingGET($filter_type, $filter_values, $fields, $batch_size, $next_page_token, $lookup_custom_object_request) Get Opportunity Roles @@ -278,15 +278,15 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\OpportunitiesApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$filter_type = "filter_type_example"; // string | The role field to filter on. Searchable fields can be retrieved with the Describe Opportunity call. -$filter_values = array("filter_values_example"); // string[] | Comma-separated list of field values to return records for -$custom_object_lookup_request = new \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest(); // \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest | Optional JSON request for retrieving opportunity roles with compound keys -$fields = array("fields_example"); // string[] | Comma-separated list of fields to include in the response +$filter_type = 'filter_type_example'; // string | The role field to filter on. Searchable fields can be retrieved with the Describe Opportunity call. +$filter_values = array('filter_values_example'); // string[] | Comma-separated list of field values to return records for +$fields = array('fields_example'); // string[] | Comma-separated list of fields to include in the response $batch_size = 56; // int | Maximum number of records to return in the response. Max and default is 300 -$next_page_token = "next_page_token_example"; // string | Paging token returned from a previous response +$next_page_token = 'next_page_token_example'; // string | Paging token returned from a previous response +$lookup_custom_object_request = new \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest(); // \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest | Optional JSON request for retrieving opportunity roles with compound keys try { - $result = $apiInstance->getOpportunityRolesUsingGET($filter_type, $filter_values, $custom_object_lookup_request, $fields, $batch_size, $next_page_token); + $result = $apiInstance->getOpportunityRolesUsingGET($filter_type, $filter_values, $fields, $batch_size, $next_page_token, $lookup_custom_object_request); print_r($result); } catch (Exception $e) { echo 'Exception when calling OpportunitiesApi->getOpportunityRolesUsingGET: ', $e->getMessage(), PHP_EOL; @@ -300,10 +300,10 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **filter_type** | **string**| The role field to filter on. Searchable fields can be retrieved with the Describe Opportunity call. | **filter_values** | [**string[]**](../Model/string.md)| Comma-separated list of field values to return records for | - **custom_object_lookup_request** | [**\NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest**](../Model/LookupCustomObjectRequest.md)| Optional JSON request for retrieving opportunity roles with compound keys | [optional] **fields** | [**string[]**](../Model/string.md)| Comma-separated list of fields to include in the response | [optional] **batch_size** | **int**| Maximum number of records to return in the response. Max and default is 300 | [optional] **next_page_token** | **string**| Paging token returned from a previous response | [optional] + **lookup_custom_object_request** | [**\NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest**](../Model/LookupCustomObjectRequest.md)| Optional JSON request for retrieving opportunity roles with compound keys | [optional] ### Return type diff --git a/docs/Lead/Api/SalesPersonsApi.md b/docs/Lead/Api/SalesPersonsApi.md index 1eff3af1..8ce5605b 100644 --- a/docs/Lead/Api/SalesPersonsApi.md +++ b/docs/Lead/Api/SalesPersonsApi.md @@ -99,7 +99,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -121,11 +121,11 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\SalesPersonsApi( // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client() ); -$filter_type = "filter_type_example"; // string | The sales person field to filter on. Searchable fields can be retrieved with the Describe Sales Person call. -$filter_values = array("filter_values_example"); // string[] | Comma seperated list of search values. -$fields = array("fields_example"); // string[] | Comma-separated list of fields to include in the response +$filter_type = 'filter_type_example'; // string | The sales person field to filter on. Searchable fields can be retrieved with the Describe Sales Person call. +$filter_values = array('filter_values_example'); // string[] | Comma seperated list of search values. +$fields = array('fields_example'); // string[] | Comma-separated list of fields to include in the response $batch_size = 56; // int | The batch size to return. The max and default value is 300. -$next_page_token = "next_page_token_example"; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. +$next_page_token = 'next_page_token_example'; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. try { $result = $apiInstance->getSalesPersonUsingGET($filter_type, $filter_values, $fields, $batch_size, $next_page_token); @@ -156,7 +156,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/Lead/Api/StaticListsApi.md b/docs/Lead/Api/StaticListsApi.md index 2dac55b9..285ba981 100644 --- a/docs/Lead/Api/StaticListsApi.md +++ b/docs/Lead/Api/StaticListsApi.md @@ -14,7 +14,7 @@ Method | HTTP request | Description # **addLeadsToListUsingPOST** -> \NecLimDul\MarketoRest\Lead\Model\ResponseOfListOperationOutputData addLeadsToListUsingPOST($list_id, $list_operation_request, $id) +> \NecLimDul\MarketoRest\Lead\Model\ResponseOfListOperationOutputData addLeadsToListUsingPOST($list_id, $id, $list_operation_request) Add to List @@ -31,11 +31,11 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\StaticListsApi( new GuzzleHttp\Client() ); $list_id = 56; // int | Id of target list -$list_operation_request = new \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest(); // \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest | Optional JSON request body for submitting leads $id = array(56); // int[] | Comma-separated list of lead ids to add to the list +$list_operation_request = new \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest(); // \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest | Optional JSON request body for submitting leads try { - $result = $apiInstance->addLeadsToListUsingPOST($list_id, $list_operation_request, $id); + $result = $apiInstance->addLeadsToListUsingPOST($list_id, $id, $list_operation_request); print_r($result); } catch (Exception $e) { echo 'Exception when calling StaticListsApi->addLeadsToListUsingPOST: ', $e->getMessage(), PHP_EOL; @@ -48,8 +48,8 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **list_id** | **int**| Id of target list | - **list_operation_request** | [**\NecLimDul\MarketoRest\Lead\Model\ListOperationRequest**](../Model/ListOperationRequest.md)| Optional JSON request body for submitting leads | [optional] **id** | [**int[]**](../Model/int.md)| Comma-separated list of lead ids to add to the list | [optional] + **list_operation_request** | [**\NecLimDul\MarketoRest\Lead\Model\ListOperationRequest**](../Model/ListOperationRequest.md)| Optional JSON request body for submitting leads | [optional] ### Return type @@ -67,7 +67,7 @@ No authorization required [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **areLeadsMemberOfListUsingGET** -> \NecLimDul\MarketoRest\Lead\Model\ResponseOfListOperationOutputData areLeadsMemberOfListUsingGET($list_id, $list_operation_request, $id) +> \NecLimDul\MarketoRest\Lead\Model\ResponseOfListOperationOutputData areLeadsMemberOfListUsingGET($list_id, $id, $list_operation_request) Member of List @@ -84,11 +84,11 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\StaticListsApi( new GuzzleHttp\Client() ); $list_id = 56; // int | Id of the static list to check against -$list_operation_request = new \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest(); // \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest | Optional JSON request body $id = array(56); // int[] | Comma-separated list of lead ids to check +$list_operation_request = new \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest(); // \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest | Optional JSON request body try { - $result = $apiInstance->areLeadsMemberOfListUsingGET($list_id, $list_operation_request, $id); + $result = $apiInstance->areLeadsMemberOfListUsingGET($list_id, $id, $list_operation_request); print_r($result); } catch (Exception $e) { echo 'Exception when calling StaticListsApi->areLeadsMemberOfListUsingGET: ', $e->getMessage(), PHP_EOL; @@ -101,8 +101,8 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **list_id** | **int**| Id of the static list to check against | - **list_operation_request** | [**\NecLimDul\MarketoRest\Lead\Model\ListOperationRequest**](../Model/ListOperationRequest.md)| Optional JSON request body | [optional] **id** | [**int[]**](../Model/int.md)| Comma-separated list of lead ids to check | [optional] + **list_operation_request** | [**\NecLimDul\MarketoRest\Lead\Model\ListOperationRequest**](../Model/ListOperationRequest.md)| Optional JSON request body | [optional] ### Return type @@ -137,9 +137,9 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\StaticListsApi( new GuzzleHttp\Client() ); $list_id = 56; // int | Id of the static list to retrieve records from -$fields = array("fields_example"); // string[] | Comma-separated list of lead fields to return for each record. If unset will return email, updatedAt, createdAt, lastName, firstName and id +$fields = array('fields_example'); // string[] | Comma-separated list of lead fields to return for each record. If unset will return email, updatedAt, createdAt, lastName, firstName and id $batch_size = 56; // int | The batch size to return. The max and default value is 300. -$next_page_token = "next_page_token_example"; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. +$next_page_token = 'next_page_token_example'; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. try { $result = $apiInstance->getLeadsByListIdUsingGET($list_id, $fields, $batch_size, $next_page_token); @@ -169,7 +169,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -192,9 +192,9 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\StaticListsApi( new GuzzleHttp\Client() ); $list_id = 56; // int | Id of the static list to retrieve records from -$fields = array("fields_example"); // string[] | Comma-separated list of lead fields to return for each record. If unset will return email, updatedAt, createdAt, lastName, firstName and id +$fields = array('fields_example'); // string[] | Comma-separated list of lead fields to return for each record. If unset will return email, updatedAt, createdAt, lastName, firstName and id $batch_size = 56; // int | The batch size to return. The max and default value is 300. -$next_page_token = "next_page_token_example"; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. +$next_page_token = 'next_page_token_example'; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. try { $result = $apiInstance->getLeadsByListIdUsingGET1($list_id, $fields, $batch_size, $next_page_token); @@ -224,7 +224,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -273,7 +273,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -296,11 +296,11 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\StaticListsApi( new GuzzleHttp\Client() ); $id = array(56); // int[] | Comma-separated list of static list ids to return -$name = array("name_example"); // string[] | Comma-separated list of static list names to return -$program_name = array("program_name_example"); // string[] | Comma-separated list of program names. If set will return all static lists that are children of the given programs -$workspace_name = array("workspace_name_example"); // string[] | Comma-separated list of workspace names. If set will return all static lists that are children of the given workspaces +$name = array('name_example'); // string[] | Comma-separated list of static list names to return +$program_name = array('program_name_example'); // string[] | Comma-separated list of program names. If set will return all static lists that are children of the given programs +$workspace_name = array('workspace_name_example'); // string[] | Comma-separated list of workspace names. If set will return all static lists that are children of the given workspaces $batch_size = 56; // int | The batch size to return. The max and default value is 300. -$next_page_token = "next_page_token_example"; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. +$next_page_token = 'next_page_token_example'; // string | A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. try { $result = $apiInstance->getListsUsingGET($id, $name, $program_name, $workspace_name, $batch_size, $next_page_token); @@ -332,13 +332,13 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) # **removeLeadsFromListUsingDELETE** -> \NecLimDul\MarketoRest\Lead\Model\ResponseOfListOperationOutputData removeLeadsFromListUsingDELETE($list_id, $list_operation_request, $id) +> \NecLimDul\MarketoRest\Lead\Model\ResponseOfListOperationOutputData removeLeadsFromListUsingDELETE($list_id, $id, $list_operation_request) Remove from List @@ -355,11 +355,11 @@ $apiInstance = new NecLimDul\MarketoRest\Lead\Api\StaticListsApi( new GuzzleHttp\Client() ); $list_id = 56; // int | Id of static list to remove leads from -$list_operation_request = new \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest(); // \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest | listOperationRequest $id = array(56); // int[] | id +$list_operation_request = new \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest(); // \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest | listOperationRequest try { - $result = $apiInstance->removeLeadsFromListUsingDELETE($list_id, $list_operation_request, $id); + $result = $apiInstance->removeLeadsFromListUsingDELETE($list_id, $id, $list_operation_request); print_r($result); } catch (Exception $e) { echo 'Exception when calling StaticListsApi->removeLeadsFromListUsingDELETE: ', $e->getMessage(), PHP_EOL; @@ -372,8 +372,8 @@ try { Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **list_id** | **int**| Id of static list to remove leads from | - **list_operation_request** | [**\NecLimDul\MarketoRest\Lead\Model\ListOperationRequest**](../Model/ListOperationRequest.md)| listOperationRequest | **id** | [**int[]**](../Model/int.md)| id | + **list_operation_request** | [**\NecLimDul\MarketoRest\Lead\Model\ListOperationRequest**](../Model/ListOperationRequest.md)| listOperationRequest | ### Return type diff --git a/docs/Lead/Api/UsageApi.md b/docs/Lead/Api/UsageApi.md index c1948379..d48c3903 100644 --- a/docs/Lead/Api/UsageApi.md +++ b/docs/Lead/Api/UsageApi.md @@ -50,7 +50,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -95,7 +95,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -140,7 +140,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) @@ -185,7 +185,7 @@ No authorization required ### HTTP request headers - - **Content-Type**: application/json + - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../../README.md#documentation-for-api-endpoints) [[Back to Model list]](../../README.md#documentation-for-models) [[Back to README]](../../README.md) diff --git a/docs/Lead/Model/ActivityType.md b/docs/Lead/Model/ActivityType.md index 1849c371..66e78c3a 100644 --- a/docs/Lead/Model/ActivityType.md +++ b/docs/Lead/Model/ActivityType.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **description** | **string** | Description of the activity type | [optional] **id** | **int** | Id of the activity type | **name** | **string** | Name of the activity type | -**primary_attribute** | [**\NecLimDul\MarketoRest\Lead\Model\ActivityTypeAttribute**](ActivityTypeAttribute.md) | Primary attribute of the type | +**primary_attribute** | [**\NecLimDul\MarketoRest\Lead\Model\ActivityTypeAttribute**](ActivityTypeAttribute.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Lead/Model/AddCustomObjectTypeField.md b/docs/Lead/Model/AddCustomObjectTypeField.md index e081f661..69509abc 100644 --- a/docs/Lead/Model/AddCustomObjectTypeField.md +++ b/docs/Lead/Model/AddCustomObjectTypeField.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data_type** | **string** | Datatype of the custom object field | **description** | **string** | Description of the custom object field | [optional] **is_dedupe_field** | **bool** | Set to true to enable field as unique identifier for deduplicating records. Default is false | [optional] -**related_to** | [**\NecLimDul\MarketoRest\Lead\Model\CustomObjectTypeFieldRelatedTo**](CustomObjectTypeFieldRelatedTo.md) | Define custom object link field | [optional] +**related_to** | [**\NecLimDul\MarketoRest\Lead\Model\CustomObjectTypeFieldRelatedTo**](CustomObjectTypeFieldRelatedTo.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Lead/Model/Attribute.md b/docs/Lead/Model/Attribute.md index ca1b17fd..3ff6956e 100644 --- a/docs/Lead/Model/Attribute.md +++ b/docs/Lead/Model/Attribute.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **api_name** | **string** | | [optional] **name** | **string** | Name of the attribute | -**value** | **object** | Value of the attribute | +**value** | [**object**](.md) | Value of the attribute | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Lead/Model/CustomActivityType.md b/docs/Lead/Model/CustomActivityType.md index e327c739..8b108bef 100644 --- a/docs/Lead/Model/CustomActivityType.md +++ b/docs/Lead/Model/CustomActivityType.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **filter_name** | **string** | Human-readable name for the associated filter of the activity type. Required on creation | [optional] **id** | **int** | | [optional] **name** | **string** | Human-readable display name of the type. Required on creation | [optional] -**primary_attribute** | [**\NecLimDul\MarketoRest\Lead\Model\CustomActivityTypeAttribute**](CustomActivityTypeAttribute.md) | Primary Attribute of the activity type. Required on creation | [optional] +**primary_attribute** | [**\NecLimDul\MarketoRest\Lead\Model\CustomActivityTypeAttribute**](CustomActivityTypeAttribute.md) | | [optional] **status** | **string** | State of the activity type | [optional] **trigger_name** | **string** | Human-readable name for the associated trigger of the activity type. Required on creation | [optional] **updated_at** | **string** | Datetime when the activity type was most recently updated | [optional] diff --git a/docs/Lead/Model/CustomActivityTypeRequest.md b/docs/Lead/Model/CustomActivityTypeRequest.md index 0df0912b..e9ff8614 100644 --- a/docs/Lead/Model/CustomActivityTypeRequest.md +++ b/docs/Lead/Model/CustomActivityTypeRequest.md @@ -7,7 +7,7 @@ Name | Type | Description | Notes **description** | **string** | | [optional] **filter_name** | **string** | Human-readable name of the associated filter | **name** | **string** | Human-readable display name of the activity type | -**primary_attribute** | [**\NecLimDul\MarketoRest\Lead\Model\CustomActivityTypeAttribute**](CustomActivityTypeAttribute.md) | Primary attribute of the activity type | +**primary_attribute** | [**\NecLimDul\MarketoRest\Lead\Model\CustomActivityTypeAttribute**](CustomActivityTypeAttribute.md) | | **trigger_name** | **string** | Human-readable name of the associated trigger | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Lead/Model/ExportActivityFilter.md b/docs/Lead/Model/ExportActivityFilter.md index 17eca71d..de96b8b0 100644 --- a/docs/Lead/Model/ExportActivityFilter.md +++ b/docs/Lead/Model/ExportActivityFilter.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **activity_type_ids** | **int[]** | List of activity type ids to filter on | [optional] -**created_at** | [**\NecLimDul\MarketoRest\Lead\Model\DateRange**](DateRange.md) | Date range to filter new activities on | +**created_at** | [**\NecLimDul\MarketoRest\Lead\Model\DateRange**](DateRange.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Lead/Model/ExportActivityRequest.md b/docs/Lead/Model/ExportActivityRequest.md index ba8d5245..5a70435f 100644 --- a/docs/Lead/Model/ExportActivityRequest.md +++ b/docs/Lead/Model/ExportActivityRequest.md @@ -3,9 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**column_header_names** | [**\NecLimDul\MarketoRest\Lead\Model\ColumnHeaderNames**](ColumnHeaderNames.md) | File header field names override (corresponds with REST API name) | [optional] +**column_header_names** | [**\NecLimDul\MarketoRest\Lead\Model\ColumnHeaderNames**](ColumnHeaderNames.md) | | [optional] **fields** | **string[]** | Array of strings containing field values. Used to reduce the number of fields contained in export file. Select one or more of: marketoGUID, leadId, activityDate, activityTypeId, campaignId, primaryAttributeValueId, primaryAttributeValue | -**filter** | [**\NecLimDul\MarketoRest\Lead\Model\ExportActivityFilter**](ExportActivityFilter.md) | Record selection criteria. \"createAt\" is required, \"activityTypeIds\" is optional | +**filter** | [**\NecLimDul\MarketoRest\Lead\Model\ExportActivityFilter**](ExportActivityFilter.md) | | **format** | **string** | File format to create(\"CSV\", \"TSV\", \"SSV\"). Default is \"CSV\" | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Lead/Model/ExportLeadFilter.md b/docs/Lead/Model/ExportLeadFilter.md index 1f0c749e..bc2c88e0 100644 --- a/docs/Lead/Model/ExportLeadFilter.md +++ b/docs/Lead/Model/ExportLeadFilter.md @@ -3,12 +3,12 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**created_at** | [**\NecLimDul\MarketoRest\Lead\Model\DateRange**](DateRange.md) | Date range to filter new leads on | +**created_at** | [**\NecLimDul\MarketoRest\Lead\Model\DateRange**](DateRange.md) | | **smart_list_id** | **int** | Id of smart list to retrieve leads from | **smart_list_name** | **string** | Name of smart list to retrieve leads from | **static_list_id** | **int** | Id of static list to retrieve leads from | **static_list_name** | **string** | Name of static list to retrieve leads from | -**updated_at** | [**\NecLimDul\MarketoRest\Lead\Model\DateRange**](DateRange.md) | Date range to filter updated leads on | +**updated_at** | [**\NecLimDul\MarketoRest\Lead\Model\DateRange**](DateRange.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Lead/Model/ExportLeadRequest.md b/docs/Lead/Model/ExportLeadRequest.md index a61ea09d..82b52828 100644 --- a/docs/Lead/Model/ExportLeadRequest.md +++ b/docs/Lead/Model/ExportLeadRequest.md @@ -3,9 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**column_header_names** | [**\NecLimDul\MarketoRest\Lead\Model\ColumnHeaderNames**](ColumnHeaderNames.md) | File header field names override (corresponds with REST API name) | [optional] +**column_header_names** | [**\NecLimDul\MarketoRest\Lead\Model\ColumnHeaderNames**](ColumnHeaderNames.md) | | [optional] **fields** | **string[]** | Comma-separated list of fields to include in the file | -**filter** | [**\NecLimDul\MarketoRest\Lead\Model\ExportLeadFilter**](ExportLeadFilter.md) | Lead record selection criteria. Can be one of the following: \"createdAt\", \"updatedAt\", \"staticListName\", \"staticListId\", \"smartListName\", \"smartListId\" | +**filter** | [**\NecLimDul\MarketoRest\Lead\Model\ExportLeadFilter**](ExportLeadFilter.md) | | **format** | **string** | File format to create(\"CSV\", \"TSV\", \"SSV\"). Default is \"CSV\" | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Lead/Model/ExportProgramMemberRequest.md b/docs/Lead/Model/ExportProgramMemberRequest.md index 96ef1636..696b43c2 100644 --- a/docs/Lead/Model/ExportProgramMemberRequest.md +++ b/docs/Lead/Model/ExportProgramMemberRequest.md @@ -3,9 +3,9 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**column_header_names** | [**\NecLimDul\MarketoRest\Lead\Model\ColumnHeaderNames**](ColumnHeaderNames.md) | File header field names override (corresponds with REST API name) | [optional] +**column_header_names** | [**\NecLimDul\MarketoRest\Lead\Model\ColumnHeaderNames**](ColumnHeaderNames.md) | | [optional] **fields** | **string[]** | Comma-separated list of fields to include in the file | -**filter** | [**\NecLimDul\MarketoRest\Lead\Model\ExportProgramMemberFilter**](ExportProgramMemberFilter.md) | Program member record selection criteria. Must be the following: \"programId\" | +**filter** | [**\NecLimDul\MarketoRest\Lead\Model\ExportProgramMemberFilter**](ExportProgramMemberFilter.md) | | **format** | **string** | File format to create(\"CSV\", \"TSV\", \"SSV\"). Default is \"CSV\" | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Lead/Model/Lead.md b/docs/Lead/Model/Lead.md index 7c7771c2..d35c31b3 100644 --- a/docs/Lead/Model/Lead.md +++ b/docs/Lead/Model/Lead.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **id** | **int** | Unique integer id of a lead record | [optional] -**membership** | [**\NecLimDul\MarketoRest\Lead\Model\ProgramMembership**](ProgramMembership.md) | Membership data for the parent program. Only returned via Get Leads By Program Id | [optional] -**reason** | [**\NecLimDul\MarketoRest\Lead\Model\Reason**](Reason.md) | Reason object describing why an operation did not succeed for a record | [optional] +**membership** | [**\NecLimDul\MarketoRest\Lead\Model\ProgramMembership**](ProgramMembership.md) | | [optional] +**reason** | [**\NecLimDul\MarketoRest\Lead\Model\Reason**](Reason.md) | | [optional] **status** | **string** | Status of the operation performed on the record | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Lead/Model/LeadAttribute.md b/docs/Lead/Model/LeadAttribute.md index 4c0d41b9..ad239077 100644 --- a/docs/Lead/Model/LeadAttribute.md +++ b/docs/Lead/Model/LeadAttribute.md @@ -7,8 +7,8 @@ Name | Type | Description | Notes **display_name** | **string** | UI display-name of the field | **id** | **int** | Unique integer id of the field | **length** | **int** | Max length of the field. Only applicable to text, string, and text area. | [optional] -**rest** | [**\NecLimDul\MarketoRest\Lead\Model\LeadMapAttribute**](LeadMapAttribute.md) | Description of REST API usage attributes | [optional] -**soap** | [**\NecLimDul\MarketoRest\Lead\Model\LeadMapAttribute**](LeadMapAttribute.md) | Description of SOAP API usage attributes | [optional] +**rest** | [**\NecLimDul\MarketoRest\Lead\Model\LeadMapAttribute**](LeadMapAttribute.md) | | [optional] +**soap** | [**\NecLimDul\MarketoRest\Lead\Model\LeadMapAttribute**](LeadMapAttribute.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Lead/Model/LeadAttribute2.md b/docs/Lead/Model/LeadAttribute2.md index 8c7d7deb..80a63033 100644 --- a/docs/Lead/Model/LeadAttribute2.md +++ b/docs/Lead/Model/LeadAttribute2.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **name** | **string** | \"API Lead\" | -**searchable_fields** | [**\NecLimDul\MarketoRest\Lead\Model\LeadAttribute2SearchableFields[]**](LeadAttribute2SearchableFields.md) | List of searchable fields | +**searchable_fields** | [**\NecLimDul\MarketoRest\Lead\Model\LeadAttribute2SearchableFields[]**](array.md) | List of searchable fields | **fields** | [**\NecLimDul\MarketoRest\Lead\Model\LeadAttribute2Fields[]**](LeadAttribute2Fields.md) | Description of searchable fields | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Lead/Model/LeadAttribute2SearchableFields.md b/docs/Lead/Model/LeadAttribute2SearchableFields.md deleted file mode 100644 index c446d383..00000000 --- a/docs/Lead/Model/LeadAttribute2SearchableFields.md +++ /dev/null @@ -1,9 +0,0 @@ -# LeadAttribute2SearchableFields - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/Lead/Model/ObjectRelation.md b/docs/Lead/Model/ObjectRelation.md index a7de192d..8b438258 100644 --- a/docs/Lead/Model/ObjectRelation.md +++ b/docs/Lead/Model/ObjectRelation.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **field** | **string** | API Name of link field | -**related_to** | [**\NecLimDul\MarketoRest\Lead\Model\RelatedObject**](RelatedObject.md) | Object to which the field is linked | +**related_to** | [**\NecLimDul\MarketoRest\Lead\Model\RelatedObject**](RelatedObject.md) | | **type** | **string** | Type of the relationship field | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Lead/Model/TriggerCampaignRequest.md b/docs/Lead/Model/TriggerCampaignRequest.md index 097ff354..794d65aa 100644 --- a/docs/Lead/Model/TriggerCampaignRequest.md +++ b/docs/Lead/Model/TriggerCampaignRequest.md @@ -3,7 +3,7 @@ ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**input** | [**\NecLimDul\MarketoRest\Lead\Model\TriggerCampaignData**](TriggerCampaignData.md) | Object describing trigger configuration for the campaign | +**input** | [**\NecLimDul\MarketoRest\Lead\Model\TriggerCampaignData**](TriggerCampaignData.md) | | [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/Lead/Model/UpdateCustomObjectTypeFieldRequest.md b/docs/Lead/Model/UpdateCustomObjectTypeFieldRequest.md index bde88837..154f93f7 100644 --- a/docs/Lead/Model/UpdateCustomObjectTypeFieldRequest.md +++ b/docs/Lead/Model/UpdateCustomObjectTypeFieldRequest.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes **data_type** | **string** | Datatype of the custom object field | [optional] **description** | **string** | Description of the custom object field | [optional] **is_dedupe_field** | **bool** | Set to true to enable field as unique identifier for deduplicating records. Default is false | [optional] -**related_to** | [**\NecLimDul\MarketoRest\Lead\Model\CustomObjectTypeFieldRelatedTo**](CustomObjectTypeFieldRelatedTo.md) | Define custom object link field | [optional] +**related_to** | [**\NecLimDul\MarketoRest\Lead\Model\CustomObjectTypeFieldRelatedTo**](CustomObjectTypeFieldRelatedTo.md) | | [optional] [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/src/Asset/Api/ChannelsApi.php b/src/Asset/Api/ChannelsApi.php index cac613a2..9c2e1f8b 100644 --- a/src/Asset/Api/ChannelsApi.php +++ b/src/Asset/Api/ChannelsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -294,7 +294,7 @@ protected function getAllChannelsUsingGETRequest($max_return = null, $offset = n } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -559,7 +559,7 @@ protected function getChannelByNameUsingGETRequest($name) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } diff --git a/src/Asset/Api/EmailTemplatesApi.php b/src/Asset/Api/EmailTemplatesApi.php index e20c50bd..b0942d23 100644 --- a/src/Asset/Api/EmailTemplatesApi.php +++ b/src/Asset/Api/EmailTemplatesApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -295,7 +295,7 @@ protected function approveDraftUsingPOST1Request($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -362,15 +362,17 @@ protected function approveDraftUsingPOST1Request($id) * Clone Email Template * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneEmailTemplateRequest $clone_email_template_request cloneEmailTemplateRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder (required) + * @param string $name Name of the Email Template (required) + * @param string $description Description of the asset (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailTemplateResponse */ - public function cloneTemplateUsingPOST($id, $clone_email_template_request) + public function cloneTemplateUsingPOST($id, $folder, $name, $description = null) { - list($response) = $this->cloneTemplateUsingPOSTWithHttpInfo($id, $clone_email_template_request); + list($response) = $this->cloneTemplateUsingPOSTWithHttpInfo($id, $folder, $name, $description); return $response; } @@ -380,16 +382,18 @@ public function cloneTemplateUsingPOST($id, $clone_email_template_request) * Clone Email Template * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneEmailTemplateRequest $clone_email_template_request cloneEmailTemplateRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the Email Template (required) + * @param string $description Description of the asset (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailTemplateResponse, HTTP status code, HTTP response headers (array of strings) */ - public function cloneTemplateUsingPOSTWithHttpInfo($id, $clone_email_template_request) + public function cloneTemplateUsingPOSTWithHttpInfo($id, $folder, $name, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailTemplateResponse'; - $request = $this->cloneTemplateUsingPOSTRequest($id, $clone_email_template_request); + $request = $this->cloneTemplateUsingPOSTRequest($id, $folder, $name, $description); try { $options = $this->createHttpClientOption(); @@ -456,14 +460,16 @@ public function cloneTemplateUsingPOSTWithHttpInfo($id, $clone_email_template_re * Clone Email Template * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneEmailTemplateRequest $clone_email_template_request cloneEmailTemplateRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the Email Template (required) + * @param string $description Description of the asset (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function cloneTemplateUsingPOSTAsync($id, $clone_email_template_request) + public function cloneTemplateUsingPOSTAsync($id, $folder, $name, $description = null) { - return $this->cloneTemplateUsingPOSTAsyncWithHttpInfo($id, $clone_email_template_request) + return $this->cloneTemplateUsingPOSTAsyncWithHttpInfo($id, $folder, $name, $description) ->then( function ($response) { return $response[0]; @@ -477,15 +483,17 @@ function ($response) { * Clone Email Template * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneEmailTemplateRequest $clone_email_template_request cloneEmailTemplateRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the Email Template (required) + * @param string $description Description of the asset (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function cloneTemplateUsingPOSTAsyncWithHttpInfo($id, $clone_email_template_request) + public function cloneTemplateUsingPOSTAsyncWithHttpInfo($id, $folder, $name, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailTemplateResponse'; - $request = $this->cloneTemplateUsingPOSTRequest($id, $clone_email_template_request); + $request = $this->cloneTemplateUsingPOSTRequest($id, $folder, $name, $description); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -528,12 +536,14 @@ function ($exception) { * Create request for operation 'cloneTemplateUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneEmailTemplateRequest $clone_email_template_request cloneEmailTemplateRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the Email Template (required) + * @param string $description Description of the asset (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function cloneTemplateUsingPOSTRequest($id, $clone_email_template_request) + protected function cloneTemplateUsingPOSTRequest($id, $folder, $name, $description = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -541,10 +551,16 @@ protected function cloneTemplateUsingPOSTRequest($id, $clone_email_template_requ 'Missing the required parameter $id when calling cloneTemplateUsingPOST' ); } - // verify the required parameter 'clone_email_template_request' is set - if ($clone_email_template_request === null || (is_array($clone_email_template_request) && count($clone_email_template_request) === 0)) { + // verify the required parameter 'folder' is set + if ($folder === null || (is_array($folder) && count($folder) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $folder when calling cloneTemplateUsingPOST' + ); + } + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $clone_email_template_request when calling cloneTemplateUsingPOST' + 'Missing the required parameter $name when calling cloneTemplateUsingPOST' ); } @@ -565,11 +581,20 @@ protected function cloneTemplateUsingPOSTRequest($id, $clone_email_template_requ ); } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($folder !== null) { + $formParams['folder'] = ObjectSerializer::toFormValue($folder); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } // body params $_tempBody = null; - if (isset($clone_email_template_request)) { - $_tempBody = $clone_email_template_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -644,15 +669,18 @@ protected function cloneTemplateUsingPOSTRequest($id, $clone_email_template_requ * * Create Email Template * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateEmailTemplateRequest $create_email_template_request createEmailTemplateRequest (required) + * @param string $name Name of the Email Template. Must be unique under the parent folder. (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder (required) + * @param string $content HTML content for template. Multipart file. (required) + * @param string $description Description of the email template (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailTemplateResponse */ - public function createEmailTemplateUsingPOST($create_email_template_request) + public function createEmailTemplateUsingPOST($name, $folder, $content, $description = null) { - list($response) = $this->createEmailTemplateUsingPOSTWithHttpInfo($create_email_template_request); + list($response) = $this->createEmailTemplateUsingPOSTWithHttpInfo($name, $folder, $content, $description); return $response; } @@ -661,16 +689,19 @@ public function createEmailTemplateUsingPOST($create_email_template_request) * * Create Email Template * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateEmailTemplateRequest $create_email_template_request createEmailTemplateRequest (required) + * @param string $name Name of the Email Template. Must be unique under the parent folder. (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $content HTML content for template. Multipart file. (required) + * @param string $description Description of the email template (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailTemplateResponse, HTTP status code, HTTP response headers (array of strings) */ - public function createEmailTemplateUsingPOSTWithHttpInfo($create_email_template_request) + public function createEmailTemplateUsingPOSTWithHttpInfo($name, $folder, $content, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailTemplateResponse'; - $request = $this->createEmailTemplateUsingPOSTRequest($create_email_template_request); + $request = $this->createEmailTemplateUsingPOSTRequest($name, $folder, $content, $description); try { $options = $this->createHttpClientOption(); @@ -736,14 +767,17 @@ public function createEmailTemplateUsingPOSTWithHttpInfo($create_email_template_ * * Create Email Template * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateEmailTemplateRequest $create_email_template_request createEmailTemplateRequest (required) + * @param string $name Name of the Email Template. Must be unique under the parent folder. (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $content HTML content for template. Multipart file. (required) + * @param string $description Description of the email template (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createEmailTemplateUsingPOSTAsync($create_email_template_request) + public function createEmailTemplateUsingPOSTAsync($name, $folder, $content, $description = null) { - return $this->createEmailTemplateUsingPOSTAsyncWithHttpInfo($create_email_template_request) + return $this->createEmailTemplateUsingPOSTAsyncWithHttpInfo($name, $folder, $content, $description) ->then( function ($response) { return $response[0]; @@ -756,15 +790,18 @@ function ($response) { * * Create Email Template * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateEmailTemplateRequest $create_email_template_request createEmailTemplateRequest (required) + * @param string $name Name of the Email Template. Must be unique under the parent folder. (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $content HTML content for template. Multipart file. (required) + * @param string $description Description of the email template (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createEmailTemplateUsingPOSTAsyncWithHttpInfo($create_email_template_request) + public function createEmailTemplateUsingPOSTAsyncWithHttpInfo($name, $folder, $content, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailTemplateResponse'; - $request = $this->createEmailTemplateUsingPOSTRequest($create_email_template_request); + $request = $this->createEmailTemplateUsingPOSTRequest($name, $folder, $content, $description); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -806,17 +843,32 @@ function ($exception) { /** * Create request for operation 'createEmailTemplateUsingPOST' * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateEmailTemplateRequest $create_email_template_request createEmailTemplateRequest (required) + * @param string $name Name of the Email Template. Must be unique under the parent folder. (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $content HTML content for template. Multipart file. (required) + * @param string $description Description of the email template (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function createEmailTemplateUsingPOSTRequest($create_email_template_request) + protected function createEmailTemplateUsingPOSTRequest($name, $folder, $content, $description = null) { - // verify the required parameter 'create_email_template_request' is set - if ($create_email_template_request === null || (is_array($create_email_template_request) && count($create_email_template_request) === 0)) { + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $name when calling createEmailTemplateUsingPOST' + ); + } + // verify the required parameter 'folder' is set + if ($folder === null || (is_array($folder) && count($folder) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $create_email_template_request when calling createEmailTemplateUsingPOST' + 'Missing the required parameter $folder when calling createEmailTemplateUsingPOST' + ); + } + // verify the required parameter 'content' is set + if ($content === null || (is_array($content) && count($content) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $content when calling createEmailTemplateUsingPOST' ); } @@ -829,11 +881,24 @@ protected function createEmailTemplateUsingPOSTRequest($create_email_template_re + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($folder !== null) { + $formParams['folder'] = ObjectSerializer::toFormValue($folder); + } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($content !== null) { + $formParams['content'] = ObjectSerializer::toFormValue($content); + } // body params $_tempBody = null; - if (isset($create_email_template_request)) { - $_tempBody = $create_email_template_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -1111,7 +1176,7 @@ protected function deleteTemplateUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1380,7 +1445,7 @@ protected function discardDraftUsingPOST1Request($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1667,7 +1732,7 @@ protected function getEmailTemplateUsedByUsingGETRequest($id, $offset = null, $m } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1944,7 +2009,7 @@ protected function getEmailTemplatesUsingGETRequest($offset = null, $max_return } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2222,7 +2287,7 @@ protected function getTemplateByIdUsingGETRequest($id, $status = null) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2496,7 +2561,7 @@ protected function getTemplateByNameUsingGETRequest($name, $status = null) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2774,7 +2839,7 @@ protected function getTemplateContentByIdUsingGETRequest($id, $status = null) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -3043,7 +3108,7 @@ protected function unapproveDraftUsingPOST1Request($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -3110,15 +3175,15 @@ protected function unapproveDraftUsingPOST1Request($id) * Update Email Template Content * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailTemplateContentRequest $update_email_template_content_request updateEmailTemplateContentRequest (optional) + * @param string $content Content for the email template. Multipart file. (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse */ - public function updateEmailTemplateContentUsingPOST($id, $update_email_template_content_request = null) + public function updateEmailTemplateContentUsingPOST($id, $content = null) { - list($response) = $this->updateEmailTemplateContentUsingPOSTWithHttpInfo($id, $update_email_template_content_request); + list($response) = $this->updateEmailTemplateContentUsingPOSTWithHttpInfo($id, $content); return $response; } @@ -3128,16 +3193,16 @@ public function updateEmailTemplateContentUsingPOST($id, $update_email_template_ * Update Email Template Content * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailTemplateContentRequest $update_email_template_content_request updateEmailTemplateContentRequest (optional) + * @param string $content Content for the email template. Multipart file. (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateEmailTemplateContentUsingPOSTWithHttpInfo($id, $update_email_template_content_request = null) + public function updateEmailTemplateContentUsingPOSTWithHttpInfo($id, $content = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->updateEmailTemplateContentUsingPOSTRequest($id, $update_email_template_content_request); + $request = $this->updateEmailTemplateContentUsingPOSTRequest($id, $content); try { $options = $this->createHttpClientOption(); @@ -3204,14 +3269,14 @@ public function updateEmailTemplateContentUsingPOSTWithHttpInfo($id, $update_ema * Update Email Template Content * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailTemplateContentRequest $update_email_template_content_request updateEmailTemplateContentRequest (optional) + * @param string $content Content for the email template. Multipart file. (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateEmailTemplateContentUsingPOSTAsync($id, $update_email_template_content_request = null) + public function updateEmailTemplateContentUsingPOSTAsync($id, $content = null) { - return $this->updateEmailTemplateContentUsingPOSTAsyncWithHttpInfo($id, $update_email_template_content_request) + return $this->updateEmailTemplateContentUsingPOSTAsyncWithHttpInfo($id, $content) ->then( function ($response) { return $response[0]; @@ -3225,15 +3290,15 @@ function ($response) { * Update Email Template Content * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailTemplateContentRequest $update_email_template_content_request updateEmailTemplateContentRequest (optional) + * @param string $content Content for the email template. Multipart file. (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateEmailTemplateContentUsingPOSTAsyncWithHttpInfo($id, $update_email_template_content_request = null) + public function updateEmailTemplateContentUsingPOSTAsyncWithHttpInfo($id, $content = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->updateEmailTemplateContentUsingPOSTRequest($id, $update_email_template_content_request); + $request = $this->updateEmailTemplateContentUsingPOSTRequest($id, $content); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -3276,12 +3341,12 @@ function ($exception) { * Create request for operation 'updateEmailTemplateContentUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailTemplateContentRequest $update_email_template_content_request updateEmailTemplateContentRequest (optional) + * @param string $content Content for the email template. Multipart file. (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateEmailTemplateContentUsingPOSTRequest($id, $update_email_template_content_request = null) + protected function updateEmailTemplateContentUsingPOSTRequest($id, $content = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -3307,11 +3372,12 @@ protected function updateEmailTemplateContentUsingPOSTRequest($id, $update_email ); } + // form params + if ($content !== null) { + $formParams['content'] = ObjectSerializer::toFormValue($content); + } // body params $_tempBody = null; - if (isset($update_email_template_content_request)) { - $_tempBody = $update_email_template_content_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -3387,15 +3453,16 @@ protected function updateEmailTemplateContentUsingPOSTRequest($id, $update_email * Update Email Template Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailTemplateMetaDataRequest $update_email_meta_data_request updateEmailMetaDataRequest (required) + * @param string $description Description of the asset (optional) + * @param string $name Name of the Email Template (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailTemplateResponse */ - public function updateEmailTemplateUsingPOST($id, $update_email_meta_data_request) + public function updateEmailTemplateUsingPOST($id, $description = null, $name = null) { - list($response) = $this->updateEmailTemplateUsingPOSTWithHttpInfo($id, $update_email_meta_data_request); + list($response) = $this->updateEmailTemplateUsingPOSTWithHttpInfo($id, $description, $name); return $response; } @@ -3405,16 +3472,17 @@ public function updateEmailTemplateUsingPOST($id, $update_email_meta_data_reques * Update Email Template Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailTemplateMetaDataRequest $update_email_meta_data_request updateEmailMetaDataRequest (required) + * @param string $description Description of the asset (optional) + * @param string $name Name of the Email Template (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailTemplateResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateEmailTemplateUsingPOSTWithHttpInfo($id, $update_email_meta_data_request) + public function updateEmailTemplateUsingPOSTWithHttpInfo($id, $description = null, $name = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailTemplateResponse'; - $request = $this->updateEmailTemplateUsingPOSTRequest($id, $update_email_meta_data_request); + $request = $this->updateEmailTemplateUsingPOSTRequest($id, $description, $name); try { $options = $this->createHttpClientOption(); @@ -3481,14 +3549,15 @@ public function updateEmailTemplateUsingPOSTWithHttpInfo($id, $update_email_meta * Update Email Template Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailTemplateMetaDataRequest $update_email_meta_data_request updateEmailMetaDataRequest (required) + * @param string $description Description of the asset (optional) + * @param string $name Name of the Email Template (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateEmailTemplateUsingPOSTAsync($id, $update_email_meta_data_request) + public function updateEmailTemplateUsingPOSTAsync($id, $description = null, $name = null) { - return $this->updateEmailTemplateUsingPOSTAsyncWithHttpInfo($id, $update_email_meta_data_request) + return $this->updateEmailTemplateUsingPOSTAsyncWithHttpInfo($id, $description, $name) ->then( function ($response) { return $response[0]; @@ -3502,15 +3571,16 @@ function ($response) { * Update Email Template Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailTemplateMetaDataRequest $update_email_meta_data_request updateEmailMetaDataRequest (required) + * @param string $description Description of the asset (optional) + * @param string $name Name of the Email Template (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateEmailTemplateUsingPOSTAsyncWithHttpInfo($id, $update_email_meta_data_request) + public function updateEmailTemplateUsingPOSTAsyncWithHttpInfo($id, $description = null, $name = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailTemplateResponse'; - $request = $this->updateEmailTemplateUsingPOSTRequest($id, $update_email_meta_data_request); + $request = $this->updateEmailTemplateUsingPOSTRequest($id, $description, $name); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -3553,12 +3623,13 @@ function ($exception) { * Create request for operation 'updateEmailTemplateUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailTemplateMetaDataRequest $update_email_meta_data_request updateEmailMetaDataRequest (required) + * @param string $description Description of the asset (optional) + * @param string $name Name of the Email Template (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateEmailTemplateUsingPOSTRequest($id, $update_email_meta_data_request) + protected function updateEmailTemplateUsingPOSTRequest($id, $description = null, $name = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -3566,12 +3637,6 @@ protected function updateEmailTemplateUsingPOSTRequest($id, $update_email_meta_d 'Missing the required parameter $id when calling updateEmailTemplateUsingPOST' ); } - // verify the required parameter 'update_email_meta_data_request' is set - if ($update_email_meta_data_request === null || (is_array($update_email_meta_data_request) && count($update_email_meta_data_request) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $update_email_meta_data_request when calling updateEmailTemplateUsingPOST' - ); - } $resourcePath = '/rest/asset/v1/emailTemplate/{id}.json'; $formParams = []; @@ -3590,11 +3655,16 @@ protected function updateEmailTemplateUsingPOSTRequest($id, $update_email_meta_d ); } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } // body params $_tempBody = null; - if (isset($update_email_meta_data_request)) { - $_tempBody = $update_email_meta_data_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( diff --git a/src/Asset/Api/EmailsApi.php b/src/Asset/Api/EmailsApi.php index b68ea3d1..09a89a32 100644 --- a/src/Asset/Api/EmailsApi.php +++ b/src/Asset/Api/EmailsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -344,7 +344,7 @@ protected function addModuleUsingPOSTRequest($id, $module_id, $name, $index) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -613,7 +613,7 @@ protected function approveDraftUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -680,15 +680,18 @@ protected function approveDraftUsingPOSTRequest($id) * Clone Email * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneEmailRequest $clone_email_request cloneEmailRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder (required) + * @param string $name Name of the new email asset (required) + * @param string $description Description of the asset (optional) + * @param bool $operational Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailResponse */ - public function cloneEmailUsingPOST($id, $clone_email_request) + public function cloneEmailUsingPOST($id, $folder, $name, $description = null, $operational = null) { - list($response) = $this->cloneEmailUsingPOSTWithHttpInfo($id, $clone_email_request); + list($response) = $this->cloneEmailUsingPOSTWithHttpInfo($id, $folder, $name, $description, $operational); return $response; } @@ -698,16 +701,19 @@ public function cloneEmailUsingPOST($id, $clone_email_request) * Clone Email * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneEmailRequest $clone_email_request cloneEmailRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the new email asset (required) + * @param string $description Description of the asset (optional) + * @param bool $operational Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailResponse, HTTP status code, HTTP response headers (array of strings) */ - public function cloneEmailUsingPOSTWithHttpInfo($id, $clone_email_request) + public function cloneEmailUsingPOSTWithHttpInfo($id, $folder, $name, $description = null, $operational = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailResponse'; - $request = $this->cloneEmailUsingPOSTRequest($id, $clone_email_request); + $request = $this->cloneEmailUsingPOSTRequest($id, $folder, $name, $description, $operational); try { $options = $this->createHttpClientOption(); @@ -774,14 +780,17 @@ public function cloneEmailUsingPOSTWithHttpInfo($id, $clone_email_request) * Clone Email * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneEmailRequest $clone_email_request cloneEmailRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the new email asset (required) + * @param string $description Description of the asset (optional) + * @param bool $operational Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function cloneEmailUsingPOSTAsync($id, $clone_email_request) + public function cloneEmailUsingPOSTAsync($id, $folder, $name, $description = null, $operational = null) { - return $this->cloneEmailUsingPOSTAsyncWithHttpInfo($id, $clone_email_request) + return $this->cloneEmailUsingPOSTAsyncWithHttpInfo($id, $folder, $name, $description, $operational) ->then( function ($response) { return $response[0]; @@ -795,15 +804,18 @@ function ($response) { * Clone Email * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneEmailRequest $clone_email_request cloneEmailRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the new email asset (required) + * @param string $description Description of the asset (optional) + * @param bool $operational Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function cloneEmailUsingPOSTAsyncWithHttpInfo($id, $clone_email_request) + public function cloneEmailUsingPOSTAsyncWithHttpInfo($id, $folder, $name, $description = null, $operational = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailResponse'; - $request = $this->cloneEmailUsingPOSTRequest($id, $clone_email_request); + $request = $this->cloneEmailUsingPOSTRequest($id, $folder, $name, $description, $operational); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -846,12 +858,15 @@ function ($exception) { * Create request for operation 'cloneEmailUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneEmailRequest $clone_email_request cloneEmailRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the new email asset (required) + * @param string $description Description of the asset (optional) + * @param bool $operational Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function cloneEmailUsingPOSTRequest($id, $clone_email_request) + protected function cloneEmailUsingPOSTRequest($id, $folder, $name, $description = null, $operational = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -859,10 +874,16 @@ protected function cloneEmailUsingPOSTRequest($id, $clone_email_request) 'Missing the required parameter $id when calling cloneEmailUsingPOST' ); } - // verify the required parameter 'clone_email_request' is set - if ($clone_email_request === null || (is_array($clone_email_request) && count($clone_email_request) === 0)) { + // verify the required parameter 'folder' is set + if ($folder === null || (is_array($folder) && count($folder) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $clone_email_request when calling cloneEmailUsingPOST' + 'Missing the required parameter $folder when calling cloneEmailUsingPOST' + ); + } + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $name when calling cloneEmailUsingPOST' ); } @@ -883,11 +904,24 @@ protected function cloneEmailUsingPOSTRequest($id, $clone_email_request) ); } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($folder !== null) { + $formParams['folder'] = ObjectSerializer::toFormValue($folder); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($operational !== null) { + $formParams['operational'] = ObjectSerializer::toFormValue($operational); + } // body params $_tempBody = null; - if (isset($clone_email_request)) { - $_tempBody = $clone_email_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -963,15 +997,15 @@ protected function cloneEmailUsingPOSTRequest($id, $clone_email_request) * Update Email Full Content * * @param int $id Id of the email (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailFullContentRequest $update_email_full_content_request Content is multipart file parameter (required) + * @param string $content Multipart file. File containing HTML document to update with. File cannot include JavaScript or script tags. (required) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfUpdateEmailFullContentResponse */ - public function createEmailFullContentUsingPOST($id, $update_email_full_content_request) + public function createEmailFullContentUsingPOST($id, $content) { - list($response) = $this->createEmailFullContentUsingPOSTWithHttpInfo($id, $update_email_full_content_request); + list($response) = $this->createEmailFullContentUsingPOSTWithHttpInfo($id, $content); return $response; } @@ -981,16 +1015,16 @@ public function createEmailFullContentUsingPOST($id, $update_email_full_content_ * Update Email Full Content * * @param int $id Id of the email (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailFullContentRequest $update_email_full_content_request Content is multipart file parameter (required) + * @param string $content Multipart file. File containing HTML document to update with. File cannot include JavaScript or script tags. (required) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfUpdateEmailFullContentResponse, HTTP status code, HTTP response headers (array of strings) */ - public function createEmailFullContentUsingPOSTWithHttpInfo($id, $update_email_full_content_request) + public function createEmailFullContentUsingPOSTWithHttpInfo($id, $content) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfUpdateEmailFullContentResponse'; - $request = $this->createEmailFullContentUsingPOSTRequest($id, $update_email_full_content_request); + $request = $this->createEmailFullContentUsingPOSTRequest($id, $content); try { $options = $this->createHttpClientOption(); @@ -1057,14 +1091,14 @@ public function createEmailFullContentUsingPOSTWithHttpInfo($id, $update_email_f * Update Email Full Content * * @param int $id Id of the email (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailFullContentRequest $update_email_full_content_request Content is multipart file parameter (required) + * @param string $content Multipart file. File containing HTML document to update with. File cannot include JavaScript or script tags. (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createEmailFullContentUsingPOSTAsync($id, $update_email_full_content_request) + public function createEmailFullContentUsingPOSTAsync($id, $content) { - return $this->createEmailFullContentUsingPOSTAsyncWithHttpInfo($id, $update_email_full_content_request) + return $this->createEmailFullContentUsingPOSTAsyncWithHttpInfo($id, $content) ->then( function ($response) { return $response[0]; @@ -1078,15 +1112,15 @@ function ($response) { * Update Email Full Content * * @param int $id Id of the email (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailFullContentRequest $update_email_full_content_request Content is multipart file parameter (required) + * @param string $content Multipart file. File containing HTML document to update with. File cannot include JavaScript or script tags. (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createEmailFullContentUsingPOSTAsyncWithHttpInfo($id, $update_email_full_content_request) + public function createEmailFullContentUsingPOSTAsyncWithHttpInfo($id, $content) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfUpdateEmailFullContentResponse'; - $request = $this->createEmailFullContentUsingPOSTRequest($id, $update_email_full_content_request); + $request = $this->createEmailFullContentUsingPOSTRequest($id, $content); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -1129,12 +1163,12 @@ function ($exception) { * Create request for operation 'createEmailFullContentUsingPOST' * * @param int $id Id of the email (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailFullContentRequest $update_email_full_content_request Content is multipart file parameter (required) + * @param string $content Multipart file. File containing HTML document to update with. File cannot include JavaScript or script tags. (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function createEmailFullContentUsingPOSTRequest($id, $update_email_full_content_request) + protected function createEmailFullContentUsingPOSTRequest($id, $content) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -1142,10 +1176,10 @@ protected function createEmailFullContentUsingPOSTRequest($id, $update_email_ful 'Missing the required parameter $id when calling createEmailFullContentUsingPOST' ); } - // verify the required parameter 'update_email_full_content_request' is set - if ($update_email_full_content_request === null || (is_array($update_email_full_content_request) && count($update_email_full_content_request) === 0)) { + // verify the required parameter 'content' is set + if ($content === null || (is_array($content) && count($content) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $update_email_full_content_request when calling createEmailFullContentUsingPOST' + 'Missing the required parameter $content when calling createEmailFullContentUsingPOST' ); } @@ -1166,11 +1200,12 @@ protected function createEmailFullContentUsingPOSTRequest($id, $update_email_ful ); } + // form params + if ($content !== null) { + $formParams['content'] = ObjectSerializer::toFormValue($content); + } // body params $_tempBody = null; - if (isset($update_email_full_content_request)) { - $_tempBody = $update_email_full_content_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -1245,15 +1280,24 @@ protected function createEmailFullContentUsingPOSTRequest($id, $update_email_ful * * Create Email * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateEmailRequest $create_email_request createEmailRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder (required) + * @param string $from_email From-address of the Email (required) + * @param string $from_name From-name of the Email (required) + * @param string $name Name of the email (required) + * @param string $reply_email Reply-To address of the Email (required) + * @param string $subject Subject Line of the Email (required) + * @param int $template Id of the parent template (required) + * @param string $description Description of the asset (optional) + * @param bool $operational Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false (optional) + * @param string $text_only Setting to include text-only version of email when sent (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailResponse */ - public function createEmailUsingPOST($create_email_request) + public function createEmailUsingPOST($folder, $from_email, $from_name, $name, $reply_email, $subject, $template, $description = null, $operational = null, $text_only = null) { - list($response) = $this->createEmailUsingPOSTWithHttpInfo($create_email_request); + list($response) = $this->createEmailUsingPOSTWithHttpInfo($folder, $from_email, $from_name, $name, $reply_email, $subject, $template, $description, $operational, $text_only); return $response; } @@ -1262,16 +1306,25 @@ public function createEmailUsingPOST($create_email_request) * * Create Email * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateEmailRequest $create_email_request createEmailRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $from_email From-address of the Email (required) + * @param string $from_name From-name of the Email (required) + * @param string $name Name of the email (required) + * @param string $reply_email Reply-To address of the Email (required) + * @param string $subject Subject Line of the Email (required) + * @param int $template Id of the parent template (required) + * @param string $description Description of the asset (optional) + * @param bool $operational Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false (optional) + * @param string $text_only Setting to include text-only version of email when sent (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailResponse, HTTP status code, HTTP response headers (array of strings) */ - public function createEmailUsingPOSTWithHttpInfo($create_email_request) + public function createEmailUsingPOSTWithHttpInfo($folder, $from_email, $from_name, $name, $reply_email, $subject, $template, $description = null, $operational = null, $text_only = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailResponse'; - $request = $this->createEmailUsingPOSTRequest($create_email_request); + $request = $this->createEmailUsingPOSTRequest($folder, $from_email, $from_name, $name, $reply_email, $subject, $template, $description, $operational, $text_only); try { $options = $this->createHttpClientOption(); @@ -1337,14 +1390,23 @@ public function createEmailUsingPOSTWithHttpInfo($create_email_request) * * Create Email * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateEmailRequest $create_email_request createEmailRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $from_email From-address of the Email (required) + * @param string $from_name From-name of the Email (required) + * @param string $name Name of the email (required) + * @param string $reply_email Reply-To address of the Email (required) + * @param string $subject Subject Line of the Email (required) + * @param int $template Id of the parent template (required) + * @param string $description Description of the asset (optional) + * @param bool $operational Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false (optional) + * @param string $text_only Setting to include text-only version of email when sent (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createEmailUsingPOSTAsync($create_email_request) + public function createEmailUsingPOSTAsync($folder, $from_email, $from_name, $name, $reply_email, $subject, $template, $description = null, $operational = null, $text_only = null) { - return $this->createEmailUsingPOSTAsyncWithHttpInfo($create_email_request) + return $this->createEmailUsingPOSTAsyncWithHttpInfo($folder, $from_email, $from_name, $name, $reply_email, $subject, $template, $description, $operational, $text_only) ->then( function ($response) { return $response[0]; @@ -1357,15 +1419,24 @@ function ($response) { * * Create Email * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateEmailRequest $create_email_request createEmailRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $from_email From-address of the Email (required) + * @param string $from_name From-name of the Email (required) + * @param string $name Name of the email (required) + * @param string $reply_email Reply-To address of the Email (required) + * @param string $subject Subject Line of the Email (required) + * @param int $template Id of the parent template (required) + * @param string $description Description of the asset (optional) + * @param bool $operational Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false (optional) + * @param string $text_only Setting to include text-only version of email when sent (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createEmailUsingPOSTAsyncWithHttpInfo($create_email_request) + public function createEmailUsingPOSTAsyncWithHttpInfo($folder, $from_email, $from_name, $name, $reply_email, $subject, $template, $description = null, $operational = null, $text_only = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailResponse'; - $request = $this->createEmailUsingPOSTRequest($create_email_request); + $request = $this->createEmailUsingPOSTRequest($folder, $from_email, $from_name, $name, $reply_email, $subject, $template, $description, $operational, $text_only); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -1407,17 +1478,62 @@ function ($exception) { /** * Create request for operation 'createEmailUsingPOST' * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateEmailRequest $create_email_request createEmailRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $from_email From-address of the Email (required) + * @param string $from_name From-name of the Email (required) + * @param string $name Name of the email (required) + * @param string $reply_email Reply-To address of the Email (required) + * @param string $subject Subject Line of the Email (required) + * @param int $template Id of the parent template (required) + * @param string $description Description of the asset (optional) + * @param bool $operational Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false (optional) + * @param string $text_only Setting to include text-only version of email when sent (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function createEmailUsingPOSTRequest($create_email_request) + protected function createEmailUsingPOSTRequest($folder, $from_email, $from_name, $name, $reply_email, $subject, $template, $description = null, $operational = null, $text_only = null) { - // verify the required parameter 'create_email_request' is set - if ($create_email_request === null || (is_array($create_email_request) && count($create_email_request) === 0)) { + // verify the required parameter 'folder' is set + if ($folder === null || (is_array($folder) && count($folder) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $folder when calling createEmailUsingPOST' + ); + } + // verify the required parameter 'from_email' is set + if ($from_email === null || (is_array($from_email) && count($from_email) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $from_email when calling createEmailUsingPOST' + ); + } + // verify the required parameter 'from_name' is set + if ($from_name === null || (is_array($from_name) && count($from_name) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $from_name when calling createEmailUsingPOST' + ); + } + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $name when calling createEmailUsingPOST' + ); + } + // verify the required parameter 'reply_email' is set + if ($reply_email === null || (is_array($reply_email) && count($reply_email) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $reply_email when calling createEmailUsingPOST' + ); + } + // verify the required parameter 'subject' is set + if ($subject === null || (is_array($subject) && count($subject) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $create_email_request when calling createEmailUsingPOST' + 'Missing the required parameter $subject when calling createEmailUsingPOST' + ); + } + // verify the required parameter 'template' is set + if ($template === null || (is_array($template) && count($template) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $template when calling createEmailUsingPOST' ); } @@ -1430,11 +1546,48 @@ protected function createEmailUsingPOSTRequest($create_email_request) + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($folder !== null) { + $formParams['folder'] = ObjectSerializer::toFormValue($folder); + } + // form params + if ($from_email !== null) { + $formParams['fromEmail'] = ObjectSerializer::toFormValue($from_email); + } + // form params + if ($from_name !== null) { + $formParams['fromName'] = ObjectSerializer::toFormValue($from_name); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($operational !== null) { + $formParams['operational'] = ObjectSerializer::toFormValue($operational); + } + // form params + if ($reply_email !== null) { + $formParams['replyEmail'] = ObjectSerializer::toFormValue($reply_email); + } + // form params + if ($subject !== null) { + $formParams['subject'] = ObjectSerializer::toFormValue($subject); + } + // form params + if ($template !== null) { + $formParams['template'] = ObjectSerializer::toFormValue($template); + } + // form params + if ($text_only !== null) { + $formParams['textOnly'] = ObjectSerializer::toFormValue($text_only); + } // body params $_tempBody = null; - if (isset($create_email_request)) { - $_tempBody = $create_email_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -1712,7 +1865,7 @@ protected function deleteEmailUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2000,7 +2153,7 @@ protected function deleteModuleUsingPOSTRequest($id, $module_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2269,7 +2422,7 @@ protected function discardDraftUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2572,7 +2725,7 @@ protected function duplicateModuleUsingPOSTRequest($id, $module_id, $name) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2850,7 +3003,7 @@ protected function getEmailByIdUsingGETRequest($id, $status = null) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -3133,7 +3286,7 @@ protected function getEmailByNameUsingGETRequest($name, $status = null, $folder } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -3383,7 +3536,7 @@ protected function getEmailCCFieldsUsingGETRequest() } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -3661,7 +3814,7 @@ protected function getEmailContentByIdUsingGETRequest($id, $status = null) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -3958,7 +4111,7 @@ protected function getEmailDynamicContentUsingGETRequest($id, $content_id, $stat } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -4254,7 +4407,7 @@ protected function getEmailFullContentUsingGETRequest($id, $status = null, $lead } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -4540,7 +4693,7 @@ protected function getEmailUsingGETRequest($status = null, $folder = null, $offs } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -4809,7 +4962,7 @@ protected function getEmailVariablesUsingGETRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -4876,15 +5029,14 @@ protected function getEmailVariablesUsingGETRequest($id) * Rearrange Email Modules * * @param int $id id (required) - * @param string $positions JSON array of module positions. Each position must be a JSON object with members 'index' and a 'moduleId'. Required Permissions: Read-Write Assets (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ModelResponse */ - public function rearrangeModulesUsingPOST($id, $positions = null) + public function rearrangeModulesUsingPOST($id) { - list($response) = $this->rearrangeModulesUsingPOSTWithHttpInfo($id, $positions); + list($response) = $this->rearrangeModulesUsingPOSTWithHttpInfo($id); return $response; } @@ -4894,16 +5046,15 @@ public function rearrangeModulesUsingPOST($id, $positions = null) * Rearrange Email Modules * * @param int $id id (required) - * @param string $positions JSON array of module positions. Each position must be a JSON object with members 'index' and a 'moduleId'. Required Permissions: Read-Write Assets (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ModelResponse, HTTP status code, HTTP response headers (array of strings) */ - public function rearrangeModulesUsingPOSTWithHttpInfo($id, $positions = null) + public function rearrangeModulesUsingPOSTWithHttpInfo($id) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ModelResponse'; - $request = $this->rearrangeModulesUsingPOSTRequest($id, $positions); + $request = $this->rearrangeModulesUsingPOSTRequest($id); try { $options = $this->createHttpClientOption(); @@ -4970,14 +5121,13 @@ public function rearrangeModulesUsingPOSTWithHttpInfo($id, $positions = null) * Rearrange Email Modules * * @param int $id id (required) - * @param string $positions JSON array of module positions. Each position must be a JSON object with members 'index' and a 'moduleId'. Required Permissions: Read-Write Assets (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function rearrangeModulesUsingPOSTAsync($id, $positions = null) + public function rearrangeModulesUsingPOSTAsync($id) { - return $this->rearrangeModulesUsingPOSTAsyncWithHttpInfo($id, $positions) + return $this->rearrangeModulesUsingPOSTAsyncWithHttpInfo($id) ->then( function ($response) { return $response[0]; @@ -4991,15 +5141,14 @@ function ($response) { * Rearrange Email Modules * * @param int $id id (required) - * @param string $positions JSON array of module positions. Each position must be a JSON object with members 'index' and a 'moduleId'. Required Permissions: Read-Write Assets (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function rearrangeModulesUsingPOSTAsyncWithHttpInfo($id, $positions = null) + public function rearrangeModulesUsingPOSTAsyncWithHttpInfo($id) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ModelResponse'; - $request = $this->rearrangeModulesUsingPOSTRequest($id, $positions); + $request = $this->rearrangeModulesUsingPOSTRequest($id); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -5042,12 +5191,11 @@ function ($exception) { * Create request for operation 'rearrangeModulesUsingPOST' * * @param int $id id (required) - * @param string $positions JSON array of module positions. Each position must be a JSON object with members 'index' and a 'moduleId'. Required Permissions: Read-Write Assets (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function rearrangeModulesUsingPOSTRequest($id, $positions = null) + protected function rearrangeModulesUsingPOSTRequest($id) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -5075,9 +5223,6 @@ protected function rearrangeModulesUsingPOSTRequest($id, $positions = null) // body params $_tempBody = null; - if (isset($positions)) { - $_tempBody = $positions; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -5389,7 +5534,7 @@ protected function renameUsingPOSTRequest($id, $module_id, $name) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -5456,15 +5601,17 @@ protected function renameUsingPOSTRequest($id, $module_id, $name) * Send Sample Email * * @param int $id Id of the email (required) - * @param \NecLimDul\MarketoRest\Asset\Model\SendSampleEmailRequest $send_sample_email_request sendSampleEmailRequest (required) + * @param string $email_address Email address to receive sample email (required) + * @param string $lead_id Id of a lead to impersonate. Tokens and dynamic content will be populated as though it were sent to the lead. (optional) + * @param bool $text_only Whether to send to text only version along with the HTML version. Default false. (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse */ - public function sendSampleEmailUsingPOST($id, $send_sample_email_request) + public function sendSampleEmailUsingPOST($id, $email_address, $lead_id = null, $text_only = null) { - list($response) = $this->sendSampleEmailUsingPOSTWithHttpInfo($id, $send_sample_email_request); + list($response) = $this->sendSampleEmailUsingPOSTWithHttpInfo($id, $email_address, $lead_id, $text_only); return $response; } @@ -5474,16 +5621,18 @@ public function sendSampleEmailUsingPOST($id, $send_sample_email_request) * Send Sample Email * * @param int $id Id of the email (required) - * @param \NecLimDul\MarketoRest\Asset\Model\SendSampleEmailRequest $send_sample_email_request sendSampleEmailRequest (required) + * @param string $email_address Email address to receive sample email (required) + * @param string $lead_id Id of a lead to impersonate. Tokens and dynamic content will be populated as though it were sent to the lead. (optional) + * @param bool $text_only Whether to send to text only version along with the HTML version. Default false. (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse, HTTP status code, HTTP response headers (array of strings) */ - public function sendSampleEmailUsingPOSTWithHttpInfo($id, $send_sample_email_request) + public function sendSampleEmailUsingPOSTWithHttpInfo($id, $email_address, $lead_id = null, $text_only = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->sendSampleEmailUsingPOSTRequest($id, $send_sample_email_request); + $request = $this->sendSampleEmailUsingPOSTRequest($id, $email_address, $lead_id, $text_only); try { $options = $this->createHttpClientOption(); @@ -5550,14 +5699,16 @@ public function sendSampleEmailUsingPOSTWithHttpInfo($id, $send_sample_email_req * Send Sample Email * * @param int $id Id of the email (required) - * @param \NecLimDul\MarketoRest\Asset\Model\SendSampleEmailRequest $send_sample_email_request sendSampleEmailRequest (required) + * @param string $email_address Email address to receive sample email (required) + * @param string $lead_id Id of a lead to impersonate. Tokens and dynamic content will be populated as though it were sent to the lead. (optional) + * @param bool $text_only Whether to send to text only version along with the HTML version. Default false. (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function sendSampleEmailUsingPOSTAsync($id, $send_sample_email_request) + public function sendSampleEmailUsingPOSTAsync($id, $email_address, $lead_id = null, $text_only = null) { - return $this->sendSampleEmailUsingPOSTAsyncWithHttpInfo($id, $send_sample_email_request) + return $this->sendSampleEmailUsingPOSTAsyncWithHttpInfo($id, $email_address, $lead_id, $text_only) ->then( function ($response) { return $response[0]; @@ -5571,15 +5722,17 @@ function ($response) { * Send Sample Email * * @param int $id Id of the email (required) - * @param \NecLimDul\MarketoRest\Asset\Model\SendSampleEmailRequest $send_sample_email_request sendSampleEmailRequest (required) + * @param string $email_address Email address to receive sample email (required) + * @param string $lead_id Id of a lead to impersonate. Tokens and dynamic content will be populated as though it were sent to the lead. (optional) + * @param bool $text_only Whether to send to text only version along with the HTML version. Default false. (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function sendSampleEmailUsingPOSTAsyncWithHttpInfo($id, $send_sample_email_request) + public function sendSampleEmailUsingPOSTAsyncWithHttpInfo($id, $email_address, $lead_id = null, $text_only = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->sendSampleEmailUsingPOSTRequest($id, $send_sample_email_request); + $request = $this->sendSampleEmailUsingPOSTRequest($id, $email_address, $lead_id, $text_only); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -5622,12 +5775,14 @@ function ($exception) { * Create request for operation 'sendSampleEmailUsingPOST' * * @param int $id Id of the email (required) - * @param \NecLimDul\MarketoRest\Asset\Model\SendSampleEmailRequest $send_sample_email_request sendSampleEmailRequest (required) + * @param string $email_address Email address to receive sample email (required) + * @param string $lead_id Id of a lead to impersonate. Tokens and dynamic content will be populated as though it were sent to the lead. (optional) + * @param bool $text_only Whether to send to text only version along with the HTML version. Default false. (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function sendSampleEmailUsingPOSTRequest($id, $send_sample_email_request) + protected function sendSampleEmailUsingPOSTRequest($id, $email_address, $lead_id = null, $text_only = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -5635,10 +5790,10 @@ protected function sendSampleEmailUsingPOSTRequest($id, $send_sample_email_reque 'Missing the required parameter $id when calling sendSampleEmailUsingPOST' ); } - // verify the required parameter 'send_sample_email_request' is set - if ($send_sample_email_request === null || (is_array($send_sample_email_request) && count($send_sample_email_request) === 0)) { + // verify the required parameter 'email_address' is set + if ($email_address === null || (is_array($email_address) && count($email_address) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $send_sample_email_request when calling sendSampleEmailUsingPOST' + 'Missing the required parameter $email_address when calling sendSampleEmailUsingPOST' ); } @@ -5659,11 +5814,20 @@ protected function sendSampleEmailUsingPOSTRequest($id, $send_sample_email_reque ); } + // form params + if ($email_address !== null) { + $formParams['emailAddress'] = ObjectSerializer::toFormValue($email_address); + } + // form params + if ($lead_id !== null) { + $formParams['leadId'] = ObjectSerializer::toFormValue($lead_id); + } + // form params + if ($text_only !== null) { + $formParams['textOnly'] = ObjectSerializer::toFormValue($text_only); + } // body params $_tempBody = null; - if (isset($send_sample_email_request)) { - $_tempBody = $send_sample_email_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -5941,7 +6105,7 @@ protected function unapproveDraftUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -6009,15 +6173,26 @@ protected function unapproveDraftUsingPOSTRequest($id) * * @param int $id id (required) * @param string $html_id htmlId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailComponentContentRequest $request request (required) + * @param string $type Type of content to set for the section. (required) + * @param string $value Value to set for the section. For type Text, the HTML content of the section. For type DynamicContent, the id of the segmentation to use for the content. For type Snippet, the id of the snippet to embed (required) + * @param string $alt_text Sets the value of the alt parameter for the resulting img element (optional) + * @param string $external_url external_url (optional) + * @param int $height Overrides naitve height of the image. The resulting file will be resized to the given height (optional) + * @param string $image Multipart file that allows you to load an image from your computer (optional) + * @param string $link_url link_url (optional) + * @param bool $over_write Allows overwriting of the existing image content section (optional) + * @param string $style Sets the value of the style parameter for the content section (optional) + * @param string $text_value text_value (optional) + * @param string $video_url Sets the Url of the video element. Videos must be either from YouTube or Vimeo (optional) + * @param int $width Overrides native width of the image. The resulting file will be resized to the given width (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse */ - public function updateEmailComponentContentUsingPOST($id, $html_id, $request) + public function updateEmailComponentContentUsingPOST($id, $html_id, $type, $value, $alt_text = null, $external_url = null, $height = null, $image = null, $link_url = null, $over_write = null, $style = null, $text_value = null, $video_url = null, $width = null) { - list($response) = $this->updateEmailComponentContentUsingPOSTWithHttpInfo($id, $html_id, $request); + list($response) = $this->updateEmailComponentContentUsingPOSTWithHttpInfo($id, $html_id, $type, $value, $alt_text, $external_url, $height, $image, $link_url, $over_write, $style, $text_value, $video_url, $width); return $response; } @@ -6028,16 +6203,27 @@ public function updateEmailComponentContentUsingPOST($id, $html_id, $request) * * @param int $id id (required) * @param string $html_id htmlId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailComponentContentRequest $request request (required) + * @param string $type Type of content to set for the section. (required) + * @param string $value Value to set for the section. For type Text, the HTML content of the section. For type DynamicContent, the id of the segmentation to use for the content. For type Snippet, the id of the snippet to embed (required) + * @param string $alt_text Sets the value of the alt parameter for the resulting img element (optional) + * @param string $external_url (optional) + * @param int $height Overrides naitve height of the image. The resulting file will be resized to the given height (optional) + * @param string $image Multipart file that allows you to load an image from your computer (optional) + * @param string $link_url (optional) + * @param bool $over_write Allows overwriting of the existing image content section (optional) + * @param string $style Sets the value of the style parameter for the content section (optional) + * @param string $text_value (optional) + * @param string $video_url Sets the Url of the video element. Videos must be either from YouTube or Vimeo (optional) + * @param int $width Overrides native width of the image. The resulting file will be resized to the given width (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateEmailComponentContentUsingPOSTWithHttpInfo($id, $html_id, $request) + public function updateEmailComponentContentUsingPOSTWithHttpInfo($id, $html_id, $type, $value, $alt_text = null, $external_url = null, $height = null, $image = null, $link_url = null, $over_write = null, $style = null, $text_value = null, $video_url = null, $width = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->updateEmailComponentContentUsingPOSTRequest($id, $html_id, $request); + $request = $this->updateEmailComponentContentUsingPOSTRequest($id, $html_id, $type, $value, $alt_text, $external_url, $height, $image, $link_url, $over_write, $style, $text_value, $video_url, $width); try { $options = $this->createHttpClientOption(); @@ -6105,14 +6291,25 @@ public function updateEmailComponentContentUsingPOSTWithHttpInfo($id, $html_id, * * @param int $id id (required) * @param string $html_id htmlId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailComponentContentRequest $request request (required) + * @param string $type Type of content to set for the section. (required) + * @param string $value Value to set for the section. For type Text, the HTML content of the section. For type DynamicContent, the id of the segmentation to use for the content. For type Snippet, the id of the snippet to embed (required) + * @param string $alt_text Sets the value of the alt parameter for the resulting img element (optional) + * @param string $external_url (optional) + * @param int $height Overrides naitve height of the image. The resulting file will be resized to the given height (optional) + * @param string $image Multipart file that allows you to load an image from your computer (optional) + * @param string $link_url (optional) + * @param bool $over_write Allows overwriting of the existing image content section (optional) + * @param string $style Sets the value of the style parameter for the content section (optional) + * @param string $text_value (optional) + * @param string $video_url Sets the Url of the video element. Videos must be either from YouTube or Vimeo (optional) + * @param int $width Overrides native width of the image. The resulting file will be resized to the given width (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateEmailComponentContentUsingPOSTAsync($id, $html_id, $request) + public function updateEmailComponentContentUsingPOSTAsync($id, $html_id, $type, $value, $alt_text = null, $external_url = null, $height = null, $image = null, $link_url = null, $over_write = null, $style = null, $text_value = null, $video_url = null, $width = null) { - return $this->updateEmailComponentContentUsingPOSTAsyncWithHttpInfo($id, $html_id, $request) + return $this->updateEmailComponentContentUsingPOSTAsyncWithHttpInfo($id, $html_id, $type, $value, $alt_text, $external_url, $height, $image, $link_url, $over_write, $style, $text_value, $video_url, $width) ->then( function ($response) { return $response[0]; @@ -6127,15 +6324,26 @@ function ($response) { * * @param int $id id (required) * @param string $html_id htmlId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailComponentContentRequest $request request (required) + * @param string $type Type of content to set for the section. (required) + * @param string $value Value to set for the section. For type Text, the HTML content of the section. For type DynamicContent, the id of the segmentation to use for the content. For type Snippet, the id of the snippet to embed (required) + * @param string $alt_text Sets the value of the alt parameter for the resulting img element (optional) + * @param string $external_url (optional) + * @param int $height Overrides naitve height of the image. The resulting file will be resized to the given height (optional) + * @param string $image Multipart file that allows you to load an image from your computer (optional) + * @param string $link_url (optional) + * @param bool $over_write Allows overwriting of the existing image content section (optional) + * @param string $style Sets the value of the style parameter for the content section (optional) + * @param string $text_value (optional) + * @param string $video_url Sets the Url of the video element. Videos must be either from YouTube or Vimeo (optional) + * @param int $width Overrides native width of the image. The resulting file will be resized to the given width (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateEmailComponentContentUsingPOSTAsyncWithHttpInfo($id, $html_id, $request) + public function updateEmailComponentContentUsingPOSTAsyncWithHttpInfo($id, $html_id, $type, $value, $alt_text = null, $external_url = null, $height = null, $image = null, $link_url = null, $over_write = null, $style = null, $text_value = null, $video_url = null, $width = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->updateEmailComponentContentUsingPOSTRequest($id, $html_id, $request); + $request = $this->updateEmailComponentContentUsingPOSTRequest($id, $html_id, $type, $value, $alt_text, $external_url, $height, $image, $link_url, $over_write, $style, $text_value, $video_url, $width); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -6179,12 +6387,23 @@ function ($exception) { * * @param int $id id (required) * @param string $html_id htmlId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailComponentContentRequest $request request (required) + * @param string $type Type of content to set for the section. (required) + * @param string $value Value to set for the section. For type Text, the HTML content of the section. For type DynamicContent, the id of the segmentation to use for the content. For type Snippet, the id of the snippet to embed (required) + * @param string $alt_text Sets the value of the alt parameter for the resulting img element (optional) + * @param string $external_url (optional) + * @param int $height Overrides naitve height of the image. The resulting file will be resized to the given height (optional) + * @param string $image Multipart file that allows you to load an image from your computer (optional) + * @param string $link_url (optional) + * @param bool $over_write Allows overwriting of the existing image content section (optional) + * @param string $style Sets the value of the style parameter for the content section (optional) + * @param string $text_value (optional) + * @param string $video_url Sets the Url of the video element. Videos must be either from YouTube or Vimeo (optional) + * @param int $width Overrides native width of the image. The resulting file will be resized to the given width (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateEmailComponentContentUsingPOSTRequest($id, $html_id, $request) + protected function updateEmailComponentContentUsingPOSTRequest($id, $html_id, $type, $value, $alt_text = null, $external_url = null, $height = null, $image = null, $link_url = null, $over_write = null, $style = null, $text_value = null, $video_url = null, $width = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -6198,10 +6417,16 @@ protected function updateEmailComponentContentUsingPOSTRequest($id, $html_id, $r 'Missing the required parameter $html_id when calling updateEmailComponentContentUsingPOST' ); } - // verify the required parameter 'request' is set - if ($request === null || (is_array($request) && count($request) === 0)) { + // verify the required parameter 'type' is set + if ($type === null || (is_array($type) && count($type) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $request when calling updateEmailComponentContentUsingPOST' + 'Missing the required parameter $type when calling updateEmailComponentContentUsingPOST' + ); + } + // verify the required parameter 'value' is set + if ($value === null || (is_array($value) && count($value) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $value when calling updateEmailComponentContentUsingPOST' ); } @@ -6230,11 +6455,56 @@ protected function updateEmailComponentContentUsingPOSTRequest($id, $html_id, $r ); } + // form params + if ($alt_text !== null) { + $formParams['altText'] = ObjectSerializer::toFormValue($alt_text); + } + // form params + if ($external_url !== null) { + $formParams['externalUrl'] = ObjectSerializer::toFormValue($external_url); + } + // form params + if ($height !== null) { + $formParams['height'] = ObjectSerializer::toFormValue($height); + } + // form params + if ($image !== null) { + $formParams['image'] = ObjectSerializer::toFormValue($image); + } + // form params + if ($link_url !== null) { + $formParams['linkUrl'] = ObjectSerializer::toFormValue($link_url); + } + // form params + if ($over_write !== null) { + $formParams['overWrite'] = ObjectSerializer::toFormValue($over_write); + } + // form params + if ($style !== null) { + $formParams['style'] = ObjectSerializer::toFormValue($style); + } + // form params + if ($text_value !== null) { + $formParams['textValue'] = ObjectSerializer::toFormValue($text_value); + } + // form params + if ($type !== null) { + $formParams['type'] = ObjectSerializer::toFormValue($type); + } + // form params + if ($value !== null) { + $formParams['value'] = ObjectSerializer::toFormValue($value); + } + // form params + if ($video_url !== null) { + $formParams['videoUrl'] = ObjectSerializer::toFormValue($video_url); + } + // form params + if ($width !== null) { + $formParams['width'] = ObjectSerializer::toFormValue($width); + } // body params $_tempBody = null; - if (isset($request)) { - $_tempBody = $request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -6310,15 +6580,18 @@ protected function updateEmailComponentContentUsingPOSTRequest($id, $html_id, $r * Update Email Content * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailComponentDataRequest $update_email_request updateEmailRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $from_email from_email (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $from_name from_name (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $reply_to reply_to (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $subject subject (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse */ - public function updateEmailContentUsingPOST($id, $update_email_request) + public function updateEmailContentUsingPOST($id, $from_email = null, $from_name = null, $reply_to = null, $subject = null) { - list($response) = $this->updateEmailContentUsingPOSTWithHttpInfo($id, $update_email_request); + list($response) = $this->updateEmailContentUsingPOSTWithHttpInfo($id, $from_email, $from_name, $reply_to, $subject); return $response; } @@ -6328,16 +6601,19 @@ public function updateEmailContentUsingPOST($id, $update_email_request) * Update Email Content * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailComponentDataRequest $update_email_request updateEmailRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $from_email (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $from_name (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $reply_to (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $subject (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateEmailContentUsingPOSTWithHttpInfo($id, $update_email_request) + public function updateEmailContentUsingPOSTWithHttpInfo($id, $from_email = null, $from_name = null, $reply_to = null, $subject = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->updateEmailContentUsingPOSTRequest($id, $update_email_request); + $request = $this->updateEmailContentUsingPOSTRequest($id, $from_email, $from_name, $reply_to, $subject); try { $options = $this->createHttpClientOption(); @@ -6404,14 +6680,17 @@ public function updateEmailContentUsingPOSTWithHttpInfo($id, $update_email_reque * Update Email Content * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailComponentDataRequest $update_email_request updateEmailRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $from_email (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $from_name (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $reply_to (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $subject (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateEmailContentUsingPOSTAsync($id, $update_email_request) + public function updateEmailContentUsingPOSTAsync($id, $from_email = null, $from_name = null, $reply_to = null, $subject = null) { - return $this->updateEmailContentUsingPOSTAsyncWithHttpInfo($id, $update_email_request) + return $this->updateEmailContentUsingPOSTAsyncWithHttpInfo($id, $from_email, $from_name, $reply_to, $subject) ->then( function ($response) { return $response[0]; @@ -6425,15 +6704,18 @@ function ($response) { * Update Email Content * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailComponentDataRequest $update_email_request updateEmailRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $from_email (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $from_name (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $reply_to (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $subject (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateEmailContentUsingPOSTAsyncWithHttpInfo($id, $update_email_request) + public function updateEmailContentUsingPOSTAsyncWithHttpInfo($id, $from_email = null, $from_name = null, $reply_to = null, $subject = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->updateEmailContentUsingPOSTRequest($id, $update_email_request); + $request = $this->updateEmailContentUsingPOSTRequest($id, $from_email, $from_name, $reply_to, $subject); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -6476,12 +6758,15 @@ function ($exception) { * Create request for operation 'updateEmailContentUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailComponentDataRequest $update_email_request updateEmailRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $from_email (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $from_name (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $reply_to (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $subject (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateEmailContentUsingPOSTRequest($id, $update_email_request) + protected function updateEmailContentUsingPOSTRequest($id, $from_email = null, $from_name = null, $reply_to = null, $subject = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -6489,12 +6774,6 @@ protected function updateEmailContentUsingPOSTRequest($id, $update_email_request 'Missing the required parameter $id when calling updateEmailContentUsingPOST' ); } - // verify the required parameter 'update_email_request' is set - if ($update_email_request === null || (is_array($update_email_request) && count($update_email_request) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $update_email_request when calling updateEmailContentUsingPOST' - ); - } $resourcePath = '/rest/asset/v1/email/{id}/content.json'; $formParams = []; @@ -6513,11 +6792,24 @@ protected function updateEmailContentUsingPOSTRequest($id, $update_email_request ); } + // form params + if ($from_email !== null) { + $formParams['fromEmail'] = ObjectSerializer::toFormValue($from_email); + } + // form params + if ($from_name !== null) { + $formParams['fromName'] = ObjectSerializer::toFormValue($from_name); + } + // form params + if ($reply_to !== null) { + $formParams['replyTO'] = ObjectSerializer::toFormValue($reply_to); + } + // form params + if ($subject !== null) { + $formParams['subject'] = ObjectSerializer::toFormValue($subject); + } // body params $_tempBody = null; - if (isset($update_email_request)) { - $_tempBody = $update_email_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -6594,15 +6886,25 @@ protected function updateEmailContentUsingPOSTRequest($id, $update_email_request * * @param int $id Id of email (required) * @param string $content_id Id of email dynamic content section (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailDynamicContentRequest $request Content properties (required) + * @param string $type Type of content to set for the section. (required) + * @param string $value Value to set for the section. For type Text, the HTML content of the section. For type DynamicContent, the id of the segmentation to use for the content. For type Snippet, the id of the snippet to embed (required) + * @param string $alt_text Sets the value of the alt parameter for the resulting img element (optional) + * @param string $external_url external_url (optional) + * @param int $height Overrides naitve height of the image. The resulting file will be resized to the given height (optional) + * @param string $image Multipart file that allows you to add an image from your computer (optional) + * @param string $link_url link_url (optional) + * @param bool $over_write Allows overwriting of the existing image content section (optional) + * @param string $style Sets the value of the style parameter for the content section (optional) + * @param string $video_url Sets the Url of the video element. Videos must be either from YouTube or Vimeo (optional) + * @param int $width Overrides native width of the image. The resulting file will be resized to the given width (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse */ - public function updateEmailDynamicContentUsingPOST($id, $content_id, $request) + public function updateEmailDynamicContentUsingPOST($id, $content_id, $type, $value, $alt_text = null, $external_url = null, $height = null, $image = null, $link_url = null, $over_write = null, $style = null, $video_url = null, $width = null) { - list($response) = $this->updateEmailDynamicContentUsingPOSTWithHttpInfo($id, $content_id, $request); + list($response) = $this->updateEmailDynamicContentUsingPOSTWithHttpInfo($id, $content_id, $type, $value, $alt_text, $external_url, $height, $image, $link_url, $over_write, $style, $video_url, $width); return $response; } @@ -6613,16 +6915,26 @@ public function updateEmailDynamicContentUsingPOST($id, $content_id, $request) * * @param int $id Id of email (required) * @param string $content_id Id of email dynamic content section (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailDynamicContentRequest $request Content properties (required) + * @param string $type Type of content to set for the section. (required) + * @param string $value Value to set for the section. For type Text, the HTML content of the section. For type DynamicContent, the id of the segmentation to use for the content. For type Snippet, the id of the snippet to embed (required) + * @param string $alt_text Sets the value of the alt parameter for the resulting img element (optional) + * @param string $external_url (optional) + * @param int $height Overrides naitve height of the image. The resulting file will be resized to the given height (optional) + * @param string $image Multipart file that allows you to add an image from your computer (optional) + * @param string $link_url (optional) + * @param bool $over_write Allows overwriting of the existing image content section (optional) + * @param string $style Sets the value of the style parameter for the content section (optional) + * @param string $video_url Sets the Url of the video element. Videos must be either from YouTube or Vimeo (optional) + * @param int $width Overrides native width of the image. The resulting file will be resized to the given width (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateEmailDynamicContentUsingPOSTWithHttpInfo($id, $content_id, $request) + public function updateEmailDynamicContentUsingPOSTWithHttpInfo($id, $content_id, $type, $value, $alt_text = null, $external_url = null, $height = null, $image = null, $link_url = null, $over_write = null, $style = null, $video_url = null, $width = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->updateEmailDynamicContentUsingPOSTRequest($id, $content_id, $request); + $request = $this->updateEmailDynamicContentUsingPOSTRequest($id, $content_id, $type, $value, $alt_text, $external_url, $height, $image, $link_url, $over_write, $style, $video_url, $width); try { $options = $this->createHttpClientOption(); @@ -6690,14 +7002,24 @@ public function updateEmailDynamicContentUsingPOSTWithHttpInfo($id, $content_id, * * @param int $id Id of email (required) * @param string $content_id Id of email dynamic content section (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailDynamicContentRequest $request Content properties (required) + * @param string $type Type of content to set for the section. (required) + * @param string $value Value to set for the section. For type Text, the HTML content of the section. For type DynamicContent, the id of the segmentation to use for the content. For type Snippet, the id of the snippet to embed (required) + * @param string $alt_text Sets the value of the alt parameter for the resulting img element (optional) + * @param string $external_url (optional) + * @param int $height Overrides naitve height of the image. The resulting file will be resized to the given height (optional) + * @param string $image Multipart file that allows you to add an image from your computer (optional) + * @param string $link_url (optional) + * @param bool $over_write Allows overwriting of the existing image content section (optional) + * @param string $style Sets the value of the style parameter for the content section (optional) + * @param string $video_url Sets the Url of the video element. Videos must be either from YouTube or Vimeo (optional) + * @param int $width Overrides native width of the image. The resulting file will be resized to the given width (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateEmailDynamicContentUsingPOSTAsync($id, $content_id, $request) + public function updateEmailDynamicContentUsingPOSTAsync($id, $content_id, $type, $value, $alt_text = null, $external_url = null, $height = null, $image = null, $link_url = null, $over_write = null, $style = null, $video_url = null, $width = null) { - return $this->updateEmailDynamicContentUsingPOSTAsyncWithHttpInfo($id, $content_id, $request) + return $this->updateEmailDynamicContentUsingPOSTAsyncWithHttpInfo($id, $content_id, $type, $value, $alt_text, $external_url, $height, $image, $link_url, $over_write, $style, $video_url, $width) ->then( function ($response) { return $response[0]; @@ -6712,15 +7034,25 @@ function ($response) { * * @param int $id Id of email (required) * @param string $content_id Id of email dynamic content section (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailDynamicContentRequest $request Content properties (required) + * @param string $type Type of content to set for the section. (required) + * @param string $value Value to set for the section. For type Text, the HTML content of the section. For type DynamicContent, the id of the segmentation to use for the content. For type Snippet, the id of the snippet to embed (required) + * @param string $alt_text Sets the value of the alt parameter for the resulting img element (optional) + * @param string $external_url (optional) + * @param int $height Overrides naitve height of the image. The resulting file will be resized to the given height (optional) + * @param string $image Multipart file that allows you to add an image from your computer (optional) + * @param string $link_url (optional) + * @param bool $over_write Allows overwriting of the existing image content section (optional) + * @param string $style Sets the value of the style parameter for the content section (optional) + * @param string $video_url Sets the Url of the video element. Videos must be either from YouTube or Vimeo (optional) + * @param int $width Overrides native width of the image. The resulting file will be resized to the given width (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateEmailDynamicContentUsingPOSTAsyncWithHttpInfo($id, $content_id, $request) + public function updateEmailDynamicContentUsingPOSTAsyncWithHttpInfo($id, $content_id, $type, $value, $alt_text = null, $external_url = null, $height = null, $image = null, $link_url = null, $over_write = null, $style = null, $video_url = null, $width = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->updateEmailDynamicContentUsingPOSTRequest($id, $content_id, $request); + $request = $this->updateEmailDynamicContentUsingPOSTRequest($id, $content_id, $type, $value, $alt_text, $external_url, $height, $image, $link_url, $over_write, $style, $video_url, $width); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -6764,12 +7096,22 @@ function ($exception) { * * @param int $id Id of email (required) * @param string $content_id Id of email dynamic content section (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailDynamicContentRequest $request Content properties (required) + * @param string $type Type of content to set for the section. (required) + * @param string $value Value to set for the section. For type Text, the HTML content of the section. For type DynamicContent, the id of the segmentation to use for the content. For type Snippet, the id of the snippet to embed (required) + * @param string $alt_text Sets the value of the alt parameter for the resulting img element (optional) + * @param string $external_url (optional) + * @param int $height Overrides naitve height of the image. The resulting file will be resized to the given height (optional) + * @param string $image Multipart file that allows you to add an image from your computer (optional) + * @param string $link_url (optional) + * @param bool $over_write Allows overwriting of the existing image content section (optional) + * @param string $style Sets the value of the style parameter for the content section (optional) + * @param string $video_url Sets the Url of the video element. Videos must be either from YouTube or Vimeo (optional) + * @param int $width Overrides native width of the image. The resulting file will be resized to the given width (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateEmailDynamicContentUsingPOSTRequest($id, $content_id, $request) + protected function updateEmailDynamicContentUsingPOSTRequest($id, $content_id, $type, $value, $alt_text = null, $external_url = null, $height = null, $image = null, $link_url = null, $over_write = null, $style = null, $video_url = null, $width = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -6783,10 +7125,16 @@ protected function updateEmailDynamicContentUsingPOSTRequest($id, $content_id, $ 'Missing the required parameter $content_id when calling updateEmailDynamicContentUsingPOST' ); } - // verify the required parameter 'request' is set - if ($request === null || (is_array($request) && count($request) === 0)) { + // verify the required parameter 'type' is set + if ($type === null || (is_array($type) && count($type) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $request when calling updateEmailDynamicContentUsingPOST' + 'Missing the required parameter $type when calling updateEmailDynamicContentUsingPOST' + ); + } + // verify the required parameter 'value' is set + if ($value === null || (is_array($value) && count($value) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $value when calling updateEmailDynamicContentUsingPOST' ); } @@ -6815,11 +7163,52 @@ protected function updateEmailDynamicContentUsingPOSTRequest($id, $content_id, $ ); } + // form params + if ($alt_text !== null) { + $formParams['altText'] = ObjectSerializer::toFormValue($alt_text); + } + // form params + if ($external_url !== null) { + $formParams['externalUrl'] = ObjectSerializer::toFormValue($external_url); + } + // form params + if ($height !== null) { + $formParams['height'] = ObjectSerializer::toFormValue($height); + } + // form params + if ($image !== null) { + $formParams['image'] = ObjectSerializer::toFormValue($image); + } + // form params + if ($link_url !== null) { + $formParams['linkUrl'] = ObjectSerializer::toFormValue($link_url); + } + // form params + if ($over_write !== null) { + $formParams['overWrite'] = ObjectSerializer::toFormValue($over_write); + } + // form params + if ($style !== null) { + $formParams['style'] = ObjectSerializer::toFormValue($style); + } + // form params + if ($type !== null) { + $formParams['type'] = ObjectSerializer::toFormValue($type); + } + // form params + if ($value !== null) { + $formParams['value'] = ObjectSerializer::toFormValue($value); + } + // form params + if ($video_url !== null) { + $formParams['videoUrl'] = ObjectSerializer::toFormValue($video_url); + } + // form params + if ($width !== null) { + $formParams['width'] = ObjectSerializer::toFormValue($width); + } // body params $_tempBody = null; - if (isset($request)) { - $_tempBody = $request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -6895,15 +7284,21 @@ protected function updateEmailDynamicContentUsingPOSTRequest($id, $content_id, $ * Update Email Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailMetaDataRequest $update_email_request updateEmailRequest (required) + * @param string $description Description of the asset (optional) + * @param string $name Name of the Email (optional) + * @param string $pre_header Preheader text for the email (optional) + * @param bool $operational Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false (optional) + * @param bool $published Whether the email has been published to Sales Insight. Default false (optional) + * @param bool $text_only Setting to include text-only version of email when sent (optional) + * @param bool $web_view Whether the email has been enabled to allow the 'View as Web Page' when received (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailResponse */ - public function updateEmailUsingPOST($id, $update_email_request) + public function updateEmailUsingPOST($id, $description = null, $name = null, $pre_header = null, $operational = null, $published = null, $text_only = null, $web_view = null) { - list($response) = $this->updateEmailUsingPOSTWithHttpInfo($id, $update_email_request); + list($response) = $this->updateEmailUsingPOSTWithHttpInfo($id, $description, $name, $pre_header, $operational, $published, $text_only, $web_view); return $response; } @@ -6913,16 +7308,22 @@ public function updateEmailUsingPOST($id, $update_email_request) * Update Email Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailMetaDataRequest $update_email_request updateEmailRequest (required) + * @param string $description Description of the asset (optional) + * @param string $name Name of the Email (optional) + * @param string $pre_header Preheader text for the email (optional) + * @param bool $operational Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false (optional) + * @param bool $published Whether the email has been published to Sales Insight. Default false (optional) + * @param bool $text_only Setting to include text-only version of email when sent (optional) + * @param bool $web_view Whether the email has been enabled to allow the 'View as Web Page' when received (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateEmailUsingPOSTWithHttpInfo($id, $update_email_request) + public function updateEmailUsingPOSTWithHttpInfo($id, $description = null, $name = null, $pre_header = null, $operational = null, $published = null, $text_only = null, $web_view = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailResponse'; - $request = $this->updateEmailUsingPOSTRequest($id, $update_email_request); + $request = $this->updateEmailUsingPOSTRequest($id, $description, $name, $pre_header, $operational, $published, $text_only, $web_view); try { $options = $this->createHttpClientOption(); @@ -6989,14 +7390,20 @@ public function updateEmailUsingPOSTWithHttpInfo($id, $update_email_request) * Update Email Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailMetaDataRequest $update_email_request updateEmailRequest (required) + * @param string $description Description of the asset (optional) + * @param string $name Name of the Email (optional) + * @param string $pre_header Preheader text for the email (optional) + * @param bool $operational Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false (optional) + * @param bool $published Whether the email has been published to Sales Insight. Default false (optional) + * @param bool $text_only Setting to include text-only version of email when sent (optional) + * @param bool $web_view Whether the email has been enabled to allow the 'View as Web Page' when received (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateEmailUsingPOSTAsync($id, $update_email_request) + public function updateEmailUsingPOSTAsync($id, $description = null, $name = null, $pre_header = null, $operational = null, $published = null, $text_only = null, $web_view = null) { - return $this->updateEmailUsingPOSTAsyncWithHttpInfo($id, $update_email_request) + return $this->updateEmailUsingPOSTAsyncWithHttpInfo($id, $description, $name, $pre_header, $operational, $published, $text_only, $web_view) ->then( function ($response) { return $response[0]; @@ -7010,15 +7417,21 @@ function ($response) { * Update Email Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailMetaDataRequest $update_email_request updateEmailRequest (required) + * @param string $description Description of the asset (optional) + * @param string $name Name of the Email (optional) + * @param string $pre_header Preheader text for the email (optional) + * @param bool $operational Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false (optional) + * @param bool $published Whether the email has been published to Sales Insight. Default false (optional) + * @param bool $text_only Setting to include text-only version of email when sent (optional) + * @param bool $web_view Whether the email has been enabled to allow the 'View as Web Page' when received (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateEmailUsingPOSTAsyncWithHttpInfo($id, $update_email_request) + public function updateEmailUsingPOSTAsyncWithHttpInfo($id, $description = null, $name = null, $pre_header = null, $operational = null, $published = null, $text_only = null, $web_view = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfEmailResponse'; - $request = $this->updateEmailUsingPOSTRequest($id, $update_email_request); + $request = $this->updateEmailUsingPOSTRequest($id, $description, $name, $pre_header, $operational, $published, $text_only, $web_view); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -7061,12 +7474,18 @@ function ($exception) { * Create request for operation 'updateEmailUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateEmailMetaDataRequest $update_email_request updateEmailRequest (required) + * @param string $description Description of the asset (optional) + * @param string $name Name of the Email (optional) + * @param string $pre_header Preheader text for the email (optional) + * @param bool $operational Whether the email is operational. Operational emails bypass unsubscribe status. Defaults to false (optional) + * @param bool $published Whether the email has been published to Sales Insight. Default false (optional) + * @param bool $text_only Setting to include text-only version of email when sent (optional) + * @param bool $web_view Whether the email has been enabled to allow the 'View as Web Page' when received (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateEmailUsingPOSTRequest($id, $update_email_request) + protected function updateEmailUsingPOSTRequest($id, $description = null, $name = null, $pre_header = null, $operational = null, $published = null, $text_only = null, $web_view = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -7074,12 +7493,6 @@ protected function updateEmailUsingPOSTRequest($id, $update_email_request) 'Missing the required parameter $id when calling updateEmailUsingPOST' ); } - // verify the required parameter 'update_email_request' is set - if ($update_email_request === null || (is_array($update_email_request) && count($update_email_request) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $update_email_request when calling updateEmailUsingPOST' - ); - } $resourcePath = '/rest/asset/v1/email/{id}.json'; $formParams = []; @@ -7098,11 +7511,36 @@ protected function updateEmailUsingPOSTRequest($id, $update_email_request) ); } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($pre_header !== null) { + $formParams['preHeader'] = ObjectSerializer::toFormValue($pre_header); + } + // form params + if ($operational !== null) { + $formParams['operational'] = ObjectSerializer::toFormValue($operational); + } + // form params + if ($published !== null) { + $formParams['published'] = ObjectSerializer::toFormValue($published); + } + // form params + if ($text_only !== null) { + $formParams['textOnly'] = ObjectSerializer::toFormValue($text_only); + } + // form params + if ($web_view !== null) { + $formParams['webView'] = ObjectSerializer::toFormValue($web_view); + } // body params $_tempBody = null; - if (isset($update_email_request)) { - $_tempBody = $update_email_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -7179,15 +7617,16 @@ protected function updateEmailUsingPOSTRequest($id, $update_email_request) * * @param int $id id (required) * @param string $name name (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateVariableRequest $update_variable_request updateVariableRequest (optional) + * @param string $value Value to update variable with (optional) + * @param string $module_id Module that variable is associated with. Required for updating module variables. Not needed for global variables. (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ModelResponse */ - public function updateVariableUsingPOST($id, $name, $update_variable_request = null) + public function updateVariableUsingPOST($id, $name, $value = null, $module_id = null) { - list($response) = $this->updateVariableUsingPOSTWithHttpInfo($id, $name, $update_variable_request); + list($response) = $this->updateVariableUsingPOSTWithHttpInfo($id, $name, $value, $module_id); return $response; } @@ -7198,16 +7637,17 @@ public function updateVariableUsingPOST($id, $name, $update_variable_request = n * * @param int $id id (required) * @param string $name name (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateVariableRequest $update_variable_request updateVariableRequest (optional) + * @param string $value Value to update variable with (optional) + * @param string $module_id Module that variable is associated with. Required for updating module variables. Not needed for global variables. (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ModelResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateVariableUsingPOSTWithHttpInfo($id, $name, $update_variable_request = null) + public function updateVariableUsingPOSTWithHttpInfo($id, $name, $value = null, $module_id = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ModelResponse'; - $request = $this->updateVariableUsingPOSTRequest($id, $name, $update_variable_request); + $request = $this->updateVariableUsingPOSTRequest($id, $name, $value, $module_id); try { $options = $this->createHttpClientOption(); @@ -7275,14 +7715,15 @@ public function updateVariableUsingPOSTWithHttpInfo($id, $name, $update_variable * * @param int $id id (required) * @param string $name name (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateVariableRequest $update_variable_request updateVariableRequest (optional) + * @param string $value Value to update variable with (optional) + * @param string $module_id Module that variable is associated with. Required for updating module variables. Not needed for global variables. (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateVariableUsingPOSTAsync($id, $name, $update_variable_request = null) + public function updateVariableUsingPOSTAsync($id, $name, $value = null, $module_id = null) { - return $this->updateVariableUsingPOSTAsyncWithHttpInfo($id, $name, $update_variable_request) + return $this->updateVariableUsingPOSTAsyncWithHttpInfo($id, $name, $value, $module_id) ->then( function ($response) { return $response[0]; @@ -7297,15 +7738,16 @@ function ($response) { * * @param int $id id (required) * @param string $name name (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateVariableRequest $update_variable_request updateVariableRequest (optional) + * @param string $value Value to update variable with (optional) + * @param string $module_id Module that variable is associated with. Required for updating module variables. Not needed for global variables. (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateVariableUsingPOSTAsyncWithHttpInfo($id, $name, $update_variable_request = null) + public function updateVariableUsingPOSTAsyncWithHttpInfo($id, $name, $value = null, $module_id = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ModelResponse'; - $request = $this->updateVariableUsingPOSTRequest($id, $name, $update_variable_request); + $request = $this->updateVariableUsingPOSTRequest($id, $name, $value, $module_id); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -7349,12 +7791,13 @@ function ($exception) { * * @param int $id id (required) * @param string $name name (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateVariableRequest $update_variable_request updateVariableRequest (optional) + * @param string $value Value to update variable with (optional) + * @param string $module_id Module that variable is associated with. Required for updating module variables. Not needed for global variables. (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateVariableUsingPOSTRequest($id, $name, $update_variable_request = null) + protected function updateVariableUsingPOSTRequest($id, $name, $value = null, $module_id = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -7394,11 +7837,16 @@ protected function updateVariableUsingPOSTRequest($id, $name, $update_variable_r ); } + // form params + if ($value !== null) { + $formParams['value'] = ObjectSerializer::toFormValue($value); + } + // form params + if ($module_id !== null) { + $formParams['moduleId'] = ObjectSerializer::toFormValue($module_id); + } // body params $_tempBody = null; - if (isset($update_variable_request)) { - $_tempBody = $update_variable_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( diff --git a/src/Asset/Api/FileContentsApi.php b/src/Asset/Api/FileContentsApi.php index b892ce6b..1cafbcf4 100644 --- a/src/Asset/Api/FileContentsApi.php +++ b/src/Asset/Api/FileContentsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -93,15 +93,16 @@ public function getConfig() * Update File Content * * @param int $id Id for file in database (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFileContentRequest $request request (required) + * @param string $file Multipart file. Content of the file. (required) + * @param int $id Id of the file (required) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfFileResponse */ - public function updateContentUsingPOST($id, $request) + public function updateContentUsingPOST($id, $file, $id) { - list($response) = $this->updateContentUsingPOSTWithHttpInfo($id, $request); + list($response) = $this->updateContentUsingPOSTWithHttpInfo($id, $file, $id); return $response; } @@ -111,16 +112,17 @@ public function updateContentUsingPOST($id, $request) * Update File Content * * @param int $id Id for file in database (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFileContentRequest $request request (required) + * @param string $file Multipart file. Content of the file. (required) + * @param int $id Id of the file (required) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfFileResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateContentUsingPOSTWithHttpInfo($id, $request) + public function updateContentUsingPOSTWithHttpInfo($id, $file, $id) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfFileResponse'; - $request = $this->updateContentUsingPOSTRequest($id, $request); + $request = $this->updateContentUsingPOSTRequest($id, $file, $id); try { $options = $this->createHttpClientOption(); @@ -187,14 +189,15 @@ public function updateContentUsingPOSTWithHttpInfo($id, $request) * Update File Content * * @param int $id Id for file in database (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFileContentRequest $request request (required) + * @param string $file Multipart file. Content of the file. (required) + * @param int $id Id of the file (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateContentUsingPOSTAsync($id, $request) + public function updateContentUsingPOSTAsync($id, $file, $id) { - return $this->updateContentUsingPOSTAsyncWithHttpInfo($id, $request) + return $this->updateContentUsingPOSTAsyncWithHttpInfo($id, $file, $id) ->then( function ($response) { return $response[0]; @@ -208,15 +211,16 @@ function ($response) { * Update File Content * * @param int $id Id for file in database (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFileContentRequest $request request (required) + * @param string $file Multipart file. Content of the file. (required) + * @param int $id Id of the file (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateContentUsingPOSTAsyncWithHttpInfo($id, $request) + public function updateContentUsingPOSTAsyncWithHttpInfo($id, $file, $id) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfFileResponse'; - $request = $this->updateContentUsingPOSTRequest($id, $request); + $request = $this->updateContentUsingPOSTRequest($id, $file, $id); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -259,12 +263,13 @@ function ($exception) { * Create request for operation 'updateContentUsingPOST' * * @param int $id Id for file in database (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFileContentRequest $request request (required) + * @param string $file Multipart file. Content of the file. (required) + * @param int $id Id of the file (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateContentUsingPOSTRequest($id, $request) + protected function updateContentUsingPOSTRequest($id, $file, $id) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -272,10 +277,16 @@ protected function updateContentUsingPOSTRequest($id, $request) 'Missing the required parameter $id when calling updateContentUsingPOST' ); } - // verify the required parameter 'request' is set - if ($request === null || (is_array($request) && count($request) === 0)) { + // verify the required parameter 'file' is set + if ($file === null || (is_array($file) && count($file) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $request when calling updateContentUsingPOST' + 'Missing the required parameter $file when calling updateContentUsingPOST' + ); + } + // verify the required parameter 'id' is set + if ($id === null || (is_array($id) && count($id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $id when calling updateContentUsingPOST' ); } @@ -296,11 +307,16 @@ protected function updateContentUsingPOSTRequest($id, $request) ); } + // form params + if ($file !== null) { + $formParams['file'] = ObjectSerializer::toFormValue($file); + } + // form params + if ($id !== null) { + $formParams['id'] = ObjectSerializer::toFormValue($id); + } // body params $_tempBody = null; - if (isset($request)) { - $_tempBody = $request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( diff --git a/src/Asset/Api/FilesApi.php b/src/Asset/Api/FilesApi.php index 2c4e3989..827e2641 100644 --- a/src/Asset/Api/FilesApi.php +++ b/src/Asset/Api/FilesApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -92,15 +92,19 @@ public function getConfig() * * Create File * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateFileRequest $create_file_request createFileRequest (required) + * @param string $file Multipart file. Content of the file. (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder (required) + * @param string $name Name of the File (required) + * @param string $description Description of the asset (optional) + * @param bool $insert_only Whether the calls hould fail if there is already an existing file with the same name (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfFileResponse */ - public function createFileUsingPOST($create_file_request) + public function createFileUsingPOST($file, $folder, $name, $description = null, $insert_only = null) { - list($response) = $this->createFileUsingPOSTWithHttpInfo($create_file_request); + list($response) = $this->createFileUsingPOSTWithHttpInfo($file, $folder, $name, $description, $insert_only); return $response; } @@ -109,16 +113,20 @@ public function createFileUsingPOST($create_file_request) * * Create File * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateFileRequest $create_file_request createFileRequest (required) + * @param string $file Multipart file. Content of the file. (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the File (required) + * @param string $description Description of the asset (optional) + * @param bool $insert_only Whether the calls hould fail if there is already an existing file with the same name (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfFileResponse, HTTP status code, HTTP response headers (array of strings) */ - public function createFileUsingPOSTWithHttpInfo($create_file_request) + public function createFileUsingPOSTWithHttpInfo($file, $folder, $name, $description = null, $insert_only = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfFileResponse'; - $request = $this->createFileUsingPOSTRequest($create_file_request); + $request = $this->createFileUsingPOSTRequest($file, $folder, $name, $description, $insert_only); try { $options = $this->createHttpClientOption(); @@ -184,14 +192,18 @@ public function createFileUsingPOSTWithHttpInfo($create_file_request) * * Create File * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateFileRequest $create_file_request createFileRequest (required) + * @param string $file Multipart file. Content of the file. (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the File (required) + * @param string $description Description of the asset (optional) + * @param bool $insert_only Whether the calls hould fail if there is already an existing file with the same name (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createFileUsingPOSTAsync($create_file_request) + public function createFileUsingPOSTAsync($file, $folder, $name, $description = null, $insert_only = null) { - return $this->createFileUsingPOSTAsyncWithHttpInfo($create_file_request) + return $this->createFileUsingPOSTAsyncWithHttpInfo($file, $folder, $name, $description, $insert_only) ->then( function ($response) { return $response[0]; @@ -204,15 +216,19 @@ function ($response) { * * Create File * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateFileRequest $create_file_request createFileRequest (required) + * @param string $file Multipart file. Content of the file. (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the File (required) + * @param string $description Description of the asset (optional) + * @param bool $insert_only Whether the calls hould fail if there is already an existing file with the same name (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createFileUsingPOSTAsyncWithHttpInfo($create_file_request) + public function createFileUsingPOSTAsyncWithHttpInfo($file, $folder, $name, $description = null, $insert_only = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfFileResponse'; - $request = $this->createFileUsingPOSTRequest($create_file_request); + $request = $this->createFileUsingPOSTRequest($file, $folder, $name, $description, $insert_only); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -254,17 +270,33 @@ function ($exception) { /** * Create request for operation 'createFileUsingPOST' * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateFileRequest $create_file_request createFileRequest (required) + * @param string $file Multipart file. Content of the file. (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the File (required) + * @param string $description Description of the asset (optional) + * @param bool $insert_only Whether the calls hould fail if there is already an existing file with the same name (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function createFileUsingPOSTRequest($create_file_request) + protected function createFileUsingPOSTRequest($file, $folder, $name, $description = null, $insert_only = null) { - // verify the required parameter 'create_file_request' is set - if ($create_file_request === null || (is_array($create_file_request) && count($create_file_request) === 0)) { + // verify the required parameter 'file' is set + if ($file === null || (is_array($file) && count($file) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $create_file_request when calling createFileUsingPOST' + 'Missing the required parameter $file when calling createFileUsingPOST' + ); + } + // verify the required parameter 'folder' is set + if ($folder === null || (is_array($folder) && count($folder) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $folder when calling createFileUsingPOST' + ); + } + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $name when calling createFileUsingPOST' ); } @@ -277,11 +309,28 @@ protected function createFileUsingPOSTRequest($create_file_request) + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($file !== null) { + $formParams['file'] = ObjectSerializer::toFormValue($file); + } + // form params + if ($folder !== null) { + $formParams['folder'] = ObjectSerializer::toFormValue($folder); + } + // form params + if ($insert_only !== null) { + $formParams['insertOnly'] = ObjectSerializer::toFormValue($insert_only); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } // body params $_tempBody = null; - if (isset($create_file_request)) { - $_tempBody = $create_file_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -559,7 +608,7 @@ protected function getFileByIdUsingGETRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -824,7 +873,7 @@ protected function getFileByNameUsingGETRequest($name) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } diff --git a/src/Asset/Api/FoldersApi.php b/src/Asset/Api/FoldersApi.php index a64b458a..b0755c8a 100644 --- a/src/Asset/Api/FoldersApi.php +++ b/src/Asset/Api/FoldersApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -92,15 +92,17 @@ public function getConfig() * * Create Folder * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateFolderRequest $create_folder_request createFolderRequest (required) + * @param string $name Name of the Folder (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $parent parent (required) + * @param string $description Description of the asset (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfFolderResponse */ - public function createFolderUsingPOST($create_folder_request) + public function createFolderUsingPOST($name, $parent, $description = null) { - list($response) = $this->createFolderUsingPOSTWithHttpInfo($create_folder_request); + list($response) = $this->createFolderUsingPOSTWithHttpInfo($name, $parent, $description); return $response; } @@ -109,16 +111,18 @@ public function createFolderUsingPOST($create_folder_request) * * Create Folder * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateFolderRequest $create_folder_request createFolderRequest (required) + * @param string $name Name of the Folder (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $parent (required) + * @param string $description Description of the asset (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfFolderResponse, HTTP status code, HTTP response headers (array of strings) */ - public function createFolderUsingPOSTWithHttpInfo($create_folder_request) + public function createFolderUsingPOSTWithHttpInfo($name, $parent, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfFolderResponse'; - $request = $this->createFolderUsingPOSTRequest($create_folder_request); + $request = $this->createFolderUsingPOSTRequest($name, $parent, $description); try { $options = $this->createHttpClientOption(); @@ -184,14 +188,16 @@ public function createFolderUsingPOSTWithHttpInfo($create_folder_request) * * Create Folder * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateFolderRequest $create_folder_request createFolderRequest (required) + * @param string $name Name of the Folder (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $parent (required) + * @param string $description Description of the asset (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createFolderUsingPOSTAsync($create_folder_request) + public function createFolderUsingPOSTAsync($name, $parent, $description = null) { - return $this->createFolderUsingPOSTAsyncWithHttpInfo($create_folder_request) + return $this->createFolderUsingPOSTAsyncWithHttpInfo($name, $parent, $description) ->then( function ($response) { return $response[0]; @@ -204,15 +210,17 @@ function ($response) { * * Create Folder * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateFolderRequest $create_folder_request createFolderRequest (required) + * @param string $name Name of the Folder (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $parent (required) + * @param string $description Description of the asset (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createFolderUsingPOSTAsyncWithHttpInfo($create_folder_request) + public function createFolderUsingPOSTAsyncWithHttpInfo($name, $parent, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfFolderResponse'; - $request = $this->createFolderUsingPOSTRequest($create_folder_request); + $request = $this->createFolderUsingPOSTRequest($name, $parent, $description); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -254,17 +262,25 @@ function ($exception) { /** * Create request for operation 'createFolderUsingPOST' * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateFolderRequest $create_folder_request createFolderRequest (required) + * @param string $name Name of the Folder (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $parent (required) + * @param string $description Description of the asset (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function createFolderUsingPOSTRequest($create_folder_request) + protected function createFolderUsingPOSTRequest($name, $parent, $description = null) { - // verify the required parameter 'create_folder_request' is set - if ($create_folder_request === null || (is_array($create_folder_request) && count($create_folder_request) === 0)) { + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $name when calling createFolderUsingPOST' + ); + } + // verify the required parameter 'parent' is set + if ($parent === null || (is_array($parent) && count($parent) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $create_folder_request when calling createFolderUsingPOST' + 'Missing the required parameter $parent when calling createFolderUsingPOST' ); } @@ -277,11 +293,20 @@ protected function createFolderUsingPOSTRequest($create_folder_request) + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($parent !== null) { + $formParams['parent'] = ObjectSerializer::toFormValue($parent); + } // body params $_tempBody = null; - if (isset($create_folder_request)) { - $_tempBody = $create_folder_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -858,7 +883,7 @@ protected function getFolderByIdUsingGETRequest($id, $type) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1150,7 +1175,7 @@ protected function getFolderByNameUsingGETRequest($name, $type = null, $root = n } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1452,7 +1477,7 @@ protected function getFolderContentUsingGETRequest($id, $type, $max_return = nul } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1747,7 +1772,7 @@ protected function getFolderUsingGETRequest($root = null, $max_depth = null, $ma } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1814,15 +1839,18 @@ protected function getFolderUsingGETRequest($root = null, $max_depth = null, $ma * Update Folder Metadata * * @param int $id Id of the folder to update (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFolderRequest $update_folder_request updateFolderRequest (required) + * @param string $type Type of folder. 'Folder' or 'Program' (required) + * @param string $description Description of the asset (optional) + * @param bool $is_archive Whether the folder is archived or not. Toggling this value will change the archival status of the folder (optional) + * @param string $name Name of the Folder (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfFolderResponse */ - public function updateFolderUsingPOST($id, $update_folder_request) + public function updateFolderUsingPOST($id, $type, $description = null, $is_archive = null, $name = null) { - list($response) = $this->updateFolderUsingPOSTWithHttpInfo($id, $update_folder_request); + list($response) = $this->updateFolderUsingPOSTWithHttpInfo($id, $type, $description, $is_archive, $name); return $response; } @@ -1832,16 +1860,19 @@ public function updateFolderUsingPOST($id, $update_folder_request) * Update Folder Metadata * * @param int $id Id of the folder to update (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFolderRequest $update_folder_request updateFolderRequest (required) + * @param string $type Type of folder. 'Folder' or 'Program' (required) + * @param string $description Description of the asset (optional) + * @param bool $is_archive Whether the folder is archived or not. Toggling this value will change the archival status of the folder (optional) + * @param string $name Name of the Folder (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfFolderResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateFolderUsingPOSTWithHttpInfo($id, $update_folder_request) + public function updateFolderUsingPOSTWithHttpInfo($id, $type, $description = null, $is_archive = null, $name = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfFolderResponse'; - $request = $this->updateFolderUsingPOSTRequest($id, $update_folder_request); + $request = $this->updateFolderUsingPOSTRequest($id, $type, $description, $is_archive, $name); try { $options = $this->createHttpClientOption(); @@ -1908,14 +1939,17 @@ public function updateFolderUsingPOSTWithHttpInfo($id, $update_folder_request) * Update Folder Metadata * * @param int $id Id of the folder to update (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFolderRequest $update_folder_request updateFolderRequest (required) + * @param string $type Type of folder. 'Folder' or 'Program' (required) + * @param string $description Description of the asset (optional) + * @param bool $is_archive Whether the folder is archived or not. Toggling this value will change the archival status of the folder (optional) + * @param string $name Name of the Folder (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateFolderUsingPOSTAsync($id, $update_folder_request) + public function updateFolderUsingPOSTAsync($id, $type, $description = null, $is_archive = null, $name = null) { - return $this->updateFolderUsingPOSTAsyncWithHttpInfo($id, $update_folder_request) + return $this->updateFolderUsingPOSTAsyncWithHttpInfo($id, $type, $description, $is_archive, $name) ->then( function ($response) { return $response[0]; @@ -1929,15 +1963,18 @@ function ($response) { * Update Folder Metadata * * @param int $id Id of the folder to update (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFolderRequest $update_folder_request updateFolderRequest (required) + * @param string $type Type of folder. 'Folder' or 'Program' (required) + * @param string $description Description of the asset (optional) + * @param bool $is_archive Whether the folder is archived or not. Toggling this value will change the archival status of the folder (optional) + * @param string $name Name of the Folder (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateFolderUsingPOSTAsyncWithHttpInfo($id, $update_folder_request) + public function updateFolderUsingPOSTAsyncWithHttpInfo($id, $type, $description = null, $is_archive = null, $name = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfFolderResponse'; - $request = $this->updateFolderUsingPOSTRequest($id, $update_folder_request); + $request = $this->updateFolderUsingPOSTRequest($id, $type, $description, $is_archive, $name); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -1980,12 +2017,15 @@ function ($exception) { * Create request for operation 'updateFolderUsingPOST' * * @param int $id Id of the folder to update (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFolderRequest $update_folder_request updateFolderRequest (required) + * @param string $type Type of folder. 'Folder' or 'Program' (required) + * @param string $description Description of the asset (optional) + * @param bool $is_archive Whether the folder is archived or not. Toggling this value will change the archival status of the folder (optional) + * @param string $name Name of the Folder (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateFolderUsingPOSTRequest($id, $update_folder_request) + protected function updateFolderUsingPOSTRequest($id, $type, $description = null, $is_archive = null, $name = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -1993,10 +2033,10 @@ protected function updateFolderUsingPOSTRequest($id, $update_folder_request) 'Missing the required parameter $id when calling updateFolderUsingPOST' ); } - // verify the required parameter 'update_folder_request' is set - if ($update_folder_request === null || (is_array($update_folder_request) && count($update_folder_request) === 0)) { + // verify the required parameter 'type' is set + if ($type === null || (is_array($type) && count($type) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $update_folder_request when calling updateFolderUsingPOST' + 'Missing the required parameter $type when calling updateFolderUsingPOST' ); } @@ -2017,11 +2057,24 @@ protected function updateFolderUsingPOSTRequest($id, $update_folder_request) ); } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($is_archive !== null) { + $formParams['isArchive'] = ObjectSerializer::toFormValue($is_archive); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($type !== null) { + $formParams['type'] = ObjectSerializer::toFormValue($type); + } // body params $_tempBody = null; - if (isset($update_folder_request)) { - $_tempBody = $update_folder_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( diff --git a/src/Asset/Api/FormFieldsApi.php b/src/Asset/Api/FormFieldsApi.php index 7c8b6764..19f11960 100644 --- a/src/Asset/Api/FormFieldsApi.php +++ b/src/Asset/Api/FormFieldsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -93,15 +93,15 @@ public function getConfig() * Add Fieldset to Form * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddFormFieldSetRequest $add_form_field_set_request addFormFieldSetRequest (required) + * @param string $label Label of the fieldset (required) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse */ - public function addFieldSetUsingPOST($id, $add_form_field_set_request) + public function addFieldSetUsingPOST($id, $label) { - list($response) = $this->addFieldSetUsingPOSTWithHttpInfo($id, $add_form_field_set_request); + list($response) = $this->addFieldSetUsingPOSTWithHttpInfo($id, $label); return $response; } @@ -111,16 +111,16 @@ public function addFieldSetUsingPOST($id, $add_form_field_set_request) * Add Fieldset to Form * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddFormFieldSetRequest $add_form_field_set_request addFormFieldSetRequest (required) + * @param string $label Label of the fieldset (required) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse, HTTP status code, HTTP response headers (array of strings) */ - public function addFieldSetUsingPOSTWithHttpInfo($id, $add_form_field_set_request) + public function addFieldSetUsingPOSTWithHttpInfo($id, $label) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse'; - $request = $this->addFieldSetUsingPOSTRequest($id, $add_form_field_set_request); + $request = $this->addFieldSetUsingPOSTRequest($id, $label); try { $options = $this->createHttpClientOption(); @@ -187,14 +187,14 @@ public function addFieldSetUsingPOSTWithHttpInfo($id, $add_form_field_set_reques * Add Fieldset to Form * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddFormFieldSetRequest $add_form_field_set_request addFormFieldSetRequest (required) + * @param string $label Label of the fieldset (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function addFieldSetUsingPOSTAsync($id, $add_form_field_set_request) + public function addFieldSetUsingPOSTAsync($id, $label) { - return $this->addFieldSetUsingPOSTAsyncWithHttpInfo($id, $add_form_field_set_request) + return $this->addFieldSetUsingPOSTAsyncWithHttpInfo($id, $label) ->then( function ($response) { return $response[0]; @@ -208,15 +208,15 @@ function ($response) { * Add Fieldset to Form * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddFormFieldSetRequest $add_form_field_set_request addFormFieldSetRequest (required) + * @param string $label Label of the fieldset (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function addFieldSetUsingPOSTAsyncWithHttpInfo($id, $add_form_field_set_request) + public function addFieldSetUsingPOSTAsyncWithHttpInfo($id, $label) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse'; - $request = $this->addFieldSetUsingPOSTRequest($id, $add_form_field_set_request); + $request = $this->addFieldSetUsingPOSTRequest($id, $label); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -259,12 +259,12 @@ function ($exception) { * Create request for operation 'addFieldSetUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddFormFieldSetRequest $add_form_field_set_request addFormFieldSetRequest (required) + * @param string $label Label of the fieldset (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function addFieldSetUsingPOSTRequest($id, $add_form_field_set_request) + protected function addFieldSetUsingPOSTRequest($id, $label) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -272,10 +272,10 @@ protected function addFieldSetUsingPOSTRequest($id, $add_form_field_set_request) 'Missing the required parameter $id when calling addFieldSetUsingPOST' ); } - // verify the required parameter 'add_form_field_set_request' is set - if ($add_form_field_set_request === null || (is_array($add_form_field_set_request) && count($add_form_field_set_request) === 0)) { + // verify the required parameter 'label' is set + if ($label === null || (is_array($label) && count($label) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $add_form_field_set_request when calling addFieldSetUsingPOST' + 'Missing the required parameter $label when calling addFieldSetUsingPOST' ); } @@ -296,11 +296,12 @@ protected function addFieldSetUsingPOSTRequest($id, $add_form_field_set_request) ); } + // form params + if ($label !== null) { + $formParams['label'] = ObjectSerializer::toFormValue($label); + } // body params $_tempBody = null; - if (isset($add_form_field_set_request)) { - $_tempBody = $add_form_field_set_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -376,15 +377,34 @@ protected function addFieldSetUsingPOSTRequest($id, $add_form_field_set_request) * Add Field to Form * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddFormFieldRequest $add_form_field_set_request addFormFieldSetRequest (required) + * @param string $field_id Id of the field (required) + * @param int $blank_fields Number of blank fields to show when progressive profiling is enabled (optional) + * @param string $default_value Optional default value for the field (optional) + * @param int $field_width Width of the input or select element (optional) + * @param bool $form_prefill Whether the field should prefill. Default true (optional) + * @param string $hint_text Hint text for the field (optional) + * @param bool $initially_checked Whether the field should be checked upon loading. Default false (optional) + * @param string $instructions Instructions for the field (optional) + * @param string $label Label of the field (optional) + * @param bool $label_to_right Whether the field label should be displayed to the right of the input/select element. Default false (optional) + * @param int $label_width Width of the field label element (optional) + * @param string $mask_input Optional input mask for the field (optional) + * @param int $max_length Maximum length for text type fields (optional) + * @param float $max_value Maximum value accepted by the field (optional) + * @param float $min_value Minimum value accepted by the field (optional) + * @param bool $multi_select Whether the field should allow multiple selections. Default false (optional) + * @param bool $required Whether the field is required to submit the form. Default false (optional) + * @param string $validation_message Validation message to display on failed validation (optional) + * @param string $values Comma-separated list of accepted values for the field. Only for select-field types (optional) + * @param int $visible_lines Number of lines to display for the field element (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse */ - public function addFieldToAFormUsingPOST($id, $add_form_field_set_request) + public function addFieldToAFormUsingPOST($id, $field_id, $blank_fields = null, $default_value = null, $field_width = null, $form_prefill = null, $hint_text = null, $initially_checked = null, $instructions = null, $label = null, $label_to_right = null, $label_width = null, $mask_input = null, $max_length = null, $max_value = null, $min_value = null, $multi_select = null, $required = null, $validation_message = null, $values = null, $visible_lines = null) { - list($response) = $this->addFieldToAFormUsingPOSTWithHttpInfo($id, $add_form_field_set_request); + list($response) = $this->addFieldToAFormUsingPOSTWithHttpInfo($id, $field_id, $blank_fields, $default_value, $field_width, $form_prefill, $hint_text, $initially_checked, $instructions, $label, $label_to_right, $label_width, $mask_input, $max_length, $max_value, $min_value, $multi_select, $required, $validation_message, $values, $visible_lines); return $response; } @@ -394,16 +414,35 @@ public function addFieldToAFormUsingPOST($id, $add_form_field_set_request) * Add Field to Form * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddFormFieldRequest $add_form_field_set_request addFormFieldSetRequest (required) + * @param string $field_id Id of the field (required) + * @param int $blank_fields Number of blank fields to show when progressive profiling is enabled (optional) + * @param string $default_value Optional default value for the field (optional) + * @param int $field_width Width of the input or select element (optional) + * @param bool $form_prefill Whether the field should prefill. Default true (optional) + * @param string $hint_text Hint text for the field (optional) + * @param bool $initially_checked Whether the field should be checked upon loading. Default false (optional) + * @param string $instructions Instructions for the field (optional) + * @param string $label Label of the field (optional) + * @param bool $label_to_right Whether the field label should be displayed to the right of the input/select element. Default false (optional) + * @param int $label_width Width of the field label element (optional) + * @param string $mask_input Optional input mask for the field (optional) + * @param int $max_length Maximum length for text type fields (optional) + * @param float $max_value Maximum value accepted by the field (optional) + * @param float $min_value Minimum value accepted by the field (optional) + * @param bool $multi_select Whether the field should allow multiple selections. Default false (optional) + * @param bool $required Whether the field is required to submit the form. Default false (optional) + * @param string $validation_message Validation message to display on failed validation (optional) + * @param string $values Comma-separated list of accepted values for the field. Only for select-field types (optional) + * @param int $visible_lines Number of lines to display for the field element (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse, HTTP status code, HTTP response headers (array of strings) */ - public function addFieldToAFormUsingPOSTWithHttpInfo($id, $add_form_field_set_request) + public function addFieldToAFormUsingPOSTWithHttpInfo($id, $field_id, $blank_fields = null, $default_value = null, $field_width = null, $form_prefill = null, $hint_text = null, $initially_checked = null, $instructions = null, $label = null, $label_to_right = null, $label_width = null, $mask_input = null, $max_length = null, $max_value = null, $min_value = null, $multi_select = null, $required = null, $validation_message = null, $values = null, $visible_lines = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse'; - $request = $this->addFieldToAFormUsingPOSTRequest($id, $add_form_field_set_request); + $request = $this->addFieldToAFormUsingPOSTRequest($id, $field_id, $blank_fields, $default_value, $field_width, $form_prefill, $hint_text, $initially_checked, $instructions, $label, $label_to_right, $label_width, $mask_input, $max_length, $max_value, $min_value, $multi_select, $required, $validation_message, $values, $visible_lines); try { $options = $this->createHttpClientOption(); @@ -470,14 +509,33 @@ public function addFieldToAFormUsingPOSTWithHttpInfo($id, $add_form_field_set_re * Add Field to Form * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddFormFieldRequest $add_form_field_set_request addFormFieldSetRequest (required) + * @param string $field_id Id of the field (required) + * @param int $blank_fields Number of blank fields to show when progressive profiling is enabled (optional) + * @param string $default_value Optional default value for the field (optional) + * @param int $field_width Width of the input or select element (optional) + * @param bool $form_prefill Whether the field should prefill. Default true (optional) + * @param string $hint_text Hint text for the field (optional) + * @param bool $initially_checked Whether the field should be checked upon loading. Default false (optional) + * @param string $instructions Instructions for the field (optional) + * @param string $label Label of the field (optional) + * @param bool $label_to_right Whether the field label should be displayed to the right of the input/select element. Default false (optional) + * @param int $label_width Width of the field label element (optional) + * @param string $mask_input Optional input mask for the field (optional) + * @param int $max_length Maximum length for text type fields (optional) + * @param float $max_value Maximum value accepted by the field (optional) + * @param float $min_value Minimum value accepted by the field (optional) + * @param bool $multi_select Whether the field should allow multiple selections. Default false (optional) + * @param bool $required Whether the field is required to submit the form. Default false (optional) + * @param string $validation_message Validation message to display on failed validation (optional) + * @param string $values Comma-separated list of accepted values for the field. Only for select-field types (optional) + * @param int $visible_lines Number of lines to display for the field element (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function addFieldToAFormUsingPOSTAsync($id, $add_form_field_set_request) + public function addFieldToAFormUsingPOSTAsync($id, $field_id, $blank_fields = null, $default_value = null, $field_width = null, $form_prefill = null, $hint_text = null, $initially_checked = null, $instructions = null, $label = null, $label_to_right = null, $label_width = null, $mask_input = null, $max_length = null, $max_value = null, $min_value = null, $multi_select = null, $required = null, $validation_message = null, $values = null, $visible_lines = null) { - return $this->addFieldToAFormUsingPOSTAsyncWithHttpInfo($id, $add_form_field_set_request) + return $this->addFieldToAFormUsingPOSTAsyncWithHttpInfo($id, $field_id, $blank_fields, $default_value, $field_width, $form_prefill, $hint_text, $initially_checked, $instructions, $label, $label_to_right, $label_width, $mask_input, $max_length, $max_value, $min_value, $multi_select, $required, $validation_message, $values, $visible_lines) ->then( function ($response) { return $response[0]; @@ -491,15 +549,34 @@ function ($response) { * Add Field to Form * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddFormFieldRequest $add_form_field_set_request addFormFieldSetRequest (required) + * @param string $field_id Id of the field (required) + * @param int $blank_fields Number of blank fields to show when progressive profiling is enabled (optional) + * @param string $default_value Optional default value for the field (optional) + * @param int $field_width Width of the input or select element (optional) + * @param bool $form_prefill Whether the field should prefill. Default true (optional) + * @param string $hint_text Hint text for the field (optional) + * @param bool $initially_checked Whether the field should be checked upon loading. Default false (optional) + * @param string $instructions Instructions for the field (optional) + * @param string $label Label of the field (optional) + * @param bool $label_to_right Whether the field label should be displayed to the right of the input/select element. Default false (optional) + * @param int $label_width Width of the field label element (optional) + * @param string $mask_input Optional input mask for the field (optional) + * @param int $max_length Maximum length for text type fields (optional) + * @param float $max_value Maximum value accepted by the field (optional) + * @param float $min_value Minimum value accepted by the field (optional) + * @param bool $multi_select Whether the field should allow multiple selections. Default false (optional) + * @param bool $required Whether the field is required to submit the form. Default false (optional) + * @param string $validation_message Validation message to display on failed validation (optional) + * @param string $values Comma-separated list of accepted values for the field. Only for select-field types (optional) + * @param int $visible_lines Number of lines to display for the field element (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function addFieldToAFormUsingPOSTAsyncWithHttpInfo($id, $add_form_field_set_request) + public function addFieldToAFormUsingPOSTAsyncWithHttpInfo($id, $field_id, $blank_fields = null, $default_value = null, $field_width = null, $form_prefill = null, $hint_text = null, $initially_checked = null, $instructions = null, $label = null, $label_to_right = null, $label_width = null, $mask_input = null, $max_length = null, $max_value = null, $min_value = null, $multi_select = null, $required = null, $validation_message = null, $values = null, $visible_lines = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse'; - $request = $this->addFieldToAFormUsingPOSTRequest($id, $add_form_field_set_request); + $request = $this->addFieldToAFormUsingPOSTRequest($id, $field_id, $blank_fields, $default_value, $field_width, $form_prefill, $hint_text, $initially_checked, $instructions, $label, $label_to_right, $label_width, $mask_input, $max_length, $max_value, $min_value, $multi_select, $required, $validation_message, $values, $visible_lines); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -542,12 +619,31 @@ function ($exception) { * Create request for operation 'addFieldToAFormUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddFormFieldRequest $add_form_field_set_request addFormFieldSetRequest (required) + * @param string $field_id Id of the field (required) + * @param int $blank_fields Number of blank fields to show when progressive profiling is enabled (optional) + * @param string $default_value Optional default value for the field (optional) + * @param int $field_width Width of the input or select element (optional) + * @param bool $form_prefill Whether the field should prefill. Default true (optional) + * @param string $hint_text Hint text for the field (optional) + * @param bool $initially_checked Whether the field should be checked upon loading. Default false (optional) + * @param string $instructions Instructions for the field (optional) + * @param string $label Label of the field (optional) + * @param bool $label_to_right Whether the field label should be displayed to the right of the input/select element. Default false (optional) + * @param int $label_width Width of the field label element (optional) + * @param string $mask_input Optional input mask for the field (optional) + * @param int $max_length Maximum length for text type fields (optional) + * @param float $max_value Maximum value accepted by the field (optional) + * @param float $min_value Minimum value accepted by the field (optional) + * @param bool $multi_select Whether the field should allow multiple selections. Default false (optional) + * @param bool $required Whether the field is required to submit the form. Default false (optional) + * @param string $validation_message Validation message to display on failed validation (optional) + * @param string $values Comma-separated list of accepted values for the field. Only for select-field types (optional) + * @param int $visible_lines Number of lines to display for the field element (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function addFieldToAFormUsingPOSTRequest($id, $add_form_field_set_request) + protected function addFieldToAFormUsingPOSTRequest($id, $field_id, $blank_fields = null, $default_value = null, $field_width = null, $form_prefill = null, $hint_text = null, $initially_checked = null, $instructions = null, $label = null, $label_to_right = null, $label_width = null, $mask_input = null, $max_length = null, $max_value = null, $min_value = null, $multi_select = null, $required = null, $validation_message = null, $values = null, $visible_lines = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -555,10 +651,10 @@ protected function addFieldToAFormUsingPOSTRequest($id, $add_form_field_set_requ 'Missing the required parameter $id when calling addFieldToAFormUsingPOST' ); } - // verify the required parameter 'add_form_field_set_request' is set - if ($add_form_field_set_request === null || (is_array($add_form_field_set_request) && count($add_form_field_set_request) === 0)) { + // verify the required parameter 'field_id' is set + if ($field_id === null || (is_array($field_id) && count($field_id) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $add_form_field_set_request when calling addFieldToAFormUsingPOST' + 'Missing the required parameter $field_id when calling addFieldToAFormUsingPOST' ); } @@ -579,11 +675,88 @@ protected function addFieldToAFormUsingPOSTRequest($id, $add_form_field_set_requ ); } + // form params + if ($blank_fields !== null) { + $formParams['blankFields'] = ObjectSerializer::toFormValue($blank_fields); + } + // form params + if ($default_value !== null) { + $formParams['defaultValue'] = ObjectSerializer::toFormValue($default_value); + } + // form params + if ($field_id !== null) { + $formParams['fieldId'] = ObjectSerializer::toFormValue($field_id); + } + // form params + if ($field_width !== null) { + $formParams['fieldWidth'] = ObjectSerializer::toFormValue($field_width); + } + // form params + if ($form_prefill !== null) { + $formParams['formPrefill'] = ObjectSerializer::toFormValue($form_prefill); + } + // form params + if ($hint_text !== null) { + $formParams['hintText'] = ObjectSerializer::toFormValue($hint_text); + } + // form params + if ($initially_checked !== null) { + $formParams['initiallyChecked'] = ObjectSerializer::toFormValue($initially_checked); + } + // form params + if ($instructions !== null) { + $formParams['instructions'] = ObjectSerializer::toFormValue($instructions); + } + // form params + if ($label !== null) { + $formParams['label'] = ObjectSerializer::toFormValue($label); + } + // form params + if ($label_to_right !== null) { + $formParams['labelToRight'] = ObjectSerializer::toFormValue($label_to_right); + } + // form params + if ($label_width !== null) { + $formParams['labelWidth'] = ObjectSerializer::toFormValue($label_width); + } + // form params + if ($mask_input !== null) { + $formParams['maskInput'] = ObjectSerializer::toFormValue($mask_input); + } + // form params + if ($max_length !== null) { + $formParams['maxLength'] = ObjectSerializer::toFormValue($max_length); + } + // form params + if ($max_value !== null) { + $formParams['maxValue'] = ObjectSerializer::toFormValue($max_value); + } + // form params + if ($min_value !== null) { + $formParams['minValue'] = ObjectSerializer::toFormValue($min_value); + } + // form params + if ($multi_select !== null) { + $formParams['multiSelect'] = ObjectSerializer::toFormValue($multi_select); + } + // form params + if ($required !== null) { + $formParams['required'] = ObjectSerializer::toFormValue($required); + } + // form params + if ($validation_message !== null) { + $formParams['validationMessage'] = ObjectSerializer::toFormValue($validation_message); + } + // form params + if ($values !== null) { + $formParams['values'] = ObjectSerializer::toFormValue($values); + } + // form params + if ($visible_lines !== null) { + $formParams['visibleLines'] = ObjectSerializer::toFormValue($visible_lines); + } // body params $_tempBody = null; - if (isset($add_form_field_set_request)) { - $_tempBody = $add_form_field_set_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -660,15 +833,15 @@ protected function addFieldToAFormUsingPOSTRequest($id, $add_form_field_set_requ * * @param int $form_id formId (required) * @param string $field_id fieldId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddFormFieldVisibilityRequest $add_form_field_visibility_request addFormFieldVisibilityRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\FormFieldVisibilityRequest $visibility_rule visibility_rule (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfFormVisibilityRuleResponse */ - public function addFormFieldVisibilityRuleUsingPOST($form_id, $field_id, $add_form_field_visibility_request) + public function addFormFieldVisibilityRuleUsingPOST($form_id, $field_id, $visibility_rule = null) { - list($response) = $this->addFormFieldVisibilityRuleUsingPOSTWithHttpInfo($form_id, $field_id, $add_form_field_visibility_request); + list($response) = $this->addFormFieldVisibilityRuleUsingPOSTWithHttpInfo($form_id, $field_id, $visibility_rule); return $response; } @@ -679,16 +852,16 @@ public function addFormFieldVisibilityRuleUsingPOST($form_id, $field_id, $add_fo * * @param int $form_id formId (required) * @param string $field_id fieldId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddFormFieldVisibilityRequest $add_form_field_visibility_request addFormFieldVisibilityRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\FormFieldVisibilityRequest $visibility_rule (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfFormVisibilityRuleResponse, HTTP status code, HTTP response headers (array of strings) */ - public function addFormFieldVisibilityRuleUsingPOSTWithHttpInfo($form_id, $field_id, $add_form_field_visibility_request) + public function addFormFieldVisibilityRuleUsingPOSTWithHttpInfo($form_id, $field_id, $visibility_rule = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfFormVisibilityRuleResponse'; - $request = $this->addFormFieldVisibilityRuleUsingPOSTRequest($form_id, $field_id, $add_form_field_visibility_request); + $request = $this->addFormFieldVisibilityRuleUsingPOSTRequest($form_id, $field_id, $visibility_rule); try { $options = $this->createHttpClientOption(); @@ -756,14 +929,14 @@ public function addFormFieldVisibilityRuleUsingPOSTWithHttpInfo($form_id, $field * * @param int $form_id formId (required) * @param string $field_id fieldId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddFormFieldVisibilityRequest $add_form_field_visibility_request addFormFieldVisibilityRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\FormFieldVisibilityRequest $visibility_rule (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function addFormFieldVisibilityRuleUsingPOSTAsync($form_id, $field_id, $add_form_field_visibility_request) + public function addFormFieldVisibilityRuleUsingPOSTAsync($form_id, $field_id, $visibility_rule = null) { - return $this->addFormFieldVisibilityRuleUsingPOSTAsyncWithHttpInfo($form_id, $field_id, $add_form_field_visibility_request) + return $this->addFormFieldVisibilityRuleUsingPOSTAsyncWithHttpInfo($form_id, $field_id, $visibility_rule) ->then( function ($response) { return $response[0]; @@ -778,15 +951,15 @@ function ($response) { * * @param int $form_id formId (required) * @param string $field_id fieldId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddFormFieldVisibilityRequest $add_form_field_visibility_request addFormFieldVisibilityRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\FormFieldVisibilityRequest $visibility_rule (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function addFormFieldVisibilityRuleUsingPOSTAsyncWithHttpInfo($form_id, $field_id, $add_form_field_visibility_request) + public function addFormFieldVisibilityRuleUsingPOSTAsyncWithHttpInfo($form_id, $field_id, $visibility_rule = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfFormVisibilityRuleResponse'; - $request = $this->addFormFieldVisibilityRuleUsingPOSTRequest($form_id, $field_id, $add_form_field_visibility_request); + $request = $this->addFormFieldVisibilityRuleUsingPOSTRequest($form_id, $field_id, $visibility_rule); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -830,12 +1003,12 @@ function ($exception) { * * @param int $form_id formId (required) * @param string $field_id fieldId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddFormFieldVisibilityRequest $add_form_field_visibility_request addFormFieldVisibilityRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\FormFieldVisibilityRequest $visibility_rule (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function addFormFieldVisibilityRuleUsingPOSTRequest($form_id, $field_id, $add_form_field_visibility_request) + protected function addFormFieldVisibilityRuleUsingPOSTRequest($form_id, $field_id, $visibility_rule = null) { // verify the required parameter 'form_id' is set if ($form_id === null || (is_array($form_id) && count($form_id) === 0)) { @@ -849,12 +1022,6 @@ protected function addFormFieldVisibilityRuleUsingPOSTRequest($form_id, $field_i 'Missing the required parameter $field_id when calling addFormFieldVisibilityRuleUsingPOST' ); } - // verify the required parameter 'add_form_field_visibility_request' is set - if ($add_form_field_visibility_request === null || (is_array($add_form_field_visibility_request) && count($add_form_field_visibility_request) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $add_form_field_visibility_request when calling addFormFieldVisibilityRuleUsingPOST' - ); - } $resourcePath = '/rest/asset/v1/form/{formId}/field/{fieldId}/visibility.json'; $formParams = []; @@ -881,11 +1048,12 @@ protected function addFormFieldVisibilityRuleUsingPOSTRequest($form_id, $field_i ); } + // form params + if ($visibility_rule !== null) { + $formParams['visibilityRule'] = ObjectSerializer::toFormValue($visibility_rule); + } // body params $_tempBody = null; - if (isset($add_form_field_visibility_request)) { - $_tempBody = $add_form_field_visibility_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -961,15 +1129,15 @@ protected function addFormFieldVisibilityRuleUsingPOSTRequest($form_id, $field_i * Add Rich Text Field * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddRichTextRequest $add_rich_text_request addRichTextRequest (required) + * @param string $text Multipart file. HTML Content for the rich text field. (required) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse */ - public function addRichTextFieldUsingPOST($id, $add_rich_text_request) + public function addRichTextFieldUsingPOST($id, $text) { - list($response) = $this->addRichTextFieldUsingPOSTWithHttpInfo($id, $add_rich_text_request); + list($response) = $this->addRichTextFieldUsingPOSTWithHttpInfo($id, $text); return $response; } @@ -979,16 +1147,16 @@ public function addRichTextFieldUsingPOST($id, $add_rich_text_request) * Add Rich Text Field * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddRichTextRequest $add_rich_text_request addRichTextRequest (required) + * @param string $text Multipart file. HTML Content for the rich text field. (required) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse, HTTP status code, HTTP response headers (array of strings) */ - public function addRichTextFieldUsingPOSTWithHttpInfo($id, $add_rich_text_request) + public function addRichTextFieldUsingPOSTWithHttpInfo($id, $text) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse'; - $request = $this->addRichTextFieldUsingPOSTRequest($id, $add_rich_text_request); + $request = $this->addRichTextFieldUsingPOSTRequest($id, $text); try { $options = $this->createHttpClientOption(); @@ -1055,14 +1223,14 @@ public function addRichTextFieldUsingPOSTWithHttpInfo($id, $add_rich_text_reques * Add Rich Text Field * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddRichTextRequest $add_rich_text_request addRichTextRequest (required) + * @param string $text Multipart file. HTML Content for the rich text field. (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function addRichTextFieldUsingPOSTAsync($id, $add_rich_text_request) + public function addRichTextFieldUsingPOSTAsync($id, $text) { - return $this->addRichTextFieldUsingPOSTAsyncWithHttpInfo($id, $add_rich_text_request) + return $this->addRichTextFieldUsingPOSTAsyncWithHttpInfo($id, $text) ->then( function ($response) { return $response[0]; @@ -1076,15 +1244,15 @@ function ($response) { * Add Rich Text Field * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddRichTextRequest $add_rich_text_request addRichTextRequest (required) + * @param string $text Multipart file. HTML Content for the rich text field. (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function addRichTextFieldUsingPOSTAsyncWithHttpInfo($id, $add_rich_text_request) + public function addRichTextFieldUsingPOSTAsyncWithHttpInfo($id, $text) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse'; - $request = $this->addRichTextFieldUsingPOSTRequest($id, $add_rich_text_request); + $request = $this->addRichTextFieldUsingPOSTRequest($id, $text); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -1127,12 +1295,12 @@ function ($exception) { * Create request for operation 'addRichTextFieldUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\AddRichTextRequest $add_rich_text_request addRichTextRequest (required) + * @param string $text Multipart file. HTML Content for the rich text field. (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function addRichTextFieldUsingPOSTRequest($id, $add_rich_text_request) + protected function addRichTextFieldUsingPOSTRequest($id, $text) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -1140,10 +1308,10 @@ protected function addRichTextFieldUsingPOSTRequest($id, $add_rich_text_request) 'Missing the required parameter $id when calling addRichTextFieldUsingPOST' ); } - // verify the required parameter 'add_rich_text_request' is set - if ($add_rich_text_request === null || (is_array($add_rich_text_request) && count($add_rich_text_request) === 0)) { + // verify the required parameter 'text' is set + if ($text === null || (is_array($text) && count($text) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $add_rich_text_request when calling addRichTextFieldUsingPOST' + 'Missing the required parameter $text when calling addRichTextFieldUsingPOST' ); } @@ -1164,11 +1332,12 @@ protected function addRichTextFieldUsingPOSTRequest($id, $add_rich_text_request) ); } + // form params + if ($text !== null) { + $formParams['text'] = ObjectSerializer::toFormValue($text); + } // body params $_tempBody = null; - if (isset($add_rich_text_request)) { - $_tempBody = $add_rich_text_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -1484,7 +1653,7 @@ protected function deleteFormFieldFromFieldSetUsingPOSTRequest($id, $field_set_i } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1772,7 +1941,7 @@ protected function deleteFormFieldUsingPOSTRequest($id, $field_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2040,7 +2209,7 @@ protected function getAllFieldsUsingGETRequest($max_return = null, $offset = nul } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2308,7 +2477,7 @@ protected function getAllProgramMemberFieldsUsingGETRequest($max_return = null, } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2586,7 +2755,7 @@ protected function getFormFieldByFormVidUsingGETRequest($id, $status = null) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2653,15 +2822,15 @@ protected function getFormFieldByFormVidUsingGETRequest($id, $status = null) * Update Field Positions * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\ReArrangeRequest $re_arrange_request reArrangeRequest (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFieldPosition[] $positions positions (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse */ - public function updateFieldPositionsUsingPOST($id, $re_arrange_request = null) + public function updateFieldPositionsUsingPOST($id, $positions = null) { - list($response) = $this->updateFieldPositionsUsingPOSTWithHttpInfo($id, $re_arrange_request); + list($response) = $this->updateFieldPositionsUsingPOSTWithHttpInfo($id, $positions); return $response; } @@ -2671,16 +2840,16 @@ public function updateFieldPositionsUsingPOST($id, $re_arrange_request = null) * Update Field Positions * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\ReArrangeRequest $re_arrange_request reArrangeRequest (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFieldPosition[] $positions (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateFieldPositionsUsingPOSTWithHttpInfo($id, $re_arrange_request = null) + public function updateFieldPositionsUsingPOSTWithHttpInfo($id, $positions = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->updateFieldPositionsUsingPOSTRequest($id, $re_arrange_request); + $request = $this->updateFieldPositionsUsingPOSTRequest($id, $positions); try { $options = $this->createHttpClientOption(); @@ -2747,14 +2916,14 @@ public function updateFieldPositionsUsingPOSTWithHttpInfo($id, $re_arrange_reque * Update Field Positions * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\ReArrangeRequest $re_arrange_request reArrangeRequest (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFieldPosition[] $positions (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateFieldPositionsUsingPOSTAsync($id, $re_arrange_request = null) + public function updateFieldPositionsUsingPOSTAsync($id, $positions = null) { - return $this->updateFieldPositionsUsingPOSTAsyncWithHttpInfo($id, $re_arrange_request) + return $this->updateFieldPositionsUsingPOSTAsyncWithHttpInfo($id, $positions) ->then( function ($response) { return $response[0]; @@ -2768,15 +2937,15 @@ function ($response) { * Update Field Positions * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\ReArrangeRequest $re_arrange_request reArrangeRequest (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFieldPosition[] $positions (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateFieldPositionsUsingPOSTAsyncWithHttpInfo($id, $re_arrange_request = null) + public function updateFieldPositionsUsingPOSTAsyncWithHttpInfo($id, $positions = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->updateFieldPositionsUsingPOSTRequest($id, $re_arrange_request); + $request = $this->updateFieldPositionsUsingPOSTRequest($id, $positions); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -2819,12 +2988,12 @@ function ($exception) { * Create request for operation 'updateFieldPositionsUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\ReArrangeRequest $re_arrange_request reArrangeRequest (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFieldPosition[] $positions (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateFieldPositionsUsingPOSTRequest($id, $re_arrange_request = null) + protected function updateFieldPositionsUsingPOSTRequest($id, $positions = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -2850,11 +3019,12 @@ protected function updateFieldPositionsUsingPOSTRequest($id, $re_arrange_request ); } + // form params + if ($positions !== null) { + $formParams['positions'] = ObjectSerializer::toFormValue($positions); + } // body params $_tempBody = null; - if (isset($re_arrange_request)) { - $_tempBody = $re_arrange_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -2931,15 +3101,34 @@ protected function updateFieldPositionsUsingPOSTRequest($id, $re_arrange_request * * @param int $id id (required) * @param string $field_id fieldId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFormFieldRequest $update_form_field_request updateFormFieldRequest (required) + * @param int $blank_fields Number of blank fields to show when progressive profiling is enabled (optional) + * @param string $default_value Optional default value for the field (optional) + * @param string $field_type Type of field (optional) + * @param int $field_width Width of the input or select element (optional) + * @param bool $form_prefill Whether the field should prefill. Default true (optional) + * @param string $hint_text Hint text for the field (optional) + * @param bool $initially_checked Whether the field should be checked upon loading. Default false (optional) + * @param string $instructions Instructions for the field (optional) + * @param string $label Label of the field (optional) + * @param bool $label_to_right Whether the field label should be displayed to the right of the input/select element. Default false (optional) + * @param int $label_width Width of the field label element (optional) + * @param string $mask_input Optional input mask for the field (optional) + * @param int $max_length Maximum length for text type fields (optional) + * @param float $max_value Maximum value accepted by the field (optional) + * @param float $min_value Minimum value accepted by the field (optional) + * @param bool $multi_select Whether the field should allow multiple selections. Default false (optional) + * @param bool $required Whether the field is required to submit the form. Default false (optional) + * @param string $validation_message Validation message to display on failed validation (optional) + * @param string $values Array of JSON objects that contain field attributes. Only for select-field types. Example: values=[{'label':'Select...','value':'','isDefault':true,'selected':true}, {'label':'MR','value':'Mr'}, {'label':'MS','value':'Ms'}, {'label':'MRS','value':'Mrs'}, {'label':'DR','value':'Dr'}, {'label':'PROF','value':'Prof'}] (optional) + * @param int $visible_lines Number of lines to display for the field element (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse */ - public function updateFormFieldUsingPOST($id, $field_id, $update_form_field_request) + public function updateFormFieldUsingPOST($id, $field_id, $blank_fields = null, $default_value = null, $field_type = null, $field_width = null, $form_prefill = null, $hint_text = null, $initially_checked = null, $instructions = null, $label = null, $label_to_right = null, $label_width = null, $mask_input = null, $max_length = null, $max_value = null, $min_value = null, $multi_select = null, $required = null, $validation_message = null, $values = null, $visible_lines = null) { - list($response) = $this->updateFormFieldUsingPOSTWithHttpInfo($id, $field_id, $update_form_field_request); + list($response) = $this->updateFormFieldUsingPOSTWithHttpInfo($id, $field_id, $blank_fields, $default_value, $field_type, $field_width, $form_prefill, $hint_text, $initially_checked, $instructions, $label, $label_to_right, $label_width, $mask_input, $max_length, $max_value, $min_value, $multi_select, $required, $validation_message, $values, $visible_lines); return $response; } @@ -2950,16 +3139,35 @@ public function updateFormFieldUsingPOST($id, $field_id, $update_form_field_requ * * @param int $id id (required) * @param string $field_id fieldId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFormFieldRequest $update_form_field_request updateFormFieldRequest (required) + * @param int $blank_fields Number of blank fields to show when progressive profiling is enabled (optional) + * @param string $default_value Optional default value for the field (optional) + * @param string $field_type Type of field (optional) + * @param int $field_width Width of the input or select element (optional) + * @param bool $form_prefill Whether the field should prefill. Default true (optional) + * @param string $hint_text Hint text for the field (optional) + * @param bool $initially_checked Whether the field should be checked upon loading. Default false (optional) + * @param string $instructions Instructions for the field (optional) + * @param string $label Label of the field (optional) + * @param bool $label_to_right Whether the field label should be displayed to the right of the input/select element. Default false (optional) + * @param int $label_width Width of the field label element (optional) + * @param string $mask_input Optional input mask for the field (optional) + * @param int $max_length Maximum length for text type fields (optional) + * @param float $max_value Maximum value accepted by the field (optional) + * @param float $min_value Minimum value accepted by the field (optional) + * @param bool $multi_select Whether the field should allow multiple selections. Default false (optional) + * @param bool $required Whether the field is required to submit the form. Default false (optional) + * @param string $validation_message Validation message to display on failed validation (optional) + * @param string $values Array of JSON objects that contain field attributes. Only for select-field types. Example: values=[{'label':'Select...','value':'','isDefault':true,'selected':true}, {'label':'MR','value':'Mr'}, {'label':'MS','value':'Ms'}, {'label':'MRS','value':'Mrs'}, {'label':'DR','value':'Dr'}, {'label':'PROF','value':'Prof'}] (optional) + * @param int $visible_lines Number of lines to display for the field element (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateFormFieldUsingPOSTWithHttpInfo($id, $field_id, $update_form_field_request) + public function updateFormFieldUsingPOSTWithHttpInfo($id, $field_id, $blank_fields = null, $default_value = null, $field_type = null, $field_width = null, $form_prefill = null, $hint_text = null, $initially_checked = null, $instructions = null, $label = null, $label_to_right = null, $label_width = null, $mask_input = null, $max_length = null, $max_value = null, $min_value = null, $multi_select = null, $required = null, $validation_message = null, $values = null, $visible_lines = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse'; - $request = $this->updateFormFieldUsingPOSTRequest($id, $field_id, $update_form_field_request); + $request = $this->updateFormFieldUsingPOSTRequest($id, $field_id, $blank_fields, $default_value, $field_type, $field_width, $form_prefill, $hint_text, $initially_checked, $instructions, $label, $label_to_right, $label_width, $mask_input, $max_length, $max_value, $min_value, $multi_select, $required, $validation_message, $values, $visible_lines); try { $options = $this->createHttpClientOption(); @@ -3027,14 +3235,33 @@ public function updateFormFieldUsingPOSTWithHttpInfo($id, $field_id, $update_for * * @param int $id id (required) * @param string $field_id fieldId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFormFieldRequest $update_form_field_request updateFormFieldRequest (required) + * @param int $blank_fields Number of blank fields to show when progressive profiling is enabled (optional) + * @param string $default_value Optional default value for the field (optional) + * @param string $field_type Type of field (optional) + * @param int $field_width Width of the input or select element (optional) + * @param bool $form_prefill Whether the field should prefill. Default true (optional) + * @param string $hint_text Hint text for the field (optional) + * @param bool $initially_checked Whether the field should be checked upon loading. Default false (optional) + * @param string $instructions Instructions for the field (optional) + * @param string $label Label of the field (optional) + * @param bool $label_to_right Whether the field label should be displayed to the right of the input/select element. Default false (optional) + * @param int $label_width Width of the field label element (optional) + * @param string $mask_input Optional input mask for the field (optional) + * @param int $max_length Maximum length for text type fields (optional) + * @param float $max_value Maximum value accepted by the field (optional) + * @param float $min_value Minimum value accepted by the field (optional) + * @param bool $multi_select Whether the field should allow multiple selections. Default false (optional) + * @param bool $required Whether the field is required to submit the form. Default false (optional) + * @param string $validation_message Validation message to display on failed validation (optional) + * @param string $values Array of JSON objects that contain field attributes. Only for select-field types. Example: values=[{'label':'Select...','value':'','isDefault':true,'selected':true}, {'label':'MR','value':'Mr'}, {'label':'MS','value':'Ms'}, {'label':'MRS','value':'Mrs'}, {'label':'DR','value':'Dr'}, {'label':'PROF','value':'Prof'}] (optional) + * @param int $visible_lines Number of lines to display for the field element (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateFormFieldUsingPOSTAsync($id, $field_id, $update_form_field_request) + public function updateFormFieldUsingPOSTAsync($id, $field_id, $blank_fields = null, $default_value = null, $field_type = null, $field_width = null, $form_prefill = null, $hint_text = null, $initially_checked = null, $instructions = null, $label = null, $label_to_right = null, $label_width = null, $mask_input = null, $max_length = null, $max_value = null, $min_value = null, $multi_select = null, $required = null, $validation_message = null, $values = null, $visible_lines = null) { - return $this->updateFormFieldUsingPOSTAsyncWithHttpInfo($id, $field_id, $update_form_field_request) + return $this->updateFormFieldUsingPOSTAsyncWithHttpInfo($id, $field_id, $blank_fields, $default_value, $field_type, $field_width, $form_prefill, $hint_text, $initially_checked, $instructions, $label, $label_to_right, $label_width, $mask_input, $max_length, $max_value, $min_value, $multi_select, $required, $validation_message, $values, $visible_lines) ->then( function ($response) { return $response[0]; @@ -3049,15 +3276,34 @@ function ($response) { * * @param int $id id (required) * @param string $field_id fieldId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFormFieldRequest $update_form_field_request updateFormFieldRequest (required) + * @param int $blank_fields Number of blank fields to show when progressive profiling is enabled (optional) + * @param string $default_value Optional default value for the field (optional) + * @param string $field_type Type of field (optional) + * @param int $field_width Width of the input or select element (optional) + * @param bool $form_prefill Whether the field should prefill. Default true (optional) + * @param string $hint_text Hint text for the field (optional) + * @param bool $initially_checked Whether the field should be checked upon loading. Default false (optional) + * @param string $instructions Instructions for the field (optional) + * @param string $label Label of the field (optional) + * @param bool $label_to_right Whether the field label should be displayed to the right of the input/select element. Default false (optional) + * @param int $label_width Width of the field label element (optional) + * @param string $mask_input Optional input mask for the field (optional) + * @param int $max_length Maximum length for text type fields (optional) + * @param float $max_value Maximum value accepted by the field (optional) + * @param float $min_value Minimum value accepted by the field (optional) + * @param bool $multi_select Whether the field should allow multiple selections. Default false (optional) + * @param bool $required Whether the field is required to submit the form. Default false (optional) + * @param string $validation_message Validation message to display on failed validation (optional) + * @param string $values Array of JSON objects that contain field attributes. Only for select-field types. Example: values=[{'label':'Select...','value':'','isDefault':true,'selected':true}, {'label':'MR','value':'Mr'}, {'label':'MS','value':'Ms'}, {'label':'MRS','value':'Mrs'}, {'label':'DR','value':'Dr'}, {'label':'PROF','value':'Prof'}] (optional) + * @param int $visible_lines Number of lines to display for the field element (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateFormFieldUsingPOSTAsyncWithHttpInfo($id, $field_id, $update_form_field_request) + public function updateFormFieldUsingPOSTAsyncWithHttpInfo($id, $field_id, $blank_fields = null, $default_value = null, $field_type = null, $field_width = null, $form_prefill = null, $hint_text = null, $initially_checked = null, $instructions = null, $label = null, $label_to_right = null, $label_width = null, $mask_input = null, $max_length = null, $max_value = null, $min_value = null, $multi_select = null, $required = null, $validation_message = null, $values = null, $visible_lines = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormFieldResponse'; - $request = $this->updateFormFieldUsingPOSTRequest($id, $field_id, $update_form_field_request); + $request = $this->updateFormFieldUsingPOSTRequest($id, $field_id, $blank_fields, $default_value, $field_type, $field_width, $form_prefill, $hint_text, $initially_checked, $instructions, $label, $label_to_right, $label_width, $mask_input, $max_length, $max_value, $min_value, $multi_select, $required, $validation_message, $values, $visible_lines); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -3101,12 +3347,31 @@ function ($exception) { * * @param int $id id (required) * @param string $field_id fieldId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFormFieldRequest $update_form_field_request updateFormFieldRequest (required) + * @param int $blank_fields Number of blank fields to show when progressive profiling is enabled (optional) + * @param string $default_value Optional default value for the field (optional) + * @param string $field_type Type of field (optional) + * @param int $field_width Width of the input or select element (optional) + * @param bool $form_prefill Whether the field should prefill. Default true (optional) + * @param string $hint_text Hint text for the field (optional) + * @param bool $initially_checked Whether the field should be checked upon loading. Default false (optional) + * @param string $instructions Instructions for the field (optional) + * @param string $label Label of the field (optional) + * @param bool $label_to_right Whether the field label should be displayed to the right of the input/select element. Default false (optional) + * @param int $label_width Width of the field label element (optional) + * @param string $mask_input Optional input mask for the field (optional) + * @param int $max_length Maximum length for text type fields (optional) + * @param float $max_value Maximum value accepted by the field (optional) + * @param float $min_value Minimum value accepted by the field (optional) + * @param bool $multi_select Whether the field should allow multiple selections. Default false (optional) + * @param bool $required Whether the field is required to submit the form. Default false (optional) + * @param string $validation_message Validation message to display on failed validation (optional) + * @param string $values Array of JSON objects that contain field attributes. Only for select-field types. Example: values=[{'label':'Select...','value':'','isDefault':true,'selected':true}, {'label':'MR','value':'Mr'}, {'label':'MS','value':'Ms'}, {'label':'MRS','value':'Mrs'}, {'label':'DR','value':'Dr'}, {'label':'PROF','value':'Prof'}] (optional) + * @param int $visible_lines Number of lines to display for the field element (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateFormFieldUsingPOSTRequest($id, $field_id, $update_form_field_request) + protected function updateFormFieldUsingPOSTRequest($id, $field_id, $blank_fields = null, $default_value = null, $field_type = null, $field_width = null, $form_prefill = null, $hint_text = null, $initially_checked = null, $instructions = null, $label = null, $label_to_right = null, $label_width = null, $mask_input = null, $max_length = null, $max_value = null, $min_value = null, $multi_select = null, $required = null, $validation_message = null, $values = null, $visible_lines = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -3120,12 +3385,6 @@ protected function updateFormFieldUsingPOSTRequest($id, $field_id, $update_form_ 'Missing the required parameter $field_id when calling updateFormFieldUsingPOST' ); } - // verify the required parameter 'update_form_field_request' is set - if ($update_form_field_request === null || (is_array($update_form_field_request) && count($update_form_field_request) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $update_form_field_request when calling updateFormFieldUsingPOST' - ); - } $resourcePath = '/rest/asset/v1/form/{id}/field/{fieldId}.json'; $formParams = []; @@ -3152,11 +3411,88 @@ protected function updateFormFieldUsingPOSTRequest($id, $field_id, $update_form_ ); } + // form params + if ($blank_fields !== null) { + $formParams['blankFields'] = ObjectSerializer::toFormValue($blank_fields); + } + // form params + if ($default_value !== null) { + $formParams['defaultValue'] = ObjectSerializer::toFormValue($default_value); + } + // form params + if ($field_type !== null) { + $formParams['fieldType'] = ObjectSerializer::toFormValue($field_type); + } + // form params + if ($field_width !== null) { + $formParams['fieldWidth'] = ObjectSerializer::toFormValue($field_width); + } + // form params + if ($form_prefill !== null) { + $formParams['formPrefill'] = ObjectSerializer::toFormValue($form_prefill); + } + // form params + if ($hint_text !== null) { + $formParams['hintText'] = ObjectSerializer::toFormValue($hint_text); + } + // form params + if ($initially_checked !== null) { + $formParams['initiallyChecked'] = ObjectSerializer::toFormValue($initially_checked); + } + // form params + if ($instructions !== null) { + $formParams['instructions'] = ObjectSerializer::toFormValue($instructions); + } + // form params + if ($label !== null) { + $formParams['label'] = ObjectSerializer::toFormValue($label); + } + // form params + if ($label_to_right !== null) { + $formParams['labelToRight'] = ObjectSerializer::toFormValue($label_to_right); + } + // form params + if ($label_width !== null) { + $formParams['labelWidth'] = ObjectSerializer::toFormValue($label_width); + } + // form params + if ($mask_input !== null) { + $formParams['maskInput'] = ObjectSerializer::toFormValue($mask_input); + } + // form params + if ($max_length !== null) { + $formParams['maxLength'] = ObjectSerializer::toFormValue($max_length); + } + // form params + if ($max_value !== null) { + $formParams['maxValue'] = ObjectSerializer::toFormValue($max_value); + } + // form params + if ($min_value !== null) { + $formParams['minValue'] = ObjectSerializer::toFormValue($min_value); + } + // form params + if ($multi_select !== null) { + $formParams['multiSelect'] = ObjectSerializer::toFormValue($multi_select); + } + // form params + if ($required !== null) { + $formParams['required'] = ObjectSerializer::toFormValue($required); + } + // form params + if ($validation_message !== null) { + $formParams['validationMessage'] = ObjectSerializer::toFormValue($validation_message); + } + // form params + if ($values !== null) { + $formParams['values'] = ObjectSerializer::toFormValue($values); + } + // form params + if ($visible_lines !== null) { + $formParams['visibleLines'] = ObjectSerializer::toFormValue($visible_lines); + } // body params $_tempBody = null; - if (isset($update_form_field_request)) { - $_tempBody = $update_form_field_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( diff --git a/src/Asset/Api/FormsApi.php b/src/Asset/Api/FormsApi.php index 1634e285..3dce78a7 100644 --- a/src/Asset/Api/FormsApi.php +++ b/src/Asset/Api/FormsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -295,7 +295,7 @@ protected function approveFromUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -587,7 +587,7 @@ protected function browseForms2UsingGETRequest($folder, $status = null, $max_ret } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -654,15 +654,17 @@ protected function browseForms2UsingGETRequest($folder, $status = null, $max_ret * Clone Form * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneFormRequest $clone_form_request cloneFormRequest (optional) + * @param string $name Name for the cloned form (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder (required) + * @param string $description Description of the cloned form (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse */ - public function cloneLpFormsUsingPOST($id, $clone_form_request = null) + public function cloneLpFormsUsingPOST($id, $name, $folder, $description = null) { - list($response) = $this->cloneLpFormsUsingPOSTWithHttpInfo($id, $clone_form_request); + list($response) = $this->cloneLpFormsUsingPOSTWithHttpInfo($id, $name, $folder, $description); return $response; } @@ -672,16 +674,18 @@ public function cloneLpFormsUsingPOST($id, $clone_form_request = null) * Clone Form * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneFormRequest $clone_form_request cloneFormRequest (optional) + * @param string $name Name for the cloned form (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the cloned form (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse, HTTP status code, HTTP response headers (array of strings) */ - public function cloneLpFormsUsingPOSTWithHttpInfo($id, $clone_form_request = null) + public function cloneLpFormsUsingPOSTWithHttpInfo($id, $name, $folder, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse'; - $request = $this->cloneLpFormsUsingPOSTRequest($id, $clone_form_request); + $request = $this->cloneLpFormsUsingPOSTRequest($id, $name, $folder, $description); try { $options = $this->createHttpClientOption(); @@ -748,14 +752,16 @@ public function cloneLpFormsUsingPOSTWithHttpInfo($id, $clone_form_request = nul * Clone Form * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneFormRequest $clone_form_request cloneFormRequest (optional) + * @param string $name Name for the cloned form (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the cloned form (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function cloneLpFormsUsingPOSTAsync($id, $clone_form_request = null) + public function cloneLpFormsUsingPOSTAsync($id, $name, $folder, $description = null) { - return $this->cloneLpFormsUsingPOSTAsyncWithHttpInfo($id, $clone_form_request) + return $this->cloneLpFormsUsingPOSTAsyncWithHttpInfo($id, $name, $folder, $description) ->then( function ($response) { return $response[0]; @@ -769,15 +775,17 @@ function ($response) { * Clone Form * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneFormRequest $clone_form_request cloneFormRequest (optional) + * @param string $name Name for the cloned form (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the cloned form (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function cloneLpFormsUsingPOSTAsyncWithHttpInfo($id, $clone_form_request = null) + public function cloneLpFormsUsingPOSTAsyncWithHttpInfo($id, $name, $folder, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse'; - $request = $this->cloneLpFormsUsingPOSTRequest($id, $clone_form_request); + $request = $this->cloneLpFormsUsingPOSTRequest($id, $name, $folder, $description); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -820,12 +828,14 @@ function ($exception) { * Create request for operation 'cloneLpFormsUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneFormRequest $clone_form_request cloneFormRequest (optional) + * @param string $name Name for the cloned form (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the cloned form (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function cloneLpFormsUsingPOSTRequest($id, $clone_form_request = null) + protected function cloneLpFormsUsingPOSTRequest($id, $name, $folder, $description = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -833,6 +843,18 @@ protected function cloneLpFormsUsingPOSTRequest($id, $clone_form_request = null) 'Missing the required parameter $id when calling cloneLpFormsUsingPOST' ); } + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $name when calling cloneLpFormsUsingPOST' + ); + } + // verify the required parameter 'folder' is set + if ($folder === null || (is_array($folder) && count($folder) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $folder when calling cloneLpFormsUsingPOST' + ); + } $resourcePath = '/rest/asset/v1/form/{id}/clone.json'; $formParams = []; @@ -851,11 +873,20 @@ protected function cloneLpFormsUsingPOSTRequest($id, $clone_form_request = null) ); } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($folder !== null) { + $formParams['folder'] = ObjectSerializer::toFormValue($folder); + } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } // body params $_tempBody = null; - if (isset($clone_form_request)) { - $_tempBody = $clone_form_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -930,15 +961,25 @@ protected function cloneLpFormsUsingPOSTRequest($id, $clone_form_request = null) * * Create Form * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLpFormRequest $create_form_request createFormRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder (required) + * @param string $description Description of the form (optional) + * @param string $font_family font-family property for the form (optional) + * @param string $font_size font-size property of the form (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO $known_visitor known_visitor (optional) + * @param string $label_position Default positioning of labels. (optional) + * @param string $language Language of the form (optional) + * @param string $locale Locale of the form (optional) + * @param string $name Name of the form (optional) + * @param bool $progressive_profiling Whether progressive profiling is enabled for the form (optional) + * @param string $theme CSS theme for the form to use (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse */ - public function createLpFormsUsingPOST($create_form_request) + public function createLpFormsUsingPOST($folder, $description = null, $font_family = null, $font_size = null, $known_visitor = null, $label_position = null, $language = null, $locale = null, $name = null, $progressive_profiling = null, $theme = null) { - list($response) = $this->createLpFormsUsingPOSTWithHttpInfo($create_form_request); + list($response) = $this->createLpFormsUsingPOSTWithHttpInfo($folder, $description, $font_family, $font_size, $known_visitor, $label_position, $language, $locale, $name, $progressive_profiling, $theme); return $response; } @@ -947,16 +988,26 @@ public function createLpFormsUsingPOST($create_form_request) * * Create Form * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLpFormRequest $create_form_request createFormRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the form (optional) + * @param string $font_family font-family property for the form (optional) + * @param string $font_size font-size property of the form (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO $known_visitor (optional) + * @param string $label_position Default positioning of labels. (optional) + * @param string $language Language of the form (optional) + * @param string $locale Locale of the form (optional) + * @param string $name Name of the form (optional) + * @param bool $progressive_profiling Whether progressive profiling is enabled for the form (optional) + * @param string $theme CSS theme for the form to use (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse, HTTP status code, HTTP response headers (array of strings) */ - public function createLpFormsUsingPOSTWithHttpInfo($create_form_request) + public function createLpFormsUsingPOSTWithHttpInfo($folder, $description = null, $font_family = null, $font_size = null, $known_visitor = null, $label_position = null, $language = null, $locale = null, $name = null, $progressive_profiling = null, $theme = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse'; - $request = $this->createLpFormsUsingPOSTRequest($create_form_request); + $request = $this->createLpFormsUsingPOSTRequest($folder, $description, $font_family, $font_size, $known_visitor, $label_position, $language, $locale, $name, $progressive_profiling, $theme); try { $options = $this->createHttpClientOption(); @@ -1022,14 +1073,24 @@ public function createLpFormsUsingPOSTWithHttpInfo($create_form_request) * * Create Form * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLpFormRequest $create_form_request createFormRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the form (optional) + * @param string $font_family font-family property for the form (optional) + * @param string $font_size font-size property of the form (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO $known_visitor (optional) + * @param string $label_position Default positioning of labels. (optional) + * @param string $language Language of the form (optional) + * @param string $locale Locale of the form (optional) + * @param string $name Name of the form (optional) + * @param bool $progressive_profiling Whether progressive profiling is enabled for the form (optional) + * @param string $theme CSS theme for the form to use (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createLpFormsUsingPOSTAsync($create_form_request) + public function createLpFormsUsingPOSTAsync($folder, $description = null, $font_family = null, $font_size = null, $known_visitor = null, $label_position = null, $language = null, $locale = null, $name = null, $progressive_profiling = null, $theme = null) { - return $this->createLpFormsUsingPOSTAsyncWithHttpInfo($create_form_request) + return $this->createLpFormsUsingPOSTAsyncWithHttpInfo($folder, $description, $font_family, $font_size, $known_visitor, $label_position, $language, $locale, $name, $progressive_profiling, $theme) ->then( function ($response) { return $response[0]; @@ -1042,15 +1103,25 @@ function ($response) { * * Create Form * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLpFormRequest $create_form_request createFormRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the form (optional) + * @param string $font_family font-family property for the form (optional) + * @param string $font_size font-size property of the form (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO $known_visitor (optional) + * @param string $label_position Default positioning of labels. (optional) + * @param string $language Language of the form (optional) + * @param string $locale Locale of the form (optional) + * @param string $name Name of the form (optional) + * @param bool $progressive_profiling Whether progressive profiling is enabled for the form (optional) + * @param string $theme CSS theme for the form to use (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createLpFormsUsingPOSTAsyncWithHttpInfo($create_form_request) + public function createLpFormsUsingPOSTAsyncWithHttpInfo($folder, $description = null, $font_family = null, $font_size = null, $known_visitor = null, $label_position = null, $language = null, $locale = null, $name = null, $progressive_profiling = null, $theme = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse'; - $request = $this->createLpFormsUsingPOSTRequest($create_form_request); + $request = $this->createLpFormsUsingPOSTRequest($folder, $description, $font_family, $font_size, $known_visitor, $label_position, $language, $locale, $name, $progressive_profiling, $theme); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -1092,17 +1163,27 @@ function ($exception) { /** * Create request for operation 'createLpFormsUsingPOST' * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLpFormRequest $create_form_request createFormRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the form (optional) + * @param string $font_family font-family property for the form (optional) + * @param string $font_size font-size property of the form (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO $known_visitor (optional) + * @param string $label_position Default positioning of labels. (optional) + * @param string $language Language of the form (optional) + * @param string $locale Locale of the form (optional) + * @param string $name Name of the form (optional) + * @param bool $progressive_profiling Whether progressive profiling is enabled for the form (optional) + * @param string $theme CSS theme for the form to use (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function createLpFormsUsingPOSTRequest($create_form_request) + protected function createLpFormsUsingPOSTRequest($folder, $description = null, $font_family = null, $font_size = null, $known_visitor = null, $label_position = null, $language = null, $locale = null, $name = null, $progressive_profiling = null, $theme = null) { - // verify the required parameter 'create_form_request' is set - if ($create_form_request === null || (is_array($create_form_request) && count($create_form_request) === 0)) { + // verify the required parameter 'folder' is set + if ($folder === null || (is_array($folder) && count($folder) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $create_form_request when calling createLpFormsUsingPOST' + 'Missing the required parameter $folder when calling createLpFormsUsingPOST' ); } @@ -1115,11 +1196,52 @@ protected function createLpFormsUsingPOSTRequest($create_form_request) + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($folder !== null) { + $formParams['folder'] = ObjectSerializer::toFormValue($folder); + } + // form params + if ($font_family !== null) { + $formParams['fontFamily'] = ObjectSerializer::toFormValue($font_family); + } + // form params + if ($font_size !== null) { + $formParams['fontSize'] = ObjectSerializer::toFormValue($font_size); + } + // form params + if ($known_visitor !== null) { + $formParams['knownVisitor'] = ObjectSerializer::toFormValue($known_visitor); + } + // form params + if ($label_position !== null) { + $formParams['labelPosition'] = ObjectSerializer::toFormValue($label_position); + } + // form params + if ($language !== null) { + $formParams['language'] = ObjectSerializer::toFormValue($language); + } + // form params + if ($locale !== null) { + $formParams['locale'] = ObjectSerializer::toFormValue($locale); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($progressive_profiling !== null) { + $formParams['progressiveProfiling'] = ObjectSerializer::toFormValue($progressive_profiling); + } + // form params + if ($theme !== null) { + $formParams['theme'] = ObjectSerializer::toFormValue($theme); + } // body params $_tempBody = null; - if (isset($create_form_request)) { - $_tempBody = $create_form_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -1397,7 +1519,7 @@ protected function deleteFormByIdUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1666,7 +1788,7 @@ protected function discardFormByIdUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1944,7 +2066,7 @@ protected function getLpFormByIdUsingGETRequest($id, $status = null) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2227,7 +2349,7 @@ protected function getLpFormByNameUsingGETRequest($name, $status = null, $folder } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2505,7 +2627,7 @@ protected function getThankYouPageByIdUsingGETRequest($id, $status = null) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2572,15 +2694,18 @@ protected function getThankYouPageByIdUsingGETRequest($id, $status = null) * Update Submit Button * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\SubmitButtonRequest $submit_button_request submitButtonRequest (required) + * @param int $button_position Location in pixels of the button relative to the left of the form (optional) + * @param string $button_style Style of the button (optional) + * @param string $label Label text of the button (optional) + * @param string $waiting_label Waiting text of the button (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse */ - public function updateFormSubmitButtonUsingPOST($id, $submit_button_request) + public function updateFormSubmitButtonUsingPOST($id, $button_position = null, $button_style = null, $label = null, $waiting_label = null) { - list($response) = $this->updateFormSubmitButtonUsingPOSTWithHttpInfo($id, $submit_button_request); + list($response) = $this->updateFormSubmitButtonUsingPOSTWithHttpInfo($id, $button_position, $button_style, $label, $waiting_label); return $response; } @@ -2590,16 +2715,19 @@ public function updateFormSubmitButtonUsingPOST($id, $submit_button_request) * Update Submit Button * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\SubmitButtonRequest $submit_button_request submitButtonRequest (required) + * @param int $button_position Location in pixels of the button relative to the left of the form (optional) + * @param string $button_style Style of the button (optional) + * @param string $label Label text of the button (optional) + * @param string $waiting_label Waiting text of the button (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateFormSubmitButtonUsingPOSTWithHttpInfo($id, $submit_button_request) + public function updateFormSubmitButtonUsingPOSTWithHttpInfo($id, $button_position = null, $button_style = null, $label = null, $waiting_label = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse'; - $request = $this->updateFormSubmitButtonUsingPOSTRequest($id, $submit_button_request); + $request = $this->updateFormSubmitButtonUsingPOSTRequest($id, $button_position, $button_style, $label, $waiting_label); try { $options = $this->createHttpClientOption(); @@ -2666,14 +2794,17 @@ public function updateFormSubmitButtonUsingPOSTWithHttpInfo($id, $submit_button_ * Update Submit Button * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\SubmitButtonRequest $submit_button_request submitButtonRequest (required) + * @param int $button_position Location in pixels of the button relative to the left of the form (optional) + * @param string $button_style Style of the button (optional) + * @param string $label Label text of the button (optional) + * @param string $waiting_label Waiting text of the button (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateFormSubmitButtonUsingPOSTAsync($id, $submit_button_request) + public function updateFormSubmitButtonUsingPOSTAsync($id, $button_position = null, $button_style = null, $label = null, $waiting_label = null) { - return $this->updateFormSubmitButtonUsingPOSTAsyncWithHttpInfo($id, $submit_button_request) + return $this->updateFormSubmitButtonUsingPOSTAsyncWithHttpInfo($id, $button_position, $button_style, $label, $waiting_label) ->then( function ($response) { return $response[0]; @@ -2687,15 +2818,18 @@ function ($response) { * Update Submit Button * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\SubmitButtonRequest $submit_button_request submitButtonRequest (required) + * @param int $button_position Location in pixels of the button relative to the left of the form (optional) + * @param string $button_style Style of the button (optional) + * @param string $label Label text of the button (optional) + * @param string $waiting_label Waiting text of the button (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateFormSubmitButtonUsingPOSTAsyncWithHttpInfo($id, $submit_button_request) + public function updateFormSubmitButtonUsingPOSTAsyncWithHttpInfo($id, $button_position = null, $button_style = null, $label = null, $waiting_label = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse'; - $request = $this->updateFormSubmitButtonUsingPOSTRequest($id, $submit_button_request); + $request = $this->updateFormSubmitButtonUsingPOSTRequest($id, $button_position, $button_style, $label, $waiting_label); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -2738,12 +2872,15 @@ function ($exception) { * Create request for operation 'updateFormSubmitButtonUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\SubmitButtonRequest $submit_button_request submitButtonRequest (required) + * @param int $button_position Location in pixels of the button relative to the left of the form (optional) + * @param string $button_style Style of the button (optional) + * @param string $label Label text of the button (optional) + * @param string $waiting_label Waiting text of the button (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateFormSubmitButtonUsingPOSTRequest($id, $submit_button_request) + protected function updateFormSubmitButtonUsingPOSTRequest($id, $button_position = null, $button_style = null, $label = null, $waiting_label = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -2751,12 +2888,6 @@ protected function updateFormSubmitButtonUsingPOSTRequest($id, $submit_button_re 'Missing the required parameter $id when calling updateFormSubmitButtonUsingPOST' ); } - // verify the required parameter 'submit_button_request' is set - if ($submit_button_request === null || (is_array($submit_button_request) && count($submit_button_request) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $submit_button_request when calling updateFormSubmitButtonUsingPOST' - ); - } $resourcePath = '/rest/asset/v1/form/{id}/submitButton.json'; $formParams = []; @@ -2775,11 +2906,24 @@ protected function updateFormSubmitButtonUsingPOSTRequest($id, $submit_button_re ); } + // form params + if ($button_position !== null) { + $formParams['buttonPosition'] = ObjectSerializer::toFormValue($button_position); + } + // form params + if ($button_style !== null) { + $formParams['buttonStyle'] = ObjectSerializer::toFormValue($button_style); + } + // form params + if ($label !== null) { + $formParams['label'] = ObjectSerializer::toFormValue($label); + } + // form params + if ($waiting_label !== null) { + $formParams['waitingLabel'] = ObjectSerializer::toFormValue($waiting_label); + } // body params $_tempBody = null; - if (isset($submit_button_request)) { - $_tempBody = $submit_button_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -2855,15 +2999,25 @@ protected function updateFormSubmitButtonUsingPOSTRequest($id, $submit_button_re * Update Form Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFormMetaDataRequest $update_form_meta_data_request updateFormMetaDataRequest (required) + * @param string $custom_css Custom CSS to apply to the form (optional) + * @param string $description Description of the form (optional) + * @param string $font_family font-family property for the form (optional) + * @param string $font_size font-size property of the form (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO $known_visitor known_visitor (optional) + * @param string $label_position Default positioning of labels. (optional) + * @param string $language Language of the form (optional) + * @param string $locale Locale of the form (optional) + * @param string $name Name of the form (optional) + * @param bool $progressive_profiling Whether progressive profiling is enabled for the form (optional) + * @param string $theme CSS theme for the form to use (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse */ - public function updateFormsUsingPOST($id, $update_form_meta_data_request) + public function updateFormsUsingPOST($id, $custom_css = null, $description = null, $font_family = null, $font_size = null, $known_visitor = null, $label_position = null, $language = null, $locale = null, $name = null, $progressive_profiling = null, $theme = null) { - list($response) = $this->updateFormsUsingPOSTWithHttpInfo($id, $update_form_meta_data_request); + list($response) = $this->updateFormsUsingPOSTWithHttpInfo($id, $custom_css, $description, $font_family, $font_size, $known_visitor, $label_position, $language, $locale, $name, $progressive_profiling, $theme); return $response; } @@ -2873,16 +3027,26 @@ public function updateFormsUsingPOST($id, $update_form_meta_data_request) * Update Form Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFormMetaDataRequest $update_form_meta_data_request updateFormMetaDataRequest (required) + * @param string $custom_css Custom CSS to apply to the form (optional) + * @param string $description Description of the form (optional) + * @param string $font_family font-family property for the form (optional) + * @param string $font_size font-size property of the form (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO $known_visitor (optional) + * @param string $label_position Default positioning of labels. (optional) + * @param string $language Language of the form (optional) + * @param string $locale Locale of the form (optional) + * @param string $name Name of the form (optional) + * @param bool $progressive_profiling Whether progressive profiling is enabled for the form (optional) + * @param string $theme CSS theme for the form to use (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateFormsUsingPOSTWithHttpInfo($id, $update_form_meta_data_request) + public function updateFormsUsingPOSTWithHttpInfo($id, $custom_css = null, $description = null, $font_family = null, $font_size = null, $known_visitor = null, $label_position = null, $language = null, $locale = null, $name = null, $progressive_profiling = null, $theme = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse'; - $request = $this->updateFormsUsingPOSTRequest($id, $update_form_meta_data_request); + $request = $this->updateFormsUsingPOSTRequest($id, $custom_css, $description, $font_family, $font_size, $known_visitor, $label_position, $language, $locale, $name, $progressive_profiling, $theme); try { $options = $this->createHttpClientOption(); @@ -2949,14 +3113,24 @@ public function updateFormsUsingPOSTWithHttpInfo($id, $update_form_meta_data_req * Update Form Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFormMetaDataRequest $update_form_meta_data_request updateFormMetaDataRequest (required) + * @param string $custom_css Custom CSS to apply to the form (optional) + * @param string $description Description of the form (optional) + * @param string $font_family font-family property for the form (optional) + * @param string $font_size font-size property of the form (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO $known_visitor (optional) + * @param string $label_position Default positioning of labels. (optional) + * @param string $language Language of the form (optional) + * @param string $locale Locale of the form (optional) + * @param string $name Name of the form (optional) + * @param bool $progressive_profiling Whether progressive profiling is enabled for the form (optional) + * @param string $theme CSS theme for the form to use (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateFormsUsingPOSTAsync($id, $update_form_meta_data_request) + public function updateFormsUsingPOSTAsync($id, $custom_css = null, $description = null, $font_family = null, $font_size = null, $known_visitor = null, $label_position = null, $language = null, $locale = null, $name = null, $progressive_profiling = null, $theme = null) { - return $this->updateFormsUsingPOSTAsyncWithHttpInfo($id, $update_form_meta_data_request) + return $this->updateFormsUsingPOSTAsyncWithHttpInfo($id, $custom_css, $description, $font_family, $font_size, $known_visitor, $label_position, $language, $locale, $name, $progressive_profiling, $theme) ->then( function ($response) { return $response[0]; @@ -2970,15 +3144,25 @@ function ($response) { * Update Form Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFormMetaDataRequest $update_form_meta_data_request updateFormMetaDataRequest (required) + * @param string $custom_css Custom CSS to apply to the form (optional) + * @param string $description Description of the form (optional) + * @param string $font_family font-family property for the form (optional) + * @param string $font_size font-size property of the form (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO $known_visitor (optional) + * @param string $label_position Default positioning of labels. (optional) + * @param string $language Language of the form (optional) + * @param string $locale Locale of the form (optional) + * @param string $name Name of the form (optional) + * @param bool $progressive_profiling Whether progressive profiling is enabled for the form (optional) + * @param string $theme CSS theme for the form to use (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateFormsUsingPOSTAsyncWithHttpInfo($id, $update_form_meta_data_request) + public function updateFormsUsingPOSTAsyncWithHttpInfo($id, $custom_css = null, $description = null, $font_family = null, $font_size = null, $known_visitor = null, $label_position = null, $language = null, $locale = null, $name = null, $progressive_profiling = null, $theme = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpFormResponse'; - $request = $this->updateFormsUsingPOSTRequest($id, $update_form_meta_data_request); + $request = $this->updateFormsUsingPOSTRequest($id, $custom_css, $description, $font_family, $font_size, $known_visitor, $label_position, $language, $locale, $name, $progressive_profiling, $theme); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -3021,12 +3205,22 @@ function ($exception) { * Create request for operation 'updateFormsUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateFormMetaDataRequest $update_form_meta_data_request updateFormMetaDataRequest (required) + * @param string $custom_css Custom CSS to apply to the form (optional) + * @param string $description Description of the form (optional) + * @param string $font_family font-family property for the form (optional) + * @param string $font_size font-size property of the form (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO $known_visitor (optional) + * @param string $label_position Default positioning of labels. (optional) + * @param string $language Language of the form (optional) + * @param string $locale Locale of the form (optional) + * @param string $name Name of the form (optional) + * @param bool $progressive_profiling Whether progressive profiling is enabled for the form (optional) + * @param string $theme CSS theme for the form to use (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateFormsUsingPOSTRequest($id, $update_form_meta_data_request) + protected function updateFormsUsingPOSTRequest($id, $custom_css = null, $description = null, $font_family = null, $font_size = null, $known_visitor = null, $label_position = null, $language = null, $locale = null, $name = null, $progressive_profiling = null, $theme = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -3034,12 +3228,6 @@ protected function updateFormsUsingPOSTRequest($id, $update_form_meta_data_reque 'Missing the required parameter $id when calling updateFormsUsingPOST' ); } - // verify the required parameter 'update_form_meta_data_request' is set - if ($update_form_meta_data_request === null || (is_array($update_form_meta_data_request) && count($update_form_meta_data_request) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $update_form_meta_data_request when calling updateFormsUsingPOST' - ); - } $resourcePath = '/rest/asset/v1/form/{id}.json'; $formParams = []; @@ -3058,11 +3246,52 @@ protected function updateFormsUsingPOSTRequest($id, $update_form_meta_data_reque ); } + // form params + if ($custom_css !== null) { + $formParams['customCss'] = ObjectSerializer::toFormValue($custom_css); + } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($font_family !== null) { + $formParams['fontFamily'] = ObjectSerializer::toFormValue($font_family); + } + // form params + if ($font_size !== null) { + $formParams['fontSize'] = ObjectSerializer::toFormValue($font_size); + } + // form params + if ($known_visitor !== null) { + $formParams['knownVisitor'] = ObjectSerializer::toFormValue($known_visitor); + } + // form params + if ($label_position !== null) { + $formParams['labelPosition'] = ObjectSerializer::toFormValue($label_position); + } + // form params + if ($language !== null) { + $formParams['language'] = ObjectSerializer::toFormValue($language); + } + // form params + if ($locale !== null) { + $formParams['locale'] = ObjectSerializer::toFormValue($locale); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($progressive_profiling !== null) { + $formParams['progressiveProfiling'] = ObjectSerializer::toFormValue($progressive_profiling); + } + // form params + if ($theme !== null) { + $formParams['theme'] = ObjectSerializer::toFormValue($theme); + } // body params $_tempBody = null; - if (isset($update_form_meta_data_request)) { - $_tempBody = $update_form_meta_data_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -3138,15 +3367,15 @@ protected function updateFormsUsingPOSTRequest($id, $update_form_meta_data_reque * Update Thank You Page * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateThankYouPageRequest $thank_you_page_request thankYouPageRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\ThankYouPageRequest[] $thankyou JSON array of followup rules (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfThankYouPageResponse */ - public function updateThankYouPageByIdUsingPOST($id, $thank_you_page_request) + public function updateThankYouPageByIdUsingPOST($id, $thankyou = null) { - list($response) = $this->updateThankYouPageByIdUsingPOSTWithHttpInfo($id, $thank_you_page_request); + list($response) = $this->updateThankYouPageByIdUsingPOSTWithHttpInfo($id, $thankyou); return $response; } @@ -3156,16 +3385,16 @@ public function updateThankYouPageByIdUsingPOST($id, $thank_you_page_request) * Update Thank You Page * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateThankYouPageRequest $thank_you_page_request thankYouPageRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\ThankYouPageRequest[] $thankyou JSON array of followup rules (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfThankYouPageResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateThankYouPageByIdUsingPOSTWithHttpInfo($id, $thank_you_page_request) + public function updateThankYouPageByIdUsingPOSTWithHttpInfo($id, $thankyou = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfThankYouPageResponse'; - $request = $this->updateThankYouPageByIdUsingPOSTRequest($id, $thank_you_page_request); + $request = $this->updateThankYouPageByIdUsingPOSTRequest($id, $thankyou); try { $options = $this->createHttpClientOption(); @@ -3232,14 +3461,14 @@ public function updateThankYouPageByIdUsingPOSTWithHttpInfo($id, $thank_you_page * Update Thank You Page * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateThankYouPageRequest $thank_you_page_request thankYouPageRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\ThankYouPageRequest[] $thankyou JSON array of followup rules (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateThankYouPageByIdUsingPOSTAsync($id, $thank_you_page_request) + public function updateThankYouPageByIdUsingPOSTAsync($id, $thankyou = null) { - return $this->updateThankYouPageByIdUsingPOSTAsyncWithHttpInfo($id, $thank_you_page_request) + return $this->updateThankYouPageByIdUsingPOSTAsyncWithHttpInfo($id, $thankyou) ->then( function ($response) { return $response[0]; @@ -3253,15 +3482,15 @@ function ($response) { * Update Thank You Page * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateThankYouPageRequest $thank_you_page_request thankYouPageRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\ThankYouPageRequest[] $thankyou JSON array of followup rules (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateThankYouPageByIdUsingPOSTAsyncWithHttpInfo($id, $thank_you_page_request) + public function updateThankYouPageByIdUsingPOSTAsyncWithHttpInfo($id, $thankyou = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfThankYouPageResponse'; - $request = $this->updateThankYouPageByIdUsingPOSTRequest($id, $thank_you_page_request); + $request = $this->updateThankYouPageByIdUsingPOSTRequest($id, $thankyou); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -3304,12 +3533,12 @@ function ($exception) { * Create request for operation 'updateThankYouPageByIdUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateThankYouPageRequest $thank_you_page_request thankYouPageRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\ThankYouPageRequest[] $thankyou JSON array of followup rules (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateThankYouPageByIdUsingPOSTRequest($id, $thank_you_page_request) + protected function updateThankYouPageByIdUsingPOSTRequest($id, $thankyou = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -3317,12 +3546,6 @@ protected function updateThankYouPageByIdUsingPOSTRequest($id, $thank_you_page_r 'Missing the required parameter $id when calling updateThankYouPageByIdUsingPOST' ); } - // verify the required parameter 'thank_you_page_request' is set - if ($thank_you_page_request === null || (is_array($thank_you_page_request) && count($thank_you_page_request) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $thank_you_page_request when calling updateThankYouPageByIdUsingPOST' - ); - } $resourcePath = '/rest/asset/v1/form/{id}/thankYouPage.json'; $formParams = []; @@ -3341,11 +3564,12 @@ protected function updateThankYouPageByIdUsingPOSTRequest($id, $thank_you_page_r ); } + // form params + if ($thankyou !== null) { + $formParams['thankyou'] = ObjectSerializer::toFormValue($thankyou); + } // body params $_tempBody = null; - if (isset($thank_you_page_request)) { - $_tempBody = $thank_you_page_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( diff --git a/src/Asset/Api/LandingPageContentApi.php b/src/Asset/Api/LandingPageContentApi.php index 8e1c0e3d..80a5594e 100644 --- a/src/Asset/Api/LandingPageContentApi.php +++ b/src/Asset/Api/LandingPageContentApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -93,15 +93,31 @@ public function getConfig() * Add Landing Page Content Section * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageContentRequest $request request (required) + * @param string $content_id Id of the content section. Also the HTML id of the section. (required) + * @param string $type Type of content section (required) + * @param string $background_color background-color property of the HTML section (optional) + * @param string $border_color border-color property of the HTML section (optional) + * @param string $border_style border-style property of the HTML section (optional) + * @param string $border_width border-width property of the HTML section (optional) + * @param string $height height property of the HTML section (optional) + * @param bool $hide_desktop Hide the section when displayed on a desktop browser. Default false (optional) + * @param bool $hide_mobile Hide the section when displayed on a mobile browser. Default false (optional) + * @param string $image_open_new_window image_open_new_window (optional) + * @param string $left left property of the HTML section (optional) + * @param string $link_url URL parameter of a link type section (optional) + * @param string $opacity opacity property of the HTML section (optional) + * @param string $top top property of the HTML section (optional) + * @param string $value Type of content section (optional) + * @param string $width width property of the HTML section (optional) + * @param string $z_index z-index property of the HTML section (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse */ - public function addLandingPageContentUsingPOST($id, $request) + public function addLandingPageContentUsingPOST($id, $content_id, $type, $background_color = null, $border_color = null, $border_style = null, $border_width = null, $height = null, $hide_desktop = null, $hide_mobile = null, $image_open_new_window = null, $left = null, $link_url = null, $opacity = null, $top = null, $value = null, $width = null, $z_index = null) { - list($response) = $this->addLandingPageContentUsingPOSTWithHttpInfo($id, $request); + list($response) = $this->addLandingPageContentUsingPOSTWithHttpInfo($id, $content_id, $type, $background_color, $border_color, $border_style, $border_width, $height, $hide_desktop, $hide_mobile, $image_open_new_window, $left, $link_url, $opacity, $top, $value, $width, $z_index); return $response; } @@ -111,16 +127,32 @@ public function addLandingPageContentUsingPOST($id, $request) * Add Landing Page Content Section * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageContentRequest $request request (required) + * @param string $content_id Id of the content section. Also the HTML id of the section. (required) + * @param string $type Type of content section (required) + * @param string $background_color background-color property of the HTML section (optional) + * @param string $border_color border-color property of the HTML section (optional) + * @param string $border_style border-style property of the HTML section (optional) + * @param string $border_width border-width property of the HTML section (optional) + * @param string $height height property of the HTML section (optional) + * @param bool $hide_desktop Hide the section when displayed on a desktop browser. Default false (optional) + * @param bool $hide_mobile Hide the section when displayed on a mobile browser. Default false (optional) + * @param string $image_open_new_window (optional) + * @param string $left left property of the HTML section (optional) + * @param string $link_url URL parameter of a link type section (optional) + * @param string $opacity opacity property of the HTML section (optional) + * @param string $top top property of the HTML section (optional) + * @param string $value Type of content section (optional) + * @param string $width width property of the HTML section (optional) + * @param string $z_index z-index property of the HTML section (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse, HTTP status code, HTTP response headers (array of strings) */ - public function addLandingPageContentUsingPOSTWithHttpInfo($id, $request) + public function addLandingPageContentUsingPOSTWithHttpInfo($id, $content_id, $type, $background_color = null, $border_color = null, $border_style = null, $border_width = null, $height = null, $hide_desktop = null, $hide_mobile = null, $image_open_new_window = null, $left = null, $link_url = null, $opacity = null, $top = null, $value = null, $width = null, $z_index = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->addLandingPageContentUsingPOSTRequest($id, $request); + $request = $this->addLandingPageContentUsingPOSTRequest($id, $content_id, $type, $background_color, $border_color, $border_style, $border_width, $height, $hide_desktop, $hide_mobile, $image_open_new_window, $left, $link_url, $opacity, $top, $value, $width, $z_index); try { $options = $this->createHttpClientOption(); @@ -187,14 +219,30 @@ public function addLandingPageContentUsingPOSTWithHttpInfo($id, $request) * Add Landing Page Content Section * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageContentRequest $request request (required) + * @param string $content_id Id of the content section. Also the HTML id of the section. (required) + * @param string $type Type of content section (required) + * @param string $background_color background-color property of the HTML section (optional) + * @param string $border_color border-color property of the HTML section (optional) + * @param string $border_style border-style property of the HTML section (optional) + * @param string $border_width border-width property of the HTML section (optional) + * @param string $height height property of the HTML section (optional) + * @param bool $hide_desktop Hide the section when displayed on a desktop browser. Default false (optional) + * @param bool $hide_mobile Hide the section when displayed on a mobile browser. Default false (optional) + * @param string $image_open_new_window (optional) + * @param string $left left property of the HTML section (optional) + * @param string $link_url URL parameter of a link type section (optional) + * @param string $opacity opacity property of the HTML section (optional) + * @param string $top top property of the HTML section (optional) + * @param string $value Type of content section (optional) + * @param string $width width property of the HTML section (optional) + * @param string $z_index z-index property of the HTML section (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function addLandingPageContentUsingPOSTAsync($id, $request) + public function addLandingPageContentUsingPOSTAsync($id, $content_id, $type, $background_color = null, $border_color = null, $border_style = null, $border_width = null, $height = null, $hide_desktop = null, $hide_mobile = null, $image_open_new_window = null, $left = null, $link_url = null, $opacity = null, $top = null, $value = null, $width = null, $z_index = null) { - return $this->addLandingPageContentUsingPOSTAsyncWithHttpInfo($id, $request) + return $this->addLandingPageContentUsingPOSTAsyncWithHttpInfo($id, $content_id, $type, $background_color, $border_color, $border_style, $border_width, $height, $hide_desktop, $hide_mobile, $image_open_new_window, $left, $link_url, $opacity, $top, $value, $width, $z_index) ->then( function ($response) { return $response[0]; @@ -208,15 +256,31 @@ function ($response) { * Add Landing Page Content Section * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageContentRequest $request request (required) + * @param string $content_id Id of the content section. Also the HTML id of the section. (required) + * @param string $type Type of content section (required) + * @param string $background_color background-color property of the HTML section (optional) + * @param string $border_color border-color property of the HTML section (optional) + * @param string $border_style border-style property of the HTML section (optional) + * @param string $border_width border-width property of the HTML section (optional) + * @param string $height height property of the HTML section (optional) + * @param bool $hide_desktop Hide the section when displayed on a desktop browser. Default false (optional) + * @param bool $hide_mobile Hide the section when displayed on a mobile browser. Default false (optional) + * @param string $image_open_new_window (optional) + * @param string $left left property of the HTML section (optional) + * @param string $link_url URL parameter of a link type section (optional) + * @param string $opacity opacity property of the HTML section (optional) + * @param string $top top property of the HTML section (optional) + * @param string $value Type of content section (optional) + * @param string $width width property of the HTML section (optional) + * @param string $z_index z-index property of the HTML section (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function addLandingPageContentUsingPOSTAsyncWithHttpInfo($id, $request) + public function addLandingPageContentUsingPOSTAsyncWithHttpInfo($id, $content_id, $type, $background_color = null, $border_color = null, $border_style = null, $border_width = null, $height = null, $hide_desktop = null, $hide_mobile = null, $image_open_new_window = null, $left = null, $link_url = null, $opacity = null, $top = null, $value = null, $width = null, $z_index = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->addLandingPageContentUsingPOSTRequest($id, $request); + $request = $this->addLandingPageContentUsingPOSTRequest($id, $content_id, $type, $background_color, $border_color, $border_style, $border_width, $height, $hide_desktop, $hide_mobile, $image_open_new_window, $left, $link_url, $opacity, $top, $value, $width, $z_index); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -259,12 +323,28 @@ function ($exception) { * Create request for operation 'addLandingPageContentUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageContentRequest $request request (required) + * @param string $content_id Id of the content section. Also the HTML id of the section. (required) + * @param string $type Type of content section (required) + * @param string $background_color background-color property of the HTML section (optional) + * @param string $border_color border-color property of the HTML section (optional) + * @param string $border_style border-style property of the HTML section (optional) + * @param string $border_width border-width property of the HTML section (optional) + * @param string $height height property of the HTML section (optional) + * @param bool $hide_desktop Hide the section when displayed on a desktop browser. Default false (optional) + * @param bool $hide_mobile Hide the section when displayed on a mobile browser. Default false (optional) + * @param string $image_open_new_window (optional) + * @param string $left left property of the HTML section (optional) + * @param string $link_url URL parameter of a link type section (optional) + * @param string $opacity opacity property of the HTML section (optional) + * @param string $top top property of the HTML section (optional) + * @param string $value Type of content section (optional) + * @param string $width width property of the HTML section (optional) + * @param string $z_index z-index property of the HTML section (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function addLandingPageContentUsingPOSTRequest($id, $request) + protected function addLandingPageContentUsingPOSTRequest($id, $content_id, $type, $background_color = null, $border_color = null, $border_style = null, $border_width = null, $height = null, $hide_desktop = null, $hide_mobile = null, $image_open_new_window = null, $left = null, $link_url = null, $opacity = null, $top = null, $value = null, $width = null, $z_index = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -272,10 +352,16 @@ protected function addLandingPageContentUsingPOSTRequest($id, $request) 'Missing the required parameter $id when calling addLandingPageContentUsingPOST' ); } - // verify the required parameter 'request' is set - if ($request === null || (is_array($request) && count($request) === 0)) { + // verify the required parameter 'content_id' is set + if ($content_id === null || (is_array($content_id) && count($content_id) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $content_id when calling addLandingPageContentUsingPOST' + ); + } + // verify the required parameter 'type' is set + if ($type === null || (is_array($type) && count($type) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $request when calling addLandingPageContentUsingPOST' + 'Missing the required parameter $type when calling addLandingPageContentUsingPOST' ); } @@ -296,11 +382,76 @@ protected function addLandingPageContentUsingPOSTRequest($id, $request) ); } + // form params + if ($background_color !== null) { + $formParams['backgroundColor'] = ObjectSerializer::toFormValue($background_color); + } + // form params + if ($border_color !== null) { + $formParams['borderColor'] = ObjectSerializer::toFormValue($border_color); + } + // form params + if ($border_style !== null) { + $formParams['borderStyle'] = ObjectSerializer::toFormValue($border_style); + } + // form params + if ($border_width !== null) { + $formParams['borderWidth'] = ObjectSerializer::toFormValue($border_width); + } + // form params + if ($content_id !== null) { + $formParams['contentId'] = ObjectSerializer::toFormValue($content_id); + } + // form params + if ($height !== null) { + $formParams['height'] = ObjectSerializer::toFormValue($height); + } + // form params + if ($hide_desktop !== null) { + $formParams['hideDesktop'] = ObjectSerializer::toFormValue($hide_desktop); + } + // form params + if ($hide_mobile !== null) { + $formParams['hideMobile'] = ObjectSerializer::toFormValue($hide_mobile); + } + // form params + if ($image_open_new_window !== null) { + $formParams['imageOpenNewWindow'] = ObjectSerializer::toFormValue($image_open_new_window); + } + // form params + if ($left !== null) { + $formParams['left'] = ObjectSerializer::toFormValue($left); + } + // form params + if ($link_url !== null) { + $formParams['linkUrl'] = ObjectSerializer::toFormValue($link_url); + } + // form params + if ($opacity !== null) { + $formParams['opacity'] = ObjectSerializer::toFormValue($opacity); + } + // form params + if ($top !== null) { + $formParams['top'] = ObjectSerializer::toFormValue($top); + } + // form params + if ($type !== null) { + $formParams['type'] = ObjectSerializer::toFormValue($type); + } + // form params + if ($value !== null) { + $formParams['value'] = ObjectSerializer::toFormValue($value); + } + // form params + if ($width !== null) { + $formParams['width'] = ObjectSerializer::toFormValue($width); + } + // form params + if ($z_index !== null) { + $formParams['zIndex'] = ObjectSerializer::toFormValue($z_index); + } // body params $_tempBody = null; - if (isset($request)) { - $_tempBody = $request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -587,7 +738,7 @@ protected function getLandingPageContentUsingGETRequest($id, $status = null) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -875,7 +1026,7 @@ protected function getLandingPageDynamicContentsUsingGETRequest($id, $content_id } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1163,7 +1314,7 @@ protected function removeLandingPageContentUsingPOSTRequest($id, $content_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1231,15 +1382,31 @@ protected function removeLandingPageContentUsingPOSTRequest($id, $content_id) * * @param int $id Id of landing page (required) * @param string $content_id Id of landing page content section (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageContentRequest $request Content properties (required) + * @param string $type Type of content section (required) + * @param string $background_color background-color property of the HTML section (optional) + * @param string $border_color border-color property of the HTML section (optional) + * @param string $border_style border-style property of the HTML section (optional) + * @param string $border_width border-width property of the HTML section (optional) + * @param string $height height property of the HTML section (optional) + * @param bool $hide_desktop Hide the section when displayed on a desktop browser. Default false (optional) + * @param bool $hide_mobile Hide the section when displayed on a mobile browser. Default false (optional) + * @param string $image_open_new_window image_open_new_window (optional) + * @param int $index Index of the content section. Determines the order of the section in the landing page (optional) + * @param string $left left property of the HTML section (optional) + * @param string $link_url URL parameter of a link type section (optional) + * @param string $opacity opacity property of the HTML section (optional) + * @param string $top top property of the HTML section (optional) + * @param string $value Type of content section (optional) + * @param string $width width property of the HTML section (optional) + * @param string $z_index z-index property of the HTML section (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse */ - public function updateLandingPageContentUsingPOST($id, $content_id, $request) + public function updateLandingPageContentUsingPOST($id, $content_id, $type, $background_color = null, $border_color = null, $border_style = null, $border_width = null, $height = null, $hide_desktop = null, $hide_mobile = null, $image_open_new_window = null, $index = null, $left = null, $link_url = null, $opacity = null, $top = null, $value = null, $width = null, $z_index = null) { - list($response) = $this->updateLandingPageContentUsingPOSTWithHttpInfo($id, $content_id, $request); + list($response) = $this->updateLandingPageContentUsingPOSTWithHttpInfo($id, $content_id, $type, $background_color, $border_color, $border_style, $border_width, $height, $hide_desktop, $hide_mobile, $image_open_new_window, $index, $left, $link_url, $opacity, $top, $value, $width, $z_index); return $response; } @@ -1250,16 +1417,32 @@ public function updateLandingPageContentUsingPOST($id, $content_id, $request) * * @param int $id Id of landing page (required) * @param string $content_id Id of landing page content section (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageContentRequest $request Content properties (required) + * @param string $type Type of content section (required) + * @param string $background_color background-color property of the HTML section (optional) + * @param string $border_color border-color property of the HTML section (optional) + * @param string $border_style border-style property of the HTML section (optional) + * @param string $border_width border-width property of the HTML section (optional) + * @param string $height height property of the HTML section (optional) + * @param bool $hide_desktop Hide the section when displayed on a desktop browser. Default false (optional) + * @param bool $hide_mobile Hide the section when displayed on a mobile browser. Default false (optional) + * @param string $image_open_new_window (optional) + * @param int $index Index of the content section. Determines the order of the section in the landing page (optional) + * @param string $left left property of the HTML section (optional) + * @param string $link_url URL parameter of a link type section (optional) + * @param string $opacity opacity property of the HTML section (optional) + * @param string $top top property of the HTML section (optional) + * @param string $value Type of content section (optional) + * @param string $width width property of the HTML section (optional) + * @param string $z_index z-index property of the HTML section (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateLandingPageContentUsingPOSTWithHttpInfo($id, $content_id, $request) + public function updateLandingPageContentUsingPOSTWithHttpInfo($id, $content_id, $type, $background_color = null, $border_color = null, $border_style = null, $border_width = null, $height = null, $hide_desktop = null, $hide_mobile = null, $image_open_new_window = null, $index = null, $left = null, $link_url = null, $opacity = null, $top = null, $value = null, $width = null, $z_index = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->updateLandingPageContentUsingPOSTRequest($id, $content_id, $request); + $request = $this->updateLandingPageContentUsingPOSTRequest($id, $content_id, $type, $background_color, $border_color, $border_style, $border_width, $height, $hide_desktop, $hide_mobile, $image_open_new_window, $index, $left, $link_url, $opacity, $top, $value, $width, $z_index); try { $options = $this->createHttpClientOption(); @@ -1327,14 +1510,30 @@ public function updateLandingPageContentUsingPOSTWithHttpInfo($id, $content_id, * * @param int $id Id of landing page (required) * @param string $content_id Id of landing page content section (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageContentRequest $request Content properties (required) + * @param string $type Type of content section (required) + * @param string $background_color background-color property of the HTML section (optional) + * @param string $border_color border-color property of the HTML section (optional) + * @param string $border_style border-style property of the HTML section (optional) + * @param string $border_width border-width property of the HTML section (optional) + * @param string $height height property of the HTML section (optional) + * @param bool $hide_desktop Hide the section when displayed on a desktop browser. Default false (optional) + * @param bool $hide_mobile Hide the section when displayed on a mobile browser. Default false (optional) + * @param string $image_open_new_window (optional) + * @param int $index Index of the content section. Determines the order of the section in the landing page (optional) + * @param string $left left property of the HTML section (optional) + * @param string $link_url URL parameter of a link type section (optional) + * @param string $opacity opacity property of the HTML section (optional) + * @param string $top top property of the HTML section (optional) + * @param string $value Type of content section (optional) + * @param string $width width property of the HTML section (optional) + * @param string $z_index z-index property of the HTML section (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateLandingPageContentUsingPOSTAsync($id, $content_id, $request) + public function updateLandingPageContentUsingPOSTAsync($id, $content_id, $type, $background_color = null, $border_color = null, $border_style = null, $border_width = null, $height = null, $hide_desktop = null, $hide_mobile = null, $image_open_new_window = null, $index = null, $left = null, $link_url = null, $opacity = null, $top = null, $value = null, $width = null, $z_index = null) { - return $this->updateLandingPageContentUsingPOSTAsyncWithHttpInfo($id, $content_id, $request) + return $this->updateLandingPageContentUsingPOSTAsyncWithHttpInfo($id, $content_id, $type, $background_color, $border_color, $border_style, $border_width, $height, $hide_desktop, $hide_mobile, $image_open_new_window, $index, $left, $link_url, $opacity, $top, $value, $width, $z_index) ->then( function ($response) { return $response[0]; @@ -1349,15 +1548,31 @@ function ($response) { * * @param int $id Id of landing page (required) * @param string $content_id Id of landing page content section (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageContentRequest $request Content properties (required) + * @param string $type Type of content section (required) + * @param string $background_color background-color property of the HTML section (optional) + * @param string $border_color border-color property of the HTML section (optional) + * @param string $border_style border-style property of the HTML section (optional) + * @param string $border_width border-width property of the HTML section (optional) + * @param string $height height property of the HTML section (optional) + * @param bool $hide_desktop Hide the section when displayed on a desktop browser. Default false (optional) + * @param bool $hide_mobile Hide the section when displayed on a mobile browser. Default false (optional) + * @param string $image_open_new_window (optional) + * @param int $index Index of the content section. Determines the order of the section in the landing page (optional) + * @param string $left left property of the HTML section (optional) + * @param string $link_url URL parameter of a link type section (optional) + * @param string $opacity opacity property of the HTML section (optional) + * @param string $top top property of the HTML section (optional) + * @param string $value Type of content section (optional) + * @param string $width width property of the HTML section (optional) + * @param string $z_index z-index property of the HTML section (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateLandingPageContentUsingPOSTAsyncWithHttpInfo($id, $content_id, $request) + public function updateLandingPageContentUsingPOSTAsyncWithHttpInfo($id, $content_id, $type, $background_color = null, $border_color = null, $border_style = null, $border_width = null, $height = null, $hide_desktop = null, $hide_mobile = null, $image_open_new_window = null, $index = null, $left = null, $link_url = null, $opacity = null, $top = null, $value = null, $width = null, $z_index = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->updateLandingPageContentUsingPOSTRequest($id, $content_id, $request); + $request = $this->updateLandingPageContentUsingPOSTRequest($id, $content_id, $type, $background_color, $border_color, $border_style, $border_width, $height, $hide_desktop, $hide_mobile, $image_open_new_window, $index, $left, $link_url, $opacity, $top, $value, $width, $z_index); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -1401,12 +1616,28 @@ function ($exception) { * * @param int $id Id of landing page (required) * @param string $content_id Id of landing page content section (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageContentRequest $request Content properties (required) + * @param string $type Type of content section (required) + * @param string $background_color background-color property of the HTML section (optional) + * @param string $border_color border-color property of the HTML section (optional) + * @param string $border_style border-style property of the HTML section (optional) + * @param string $border_width border-width property of the HTML section (optional) + * @param string $height height property of the HTML section (optional) + * @param bool $hide_desktop Hide the section when displayed on a desktop browser. Default false (optional) + * @param bool $hide_mobile Hide the section when displayed on a mobile browser. Default false (optional) + * @param string $image_open_new_window (optional) + * @param int $index Index of the content section. Determines the order of the section in the landing page (optional) + * @param string $left left property of the HTML section (optional) + * @param string $link_url URL parameter of a link type section (optional) + * @param string $opacity opacity property of the HTML section (optional) + * @param string $top top property of the HTML section (optional) + * @param string $value Type of content section (optional) + * @param string $width width property of the HTML section (optional) + * @param string $z_index z-index property of the HTML section (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateLandingPageContentUsingPOSTRequest($id, $content_id, $request) + protected function updateLandingPageContentUsingPOSTRequest($id, $content_id, $type, $background_color = null, $border_color = null, $border_style = null, $border_width = null, $height = null, $hide_desktop = null, $hide_mobile = null, $image_open_new_window = null, $index = null, $left = null, $link_url = null, $opacity = null, $top = null, $value = null, $width = null, $z_index = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -1420,10 +1651,10 @@ protected function updateLandingPageContentUsingPOSTRequest($id, $content_id, $r 'Missing the required parameter $content_id when calling updateLandingPageContentUsingPOST' ); } - // verify the required parameter 'request' is set - if ($request === null || (is_array($request) && count($request) === 0)) { + // verify the required parameter 'type' is set + if ($type === null || (is_array($type) && count($type) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $request when calling updateLandingPageContentUsingPOST' + 'Missing the required parameter $type when calling updateLandingPageContentUsingPOST' ); } @@ -1452,11 +1683,76 @@ protected function updateLandingPageContentUsingPOSTRequest($id, $content_id, $r ); } + // form params + if ($background_color !== null) { + $formParams['backgroundColor'] = ObjectSerializer::toFormValue($background_color); + } + // form params + if ($border_color !== null) { + $formParams['borderColor'] = ObjectSerializer::toFormValue($border_color); + } + // form params + if ($border_style !== null) { + $formParams['borderStyle'] = ObjectSerializer::toFormValue($border_style); + } + // form params + if ($border_width !== null) { + $formParams['borderWidth'] = ObjectSerializer::toFormValue($border_width); + } + // form params + if ($height !== null) { + $formParams['height'] = ObjectSerializer::toFormValue($height); + } + // form params + if ($hide_desktop !== null) { + $formParams['hideDesktop'] = ObjectSerializer::toFormValue($hide_desktop); + } + // form params + if ($hide_mobile !== null) { + $formParams['hideMobile'] = ObjectSerializer::toFormValue($hide_mobile); + } + // form params + if ($image_open_new_window !== null) { + $formParams['imageOpenNewWindow'] = ObjectSerializer::toFormValue($image_open_new_window); + } + // form params + if ($index !== null) { + $formParams['index'] = ObjectSerializer::toFormValue($index); + } + // form params + if ($left !== null) { + $formParams['left'] = ObjectSerializer::toFormValue($left); + } + // form params + if ($link_url !== null) { + $formParams['linkUrl'] = ObjectSerializer::toFormValue($link_url); + } + // form params + if ($opacity !== null) { + $formParams['opacity'] = ObjectSerializer::toFormValue($opacity); + } + // form params + if ($top !== null) { + $formParams['top'] = ObjectSerializer::toFormValue($top); + } + // form params + if ($type !== null) { + $formParams['type'] = ObjectSerializer::toFormValue($type); + } + // form params + if ($value !== null) { + $formParams['value'] = ObjectSerializer::toFormValue($value); + } + // form params + if ($width !== null) { + $formParams['width'] = ObjectSerializer::toFormValue($width); + } + // form params + if ($z_index !== null) { + $formParams['zIndex'] = ObjectSerializer::toFormValue($z_index); + } // body params $_tempBody = null; - if (isset($request)) { - $_tempBody = $request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -1533,15 +1829,31 @@ protected function updateLandingPageContentUsingPOSTRequest($id, $content_id, $r * * @param int $id Id of the landing page (required) * @param string $content_id Id of the landing page dynamic content (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageDynamicContentRequest $request Dynamic content properties (optional) + * @param string $background_color background-color property of the HTML section (optional) + * @param string $border_color border-color property of the HTML section (optional) + * @param string $border_style border-style property of the HTML section (optional) + * @param string $border_width border-width property of the HTML section (optional) + * @param string $height height property of the HTML section (optional) + * @param bool $hide_desktop Hide the section when displayed on a desktop browser. Default false (optional) + * @param bool $hide_mobile Hide the section when displayed on a mobile browser. Default false (optional) + * @param string $image_open_new_window image_open_new_window (optional) + * @param string $left left property of the HTML section (optional) + * @param string $link_url URL parameter of a link type section (optional) + * @param string $opacity opacity property of the HTML section (optional) + * @param string $segment Name of the segment to display content section for (optional) + * @param string $top top property of the HTML section (optional) + * @param string $type Type of content section (optional) + * @param string $value Type of content section (optional) + * @param string $width width property of the HTML section (optional) + * @param string $z_index z-index property of the HTML section (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse */ - public function updateLandingPageDynamicContentUsingPOST($id, $content_id, $request = null) + public function updateLandingPageDynamicContentUsingPOST($id, $content_id, $background_color = null, $border_color = null, $border_style = null, $border_width = null, $height = null, $hide_desktop = null, $hide_mobile = null, $image_open_new_window = null, $left = null, $link_url = null, $opacity = null, $segment = null, $top = null, $type = null, $value = null, $width = null, $z_index = null) { - list($response) = $this->updateLandingPageDynamicContentUsingPOSTWithHttpInfo($id, $content_id, $request); + list($response) = $this->updateLandingPageDynamicContentUsingPOSTWithHttpInfo($id, $content_id, $background_color, $border_color, $border_style, $border_width, $height, $hide_desktop, $hide_mobile, $image_open_new_window, $left, $link_url, $opacity, $segment, $top, $type, $value, $width, $z_index); return $response; } @@ -1552,16 +1864,32 @@ public function updateLandingPageDynamicContentUsingPOST($id, $content_id, $requ * * @param int $id Id of the landing page (required) * @param string $content_id Id of the landing page dynamic content (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageDynamicContentRequest $request Dynamic content properties (optional) + * @param string $background_color background-color property of the HTML section (optional) + * @param string $border_color border-color property of the HTML section (optional) + * @param string $border_style border-style property of the HTML section (optional) + * @param string $border_width border-width property of the HTML section (optional) + * @param string $height height property of the HTML section (optional) + * @param bool $hide_desktop Hide the section when displayed on a desktop browser. Default false (optional) + * @param bool $hide_mobile Hide the section when displayed on a mobile browser. Default false (optional) + * @param string $image_open_new_window (optional) + * @param string $left left property of the HTML section (optional) + * @param string $link_url URL parameter of a link type section (optional) + * @param string $opacity opacity property of the HTML section (optional) + * @param string $segment Name of the segment to display content section for (optional) + * @param string $top top property of the HTML section (optional) + * @param string $type Type of content section (optional) + * @param string $value Type of content section (optional) + * @param string $width width property of the HTML section (optional) + * @param string $z_index z-index property of the HTML section (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateLandingPageDynamicContentUsingPOSTWithHttpInfo($id, $content_id, $request = null) + public function updateLandingPageDynamicContentUsingPOSTWithHttpInfo($id, $content_id, $background_color = null, $border_color = null, $border_style = null, $border_width = null, $height = null, $hide_desktop = null, $hide_mobile = null, $image_open_new_window = null, $left = null, $link_url = null, $opacity = null, $segment = null, $top = null, $type = null, $value = null, $width = null, $z_index = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->updateLandingPageDynamicContentUsingPOSTRequest($id, $content_id, $request); + $request = $this->updateLandingPageDynamicContentUsingPOSTRequest($id, $content_id, $background_color, $border_color, $border_style, $border_width, $height, $hide_desktop, $hide_mobile, $image_open_new_window, $left, $link_url, $opacity, $segment, $top, $type, $value, $width, $z_index); try { $options = $this->createHttpClientOption(); @@ -1629,14 +1957,30 @@ public function updateLandingPageDynamicContentUsingPOSTWithHttpInfo($id, $conte * * @param int $id Id of the landing page (required) * @param string $content_id Id of the landing page dynamic content (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageDynamicContentRequest $request Dynamic content properties (optional) + * @param string $background_color background-color property of the HTML section (optional) + * @param string $border_color border-color property of the HTML section (optional) + * @param string $border_style border-style property of the HTML section (optional) + * @param string $border_width border-width property of the HTML section (optional) + * @param string $height height property of the HTML section (optional) + * @param bool $hide_desktop Hide the section when displayed on a desktop browser. Default false (optional) + * @param bool $hide_mobile Hide the section when displayed on a mobile browser. Default false (optional) + * @param string $image_open_new_window (optional) + * @param string $left left property of the HTML section (optional) + * @param string $link_url URL parameter of a link type section (optional) + * @param string $opacity opacity property of the HTML section (optional) + * @param string $segment Name of the segment to display content section for (optional) + * @param string $top top property of the HTML section (optional) + * @param string $type Type of content section (optional) + * @param string $value Type of content section (optional) + * @param string $width width property of the HTML section (optional) + * @param string $z_index z-index property of the HTML section (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateLandingPageDynamicContentUsingPOSTAsync($id, $content_id, $request = null) + public function updateLandingPageDynamicContentUsingPOSTAsync($id, $content_id, $background_color = null, $border_color = null, $border_style = null, $border_width = null, $height = null, $hide_desktop = null, $hide_mobile = null, $image_open_new_window = null, $left = null, $link_url = null, $opacity = null, $segment = null, $top = null, $type = null, $value = null, $width = null, $z_index = null) { - return $this->updateLandingPageDynamicContentUsingPOSTAsyncWithHttpInfo($id, $content_id, $request) + return $this->updateLandingPageDynamicContentUsingPOSTAsyncWithHttpInfo($id, $content_id, $background_color, $border_color, $border_style, $border_width, $height, $hide_desktop, $hide_mobile, $image_open_new_window, $left, $link_url, $opacity, $segment, $top, $type, $value, $width, $z_index) ->then( function ($response) { return $response[0]; @@ -1651,15 +1995,31 @@ function ($response) { * * @param int $id Id of the landing page (required) * @param string $content_id Id of the landing page dynamic content (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageDynamicContentRequest $request Dynamic content properties (optional) + * @param string $background_color background-color property of the HTML section (optional) + * @param string $border_color border-color property of the HTML section (optional) + * @param string $border_style border-style property of the HTML section (optional) + * @param string $border_width border-width property of the HTML section (optional) + * @param string $height height property of the HTML section (optional) + * @param bool $hide_desktop Hide the section when displayed on a desktop browser. Default false (optional) + * @param bool $hide_mobile Hide the section when displayed on a mobile browser. Default false (optional) + * @param string $image_open_new_window (optional) + * @param string $left left property of the HTML section (optional) + * @param string $link_url URL parameter of a link type section (optional) + * @param string $opacity opacity property of the HTML section (optional) + * @param string $segment Name of the segment to display content section for (optional) + * @param string $top top property of the HTML section (optional) + * @param string $type Type of content section (optional) + * @param string $value Type of content section (optional) + * @param string $width width property of the HTML section (optional) + * @param string $z_index z-index property of the HTML section (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateLandingPageDynamicContentUsingPOSTAsyncWithHttpInfo($id, $content_id, $request = null) + public function updateLandingPageDynamicContentUsingPOSTAsyncWithHttpInfo($id, $content_id, $background_color = null, $border_color = null, $border_style = null, $border_width = null, $height = null, $hide_desktop = null, $hide_mobile = null, $image_open_new_window = null, $left = null, $link_url = null, $opacity = null, $segment = null, $top = null, $type = null, $value = null, $width = null, $z_index = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->updateLandingPageDynamicContentUsingPOSTRequest($id, $content_id, $request); + $request = $this->updateLandingPageDynamicContentUsingPOSTRequest($id, $content_id, $background_color, $border_color, $border_style, $border_width, $height, $hide_desktop, $hide_mobile, $image_open_new_window, $left, $link_url, $opacity, $segment, $top, $type, $value, $width, $z_index); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -1703,12 +2063,28 @@ function ($exception) { * * @param int $id Id of the landing page (required) * @param string $content_id Id of the landing page dynamic content (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageDynamicContentRequest $request Dynamic content properties (optional) + * @param string $background_color background-color property of the HTML section (optional) + * @param string $border_color border-color property of the HTML section (optional) + * @param string $border_style border-style property of the HTML section (optional) + * @param string $border_width border-width property of the HTML section (optional) + * @param string $height height property of the HTML section (optional) + * @param bool $hide_desktop Hide the section when displayed on a desktop browser. Default false (optional) + * @param bool $hide_mobile Hide the section when displayed on a mobile browser. Default false (optional) + * @param string $image_open_new_window (optional) + * @param string $left left property of the HTML section (optional) + * @param string $link_url URL parameter of a link type section (optional) + * @param string $opacity opacity property of the HTML section (optional) + * @param string $segment Name of the segment to display content section for (optional) + * @param string $top top property of the HTML section (optional) + * @param string $type Type of content section (optional) + * @param string $value Type of content section (optional) + * @param string $width width property of the HTML section (optional) + * @param string $z_index z-index property of the HTML section (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateLandingPageDynamicContentUsingPOSTRequest($id, $content_id, $request = null) + protected function updateLandingPageDynamicContentUsingPOSTRequest($id, $content_id, $background_color = null, $border_color = null, $border_style = null, $border_width = null, $height = null, $hide_desktop = null, $hide_mobile = null, $image_open_new_window = null, $left = null, $link_url = null, $opacity = null, $segment = null, $top = null, $type = null, $value = null, $width = null, $z_index = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -1748,11 +2124,76 @@ protected function updateLandingPageDynamicContentUsingPOSTRequest($id, $content ); } + // form params + if ($background_color !== null) { + $formParams['backgroundColor'] = ObjectSerializer::toFormValue($background_color); + } + // form params + if ($border_color !== null) { + $formParams['borderColor'] = ObjectSerializer::toFormValue($border_color); + } + // form params + if ($border_style !== null) { + $formParams['borderStyle'] = ObjectSerializer::toFormValue($border_style); + } + // form params + if ($border_width !== null) { + $formParams['borderWidth'] = ObjectSerializer::toFormValue($border_width); + } + // form params + if ($height !== null) { + $formParams['height'] = ObjectSerializer::toFormValue($height); + } + // form params + if ($hide_desktop !== null) { + $formParams['hideDesktop'] = ObjectSerializer::toFormValue($hide_desktop); + } + // form params + if ($hide_mobile !== null) { + $formParams['hideMobile'] = ObjectSerializer::toFormValue($hide_mobile); + } + // form params + if ($image_open_new_window !== null) { + $formParams['imageOpenNewWindow'] = ObjectSerializer::toFormValue($image_open_new_window); + } + // form params + if ($left !== null) { + $formParams['left'] = ObjectSerializer::toFormValue($left); + } + // form params + if ($link_url !== null) { + $formParams['linkUrl'] = ObjectSerializer::toFormValue($link_url); + } + // form params + if ($opacity !== null) { + $formParams['opacity'] = ObjectSerializer::toFormValue($opacity); + } + // form params + if ($segment !== null) { + $formParams['segment'] = ObjectSerializer::toFormValue($segment); + } + // form params + if ($top !== null) { + $formParams['top'] = ObjectSerializer::toFormValue($top); + } + // form params + if ($type !== null) { + $formParams['type'] = ObjectSerializer::toFormValue($type); + } + // form params + if ($value !== null) { + $formParams['value'] = ObjectSerializer::toFormValue($value); + } + // form params + if ($width !== null) { + $formParams['width'] = ObjectSerializer::toFormValue($width); + } + // form params + if ($z_index !== null) { + $formParams['zIndex'] = ObjectSerializer::toFormValue($z_index); + } // body params $_tempBody = null; - if (isset($request)) { - $_tempBody = $request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( diff --git a/src/Asset/Api/LandingPageRedirectRulesApi.php b/src/Asset/Api/LandingPageRedirectRulesApi.php index 632017d2..3122db7b 100644 --- a/src/Asset/Api/LandingPageRedirectRulesApi.php +++ b/src/Asset/Api/LandingPageRedirectRulesApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -92,15 +92,17 @@ public function getConfig() * * Create Landing Page Redirect Rule * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageRedirectRuleRequest $create_landing_page_redirect_rule_request createLandingPageRedirectRuleRequest (required) + * @param string $hostname The hostname for the landing pages. Branding domain or alias. Max 255 characters (required) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectFrom $redirect_from redirect_from (required) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectTo $redirect_to redirect_to (required) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageRedirectRules */ - public function createLandingPageRedirectRuleUsingPOST($create_landing_page_redirect_rule_request) + public function createLandingPageRedirectRuleUsingPOST($hostname, $redirect_from, $redirect_to) { - list($response) = $this->createLandingPageRedirectRuleUsingPOSTWithHttpInfo($create_landing_page_redirect_rule_request); + list($response) = $this->createLandingPageRedirectRuleUsingPOSTWithHttpInfo($hostname, $redirect_from, $redirect_to); return $response; } @@ -109,16 +111,18 @@ public function createLandingPageRedirectRuleUsingPOST($create_landing_page_redi * * Create Landing Page Redirect Rule * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageRedirectRuleRequest $create_landing_page_redirect_rule_request createLandingPageRedirectRuleRequest (required) + * @param string $hostname The hostname for the landing pages. Branding domain or alias. Max 255 characters (required) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectFrom $redirect_from (required) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectTo $redirect_to (required) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageRedirectRules, HTTP status code, HTTP response headers (array of strings) */ - public function createLandingPageRedirectRuleUsingPOSTWithHttpInfo($create_landing_page_redirect_rule_request) + public function createLandingPageRedirectRuleUsingPOSTWithHttpInfo($hostname, $redirect_from, $redirect_to) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageRedirectRules'; - $request = $this->createLandingPageRedirectRuleUsingPOSTRequest($create_landing_page_redirect_rule_request); + $request = $this->createLandingPageRedirectRuleUsingPOSTRequest($hostname, $redirect_from, $redirect_to); try { $options = $this->createHttpClientOption(); @@ -184,14 +188,16 @@ public function createLandingPageRedirectRuleUsingPOSTWithHttpInfo($create_landi * * Create Landing Page Redirect Rule * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageRedirectRuleRequest $create_landing_page_redirect_rule_request createLandingPageRedirectRuleRequest (required) + * @param string $hostname The hostname for the landing pages. Branding domain or alias. Max 255 characters (required) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectFrom $redirect_from (required) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectTo $redirect_to (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createLandingPageRedirectRuleUsingPOSTAsync($create_landing_page_redirect_rule_request) + public function createLandingPageRedirectRuleUsingPOSTAsync($hostname, $redirect_from, $redirect_to) { - return $this->createLandingPageRedirectRuleUsingPOSTAsyncWithHttpInfo($create_landing_page_redirect_rule_request) + return $this->createLandingPageRedirectRuleUsingPOSTAsyncWithHttpInfo($hostname, $redirect_from, $redirect_to) ->then( function ($response) { return $response[0]; @@ -204,15 +210,17 @@ function ($response) { * * Create Landing Page Redirect Rule * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageRedirectRuleRequest $create_landing_page_redirect_rule_request createLandingPageRedirectRuleRequest (required) + * @param string $hostname The hostname for the landing pages. Branding domain or alias. Max 255 characters (required) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectFrom $redirect_from (required) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectTo $redirect_to (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createLandingPageRedirectRuleUsingPOSTAsyncWithHttpInfo($create_landing_page_redirect_rule_request) + public function createLandingPageRedirectRuleUsingPOSTAsyncWithHttpInfo($hostname, $redirect_from, $redirect_to) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageRedirectRules'; - $request = $this->createLandingPageRedirectRuleUsingPOSTRequest($create_landing_page_redirect_rule_request); + $request = $this->createLandingPageRedirectRuleUsingPOSTRequest($hostname, $redirect_from, $redirect_to); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -254,17 +262,31 @@ function ($exception) { /** * Create request for operation 'createLandingPageRedirectRuleUsingPOST' * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageRedirectRuleRequest $create_landing_page_redirect_rule_request createLandingPageRedirectRuleRequest (required) + * @param string $hostname The hostname for the landing pages. Branding domain or alias. Max 255 characters (required) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectFrom $redirect_from (required) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectTo $redirect_to (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function createLandingPageRedirectRuleUsingPOSTRequest($create_landing_page_redirect_rule_request) + protected function createLandingPageRedirectRuleUsingPOSTRequest($hostname, $redirect_from, $redirect_to) { - // verify the required parameter 'create_landing_page_redirect_rule_request' is set - if ($create_landing_page_redirect_rule_request === null || (is_array($create_landing_page_redirect_rule_request) && count($create_landing_page_redirect_rule_request) === 0)) { + // verify the required parameter 'hostname' is set + if ($hostname === null || (is_array($hostname) && count($hostname) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $create_landing_page_redirect_rule_request when calling createLandingPageRedirectRuleUsingPOST' + 'Missing the required parameter $hostname when calling createLandingPageRedirectRuleUsingPOST' + ); + } + // verify the required parameter 'redirect_from' is set + if ($redirect_from === null || (is_array($redirect_from) && count($redirect_from) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $redirect_from when calling createLandingPageRedirectRuleUsingPOST' + ); + } + // verify the required parameter 'redirect_to' is set + if ($redirect_to === null || (is_array($redirect_to) && count($redirect_to) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $redirect_to when calling createLandingPageRedirectRuleUsingPOST' ); } @@ -277,11 +299,20 @@ protected function createLandingPageRedirectRuleUsingPOSTRequest($create_landing + // form params + if ($hostname !== null) { + $formParams['hostname'] = ObjectSerializer::toFormValue($hostname); + } + // form params + if ($redirect_from !== null) { + $formParams['redirectFrom'] = ObjectSerializer::toFormValue($redirect_from); + } + // form params + if ($redirect_to !== null) { + $formParams['redirectTo'] = ObjectSerializer::toFormValue($redirect_to); + } // body params $_tempBody = null; - if (isset($create_landing_page_redirect_rule_request)) { - $_tempBody = $create_landing_page_redirect_rule_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -559,7 +590,7 @@ protected function deleteLandingPageRedirectRuleUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -827,7 +858,7 @@ protected function getLandingPageDomainsUsingGETRequest($max_return = null, $off } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1096,7 +1127,7 @@ protected function getLandingPageRedirectRuleByIdUsingGETRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1400,7 +1431,7 @@ protected function getLandingPageRedirectRulesUsingGETRequest($max_return = null } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1467,15 +1498,17 @@ protected function getLandingPageRedirectRulesUsingGETRequest($max_return = null * Update Landing Page Redirect Rule * * @param int $id Id of landing page redirect rule (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageRedirectRuleRequest $update_landing_page_redirect_rule_request updateLandingPageRedirectRuleRequest (required) + * @param string $hostname The hostname for the landing pages. Branding domain or alias. Max 255 characters (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectFrom $redirect_from redirect_from (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectTo $redirect_to redirect_to (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageRedirectRules */ - public function updateLandingPageRedirectRuleUsingPOST($id, $update_landing_page_redirect_rule_request) + public function updateLandingPageRedirectRuleUsingPOST($id, $hostname = null, $redirect_from = null, $redirect_to = null) { - list($response) = $this->updateLandingPageRedirectRuleUsingPOSTWithHttpInfo($id, $update_landing_page_redirect_rule_request); + list($response) = $this->updateLandingPageRedirectRuleUsingPOSTWithHttpInfo($id, $hostname, $redirect_from, $redirect_to); return $response; } @@ -1485,16 +1518,18 @@ public function updateLandingPageRedirectRuleUsingPOST($id, $update_landing_page * Update Landing Page Redirect Rule * * @param int $id Id of landing page redirect rule (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageRedirectRuleRequest $update_landing_page_redirect_rule_request updateLandingPageRedirectRuleRequest (required) + * @param string $hostname The hostname for the landing pages. Branding domain or alias. Max 255 characters (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectFrom $redirect_from (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectTo $redirect_to (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageRedirectRules, HTTP status code, HTTP response headers (array of strings) */ - public function updateLandingPageRedirectRuleUsingPOSTWithHttpInfo($id, $update_landing_page_redirect_rule_request) + public function updateLandingPageRedirectRuleUsingPOSTWithHttpInfo($id, $hostname = null, $redirect_from = null, $redirect_to = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageRedirectRules'; - $request = $this->updateLandingPageRedirectRuleUsingPOSTRequest($id, $update_landing_page_redirect_rule_request); + $request = $this->updateLandingPageRedirectRuleUsingPOSTRequest($id, $hostname, $redirect_from, $redirect_to); try { $options = $this->createHttpClientOption(); @@ -1561,14 +1596,16 @@ public function updateLandingPageRedirectRuleUsingPOSTWithHttpInfo($id, $update_ * Update Landing Page Redirect Rule * * @param int $id Id of landing page redirect rule (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageRedirectRuleRequest $update_landing_page_redirect_rule_request updateLandingPageRedirectRuleRequest (required) + * @param string $hostname The hostname for the landing pages. Branding domain or alias. Max 255 characters (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectFrom $redirect_from (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectTo $redirect_to (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateLandingPageRedirectRuleUsingPOSTAsync($id, $update_landing_page_redirect_rule_request) + public function updateLandingPageRedirectRuleUsingPOSTAsync($id, $hostname = null, $redirect_from = null, $redirect_to = null) { - return $this->updateLandingPageRedirectRuleUsingPOSTAsyncWithHttpInfo($id, $update_landing_page_redirect_rule_request) + return $this->updateLandingPageRedirectRuleUsingPOSTAsyncWithHttpInfo($id, $hostname, $redirect_from, $redirect_to) ->then( function ($response) { return $response[0]; @@ -1582,15 +1619,17 @@ function ($response) { * Update Landing Page Redirect Rule * * @param int $id Id of landing page redirect rule (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageRedirectRuleRequest $update_landing_page_redirect_rule_request updateLandingPageRedirectRuleRequest (required) + * @param string $hostname The hostname for the landing pages. Branding domain or alias. Max 255 characters (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectFrom $redirect_from (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectTo $redirect_to (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateLandingPageRedirectRuleUsingPOSTAsyncWithHttpInfo($id, $update_landing_page_redirect_rule_request) + public function updateLandingPageRedirectRuleUsingPOSTAsyncWithHttpInfo($id, $hostname = null, $redirect_from = null, $redirect_to = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageRedirectRules'; - $request = $this->updateLandingPageRedirectRuleUsingPOSTRequest($id, $update_landing_page_redirect_rule_request); + $request = $this->updateLandingPageRedirectRuleUsingPOSTRequest($id, $hostname, $redirect_from, $redirect_to); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -1633,12 +1672,14 @@ function ($exception) { * Create request for operation 'updateLandingPageRedirectRuleUsingPOST' * * @param int $id Id of landing page redirect rule (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageRedirectRuleRequest $update_landing_page_redirect_rule_request updateLandingPageRedirectRuleRequest (required) + * @param string $hostname The hostname for the landing pages. Branding domain or alias. Max 255 characters (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectFrom $redirect_from (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectTo $redirect_to (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateLandingPageRedirectRuleUsingPOSTRequest($id, $update_landing_page_redirect_rule_request) + protected function updateLandingPageRedirectRuleUsingPOSTRequest($id, $hostname = null, $redirect_from = null, $redirect_to = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -1646,12 +1687,6 @@ protected function updateLandingPageRedirectRuleUsingPOSTRequest($id, $update_la 'Missing the required parameter $id when calling updateLandingPageRedirectRuleUsingPOST' ); } - // verify the required parameter 'update_landing_page_redirect_rule_request' is set - if ($update_landing_page_redirect_rule_request === null || (is_array($update_landing_page_redirect_rule_request) && count($update_landing_page_redirect_rule_request) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $update_landing_page_redirect_rule_request when calling updateLandingPageRedirectRuleUsingPOST' - ); - } $resourcePath = '/rest/asset/v1/redirectRule/{id}.json'; $formParams = []; @@ -1670,11 +1705,20 @@ protected function updateLandingPageRedirectRuleUsingPOSTRequest($id, $update_la ); } + // form params + if ($hostname !== null) { + $formParams['hostname'] = ObjectSerializer::toFormValue($hostname); + } + // form params + if ($redirect_from !== null) { + $formParams['redirectFrom'] = ObjectSerializer::toFormValue($redirect_from); + } + // form params + if ($redirect_to !== null) { + $formParams['redirectTo'] = ObjectSerializer::toFormValue($redirect_to); + } // body params $_tempBody = null; - if (isset($update_landing_page_redirect_rule_request)) { - $_tempBody = $update_landing_page_redirect_rule_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( diff --git a/src/Asset/Api/LandingPageTemplatesApi.php b/src/Asset/Api/LandingPageTemplatesApi.php index 7a22259e..9e2f9feb 100644 --- a/src/Asset/Api/LandingPageTemplatesApi.php +++ b/src/Asset/Api/LandingPageTemplatesApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -295,7 +295,7 @@ protected function approveLandingPageTemplateUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -362,15 +362,17 @@ protected function approveLandingPageTemplateUsingPOSTRequest($id) * Clone Landing Page Template * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneLpTemplateRequest $clone_lp_template_request cloneLpTemplateRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder (required) + * @param string $name Name of the landing page template (required) + * @param string $description Description of the landing page template (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpTemplateResponse */ - public function cloneLpTemplateUsingPOST($id, $clone_lp_template_request) + public function cloneLpTemplateUsingPOST($id, $folder, $name, $description = null) { - list($response) = $this->cloneLpTemplateUsingPOSTWithHttpInfo($id, $clone_lp_template_request); + list($response) = $this->cloneLpTemplateUsingPOSTWithHttpInfo($id, $folder, $name, $description); return $response; } @@ -380,16 +382,18 @@ public function cloneLpTemplateUsingPOST($id, $clone_lp_template_request) * Clone Landing Page Template * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneLpTemplateRequest $clone_lp_template_request cloneLpTemplateRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the landing page template (required) + * @param string $description Description of the landing page template (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpTemplateResponse, HTTP status code, HTTP response headers (array of strings) */ - public function cloneLpTemplateUsingPOSTWithHttpInfo($id, $clone_lp_template_request) + public function cloneLpTemplateUsingPOSTWithHttpInfo($id, $folder, $name, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpTemplateResponse'; - $request = $this->cloneLpTemplateUsingPOSTRequest($id, $clone_lp_template_request); + $request = $this->cloneLpTemplateUsingPOSTRequest($id, $folder, $name, $description); try { $options = $this->createHttpClientOption(); @@ -456,14 +460,16 @@ public function cloneLpTemplateUsingPOSTWithHttpInfo($id, $clone_lp_template_req * Clone Landing Page Template * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneLpTemplateRequest $clone_lp_template_request cloneLpTemplateRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the landing page template (required) + * @param string $description Description of the landing page template (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function cloneLpTemplateUsingPOSTAsync($id, $clone_lp_template_request) + public function cloneLpTemplateUsingPOSTAsync($id, $folder, $name, $description = null) { - return $this->cloneLpTemplateUsingPOSTAsyncWithHttpInfo($id, $clone_lp_template_request) + return $this->cloneLpTemplateUsingPOSTAsyncWithHttpInfo($id, $folder, $name, $description) ->then( function ($response) { return $response[0]; @@ -477,15 +483,17 @@ function ($response) { * Clone Landing Page Template * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneLpTemplateRequest $clone_lp_template_request cloneLpTemplateRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the landing page template (required) + * @param string $description Description of the landing page template (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function cloneLpTemplateUsingPOSTAsyncWithHttpInfo($id, $clone_lp_template_request) + public function cloneLpTemplateUsingPOSTAsyncWithHttpInfo($id, $folder, $name, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpTemplateResponse'; - $request = $this->cloneLpTemplateUsingPOSTRequest($id, $clone_lp_template_request); + $request = $this->cloneLpTemplateUsingPOSTRequest($id, $folder, $name, $description); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -528,12 +536,14 @@ function ($exception) { * Create request for operation 'cloneLpTemplateUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneLpTemplateRequest $clone_lp_template_request cloneLpTemplateRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the landing page template (required) + * @param string $description Description of the landing page template (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function cloneLpTemplateUsingPOSTRequest($id, $clone_lp_template_request) + protected function cloneLpTemplateUsingPOSTRequest($id, $folder, $name, $description = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -541,10 +551,16 @@ protected function cloneLpTemplateUsingPOSTRequest($id, $clone_lp_template_reque 'Missing the required parameter $id when calling cloneLpTemplateUsingPOST' ); } - // verify the required parameter 'clone_lp_template_request' is set - if ($clone_lp_template_request === null || (is_array($clone_lp_template_request) && count($clone_lp_template_request) === 0)) { + // verify the required parameter 'folder' is set + if ($folder === null || (is_array($folder) && count($folder) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $clone_lp_template_request when calling cloneLpTemplateUsingPOST' + 'Missing the required parameter $folder when calling cloneLpTemplateUsingPOST' + ); + } + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $name when calling cloneLpTemplateUsingPOST' ); } @@ -565,11 +581,20 @@ protected function cloneLpTemplateUsingPOSTRequest($id, $clone_lp_template_reque ); } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($folder !== null) { + $formParams['folder'] = ObjectSerializer::toFormValue($folder); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } // body params $_tempBody = null; - if (isset($clone_lp_template_request)) { - $_tempBody = $clone_lp_template_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -644,15 +669,19 @@ protected function cloneLpTemplateUsingPOSTRequest($id, $clone_lp_template_reque * * Create Landing Page Template * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLpTemplateRequest $create_lp_template_request createLpTemplateRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder (required) + * @param string $name Name of the landing page template (required) + * @param string $description Description of the landing page template (optional) + * @param bool $enable_munchkin Whether to enable munchkin on the derived pages. Defaults to true (optional) + * @param string $template_type Type of template to create. Defaults to freeForm (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpTemplateResponse */ - public function createLpTemplateUsingPOST($create_lp_template_request) + public function createLpTemplateUsingPOST($folder, $name, $description = null, $enable_munchkin = null, $template_type = null) { - list($response) = $this->createLpTemplateUsingPOSTWithHttpInfo($create_lp_template_request); + list($response) = $this->createLpTemplateUsingPOSTWithHttpInfo($folder, $name, $description, $enable_munchkin, $template_type); return $response; } @@ -661,16 +690,20 @@ public function createLpTemplateUsingPOST($create_lp_template_request) * * Create Landing Page Template * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLpTemplateRequest $create_lp_template_request createLpTemplateRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the landing page template (required) + * @param string $description Description of the landing page template (optional) + * @param bool $enable_munchkin Whether to enable munchkin on the derived pages. Defaults to true (optional) + * @param string $template_type Type of template to create. Defaults to freeForm (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpTemplateResponse, HTTP status code, HTTP response headers (array of strings) */ - public function createLpTemplateUsingPOSTWithHttpInfo($create_lp_template_request) + public function createLpTemplateUsingPOSTWithHttpInfo($folder, $name, $description = null, $enable_munchkin = null, $template_type = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpTemplateResponse'; - $request = $this->createLpTemplateUsingPOSTRequest($create_lp_template_request); + $request = $this->createLpTemplateUsingPOSTRequest($folder, $name, $description, $enable_munchkin, $template_type); try { $options = $this->createHttpClientOption(); @@ -736,14 +769,18 @@ public function createLpTemplateUsingPOSTWithHttpInfo($create_lp_template_reques * * Create Landing Page Template * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLpTemplateRequest $create_lp_template_request createLpTemplateRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the landing page template (required) + * @param string $description Description of the landing page template (optional) + * @param bool $enable_munchkin Whether to enable munchkin on the derived pages. Defaults to true (optional) + * @param string $template_type Type of template to create. Defaults to freeForm (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createLpTemplateUsingPOSTAsync($create_lp_template_request) + public function createLpTemplateUsingPOSTAsync($folder, $name, $description = null, $enable_munchkin = null, $template_type = null) { - return $this->createLpTemplateUsingPOSTAsyncWithHttpInfo($create_lp_template_request) + return $this->createLpTemplateUsingPOSTAsyncWithHttpInfo($folder, $name, $description, $enable_munchkin, $template_type) ->then( function ($response) { return $response[0]; @@ -756,15 +793,19 @@ function ($response) { * * Create Landing Page Template * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLpTemplateRequest $create_lp_template_request createLpTemplateRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the landing page template (required) + * @param string $description Description of the landing page template (optional) + * @param bool $enable_munchkin Whether to enable munchkin on the derived pages. Defaults to true (optional) + * @param string $template_type Type of template to create. Defaults to freeForm (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createLpTemplateUsingPOSTAsyncWithHttpInfo($create_lp_template_request) + public function createLpTemplateUsingPOSTAsyncWithHttpInfo($folder, $name, $description = null, $enable_munchkin = null, $template_type = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpTemplateResponse'; - $request = $this->createLpTemplateUsingPOSTRequest($create_lp_template_request); + $request = $this->createLpTemplateUsingPOSTRequest($folder, $name, $description, $enable_munchkin, $template_type); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -806,17 +847,27 @@ function ($exception) { /** * Create request for operation 'createLpTemplateUsingPOST' * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLpTemplateRequest $create_lp_template_request createLpTemplateRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the landing page template (required) + * @param string $description Description of the landing page template (optional) + * @param bool $enable_munchkin Whether to enable munchkin on the derived pages. Defaults to true (optional) + * @param string $template_type Type of template to create. Defaults to freeForm (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function createLpTemplateUsingPOSTRequest($create_lp_template_request) + protected function createLpTemplateUsingPOSTRequest($folder, $name, $description = null, $enable_munchkin = null, $template_type = null) { - // verify the required parameter 'create_lp_template_request' is set - if ($create_lp_template_request === null || (is_array($create_lp_template_request) && count($create_lp_template_request) === 0)) { + // verify the required parameter 'folder' is set + if ($folder === null || (is_array($folder) && count($folder) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $folder when calling createLpTemplateUsingPOST' + ); + } + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $create_lp_template_request when calling createLpTemplateUsingPOST' + 'Missing the required parameter $name when calling createLpTemplateUsingPOST' ); } @@ -829,11 +880,28 @@ protected function createLpTemplateUsingPOSTRequest($create_lp_template_request) + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($enable_munchkin !== null) { + $formParams['enableMunchkin'] = ObjectSerializer::toFormValue($enable_munchkin); + } + // form params + if ($folder !== null) { + $formParams['folder'] = ObjectSerializer::toFormValue($folder); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($template_type !== null) { + $formParams['templateType'] = ObjectSerializer::toFormValue($template_type); + } // body params $_tempBody = null; - if (isset($create_lp_template_request)) { - $_tempBody = $create_lp_template_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -1111,7 +1179,7 @@ protected function deleteLpTemplateUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1380,7 +1448,7 @@ protected function discardDraftUsingPOST2Request($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1658,7 +1726,7 @@ protected function getLandingPageTemplateByIdUsingGETRequest($id, $status = null } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1923,7 +1991,7 @@ protected function getLandingPageTemplateByNameUsingGETRequest($name) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2201,7 +2269,7 @@ protected function getLandingPageTemplateContentUsingGETRequest($id, $status = n } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2487,7 +2555,7 @@ protected function getLandingPageTemplatesUsingGETRequest($max_return = null, $o } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2756,7 +2824,7 @@ protected function unapproveLandingPageTemplateUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2823,15 +2891,17 @@ protected function unapproveLandingPageTemplateUsingPOSTRequest($id) * Update Landing Page Template Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLpTemplateRequest $update_lp_template_request updateLpTemplateRequest (required) + * @param string $description Description of the landing page template (optional) + * @param bool $enable_munchkin Whether to enable munchkin on the derived pages. Defaults to true (optional) + * @param string $name Name of the landing page template (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpTemplateResponse */ - public function updateLpTemplateUsingPOST($id, $update_lp_template_request) + public function updateLpTemplateUsingPOST($id, $description = null, $enable_munchkin = null, $name = null) { - list($response) = $this->updateLpTemplateUsingPOSTWithHttpInfo($id, $update_lp_template_request); + list($response) = $this->updateLpTemplateUsingPOSTWithHttpInfo($id, $description, $enable_munchkin, $name); return $response; } @@ -2841,16 +2911,18 @@ public function updateLpTemplateUsingPOST($id, $update_lp_template_request) * Update Landing Page Template Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLpTemplateRequest $update_lp_template_request updateLpTemplateRequest (required) + * @param string $description Description of the landing page template (optional) + * @param bool $enable_munchkin Whether to enable munchkin on the derived pages. Defaults to true (optional) + * @param string $name Name of the landing page template (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfLpTemplateResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateLpTemplateUsingPOSTWithHttpInfo($id, $update_lp_template_request) + public function updateLpTemplateUsingPOSTWithHttpInfo($id, $description = null, $enable_munchkin = null, $name = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpTemplateResponse'; - $request = $this->updateLpTemplateUsingPOSTRequest($id, $update_lp_template_request); + $request = $this->updateLpTemplateUsingPOSTRequest($id, $description, $enable_munchkin, $name); try { $options = $this->createHttpClientOption(); @@ -2917,14 +2989,16 @@ public function updateLpTemplateUsingPOSTWithHttpInfo($id, $update_lp_template_r * Update Landing Page Template Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLpTemplateRequest $update_lp_template_request updateLpTemplateRequest (required) + * @param string $description Description of the landing page template (optional) + * @param bool $enable_munchkin Whether to enable munchkin on the derived pages. Defaults to true (optional) + * @param string $name Name of the landing page template (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateLpTemplateUsingPOSTAsync($id, $update_lp_template_request) + public function updateLpTemplateUsingPOSTAsync($id, $description = null, $enable_munchkin = null, $name = null) { - return $this->updateLpTemplateUsingPOSTAsyncWithHttpInfo($id, $update_lp_template_request) + return $this->updateLpTemplateUsingPOSTAsyncWithHttpInfo($id, $description, $enable_munchkin, $name) ->then( function ($response) { return $response[0]; @@ -2938,15 +3012,17 @@ function ($response) { * Update Landing Page Template Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLpTemplateRequest $update_lp_template_request updateLpTemplateRequest (required) + * @param string $description Description of the landing page template (optional) + * @param bool $enable_munchkin Whether to enable munchkin on the derived pages. Defaults to true (optional) + * @param string $name Name of the landing page template (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateLpTemplateUsingPOSTAsyncWithHttpInfo($id, $update_lp_template_request) + public function updateLpTemplateUsingPOSTAsyncWithHttpInfo($id, $description = null, $enable_munchkin = null, $name = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLpTemplateResponse'; - $request = $this->updateLpTemplateUsingPOSTRequest($id, $update_lp_template_request); + $request = $this->updateLpTemplateUsingPOSTRequest($id, $description, $enable_munchkin, $name); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -2989,12 +3065,14 @@ function ($exception) { * Create request for operation 'updateLpTemplateUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLpTemplateRequest $update_lp_template_request updateLpTemplateRequest (required) + * @param string $description Description of the landing page template (optional) + * @param bool $enable_munchkin Whether to enable munchkin on the derived pages. Defaults to true (optional) + * @param string $name Name of the landing page template (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateLpTemplateUsingPOSTRequest($id, $update_lp_template_request) + protected function updateLpTemplateUsingPOSTRequest($id, $description = null, $enable_munchkin = null, $name = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -3002,12 +3080,6 @@ protected function updateLpTemplateUsingPOSTRequest($id, $update_lp_template_req 'Missing the required parameter $id when calling updateLpTemplateUsingPOST' ); } - // verify the required parameter 'update_lp_template_request' is set - if ($update_lp_template_request === null || (is_array($update_lp_template_request) && count($update_lp_template_request) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $update_lp_template_request when calling updateLpTemplateUsingPOST' - ); - } $resourcePath = '/rest/asset/v1/landingPageTemplate/{id}.json'; $formParams = []; @@ -3026,11 +3098,20 @@ protected function updateLpTemplateUsingPOSTRequest($id, $update_lp_template_req ); } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($enable_munchkin !== null) { + $formParams['enableMunchkin'] = ObjectSerializer::toFormValue($enable_munchkin); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } // body params $_tempBody = null; - if (isset($update_lp_template_request)) { - $_tempBody = $update_lp_template_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( diff --git a/src/Asset/Api/LandingPagesApi.php b/src/Asset/Api/LandingPagesApi.php index d5294035..2ea19105 100644 --- a/src/Asset/Api/LandingPagesApi.php +++ b/src/Asset/Api/LandingPagesApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -295,7 +295,7 @@ protected function approveLandingPageUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -581,7 +581,7 @@ protected function browseLandingPagesUsingGETRequest($status = null, $max_return } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -648,15 +648,18 @@ protected function browseLandingPagesUsingGETRequest($status = null, $max_return * Clone Landing Page * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneLandingPageRequest $clone_landing_page_request cloneLandingPageRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder (required) + * @param string $name Name of the landing page (required) + * @param string $description Description of the asset (optional) + * @param int $template Id of the template used (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageResponse */ - public function cloneLandingPageUsingPOST($id, $clone_landing_page_request) + public function cloneLandingPageUsingPOST($id, $folder, $name, $description = null, $template = null) { - list($response) = $this->cloneLandingPageUsingPOSTWithHttpInfo($id, $clone_landing_page_request); + list($response) = $this->cloneLandingPageUsingPOSTWithHttpInfo($id, $folder, $name, $description, $template); return $response; } @@ -666,16 +669,19 @@ public function cloneLandingPageUsingPOST($id, $clone_landing_page_request) * Clone Landing Page * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneLandingPageRequest $clone_landing_page_request cloneLandingPageRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the landing page (required) + * @param string $description Description of the asset (optional) + * @param int $template Id of the template used (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageResponse, HTTP status code, HTTP response headers (array of strings) */ - public function cloneLandingPageUsingPOSTWithHttpInfo($id, $clone_landing_page_request) + public function cloneLandingPageUsingPOSTWithHttpInfo($id, $folder, $name, $description = null, $template = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageResponse'; - $request = $this->cloneLandingPageUsingPOSTRequest($id, $clone_landing_page_request); + $request = $this->cloneLandingPageUsingPOSTRequest($id, $folder, $name, $description, $template); try { $options = $this->createHttpClientOption(); @@ -742,14 +748,17 @@ public function cloneLandingPageUsingPOSTWithHttpInfo($id, $clone_landing_page_r * Clone Landing Page * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneLandingPageRequest $clone_landing_page_request cloneLandingPageRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the landing page (required) + * @param string $description Description of the asset (optional) + * @param int $template Id of the template used (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function cloneLandingPageUsingPOSTAsync($id, $clone_landing_page_request) + public function cloneLandingPageUsingPOSTAsync($id, $folder, $name, $description = null, $template = null) { - return $this->cloneLandingPageUsingPOSTAsyncWithHttpInfo($id, $clone_landing_page_request) + return $this->cloneLandingPageUsingPOSTAsyncWithHttpInfo($id, $folder, $name, $description, $template) ->then( function ($response) { return $response[0]; @@ -763,15 +772,18 @@ function ($response) { * Clone Landing Page * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneLandingPageRequest $clone_landing_page_request cloneLandingPageRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the landing page (required) + * @param string $description Description of the asset (optional) + * @param int $template Id of the template used (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function cloneLandingPageUsingPOSTAsyncWithHttpInfo($id, $clone_landing_page_request) + public function cloneLandingPageUsingPOSTAsyncWithHttpInfo($id, $folder, $name, $description = null, $template = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageResponse'; - $request = $this->cloneLandingPageUsingPOSTRequest($id, $clone_landing_page_request); + $request = $this->cloneLandingPageUsingPOSTRequest($id, $folder, $name, $description, $template); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -814,12 +826,15 @@ function ($exception) { * Create request for operation 'cloneLandingPageUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneLandingPageRequest $clone_landing_page_request cloneLandingPageRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the landing page (required) + * @param string $description Description of the asset (optional) + * @param int $template Id of the template used (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function cloneLandingPageUsingPOSTRequest($id, $clone_landing_page_request) + protected function cloneLandingPageUsingPOSTRequest($id, $folder, $name, $description = null, $template = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -827,10 +842,16 @@ protected function cloneLandingPageUsingPOSTRequest($id, $clone_landing_page_req 'Missing the required parameter $id when calling cloneLandingPageUsingPOST' ); } - // verify the required parameter 'clone_landing_page_request' is set - if ($clone_landing_page_request === null || (is_array($clone_landing_page_request) && count($clone_landing_page_request) === 0)) { + // verify the required parameter 'folder' is set + if ($folder === null || (is_array($folder) && count($folder) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $folder when calling cloneLandingPageUsingPOST' + ); + } + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $clone_landing_page_request when calling cloneLandingPageUsingPOST' + 'Missing the required parameter $name when calling cloneLandingPageUsingPOST' ); } @@ -851,11 +872,24 @@ protected function cloneLandingPageUsingPOSTRequest($id, $clone_landing_page_req ); } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($folder !== null) { + $formParams['folder'] = ObjectSerializer::toFormValue($folder); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($template !== null) { + $formParams['template'] = ObjectSerializer::toFormValue($template); + } // body params $_tempBody = null; - if (isset($clone_landing_page_request)) { - $_tempBody = $clone_landing_page_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -930,15 +964,27 @@ protected function cloneLandingPageUsingPOSTRequest($id, $clone_landing_page_req * * Create Landing Page * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageRequest $create_landing_page_request createLandingPageRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder (required) + * @param string $name Name of the landing page (required) + * @param int $template Id of the template used (required) + * @param string $custom_head_html Any custom HTML to embed in the <head> tag of the page (optional) + * @param string $description Description of the asset (optional) + * @param string $facebook_og_tags Any OpenGraph meta tags to apply to the page (optional) + * @param string $keywords keywords (optional) + * @param bool $mobile_enabled Whether the page has mobile viewing enabled. Free-form pages only. Default false (optional) + * @param bool $prefill_form Boolean to toggle whether forms embedded in the page will prefill. Default false (optional) + * @param string $robots Robots directives to apply to the pages meta tags (optional) + * @param string $title Title element of the landing page (optional) + * @param string $url_page_name URL path of the page. Derived from the name field if unset (optional) + * @param string $workspace Name of the workspace (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageResponse */ - public function createLandingPageUsingPOST($create_landing_page_request) + public function createLandingPageUsingPOST($folder, $name, $template, $custom_head_html = null, $description = null, $facebook_og_tags = null, $keywords = null, $mobile_enabled = null, $prefill_form = null, $robots = null, $title = null, $url_page_name = null, $workspace = null) { - list($response) = $this->createLandingPageUsingPOSTWithHttpInfo($create_landing_page_request); + list($response) = $this->createLandingPageUsingPOSTWithHttpInfo($folder, $name, $template, $custom_head_html, $description, $facebook_og_tags, $keywords, $mobile_enabled, $prefill_form, $robots, $title, $url_page_name, $workspace); return $response; } @@ -947,16 +993,28 @@ public function createLandingPageUsingPOST($create_landing_page_request) * * Create Landing Page * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageRequest $create_landing_page_request createLandingPageRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the landing page (required) + * @param int $template Id of the template used (required) + * @param string $custom_head_html Any custom HTML to embed in the <head> tag of the page (optional) + * @param string $description Description of the asset (optional) + * @param string $facebook_og_tags Any OpenGraph meta tags to apply to the page (optional) + * @param string $keywords (optional) + * @param bool $mobile_enabled Whether the page has mobile viewing enabled. Free-form pages only. Default false (optional) + * @param bool $prefill_form Boolean to toggle whether forms embedded in the page will prefill. Default false (optional) + * @param string $robots Robots directives to apply to the pages meta tags (optional) + * @param string $title Title element of the landing page (optional) + * @param string $url_page_name URL path of the page. Derived from the name field if unset (optional) + * @param string $workspace Name of the workspace (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageResponse, HTTP status code, HTTP response headers (array of strings) */ - public function createLandingPageUsingPOSTWithHttpInfo($create_landing_page_request) + public function createLandingPageUsingPOSTWithHttpInfo($folder, $name, $template, $custom_head_html = null, $description = null, $facebook_og_tags = null, $keywords = null, $mobile_enabled = null, $prefill_form = null, $robots = null, $title = null, $url_page_name = null, $workspace = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageResponse'; - $request = $this->createLandingPageUsingPOSTRequest($create_landing_page_request); + $request = $this->createLandingPageUsingPOSTRequest($folder, $name, $template, $custom_head_html, $description, $facebook_og_tags, $keywords, $mobile_enabled, $prefill_form, $robots, $title, $url_page_name, $workspace); try { $options = $this->createHttpClientOption(); @@ -1022,14 +1080,26 @@ public function createLandingPageUsingPOSTWithHttpInfo($create_landing_page_requ * * Create Landing Page * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageRequest $create_landing_page_request createLandingPageRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the landing page (required) + * @param int $template Id of the template used (required) + * @param string $custom_head_html Any custom HTML to embed in the <head> tag of the page (optional) + * @param string $description Description of the asset (optional) + * @param string $facebook_og_tags Any OpenGraph meta tags to apply to the page (optional) + * @param string $keywords (optional) + * @param bool $mobile_enabled Whether the page has mobile viewing enabled. Free-form pages only. Default false (optional) + * @param bool $prefill_form Boolean to toggle whether forms embedded in the page will prefill. Default false (optional) + * @param string $robots Robots directives to apply to the pages meta tags (optional) + * @param string $title Title element of the landing page (optional) + * @param string $url_page_name URL path of the page. Derived from the name field if unset (optional) + * @param string $workspace Name of the workspace (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createLandingPageUsingPOSTAsync($create_landing_page_request) + public function createLandingPageUsingPOSTAsync($folder, $name, $template, $custom_head_html = null, $description = null, $facebook_og_tags = null, $keywords = null, $mobile_enabled = null, $prefill_form = null, $robots = null, $title = null, $url_page_name = null, $workspace = null) { - return $this->createLandingPageUsingPOSTAsyncWithHttpInfo($create_landing_page_request) + return $this->createLandingPageUsingPOSTAsyncWithHttpInfo($folder, $name, $template, $custom_head_html, $description, $facebook_og_tags, $keywords, $mobile_enabled, $prefill_form, $robots, $title, $url_page_name, $workspace) ->then( function ($response) { return $response[0]; @@ -1042,15 +1112,27 @@ function ($response) { * * Create Landing Page * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageRequest $create_landing_page_request createLandingPageRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the landing page (required) + * @param int $template Id of the template used (required) + * @param string $custom_head_html Any custom HTML to embed in the <head> tag of the page (optional) + * @param string $description Description of the asset (optional) + * @param string $facebook_og_tags Any OpenGraph meta tags to apply to the page (optional) + * @param string $keywords (optional) + * @param bool $mobile_enabled Whether the page has mobile viewing enabled. Free-form pages only. Default false (optional) + * @param bool $prefill_form Boolean to toggle whether forms embedded in the page will prefill. Default false (optional) + * @param string $robots Robots directives to apply to the pages meta tags (optional) + * @param string $title Title element of the landing page (optional) + * @param string $url_page_name URL path of the page. Derived from the name field if unset (optional) + * @param string $workspace Name of the workspace (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createLandingPageUsingPOSTAsyncWithHttpInfo($create_landing_page_request) + public function createLandingPageUsingPOSTAsyncWithHttpInfo($folder, $name, $template, $custom_head_html = null, $description = null, $facebook_og_tags = null, $keywords = null, $mobile_enabled = null, $prefill_form = null, $robots = null, $title = null, $url_page_name = null, $workspace = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageResponse'; - $request = $this->createLandingPageUsingPOSTRequest($create_landing_page_request); + $request = $this->createLandingPageUsingPOSTRequest($folder, $name, $template, $custom_head_html, $description, $facebook_og_tags, $keywords, $mobile_enabled, $prefill_form, $robots, $title, $url_page_name, $workspace); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -1092,17 +1174,41 @@ function ($exception) { /** * Create request for operation 'createLandingPageUsingPOST' * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateLandingPageRequest $create_landing_page_request createLandingPageRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the landing page (required) + * @param int $template Id of the template used (required) + * @param string $custom_head_html Any custom HTML to embed in the <head> tag of the page (optional) + * @param string $description Description of the asset (optional) + * @param string $facebook_og_tags Any OpenGraph meta tags to apply to the page (optional) + * @param string $keywords (optional) + * @param bool $mobile_enabled Whether the page has mobile viewing enabled. Free-form pages only. Default false (optional) + * @param bool $prefill_form Boolean to toggle whether forms embedded in the page will prefill. Default false (optional) + * @param string $robots Robots directives to apply to the pages meta tags (optional) + * @param string $title Title element of the landing page (optional) + * @param string $url_page_name URL path of the page. Derived from the name field if unset (optional) + * @param string $workspace Name of the workspace (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function createLandingPageUsingPOSTRequest($create_landing_page_request) + protected function createLandingPageUsingPOSTRequest($folder, $name, $template, $custom_head_html = null, $description = null, $facebook_og_tags = null, $keywords = null, $mobile_enabled = null, $prefill_form = null, $robots = null, $title = null, $url_page_name = null, $workspace = null) { - // verify the required parameter 'create_landing_page_request' is set - if ($create_landing_page_request === null || (is_array($create_landing_page_request) && count($create_landing_page_request) === 0)) { + // verify the required parameter 'folder' is set + if ($folder === null || (is_array($folder) && count($folder) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $folder when calling createLandingPageUsingPOST' + ); + } + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $name when calling createLandingPageUsingPOST' + ); + } + // verify the required parameter 'template' is set + if ($template === null || (is_array($template) && count($template) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $create_landing_page_request when calling createLandingPageUsingPOST' + 'Missing the required parameter $template when calling createLandingPageUsingPOST' ); } @@ -1115,11 +1221,60 @@ protected function createLandingPageUsingPOSTRequest($create_landing_page_reques + // form params + if ($custom_head_html !== null) { + $formParams['customHeadHTML'] = ObjectSerializer::toFormValue($custom_head_html); + } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($facebook_og_tags !== null) { + $formParams['facebookOgTags'] = ObjectSerializer::toFormValue($facebook_og_tags); + } + // form params + if ($folder !== null) { + $formParams['folder'] = ObjectSerializer::toFormValue($folder); + } + // form params + if ($keywords !== null) { + $formParams['keywords'] = ObjectSerializer::toFormValue($keywords); + } + // form params + if ($mobile_enabled !== null) { + $formParams['mobileEnabled'] = ObjectSerializer::toFormValue($mobile_enabled); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($prefill_form !== null) { + $formParams['prefillForm'] = ObjectSerializer::toFormValue($prefill_form); + } + // form params + if ($robots !== null) { + $formParams['robots'] = ObjectSerializer::toFormValue($robots); + } + // form params + if ($template !== null) { + $formParams['template'] = ObjectSerializer::toFormValue($template); + } + // form params + if ($title !== null) { + $formParams['title'] = ObjectSerializer::toFormValue($title); + } + // form params + if ($url_page_name !== null) { + $formParams['urlPageName'] = ObjectSerializer::toFormValue($url_page_name); + } + // form params + if ($workspace !== null) { + $formParams['workspace'] = ObjectSerializer::toFormValue($workspace); + } // body params $_tempBody = null; - if (isset($create_landing_page_request)) { - $_tempBody = $create_landing_page_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -1397,7 +1552,7 @@ protected function deleteLandingPageByIdUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1666,7 +1821,7 @@ protected function discardLandingPageByIdUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1944,7 +2099,7 @@ protected function getLandingPageByIdUsingGETRequest($id, $status = null) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2236,7 +2391,7 @@ protected function getLandingPageByNameUsingGETRequest($name, $status = null, $m } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2514,7 +2669,7 @@ protected function getVariablesUsingGETRequest($id, $status = null) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2783,7 +2938,7 @@ protected function unapproveLandingPageByIdUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2850,15 +3005,25 @@ protected function unapproveLandingPageByIdUsingPOSTRequest($id) * Update Landing Page Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageRequest $update_landing_page_request updateLandingPageRequest (required) + * @param string $custom_head_html Any custom HTML to embed in the <head> tag of the page (optional) + * @param string $description Description of the asset (optional) + * @param string $facebook_og_tags Any OpenGraph meta tags to apply to the page (optional) + * @param string $keywords keywords (optional) + * @param string $meta_tags_description Meta description property of the page (optional) + * @param bool $mobile_enabled Whether the page has mobile viewing enabled. Free-form pages only. Default false (optional) + * @param string $name Name of the landing page (optional) + * @param string $robots Robots directives to apply to the pages meta tags (optional) + * @param string $style_over_ride Additional CSS styles to append to the landing page <head> (optional) + * @param string $title Title element of the landing page (optional) + * @param string $url_page_name URL path of the page. Derived from the name field if unset (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageResponse */ - public function updateLandingPageUsingPOST($id, $update_landing_page_request) + public function updateLandingPageUsingPOST($id, $custom_head_html = null, $description = null, $facebook_og_tags = null, $keywords = null, $meta_tags_description = null, $mobile_enabled = null, $name = null, $robots = null, $style_over_ride = null, $title = null, $url_page_name = null) { - list($response) = $this->updateLandingPageUsingPOSTWithHttpInfo($id, $update_landing_page_request); + list($response) = $this->updateLandingPageUsingPOSTWithHttpInfo($id, $custom_head_html, $description, $facebook_og_tags, $keywords, $meta_tags_description, $mobile_enabled, $name, $robots, $style_over_ride, $title, $url_page_name); return $response; } @@ -2868,16 +3033,26 @@ public function updateLandingPageUsingPOST($id, $update_landing_page_request) * Update Landing Page Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageRequest $update_landing_page_request updateLandingPageRequest (required) + * @param string $custom_head_html Any custom HTML to embed in the <head> tag of the page (optional) + * @param string $description Description of the asset (optional) + * @param string $facebook_og_tags Any OpenGraph meta tags to apply to the page (optional) + * @param string $keywords (optional) + * @param string $meta_tags_description Meta description property of the page (optional) + * @param bool $mobile_enabled Whether the page has mobile viewing enabled. Free-form pages only. Default false (optional) + * @param string $name Name of the landing page (optional) + * @param string $robots Robots directives to apply to the pages meta tags (optional) + * @param string $style_over_ride Additional CSS styles to append to the landing page <head> (optional) + * @param string $title Title element of the landing page (optional) + * @param string $url_page_name URL path of the page. Derived from the name field if unset (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateLandingPageUsingPOSTWithHttpInfo($id, $update_landing_page_request) + public function updateLandingPageUsingPOSTWithHttpInfo($id, $custom_head_html = null, $description = null, $facebook_og_tags = null, $keywords = null, $meta_tags_description = null, $mobile_enabled = null, $name = null, $robots = null, $style_over_ride = null, $title = null, $url_page_name = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageResponse'; - $request = $this->updateLandingPageUsingPOSTRequest($id, $update_landing_page_request); + $request = $this->updateLandingPageUsingPOSTRequest($id, $custom_head_html, $description, $facebook_og_tags, $keywords, $meta_tags_description, $mobile_enabled, $name, $robots, $style_over_ride, $title, $url_page_name); try { $options = $this->createHttpClientOption(); @@ -2944,14 +3119,24 @@ public function updateLandingPageUsingPOSTWithHttpInfo($id, $update_landing_page * Update Landing Page Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageRequest $update_landing_page_request updateLandingPageRequest (required) + * @param string $custom_head_html Any custom HTML to embed in the <head> tag of the page (optional) + * @param string $description Description of the asset (optional) + * @param string $facebook_og_tags Any OpenGraph meta tags to apply to the page (optional) + * @param string $keywords (optional) + * @param string $meta_tags_description Meta description property of the page (optional) + * @param bool $mobile_enabled Whether the page has mobile viewing enabled. Free-form pages only. Default false (optional) + * @param string $name Name of the landing page (optional) + * @param string $robots Robots directives to apply to the pages meta tags (optional) + * @param string $style_over_ride Additional CSS styles to append to the landing page <head> (optional) + * @param string $title Title element of the landing page (optional) + * @param string $url_page_name URL path of the page. Derived from the name field if unset (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateLandingPageUsingPOSTAsync($id, $update_landing_page_request) + public function updateLandingPageUsingPOSTAsync($id, $custom_head_html = null, $description = null, $facebook_og_tags = null, $keywords = null, $meta_tags_description = null, $mobile_enabled = null, $name = null, $robots = null, $style_over_ride = null, $title = null, $url_page_name = null) { - return $this->updateLandingPageUsingPOSTAsyncWithHttpInfo($id, $update_landing_page_request) + return $this->updateLandingPageUsingPOSTAsyncWithHttpInfo($id, $custom_head_html, $description, $facebook_og_tags, $keywords, $meta_tags_description, $mobile_enabled, $name, $robots, $style_over_ride, $title, $url_page_name) ->then( function ($response) { return $response[0]; @@ -2965,15 +3150,25 @@ function ($response) { * Update Landing Page Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageRequest $update_landing_page_request updateLandingPageRequest (required) + * @param string $custom_head_html Any custom HTML to embed in the <head> tag of the page (optional) + * @param string $description Description of the asset (optional) + * @param string $facebook_og_tags Any OpenGraph meta tags to apply to the page (optional) + * @param string $keywords (optional) + * @param string $meta_tags_description Meta description property of the page (optional) + * @param bool $mobile_enabled Whether the page has mobile viewing enabled. Free-form pages only. Default false (optional) + * @param string $name Name of the landing page (optional) + * @param string $robots Robots directives to apply to the pages meta tags (optional) + * @param string $style_over_ride Additional CSS styles to append to the landing page <head> (optional) + * @param string $title Title element of the landing page (optional) + * @param string $url_page_name URL path of the page. Derived from the name field if unset (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateLandingPageUsingPOSTAsyncWithHttpInfo($id, $update_landing_page_request) + public function updateLandingPageUsingPOSTAsyncWithHttpInfo($id, $custom_head_html = null, $description = null, $facebook_og_tags = null, $keywords = null, $meta_tags_description = null, $mobile_enabled = null, $name = null, $robots = null, $style_over_ride = null, $title = null, $url_page_name = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfLandingPageResponse'; - $request = $this->updateLandingPageUsingPOSTRequest($id, $update_landing_page_request); + $request = $this->updateLandingPageUsingPOSTRequest($id, $custom_head_html, $description, $facebook_og_tags, $keywords, $meta_tags_description, $mobile_enabled, $name, $robots, $style_over_ride, $title, $url_page_name); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -3016,12 +3211,22 @@ function ($exception) { * Create request for operation 'updateLandingPageUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateLandingPageRequest $update_landing_page_request updateLandingPageRequest (required) + * @param string $custom_head_html Any custom HTML to embed in the <head> tag of the page (optional) + * @param string $description Description of the asset (optional) + * @param string $facebook_og_tags Any OpenGraph meta tags to apply to the page (optional) + * @param string $keywords (optional) + * @param string $meta_tags_description Meta description property of the page (optional) + * @param bool $mobile_enabled Whether the page has mobile viewing enabled. Free-form pages only. Default false (optional) + * @param string $name Name of the landing page (optional) + * @param string $robots Robots directives to apply to the pages meta tags (optional) + * @param string $style_over_ride Additional CSS styles to append to the landing page <head> (optional) + * @param string $title Title element of the landing page (optional) + * @param string $url_page_name URL path of the page. Derived from the name field if unset (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateLandingPageUsingPOSTRequest($id, $update_landing_page_request) + protected function updateLandingPageUsingPOSTRequest($id, $custom_head_html = null, $description = null, $facebook_og_tags = null, $keywords = null, $meta_tags_description = null, $mobile_enabled = null, $name = null, $robots = null, $style_over_ride = null, $title = null, $url_page_name = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -3029,12 +3234,6 @@ protected function updateLandingPageUsingPOSTRequest($id, $update_landing_page_r 'Missing the required parameter $id when calling updateLandingPageUsingPOST' ); } - // verify the required parameter 'update_landing_page_request' is set - if ($update_landing_page_request === null || (is_array($update_landing_page_request) && count($update_landing_page_request) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $update_landing_page_request when calling updateLandingPageUsingPOST' - ); - } $resourcePath = '/rest/asset/v1/landingPage/{id}.json'; $formParams = []; @@ -3053,11 +3252,52 @@ protected function updateLandingPageUsingPOSTRequest($id, $update_landing_page_r ); } + // form params + if ($custom_head_html !== null) { + $formParams['customHeadHTML'] = ObjectSerializer::toFormValue($custom_head_html); + } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($facebook_og_tags !== null) { + $formParams['facebookOgTags'] = ObjectSerializer::toFormValue($facebook_og_tags); + } + // form params + if ($keywords !== null) { + $formParams['keywords'] = ObjectSerializer::toFormValue($keywords); + } + // form params + if ($meta_tags_description !== null) { + $formParams['metaTagsDescription'] = ObjectSerializer::toFormValue($meta_tags_description); + } + // form params + if ($mobile_enabled !== null) { + $formParams['mobileEnabled'] = ObjectSerializer::toFormValue($mobile_enabled); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($robots !== null) { + $formParams['robots'] = ObjectSerializer::toFormValue($robots); + } + // form params + if ($style_over_ride !== null) { + $formParams['styleOverRide'] = ObjectSerializer::toFormValue($style_over_ride); + } + // form params + if ($title !== null) { + $formParams['title'] = ObjectSerializer::toFormValue($title); + } + // form params + if ($url_page_name !== null) { + $formParams['urlPageName'] = ObjectSerializer::toFormValue($url_page_name); + } // body params $_tempBody = null; - if (isset($update_landing_page_request)) { - $_tempBody = $update_landing_page_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -3369,7 +3609,7 @@ protected function updateLandingPageVariableUsingPOSTRequest($id, $variable_id, } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } diff --git a/src/Asset/Api/ProgramsApi.php b/src/Asset/Api/ProgramsApi.php index 7cbf3509..b2011b85 100644 --- a/src/Asset/Api/ProgramsApi.php +++ b/src/Asset/Api/ProgramsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -295,7 +295,7 @@ protected function approveProgramUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -590,7 +590,7 @@ protected function browseProgramsUsingGETRequest($max_return = null, $offset = n } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -657,15 +657,17 @@ protected function browseProgramsUsingGETRequest($max_return = null, $offset = n * Clone Program * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneProgramRequest $clone_program_request cloneProgramRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder (required) + * @param string $name Name of the program (required) + * @param string $description description (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfProgramResponse */ - public function cloneProgramUsingPOST($id, $clone_program_request) + public function cloneProgramUsingPOST($id, $folder, $name, $description = null) { - list($response) = $this->cloneProgramUsingPOSTWithHttpInfo($id, $clone_program_request); + list($response) = $this->cloneProgramUsingPOSTWithHttpInfo($id, $folder, $name, $description); return $response; } @@ -675,16 +677,18 @@ public function cloneProgramUsingPOST($id, $clone_program_request) * Clone Program * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneProgramRequest $clone_program_request cloneProgramRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the program (required) + * @param string $description (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfProgramResponse, HTTP status code, HTTP response headers (array of strings) */ - public function cloneProgramUsingPOSTWithHttpInfo($id, $clone_program_request) + public function cloneProgramUsingPOSTWithHttpInfo($id, $folder, $name, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfProgramResponse'; - $request = $this->cloneProgramUsingPOSTRequest($id, $clone_program_request); + $request = $this->cloneProgramUsingPOSTRequest($id, $folder, $name, $description); try { $options = $this->createHttpClientOption(); @@ -751,14 +755,16 @@ public function cloneProgramUsingPOSTWithHttpInfo($id, $clone_program_request) * Clone Program * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneProgramRequest $clone_program_request cloneProgramRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the program (required) + * @param string $description (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function cloneProgramUsingPOSTAsync($id, $clone_program_request) + public function cloneProgramUsingPOSTAsync($id, $folder, $name, $description = null) { - return $this->cloneProgramUsingPOSTAsyncWithHttpInfo($id, $clone_program_request) + return $this->cloneProgramUsingPOSTAsyncWithHttpInfo($id, $folder, $name, $description) ->then( function ($response) { return $response[0]; @@ -772,15 +778,17 @@ function ($response) { * Clone Program * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneProgramRequest $clone_program_request cloneProgramRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the program (required) + * @param string $description (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function cloneProgramUsingPOSTAsyncWithHttpInfo($id, $clone_program_request) + public function cloneProgramUsingPOSTAsyncWithHttpInfo($id, $folder, $name, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfProgramResponse'; - $request = $this->cloneProgramUsingPOSTRequest($id, $clone_program_request); + $request = $this->cloneProgramUsingPOSTRequest($id, $folder, $name, $description); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -823,12 +831,14 @@ function ($exception) { * Create request for operation 'cloneProgramUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneProgramRequest $clone_program_request cloneProgramRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the program (required) + * @param string $description (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function cloneProgramUsingPOSTRequest($id, $clone_program_request) + protected function cloneProgramUsingPOSTRequest($id, $folder, $name, $description = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -836,10 +846,16 @@ protected function cloneProgramUsingPOSTRequest($id, $clone_program_request) 'Missing the required parameter $id when calling cloneProgramUsingPOST' ); } - // verify the required parameter 'clone_program_request' is set - if ($clone_program_request === null || (is_array($clone_program_request) && count($clone_program_request) === 0)) { + // verify the required parameter 'folder' is set + if ($folder === null || (is_array($folder) && count($folder) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $folder when calling cloneProgramUsingPOST' + ); + } + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $clone_program_request when calling cloneProgramUsingPOST' + 'Missing the required parameter $name when calling cloneProgramUsingPOST' ); } @@ -860,11 +876,20 @@ protected function cloneProgramUsingPOSTRequest($id, $clone_program_request) ); } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($folder !== null) { + $formParams['folder'] = ObjectSerializer::toFormValue($folder); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } // body params $_tempBody = null; - if (isset($clone_program_request)) { - $_tempBody = $clone_program_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -939,15 +964,21 @@ protected function cloneProgramUsingPOSTRequest($id, $clone_program_request) * * Create Program * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateProgramRequest $create_program_request createProgramRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder (required) + * @param string $channel Channel of the program (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\CostRequest[] $costs Lists of associated period costs (optional) + * @param string $description description (optional) + * @param string $name Name of the program (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\TagRequest[] $tags List of associated program tags (optional) + * @param string $type Type of the program (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfProgramResponse */ - public function createProgramUsingPOST($create_program_request) + public function createProgramUsingPOST($folder, $channel = null, $costs = null, $description = null, $name = null, $tags = null, $type = null) { - list($response) = $this->createProgramUsingPOSTWithHttpInfo($create_program_request); + list($response) = $this->createProgramUsingPOSTWithHttpInfo($folder, $channel, $costs, $description, $name, $tags, $type); return $response; } @@ -956,16 +987,22 @@ public function createProgramUsingPOST($create_program_request) * * Create Program * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateProgramRequest $create_program_request createProgramRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $channel Channel of the program (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\CostRequest[] $costs Lists of associated period costs (optional) + * @param string $description (optional) + * @param string $name Name of the program (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\TagRequest[] $tags List of associated program tags (optional) + * @param string $type Type of the program (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfProgramResponse, HTTP status code, HTTP response headers (array of strings) */ - public function createProgramUsingPOSTWithHttpInfo($create_program_request) + public function createProgramUsingPOSTWithHttpInfo($folder, $channel = null, $costs = null, $description = null, $name = null, $tags = null, $type = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfProgramResponse'; - $request = $this->createProgramUsingPOSTRequest($create_program_request); + $request = $this->createProgramUsingPOSTRequest($folder, $channel, $costs, $description, $name, $tags, $type); try { $options = $this->createHttpClientOption(); @@ -1031,14 +1068,20 @@ public function createProgramUsingPOSTWithHttpInfo($create_program_request) * * Create Program * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateProgramRequest $create_program_request createProgramRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $channel Channel of the program (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\CostRequest[] $costs Lists of associated period costs (optional) + * @param string $description (optional) + * @param string $name Name of the program (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\TagRequest[] $tags List of associated program tags (optional) + * @param string $type Type of the program (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createProgramUsingPOSTAsync($create_program_request) + public function createProgramUsingPOSTAsync($folder, $channel = null, $costs = null, $description = null, $name = null, $tags = null, $type = null) { - return $this->createProgramUsingPOSTAsyncWithHttpInfo($create_program_request) + return $this->createProgramUsingPOSTAsyncWithHttpInfo($folder, $channel, $costs, $description, $name, $tags, $type) ->then( function ($response) { return $response[0]; @@ -1051,15 +1094,21 @@ function ($response) { * * Create Program * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateProgramRequest $create_program_request createProgramRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $channel Channel of the program (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\CostRequest[] $costs Lists of associated period costs (optional) + * @param string $description (optional) + * @param string $name Name of the program (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\TagRequest[] $tags List of associated program tags (optional) + * @param string $type Type of the program (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createProgramUsingPOSTAsyncWithHttpInfo($create_program_request) + public function createProgramUsingPOSTAsyncWithHttpInfo($folder, $channel = null, $costs = null, $description = null, $name = null, $tags = null, $type = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfProgramResponse'; - $request = $this->createProgramUsingPOSTRequest($create_program_request); + $request = $this->createProgramUsingPOSTRequest($folder, $channel, $costs, $description, $name, $tags, $type); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -1101,17 +1150,23 @@ function ($exception) { /** * Create request for operation 'createProgramUsingPOST' * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateProgramRequest $create_program_request createProgramRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $channel Channel of the program (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\CostRequest[] $costs Lists of associated period costs (optional) + * @param string $description (optional) + * @param string $name Name of the program (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\TagRequest[] $tags List of associated program tags (optional) + * @param string $type Type of the program (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function createProgramUsingPOSTRequest($create_program_request) + protected function createProgramUsingPOSTRequest($folder, $channel = null, $costs = null, $description = null, $name = null, $tags = null, $type = null) { - // verify the required parameter 'create_program_request' is set - if ($create_program_request === null || (is_array($create_program_request) && count($create_program_request) === 0)) { + // verify the required parameter 'folder' is set + if ($folder === null || (is_array($folder) && count($folder) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $create_program_request when calling createProgramUsingPOST' + 'Missing the required parameter $folder when calling createProgramUsingPOST' ); } @@ -1124,11 +1179,36 @@ protected function createProgramUsingPOSTRequest($create_program_request) + // form params + if ($channel !== null) { + $formParams['channel'] = ObjectSerializer::toFormValue($channel); + } + // form params + if ($costs !== null) { + $formParams['costs'] = ObjectSerializer::toFormValue($costs); + } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($folder !== null) { + $formParams['folder'] = ObjectSerializer::toFormValue($folder); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($tags !== null) { + $formParams['tags'] = ObjectSerializer::toFormValue($tags); + } + // form params + if ($type !== null) { + $formParams['type'] = ObjectSerializer::toFormValue($type); + } // body params $_tempBody = null; - if (isset($create_program_request)) { - $_tempBody = $create_program_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -1406,7 +1486,7 @@ protected function deleteProgramUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1675,7 +1755,7 @@ protected function getProgramByIdUsingGETRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1958,7 +2038,7 @@ protected function getProgramByNameUsingGETRequest($name, $include_tags = null, } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2256,7 +2336,7 @@ protected function getProgramListByTagUsingGETRequest($tag_type, $tag_value, $ma } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2534,7 +2614,7 @@ protected function getSmartListByProgramIdUsingGETRequest($program_id, $include_ } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2803,7 +2883,7 @@ protected function unapproveProgramUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2870,15 +2950,21 @@ protected function unapproveProgramUsingPOSTRequest($id) * Update Program Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateProgramRequest $update_program_request updateProgramRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\CostRequest[] $costs Lists of associated period costs that allow you to append, replace, or delete. To append new costs, simply add them to costs array. To replace costs (destructive update), pass new costs and set costsDestructiveUpdate to true. To delete costs, do not pass costs parameter and set costsDestructiveUpdate to true (optional) + * @param bool $costs_destructive_update Set true to destroy existing costs and replace them with the specified costs (optional) + * @param string $description Updated description for the program (optional) + * @param string $end_date End date of the program. Applicable to event, email, and webinar type programs (optional) + * @param string $name Name of the program (optional) + * @param string $start_date Start date of program. Applicable to event, email and webinar type programs (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\TagRequest[] $tags List of associated program tags (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfProgramResponse */ - public function updateProgramUsingPOST($id, $update_program_request) + public function updateProgramUsingPOST($id, $costs = null, $costs_destructive_update = null, $description = null, $end_date = null, $name = null, $start_date = null, $tags = null) { - list($response) = $this->updateProgramUsingPOSTWithHttpInfo($id, $update_program_request); + list($response) = $this->updateProgramUsingPOSTWithHttpInfo($id, $costs, $costs_destructive_update, $description, $end_date, $name, $start_date, $tags); return $response; } @@ -2888,16 +2974,22 @@ public function updateProgramUsingPOST($id, $update_program_request) * Update Program Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateProgramRequest $update_program_request updateProgramRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\CostRequest[] $costs Lists of associated period costs that allow you to append, replace, or delete. To append new costs, simply add them to costs array. To replace costs (destructive update), pass new costs and set costsDestructiveUpdate to true. To delete costs, do not pass costs parameter and set costsDestructiveUpdate to true (optional) + * @param bool $costs_destructive_update Set true to destroy existing costs and replace them with the specified costs (optional) + * @param string $description Updated description for the program (optional) + * @param string $end_date End date of the program. Applicable to event, email, and webinar type programs (optional) + * @param string $name Name of the program (optional) + * @param string $start_date Start date of program. Applicable to event, email and webinar type programs (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\TagRequest[] $tags List of associated program tags (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfProgramResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateProgramUsingPOSTWithHttpInfo($id, $update_program_request) + public function updateProgramUsingPOSTWithHttpInfo($id, $costs = null, $costs_destructive_update = null, $description = null, $end_date = null, $name = null, $start_date = null, $tags = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfProgramResponse'; - $request = $this->updateProgramUsingPOSTRequest($id, $update_program_request); + $request = $this->updateProgramUsingPOSTRequest($id, $costs, $costs_destructive_update, $description, $end_date, $name, $start_date, $tags); try { $options = $this->createHttpClientOption(); @@ -2964,14 +3056,20 @@ public function updateProgramUsingPOSTWithHttpInfo($id, $update_program_request) * Update Program Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateProgramRequest $update_program_request updateProgramRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\CostRequest[] $costs Lists of associated period costs that allow you to append, replace, or delete. To append new costs, simply add them to costs array. To replace costs (destructive update), pass new costs and set costsDestructiveUpdate to true. To delete costs, do not pass costs parameter and set costsDestructiveUpdate to true (optional) + * @param bool $costs_destructive_update Set true to destroy existing costs and replace them with the specified costs (optional) + * @param string $description Updated description for the program (optional) + * @param string $end_date End date of the program. Applicable to event, email, and webinar type programs (optional) + * @param string $name Name of the program (optional) + * @param string $start_date Start date of program. Applicable to event, email and webinar type programs (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\TagRequest[] $tags List of associated program tags (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateProgramUsingPOSTAsync($id, $update_program_request) + public function updateProgramUsingPOSTAsync($id, $costs = null, $costs_destructive_update = null, $description = null, $end_date = null, $name = null, $start_date = null, $tags = null) { - return $this->updateProgramUsingPOSTAsyncWithHttpInfo($id, $update_program_request) + return $this->updateProgramUsingPOSTAsyncWithHttpInfo($id, $costs, $costs_destructive_update, $description, $end_date, $name, $start_date, $tags) ->then( function ($response) { return $response[0]; @@ -2985,15 +3083,21 @@ function ($response) { * Update Program Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateProgramRequest $update_program_request updateProgramRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\CostRequest[] $costs Lists of associated period costs that allow you to append, replace, or delete. To append new costs, simply add them to costs array. To replace costs (destructive update), pass new costs and set costsDestructiveUpdate to true. To delete costs, do not pass costs parameter and set costsDestructiveUpdate to true (optional) + * @param bool $costs_destructive_update Set true to destroy existing costs and replace them with the specified costs (optional) + * @param string $description Updated description for the program (optional) + * @param string $end_date End date of the program. Applicable to event, email, and webinar type programs (optional) + * @param string $name Name of the program (optional) + * @param string $start_date Start date of program. Applicable to event, email and webinar type programs (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\TagRequest[] $tags List of associated program tags (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateProgramUsingPOSTAsyncWithHttpInfo($id, $update_program_request) + public function updateProgramUsingPOSTAsyncWithHttpInfo($id, $costs = null, $costs_destructive_update = null, $description = null, $end_date = null, $name = null, $start_date = null, $tags = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfProgramResponse'; - $request = $this->updateProgramUsingPOSTRequest($id, $update_program_request); + $request = $this->updateProgramUsingPOSTRequest($id, $costs, $costs_destructive_update, $description, $end_date, $name, $start_date, $tags); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -3036,12 +3140,18 @@ function ($exception) { * Create request for operation 'updateProgramUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateProgramRequest $update_program_request updateProgramRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\CostRequest[] $costs Lists of associated period costs that allow you to append, replace, or delete. To append new costs, simply add them to costs array. To replace costs (destructive update), pass new costs and set costsDestructiveUpdate to true. To delete costs, do not pass costs parameter and set costsDestructiveUpdate to true (optional) + * @param bool $costs_destructive_update Set true to destroy existing costs and replace them with the specified costs (optional) + * @param string $description Updated description for the program (optional) + * @param string $end_date End date of the program. Applicable to event, email, and webinar type programs (optional) + * @param string $name Name of the program (optional) + * @param string $start_date Start date of program. Applicable to event, email and webinar type programs (optional) + * @param \NecLimDul\MarketoRest\Asset\Model\TagRequest[] $tags List of associated program tags (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateProgramUsingPOSTRequest($id, $update_program_request) + protected function updateProgramUsingPOSTRequest($id, $costs = null, $costs_destructive_update = null, $description = null, $end_date = null, $name = null, $start_date = null, $tags = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -3049,12 +3159,6 @@ protected function updateProgramUsingPOSTRequest($id, $update_program_request) 'Missing the required parameter $id when calling updateProgramUsingPOST' ); } - // verify the required parameter 'update_program_request' is set - if ($update_program_request === null || (is_array($update_program_request) && count($update_program_request) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $update_program_request when calling updateProgramUsingPOST' - ); - } $resourcePath = '/rest/asset/v1/program/{id}.json'; $formParams = []; @@ -3073,11 +3177,36 @@ protected function updateProgramUsingPOSTRequest($id, $update_program_request) ); } + // form params + if ($costs !== null) { + $formParams['costs'] = ObjectSerializer::toFormValue($costs); + } + // form params + if ($costs_destructive_update !== null) { + $formParams['costsDestructiveUpdate'] = ObjectSerializer::toFormValue($costs_destructive_update); + } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($end_date !== null) { + $formParams['endDate'] = ObjectSerializer::toFormValue($end_date); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($start_date !== null) { + $formParams['startDate'] = ObjectSerializer::toFormValue($start_date); + } + // form params + if ($tags !== null) { + $formParams['tags'] = ObjectSerializer::toFormValue($tags); + } // body params $_tempBody = null; - if (isset($update_program_request)) { - $_tempBody = $update_program_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( diff --git a/src/Asset/Api/SegmentsApi.php b/src/Asset/Api/SegmentsApi.php index 5af17d9f..8b37bdbe 100644 --- a/src/Asset/Api/SegmentsApi.php +++ b/src/Asset/Api/SegmentsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -285,7 +285,7 @@ protected function getSegmentationUsingGETRequest($status = null) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -581,7 +581,7 @@ protected function getSegmentsForSegmentationUsingGETRequest($id, $status = null } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } diff --git a/src/Asset/Api/SmartCampaignsApi.php b/src/Asset/Api/SmartCampaignsApi.php index f41d3124..eab04fb3 100644 --- a/src/Asset/Api/SmartCampaignsApi.php +++ b/src/Asset/Api/SmartCampaignsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -295,7 +295,7 @@ protected function activateSmartCampaignUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['multipart/form-data'] + [] ); } @@ -362,15 +362,17 @@ protected function activateSmartCampaignUsingPOSTRequest($id) * Clone Smart Campaign * * @param int $id Id of the smart campaign (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneSmartCampaignRequest $clone_smart_campaign_request cloneSmartCampaignRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder (required) + * @param string $name Name of the smart campaign (required) + * @param string $description Description of the smart campaign (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfSmartCampaignResponse */ - public function cloneSmartCampaignUsingPOST($id, $clone_smart_campaign_request) + public function cloneSmartCampaignUsingPOST($id, $folder, $name, $description = null) { - list($response) = $this->cloneSmartCampaignUsingPOSTWithHttpInfo($id, $clone_smart_campaign_request); + list($response) = $this->cloneSmartCampaignUsingPOSTWithHttpInfo($id, $folder, $name, $description); return $response; } @@ -380,16 +382,18 @@ public function cloneSmartCampaignUsingPOST($id, $clone_smart_campaign_request) * Clone Smart Campaign * * @param int $id Id of the smart campaign (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneSmartCampaignRequest $clone_smart_campaign_request cloneSmartCampaignRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the smart campaign (required) + * @param string $description Description of the smart campaign (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfSmartCampaignResponse, HTTP status code, HTTP response headers (array of strings) */ - public function cloneSmartCampaignUsingPOSTWithHttpInfo($id, $clone_smart_campaign_request) + public function cloneSmartCampaignUsingPOSTWithHttpInfo($id, $folder, $name, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfSmartCampaignResponse'; - $request = $this->cloneSmartCampaignUsingPOSTRequest($id, $clone_smart_campaign_request); + $request = $this->cloneSmartCampaignUsingPOSTRequest($id, $folder, $name, $description); try { $options = $this->createHttpClientOption(); @@ -456,14 +460,16 @@ public function cloneSmartCampaignUsingPOSTWithHttpInfo($id, $clone_smart_campai * Clone Smart Campaign * * @param int $id Id of the smart campaign (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneSmartCampaignRequest $clone_smart_campaign_request cloneSmartCampaignRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the smart campaign (required) + * @param string $description Description of the smart campaign (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function cloneSmartCampaignUsingPOSTAsync($id, $clone_smart_campaign_request) + public function cloneSmartCampaignUsingPOSTAsync($id, $folder, $name, $description = null) { - return $this->cloneSmartCampaignUsingPOSTAsyncWithHttpInfo($id, $clone_smart_campaign_request) + return $this->cloneSmartCampaignUsingPOSTAsyncWithHttpInfo($id, $folder, $name, $description) ->then( function ($response) { return $response[0]; @@ -477,15 +483,17 @@ function ($response) { * Clone Smart Campaign * * @param int $id Id of the smart campaign (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneSmartCampaignRequest $clone_smart_campaign_request cloneSmartCampaignRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the smart campaign (required) + * @param string $description Description of the smart campaign (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function cloneSmartCampaignUsingPOSTAsyncWithHttpInfo($id, $clone_smart_campaign_request) + public function cloneSmartCampaignUsingPOSTAsyncWithHttpInfo($id, $folder, $name, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfSmartCampaignResponse'; - $request = $this->cloneSmartCampaignUsingPOSTRequest($id, $clone_smart_campaign_request); + $request = $this->cloneSmartCampaignUsingPOSTRequest($id, $folder, $name, $description); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -528,12 +536,14 @@ function ($exception) { * Create request for operation 'cloneSmartCampaignUsingPOST' * * @param int $id Id of the smart campaign (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneSmartCampaignRequest $clone_smart_campaign_request cloneSmartCampaignRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the smart campaign (required) + * @param string $description Description of the smart campaign (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function cloneSmartCampaignUsingPOSTRequest($id, $clone_smart_campaign_request) + protected function cloneSmartCampaignUsingPOSTRequest($id, $folder, $name, $description = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -541,10 +551,16 @@ protected function cloneSmartCampaignUsingPOSTRequest($id, $clone_smart_campaign 'Missing the required parameter $id when calling cloneSmartCampaignUsingPOST' ); } - // verify the required parameter 'clone_smart_campaign_request' is set - if ($clone_smart_campaign_request === null || (is_array($clone_smart_campaign_request) && count($clone_smart_campaign_request) === 0)) { + // verify the required parameter 'folder' is set + if ($folder === null || (is_array($folder) && count($folder) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $clone_smart_campaign_request when calling cloneSmartCampaignUsingPOST' + 'Missing the required parameter $folder when calling cloneSmartCampaignUsingPOST' + ); + } + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $name when calling cloneSmartCampaignUsingPOST' ); } @@ -565,11 +581,20 @@ protected function cloneSmartCampaignUsingPOSTRequest($id, $clone_smart_campaign ); } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($folder !== null) { + $formParams['folder'] = ObjectSerializer::toFormValue($folder); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } // body params $_tempBody = null; - if (isset($clone_smart_campaign_request)) { - $_tempBody = $clone_smart_campaign_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -644,15 +669,17 @@ protected function cloneSmartCampaignUsingPOSTRequest($id, $clone_smart_campaign * * Create Smart Campaign * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateSmartCampaignRequest $create_smart_campaign_request createSmartCampaignRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder (required) + * @param string $name Name of the smart campaign (required) + * @param string $description Description of the smart campaign (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfSmartCampaignResponse */ - public function createSmartCampaignUsingPOST($create_smart_campaign_request) + public function createSmartCampaignUsingPOST($folder, $name, $description = null) { - list($response) = $this->createSmartCampaignUsingPOSTWithHttpInfo($create_smart_campaign_request); + list($response) = $this->createSmartCampaignUsingPOSTWithHttpInfo($folder, $name, $description); return $response; } @@ -661,16 +688,18 @@ public function createSmartCampaignUsingPOST($create_smart_campaign_request) * * Create Smart Campaign * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateSmartCampaignRequest $create_smart_campaign_request createSmartCampaignRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the smart campaign (required) + * @param string $description Description of the smart campaign (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfSmartCampaignResponse, HTTP status code, HTTP response headers (array of strings) */ - public function createSmartCampaignUsingPOSTWithHttpInfo($create_smart_campaign_request) + public function createSmartCampaignUsingPOSTWithHttpInfo($folder, $name, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfSmartCampaignResponse'; - $request = $this->createSmartCampaignUsingPOSTRequest($create_smart_campaign_request); + $request = $this->createSmartCampaignUsingPOSTRequest($folder, $name, $description); try { $options = $this->createHttpClientOption(); @@ -736,14 +765,16 @@ public function createSmartCampaignUsingPOSTWithHttpInfo($create_smart_campaign_ * * Create Smart Campaign * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateSmartCampaignRequest $create_smart_campaign_request createSmartCampaignRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the smart campaign (required) + * @param string $description Description of the smart campaign (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createSmartCampaignUsingPOSTAsync($create_smart_campaign_request) + public function createSmartCampaignUsingPOSTAsync($folder, $name, $description = null) { - return $this->createSmartCampaignUsingPOSTAsyncWithHttpInfo($create_smart_campaign_request) + return $this->createSmartCampaignUsingPOSTAsyncWithHttpInfo($folder, $name, $description) ->then( function ($response) { return $response[0]; @@ -756,15 +787,17 @@ function ($response) { * * Create Smart Campaign * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateSmartCampaignRequest $create_smart_campaign_request createSmartCampaignRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the smart campaign (required) + * @param string $description Description of the smart campaign (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createSmartCampaignUsingPOSTAsyncWithHttpInfo($create_smart_campaign_request) + public function createSmartCampaignUsingPOSTAsyncWithHttpInfo($folder, $name, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfSmartCampaignResponse'; - $request = $this->createSmartCampaignUsingPOSTRequest($create_smart_campaign_request); + $request = $this->createSmartCampaignUsingPOSTRequest($folder, $name, $description); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -806,17 +839,25 @@ function ($exception) { /** * Create request for operation 'createSmartCampaignUsingPOST' * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateSmartCampaignRequest $create_smart_campaign_request createSmartCampaignRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the smart campaign (required) + * @param string $description Description of the smart campaign (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function createSmartCampaignUsingPOSTRequest($create_smart_campaign_request) + protected function createSmartCampaignUsingPOSTRequest($folder, $name, $description = null) { - // verify the required parameter 'create_smart_campaign_request' is set - if ($create_smart_campaign_request === null || (is_array($create_smart_campaign_request) && count($create_smart_campaign_request) === 0)) { + // verify the required parameter 'folder' is set + if ($folder === null || (is_array($folder) && count($folder) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $create_smart_campaign_request when calling createSmartCampaignUsingPOST' + 'Missing the required parameter $folder when calling createSmartCampaignUsingPOST' + ); + } + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $name when calling createSmartCampaignUsingPOST' ); } @@ -829,11 +870,20 @@ protected function createSmartCampaignUsingPOSTRequest($create_smart_campaign_re + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($folder !== null) { + $formParams['folder'] = ObjectSerializer::toFormValue($folder); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } // body params $_tempBody = null; - if (isset($create_smart_campaign_request)) { - $_tempBody = $create_smart_campaign_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -1111,7 +1161,7 @@ protected function deactivateSmartCampaignUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['multipart/form-data'] + [] ); } @@ -1380,7 +1430,7 @@ protected function deleteSmartCampaignUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1675,7 +1725,7 @@ protected function getAllSmartCampaignsGETRequest($max_return = null, $offset = } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1944,7 +1994,7 @@ protected function getSmartCampaignByIdUsingGETRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -2209,7 +2259,7 @@ protected function getSmartCampaignByNameUsingGETRequest($name) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -2487,7 +2537,7 @@ protected function getSmartListBySmartCampaignIdUsingGETRequest($id, $include_ru } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } diff --git a/src/Asset/Api/SmartListsApi.php b/src/Asset/Api/SmartListsApi.php index db28254f..755aae2a 100644 --- a/src/Asset/Api/SmartListsApi.php +++ b/src/Asset/Api/SmartListsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -93,15 +93,17 @@ public function getConfig() * Clone Smart List * * @param int $id Id of smart list to clone (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneSmartListRequest $clone_smart_list_request cloneSmartListRequest (required) + * @param string $name Name for the cloned smart list (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder (required) + * @param string $description Description of the cloned smart list (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfSmartListResponse */ - public function cloneSmartListUsingPOST($id, $clone_smart_list_request) + public function cloneSmartListUsingPOST($id, $name, $folder, $description = null) { - list($response) = $this->cloneSmartListUsingPOSTWithHttpInfo($id, $clone_smart_list_request); + list($response) = $this->cloneSmartListUsingPOSTWithHttpInfo($id, $name, $folder, $description); return $response; } @@ -111,16 +113,18 @@ public function cloneSmartListUsingPOST($id, $clone_smart_list_request) * Clone Smart List * * @param int $id Id of smart list to clone (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneSmartListRequest $clone_smart_list_request cloneSmartListRequest (required) + * @param string $name Name for the cloned smart list (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the cloned smart list (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfSmartListResponse, HTTP status code, HTTP response headers (array of strings) */ - public function cloneSmartListUsingPOSTWithHttpInfo($id, $clone_smart_list_request) + public function cloneSmartListUsingPOSTWithHttpInfo($id, $name, $folder, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfSmartListResponse'; - $request = $this->cloneSmartListUsingPOSTRequest($id, $clone_smart_list_request); + $request = $this->cloneSmartListUsingPOSTRequest($id, $name, $folder, $description); try { $options = $this->createHttpClientOption(); @@ -187,14 +191,16 @@ public function cloneSmartListUsingPOSTWithHttpInfo($id, $clone_smart_list_reque * Clone Smart List * * @param int $id Id of smart list to clone (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneSmartListRequest $clone_smart_list_request cloneSmartListRequest (required) + * @param string $name Name for the cloned smart list (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the cloned smart list (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function cloneSmartListUsingPOSTAsync($id, $clone_smart_list_request) + public function cloneSmartListUsingPOSTAsync($id, $name, $folder, $description = null) { - return $this->cloneSmartListUsingPOSTAsyncWithHttpInfo($id, $clone_smart_list_request) + return $this->cloneSmartListUsingPOSTAsyncWithHttpInfo($id, $name, $folder, $description) ->then( function ($response) { return $response[0]; @@ -208,15 +214,17 @@ function ($response) { * Clone Smart List * * @param int $id Id of smart list to clone (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneSmartListRequest $clone_smart_list_request cloneSmartListRequest (required) + * @param string $name Name for the cloned smart list (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the cloned smart list (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function cloneSmartListUsingPOSTAsyncWithHttpInfo($id, $clone_smart_list_request) + public function cloneSmartListUsingPOSTAsyncWithHttpInfo($id, $name, $folder, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfSmartListResponse'; - $request = $this->cloneSmartListUsingPOSTRequest($id, $clone_smart_list_request); + $request = $this->cloneSmartListUsingPOSTRequest($id, $name, $folder, $description); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -259,12 +267,14 @@ function ($exception) { * Create request for operation 'cloneSmartListUsingPOST' * * @param int $id Id of smart list to clone (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneSmartListRequest $clone_smart_list_request cloneSmartListRequest (required) + * @param string $name Name for the cloned smart list (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the cloned smart list (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function cloneSmartListUsingPOSTRequest($id, $clone_smart_list_request) + protected function cloneSmartListUsingPOSTRequest($id, $name, $folder, $description = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -272,10 +282,16 @@ protected function cloneSmartListUsingPOSTRequest($id, $clone_smart_list_request 'Missing the required parameter $id when calling cloneSmartListUsingPOST' ); } - // verify the required parameter 'clone_smart_list_request' is set - if ($clone_smart_list_request === null || (is_array($clone_smart_list_request) && count($clone_smart_list_request) === 0)) { + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $name when calling cloneSmartListUsingPOST' + ); + } + // verify the required parameter 'folder' is set + if ($folder === null || (is_array($folder) && count($folder) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $clone_smart_list_request when calling cloneSmartListUsingPOST' + 'Missing the required parameter $folder when calling cloneSmartListUsingPOST' ); } @@ -296,11 +312,20 @@ protected function cloneSmartListUsingPOSTRequest($id, $clone_smart_list_request ); } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($folder !== null) { + $formParams['folder'] = ObjectSerializer::toFormValue($folder); + } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } // body params $_tempBody = null; - if (isset($clone_smart_list_request)) { - $_tempBody = $clone_smart_list_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -578,7 +603,7 @@ protected function deleteSmartListByIdUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -856,7 +881,7 @@ protected function getSmartListByIdUsingGETRequest($id, $include_rules = null) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1121,7 +1146,7 @@ protected function getSmartListByNameUsingGETRequest($name) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1416,7 +1441,7 @@ protected function getSmartListsUsingGETRequest($folder = null, $offset = null, } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } diff --git a/src/Asset/Api/SnippetsApi.php b/src/Asset/Api/SnippetsApi.php index cf5f3424..846cd521 100644 --- a/src/Asset/Api/SnippetsApi.php +++ b/src/Asset/Api/SnippetsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -295,7 +295,7 @@ protected function approveSnippetUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -362,15 +362,17 @@ protected function approveSnippetUsingPOSTRequest($id) * Clone Snippet * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneSnippetRequest $clone_snippet_request cloneSnippetRequest (optional) + * @param string $name Name for the cloned snippet (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder (required) + * @param string $description Description of the cloned snippet (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfSnippetResponse */ - public function cloneSnippetUsingPOST($id, $clone_snippet_request = null) + public function cloneSnippetUsingPOST($id, $name, $folder, $description = null) { - list($response) = $this->cloneSnippetUsingPOSTWithHttpInfo($id, $clone_snippet_request); + list($response) = $this->cloneSnippetUsingPOSTWithHttpInfo($id, $name, $folder, $description); return $response; } @@ -380,16 +382,18 @@ public function cloneSnippetUsingPOST($id, $clone_snippet_request = null) * Clone Snippet * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneSnippetRequest $clone_snippet_request cloneSnippetRequest (optional) + * @param string $name Name for the cloned snippet (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the cloned snippet (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfSnippetResponse, HTTP status code, HTTP response headers (array of strings) */ - public function cloneSnippetUsingPOSTWithHttpInfo($id, $clone_snippet_request = null) + public function cloneSnippetUsingPOSTWithHttpInfo($id, $name, $folder, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfSnippetResponse'; - $request = $this->cloneSnippetUsingPOSTRequest($id, $clone_snippet_request); + $request = $this->cloneSnippetUsingPOSTRequest($id, $name, $folder, $description); try { $options = $this->createHttpClientOption(); @@ -456,14 +460,16 @@ public function cloneSnippetUsingPOSTWithHttpInfo($id, $clone_snippet_request = * Clone Snippet * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneSnippetRequest $clone_snippet_request cloneSnippetRequest (optional) + * @param string $name Name for the cloned snippet (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the cloned snippet (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function cloneSnippetUsingPOSTAsync($id, $clone_snippet_request = null) + public function cloneSnippetUsingPOSTAsync($id, $name, $folder, $description = null) { - return $this->cloneSnippetUsingPOSTAsyncWithHttpInfo($id, $clone_snippet_request) + return $this->cloneSnippetUsingPOSTAsyncWithHttpInfo($id, $name, $folder, $description) ->then( function ($response) { return $response[0]; @@ -477,15 +483,17 @@ function ($response) { * Clone Snippet * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneSnippetRequest $clone_snippet_request cloneSnippetRequest (optional) + * @param string $name Name for the cloned snippet (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the cloned snippet (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function cloneSnippetUsingPOSTAsyncWithHttpInfo($id, $clone_snippet_request = null) + public function cloneSnippetUsingPOSTAsyncWithHttpInfo($id, $name, $folder, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfSnippetResponse'; - $request = $this->cloneSnippetUsingPOSTRequest($id, $clone_snippet_request); + $request = $this->cloneSnippetUsingPOSTRequest($id, $name, $folder, $description); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -528,12 +536,14 @@ function ($exception) { * Create request for operation 'cloneSnippetUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CloneSnippetRequest $clone_snippet_request cloneSnippetRequest (optional) + * @param string $name Name for the cloned snippet (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the cloned snippet (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function cloneSnippetUsingPOSTRequest($id, $clone_snippet_request = null) + protected function cloneSnippetUsingPOSTRequest($id, $name, $folder, $description = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -541,6 +551,18 @@ protected function cloneSnippetUsingPOSTRequest($id, $clone_snippet_request = nu 'Missing the required parameter $id when calling cloneSnippetUsingPOST' ); } + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $name when calling cloneSnippetUsingPOST' + ); + } + // verify the required parameter 'folder' is set + if ($folder === null || (is_array($folder) && count($folder) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $folder when calling cloneSnippetUsingPOST' + ); + } $resourcePath = '/rest/asset/v1/snippet/{id}/clone.json'; $formParams = []; @@ -559,11 +581,20 @@ protected function cloneSnippetUsingPOSTRequest($id, $clone_snippet_request = nu ); } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($folder !== null) { + $formParams['folder'] = ObjectSerializer::toFormValue($folder); + } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } // body params $_tempBody = null; - if (isset($clone_snippet_request)) { - $_tempBody = $clone_snippet_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -638,15 +669,17 @@ protected function cloneSnippetUsingPOSTRequest($id, $clone_snippet_request = nu * * Create Snippet * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateSnippetRequest $create_snippet_request createSnippetRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder (required) + * @param string $name Name of the snippet (required) + * @param string $description Description of the snippet (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfSnippetResponse */ - public function createSnippetUsingPOST($create_snippet_request) + public function createSnippetUsingPOST($folder, $name, $description = null) { - list($response) = $this->createSnippetUsingPOSTWithHttpInfo($create_snippet_request); + list($response) = $this->createSnippetUsingPOSTWithHttpInfo($folder, $name, $description); return $response; } @@ -655,16 +688,18 @@ public function createSnippetUsingPOST($create_snippet_request) * * Create Snippet * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateSnippetRequest $create_snippet_request createSnippetRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the snippet (required) + * @param string $description Description of the snippet (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfSnippetResponse, HTTP status code, HTTP response headers (array of strings) */ - public function createSnippetUsingPOSTWithHttpInfo($create_snippet_request) + public function createSnippetUsingPOSTWithHttpInfo($folder, $name, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfSnippetResponse'; - $request = $this->createSnippetUsingPOSTRequest($create_snippet_request); + $request = $this->createSnippetUsingPOSTRequest($folder, $name, $description); try { $options = $this->createHttpClientOption(); @@ -730,14 +765,16 @@ public function createSnippetUsingPOSTWithHttpInfo($create_snippet_request) * * Create Snippet * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateSnippetRequest $create_snippet_request createSnippetRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the snippet (required) + * @param string $description Description of the snippet (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createSnippetUsingPOSTAsync($create_snippet_request) + public function createSnippetUsingPOSTAsync($folder, $name, $description = null) { - return $this->createSnippetUsingPOSTAsyncWithHttpInfo($create_snippet_request) + return $this->createSnippetUsingPOSTAsyncWithHttpInfo($folder, $name, $description) ->then( function ($response) { return $response[0]; @@ -750,15 +787,17 @@ function ($response) { * * Create Snippet * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateSnippetRequest $create_snippet_request createSnippetRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the snippet (required) + * @param string $description Description of the snippet (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createSnippetUsingPOSTAsyncWithHttpInfo($create_snippet_request) + public function createSnippetUsingPOSTAsyncWithHttpInfo($folder, $name, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfSnippetResponse'; - $request = $this->createSnippetUsingPOSTRequest($create_snippet_request); + $request = $this->createSnippetUsingPOSTRequest($folder, $name, $description); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -800,17 +839,25 @@ function ($exception) { /** * Create request for operation 'createSnippetUsingPOST' * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateSnippetRequest $create_snippet_request createSnippetRequest (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $name Name of the snippet (required) + * @param string $description Description of the snippet (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function createSnippetUsingPOSTRequest($create_snippet_request) + protected function createSnippetUsingPOSTRequest($folder, $name, $description = null) { - // verify the required parameter 'create_snippet_request' is set - if ($create_snippet_request === null || (is_array($create_snippet_request) && count($create_snippet_request) === 0)) { + // verify the required parameter 'folder' is set + if ($folder === null || (is_array($folder) && count($folder) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $create_snippet_request when calling createSnippetUsingPOST' + 'Missing the required parameter $folder when calling createSnippetUsingPOST' + ); + } + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $name when calling createSnippetUsingPOST' ); } @@ -823,11 +870,20 @@ protected function createSnippetUsingPOSTRequest($create_snippet_request) + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($folder !== null) { + $formParams['folder'] = ObjectSerializer::toFormValue($folder); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } // body params $_tempBody = null; - if (isset($create_snippet_request)) { - $_tempBody = $create_snippet_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -1105,7 +1161,7 @@ protected function deleteSnippetUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1374,7 +1430,7 @@ protected function discardSnippetUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1652,7 +1708,7 @@ protected function getDynamicContentUsingGETRequest($id, $status = null) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1930,7 +1986,7 @@ protected function getSnippetByIdUsingGETRequest($id, $status = null) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2208,7 +2264,7 @@ protected function getSnippetContentByIdUsingGETRequest($id, $status = null) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2485,7 +2541,7 @@ protected function getSnippetUsingGETRequest($status = null, $max_return = null, } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -2754,7 +2810,7 @@ protected function unapproveSnippetUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -3053,7 +3109,7 @@ protected function updateContentUsingPOST1Request($id, $content, $type) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -3121,15 +3177,16 @@ protected function updateContentUsingPOST1Request($id, $content, $type) * * @param int $id id (required) * @param int $segment_id segmentId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateSnippetDynamicContentRequest $request request (required) + * @param string $type Type of dynamic content section (optional) + * @param string $value Value of the dynamic content section (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse */ - public function updateDynamicContentUsingPOST($id, $segment_id, $request) + public function updateDynamicContentUsingPOST($id, $segment_id, $type = null, $value = null) { - list($response) = $this->updateDynamicContentUsingPOSTWithHttpInfo($id, $segment_id, $request); + list($response) = $this->updateDynamicContentUsingPOSTWithHttpInfo($id, $segment_id, $type, $value); return $response; } @@ -3140,16 +3197,17 @@ public function updateDynamicContentUsingPOST($id, $segment_id, $request) * * @param int $id id (required) * @param int $segment_id segmentId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateSnippetDynamicContentRequest $request request (required) + * @param string $type Type of dynamic content section (optional) + * @param string $value Value of the dynamic content section (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateDynamicContentUsingPOSTWithHttpInfo($id, $segment_id, $request) + public function updateDynamicContentUsingPOSTWithHttpInfo($id, $segment_id, $type = null, $value = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->updateDynamicContentUsingPOSTRequest($id, $segment_id, $request); + $request = $this->updateDynamicContentUsingPOSTRequest($id, $segment_id, $type, $value); try { $options = $this->createHttpClientOption(); @@ -3217,14 +3275,15 @@ public function updateDynamicContentUsingPOSTWithHttpInfo($id, $segment_id, $req * * @param int $id id (required) * @param int $segment_id segmentId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateSnippetDynamicContentRequest $request request (required) + * @param string $type Type of dynamic content section (optional) + * @param string $value Value of the dynamic content section (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateDynamicContentUsingPOSTAsync($id, $segment_id, $request) + public function updateDynamicContentUsingPOSTAsync($id, $segment_id, $type = null, $value = null) { - return $this->updateDynamicContentUsingPOSTAsyncWithHttpInfo($id, $segment_id, $request) + return $this->updateDynamicContentUsingPOSTAsyncWithHttpInfo($id, $segment_id, $type, $value) ->then( function ($response) { return $response[0]; @@ -3239,15 +3298,16 @@ function ($response) { * * @param int $id id (required) * @param int $segment_id segmentId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateSnippetDynamicContentRequest $request request (required) + * @param string $type Type of dynamic content section (optional) + * @param string $value Value of the dynamic content section (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateDynamicContentUsingPOSTAsyncWithHttpInfo($id, $segment_id, $request) + public function updateDynamicContentUsingPOSTAsyncWithHttpInfo($id, $segment_id, $type = null, $value = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->updateDynamicContentUsingPOSTRequest($id, $segment_id, $request); + $request = $this->updateDynamicContentUsingPOSTRequest($id, $segment_id, $type, $value); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -3291,12 +3351,13 @@ function ($exception) { * * @param int $id id (required) * @param int $segment_id segmentId (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateSnippetDynamicContentRequest $request request (required) + * @param string $type Type of dynamic content section (optional) + * @param string $value Value of the dynamic content section (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateDynamicContentUsingPOSTRequest($id, $segment_id, $request) + protected function updateDynamicContentUsingPOSTRequest($id, $segment_id, $type = null, $value = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -3310,12 +3371,6 @@ protected function updateDynamicContentUsingPOSTRequest($id, $segment_id, $reque 'Missing the required parameter $segment_id when calling updateDynamicContentUsingPOST' ); } - // verify the required parameter 'request' is set - if ($request === null || (is_array($request) && count($request) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $request when calling updateDynamicContentUsingPOST' - ); - } $resourcePath = '/rest/asset/v1/snippet/{id}/dynamicContent/{segmentId}.json'; $formParams = []; @@ -3342,11 +3397,16 @@ protected function updateDynamicContentUsingPOSTRequest($id, $segment_id, $reque ); } + // form params + if ($type !== null) { + $formParams['type'] = ObjectSerializer::toFormValue($type); + } + // form params + if ($value !== null) { + $formParams['value'] = ObjectSerializer::toFormValue($value); + } // body params $_tempBody = null; - if (isset($request)) { - $_tempBody = $request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -3422,15 +3482,17 @@ protected function updateDynamicContentUsingPOSTRequest($id, $segment_id, $reque * Update Snippet Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateSnippetRequest $update_snippet_request updateSnippetRequest (required) + * @param string $description Description of the snippet (optional) + * @param string $is_archive Archival status of the snippet (optional) + * @param string $name Name of the snippet (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfSnippetResponse */ - public function updateSnippetUsingPOST($id, $update_snippet_request) + public function updateSnippetUsingPOST($id, $description = null, $is_archive = null, $name = null) { - list($response) = $this->updateSnippetUsingPOSTWithHttpInfo($id, $update_snippet_request); + list($response) = $this->updateSnippetUsingPOSTWithHttpInfo($id, $description, $is_archive, $name); return $response; } @@ -3440,16 +3502,18 @@ public function updateSnippetUsingPOST($id, $update_snippet_request) * Update Snippet Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateSnippetRequest $update_snippet_request updateSnippetRequest (required) + * @param string $description Description of the snippet (optional) + * @param string $is_archive Archival status of the snippet (optional) + * @param string $name Name of the snippet (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfSnippetResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateSnippetUsingPOSTWithHttpInfo($id, $update_snippet_request) + public function updateSnippetUsingPOSTWithHttpInfo($id, $description = null, $is_archive = null, $name = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfSnippetResponse'; - $request = $this->updateSnippetUsingPOSTRequest($id, $update_snippet_request); + $request = $this->updateSnippetUsingPOSTRequest($id, $description, $is_archive, $name); try { $options = $this->createHttpClientOption(); @@ -3516,14 +3580,16 @@ public function updateSnippetUsingPOSTWithHttpInfo($id, $update_snippet_request) * Update Snippet Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateSnippetRequest $update_snippet_request updateSnippetRequest (required) + * @param string $description Description of the snippet (optional) + * @param string $is_archive Archival status of the snippet (optional) + * @param string $name Name of the snippet (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateSnippetUsingPOSTAsync($id, $update_snippet_request) + public function updateSnippetUsingPOSTAsync($id, $description = null, $is_archive = null, $name = null) { - return $this->updateSnippetUsingPOSTAsyncWithHttpInfo($id, $update_snippet_request) + return $this->updateSnippetUsingPOSTAsyncWithHttpInfo($id, $description, $is_archive, $name) ->then( function ($response) { return $response[0]; @@ -3537,15 +3603,17 @@ function ($response) { * Update Snippet Metadata * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateSnippetRequest $update_snippet_request updateSnippetRequest (required) + * @param string $description Description of the snippet (optional) + * @param string $is_archive Archival status of the snippet (optional) + * @param string $name Name of the snippet (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateSnippetUsingPOSTAsyncWithHttpInfo($id, $update_snippet_request) + public function updateSnippetUsingPOSTAsyncWithHttpInfo($id, $description = null, $is_archive = null, $name = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfSnippetResponse'; - $request = $this->updateSnippetUsingPOSTRequest($id, $update_snippet_request); + $request = $this->updateSnippetUsingPOSTRequest($id, $description, $is_archive, $name); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -3588,12 +3656,14 @@ function ($exception) { * Create request for operation 'updateSnippetUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateSnippetRequest $update_snippet_request updateSnippetRequest (required) + * @param string $description Description of the snippet (optional) + * @param string $is_archive Archival status of the snippet (optional) + * @param string $name Name of the snippet (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateSnippetUsingPOSTRequest($id, $update_snippet_request) + protected function updateSnippetUsingPOSTRequest($id, $description = null, $is_archive = null, $name = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -3601,12 +3671,6 @@ protected function updateSnippetUsingPOSTRequest($id, $update_snippet_request) 'Missing the required parameter $id when calling updateSnippetUsingPOST' ); } - // verify the required parameter 'update_snippet_request' is set - if ($update_snippet_request === null || (is_array($update_snippet_request) && count($update_snippet_request) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $update_snippet_request when calling updateSnippetUsingPOST' - ); - } $resourcePath = '/rest/asset/v1/snippet/{id}.json'; $formParams = []; @@ -3625,11 +3689,20 @@ protected function updateSnippetUsingPOSTRequest($id, $update_snippet_request) ); } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($is_archive !== null) { + $formParams['isArchive'] = ObjectSerializer::toFormValue($is_archive); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } // body params $_tempBody = null; - if (isset($update_snippet_request)) { - $_tempBody = $update_snippet_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( diff --git a/src/Asset/Api/StaticListsApi.php b/src/Asset/Api/StaticListsApi.php index 639293b4..da33932e 100644 --- a/src/Asset/Api/StaticListsApi.php +++ b/src/Asset/Api/StaticListsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -92,15 +92,17 @@ public function getConfig() * * Create Static List * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateStaticListRequest $create_static_list_request createStaticListRequest (required) + * @param string $name Name of the static list (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder (required) + * @param string $description Description of the static list (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfStaticListResponse */ - public function createStaticListUsingPOST($create_static_list_request) + public function createStaticListUsingPOST($name, $folder, $description = null) { - list($response) = $this->createStaticListUsingPOSTWithHttpInfo($create_static_list_request); + list($response) = $this->createStaticListUsingPOSTWithHttpInfo($name, $folder, $description); return $response; } @@ -109,16 +111,18 @@ public function createStaticListUsingPOST($create_static_list_request) * * Create Static List * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateStaticListRequest $create_static_list_request createStaticListRequest (required) + * @param string $name Name of the static list (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the static list (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfStaticListResponse, HTTP status code, HTTP response headers (array of strings) */ - public function createStaticListUsingPOSTWithHttpInfo($create_static_list_request) + public function createStaticListUsingPOSTWithHttpInfo($name, $folder, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfStaticListResponse'; - $request = $this->createStaticListUsingPOSTRequest($create_static_list_request); + $request = $this->createStaticListUsingPOSTRequest($name, $folder, $description); try { $options = $this->createHttpClientOption(); @@ -184,14 +188,16 @@ public function createStaticListUsingPOSTWithHttpInfo($create_static_list_reques * * Create Static List * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateStaticListRequest $create_static_list_request createStaticListRequest (required) + * @param string $name Name of the static list (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the static list (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createStaticListUsingPOSTAsync($create_static_list_request) + public function createStaticListUsingPOSTAsync($name, $folder, $description = null) { - return $this->createStaticListUsingPOSTAsyncWithHttpInfo($create_static_list_request) + return $this->createStaticListUsingPOSTAsyncWithHttpInfo($name, $folder, $description) ->then( function ($response) { return $response[0]; @@ -204,15 +210,17 @@ function ($response) { * * Create Static List * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateStaticListRequest $create_static_list_request createStaticListRequest (required) + * @param string $name Name of the static list (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the static list (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function createStaticListUsingPOSTAsyncWithHttpInfo($create_static_list_request) + public function createStaticListUsingPOSTAsyncWithHttpInfo($name, $folder, $description = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfStaticListResponse'; - $request = $this->createStaticListUsingPOSTRequest($create_static_list_request); + $request = $this->createStaticListUsingPOSTRequest($name, $folder, $description); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -254,17 +262,25 @@ function ($exception) { /** * Create request for operation 'createStaticListUsingPOST' * - * @param \NecLimDul\MarketoRest\Asset\Model\CreateStaticListRequest $create_static_list_request createStaticListRequest (required) + * @param string $name Name of the static list (required) + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder (required) + * @param string $description Description of the static list (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function createStaticListUsingPOSTRequest($create_static_list_request) + protected function createStaticListUsingPOSTRequest($name, $folder, $description = null) { - // verify the required parameter 'create_static_list_request' is set - if ($create_static_list_request === null || (is_array($create_static_list_request) && count($create_static_list_request) === 0)) { + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $name when calling createStaticListUsingPOST' + ); + } + // verify the required parameter 'folder' is set + if ($folder === null || (is_array($folder) && count($folder) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $create_static_list_request when calling createStaticListUsingPOST' + 'Missing the required parameter $folder when calling createStaticListUsingPOST' ); } @@ -277,11 +293,20 @@ protected function createStaticListUsingPOSTRequest($create_static_list_request) + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($folder !== null) { + $formParams['folder'] = ObjectSerializer::toFormValue($folder); + } // body params $_tempBody = null; - if (isset($create_static_list_request)) { - $_tempBody = $create_static_list_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -559,7 +584,7 @@ protected function deleteStaticListByIdUsingPOSTRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -828,7 +853,7 @@ protected function getStaticListByIdUsingGETRequest($id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1093,7 +1118,7 @@ protected function getStaticListByNameUsingGETRequest($name) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1388,7 +1413,7 @@ protected function getStaticListsUsingGETRequest($folder = null, $offset = null, } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } @@ -1455,15 +1480,16 @@ protected function getStaticListsUsingGETRequest($folder = null, $offset = null, * Update Static List Metadata * * @param int $id Id of static list to update (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateStaticListRequest $update_static_list_request updateStaticListRequest (required) + * @param string $description Description of the static list (optional) + * @param string $name Name of the static list (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfStaticListResponse */ - public function updateStaticListUsingPOST($id, $update_static_list_request) + public function updateStaticListUsingPOST($id, $description = null, $name = null) { - list($response) = $this->updateStaticListUsingPOSTWithHttpInfo($id, $update_static_list_request); + list($response) = $this->updateStaticListUsingPOSTWithHttpInfo($id, $description, $name); return $response; } @@ -1473,16 +1499,17 @@ public function updateStaticListUsingPOST($id, $update_static_list_request) * Update Static List Metadata * * @param int $id Id of static list to update (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateStaticListRequest $update_static_list_request updateStaticListRequest (required) + * @param string $description Description of the static list (optional) + * @param string $name Name of the static list (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfStaticListResponse, HTTP status code, HTTP response headers (array of strings) */ - public function updateStaticListUsingPOSTWithHttpInfo($id, $update_static_list_request) + public function updateStaticListUsingPOSTWithHttpInfo($id, $description = null, $name = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfStaticListResponse'; - $request = $this->updateStaticListUsingPOSTRequest($id, $update_static_list_request); + $request = $this->updateStaticListUsingPOSTRequest($id, $description, $name); try { $options = $this->createHttpClientOption(); @@ -1549,14 +1576,15 @@ public function updateStaticListUsingPOSTWithHttpInfo($id, $update_static_list_r * Update Static List Metadata * * @param int $id Id of static list to update (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateStaticListRequest $update_static_list_request updateStaticListRequest (required) + * @param string $description Description of the static list (optional) + * @param string $name Name of the static list (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateStaticListUsingPOSTAsync($id, $update_static_list_request) + public function updateStaticListUsingPOSTAsync($id, $description = null, $name = null) { - return $this->updateStaticListUsingPOSTAsyncWithHttpInfo($id, $update_static_list_request) + return $this->updateStaticListUsingPOSTAsyncWithHttpInfo($id, $description, $name) ->then( function ($response) { return $response[0]; @@ -1570,15 +1598,16 @@ function ($response) { * Update Static List Metadata * * @param int $id Id of static list to update (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateStaticListRequest $update_static_list_request updateStaticListRequest (required) + * @param string $description Description of the static list (optional) + * @param string $name Name of the static list (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function updateStaticListUsingPOSTAsyncWithHttpInfo($id, $update_static_list_request) + public function updateStaticListUsingPOSTAsyncWithHttpInfo($id, $description = null, $name = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfStaticListResponse'; - $request = $this->updateStaticListUsingPOSTRequest($id, $update_static_list_request); + $request = $this->updateStaticListUsingPOSTRequest($id, $description, $name); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -1621,12 +1650,13 @@ function ($exception) { * Create request for operation 'updateStaticListUsingPOST' * * @param int $id Id of static list to update (required) - * @param \NecLimDul\MarketoRest\Asset\Model\UpdateStaticListRequest $update_static_list_request updateStaticListRequest (required) + * @param string $description Description of the static list (optional) + * @param string $name Name of the static list (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function updateStaticListUsingPOSTRequest($id, $update_static_list_request) + protected function updateStaticListUsingPOSTRequest($id, $description = null, $name = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -1634,12 +1664,6 @@ protected function updateStaticListUsingPOSTRequest($id, $update_static_list_req 'Missing the required parameter $id when calling updateStaticListUsingPOST' ); } - // verify the required parameter 'update_static_list_request' is set - if ($update_static_list_request === null || (is_array($update_static_list_request) && count($update_static_list_request) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $update_static_list_request when calling updateStaticListUsingPOST' - ); - } $resourcePath = '/rest/asset/v1/staticList/{id}.json'; $formParams = []; @@ -1658,11 +1682,16 @@ protected function updateStaticListUsingPOSTRequest($id, $update_static_list_req ); } + // form params + if ($description !== null) { + $formParams['description'] = ObjectSerializer::toFormValue($description); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } // body params $_tempBody = null; - if (isset($update_static_list_request)) { - $_tempBody = $update_static_list_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( diff --git a/src/Asset/Api/TagsApi.php b/src/Asset/Api/TagsApi.php index 7e71028f..532885b4 100644 --- a/src/Asset/Api/TagsApi.php +++ b/src/Asset/Api/TagsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -291,7 +291,7 @@ protected function getTagByNameUsingGETRequest($name) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -559,7 +559,7 @@ protected function getTagTypesUsingGETRequest($max_return = null, $offset = null } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } diff --git a/src/Asset/Api/TokensApi.php b/src/Asset/Api/TokensApi.php index 0d33e56a..dac4a3ed 100644 --- a/src/Asset/Api/TokensApi.php +++ b/src/Asset/Api/TokensApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -93,15 +93,18 @@ public function getConfig() * Create Token * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CreateTokenRequest $create_token_request createTokenRequest (required) + * @param string $folder_type Type of folder. 'Folder' or 'Program' (required) + * @param string $name Name of the token (required) + * @param string $type Type of the token (required) + * @param string $value Value of the token (required) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfTokenResponse */ - public function addTokenTOFolderUsingPOST($id, $create_token_request) + public function addTokenTOFolderUsingPOST($id, $folder_type, $name, $type, $value) { - list($response) = $this->addTokenTOFolderUsingPOSTWithHttpInfo($id, $create_token_request); + list($response) = $this->addTokenTOFolderUsingPOSTWithHttpInfo($id, $folder_type, $name, $type, $value); return $response; } @@ -111,16 +114,19 @@ public function addTokenTOFolderUsingPOST($id, $create_token_request) * Create Token * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CreateTokenRequest $create_token_request createTokenRequest (required) + * @param string $folder_type Type of folder. 'Folder' or 'Program' (required) + * @param string $name Name of the token (required) + * @param string $type Type of the token (required) + * @param string $value Value of the token (required) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfTokenResponse, HTTP status code, HTTP response headers (array of strings) */ - public function addTokenTOFolderUsingPOSTWithHttpInfo($id, $create_token_request) + public function addTokenTOFolderUsingPOSTWithHttpInfo($id, $folder_type, $name, $type, $value) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfTokenResponse'; - $request = $this->addTokenTOFolderUsingPOSTRequest($id, $create_token_request); + $request = $this->addTokenTOFolderUsingPOSTRequest($id, $folder_type, $name, $type, $value); try { $options = $this->createHttpClientOption(); @@ -187,14 +193,17 @@ public function addTokenTOFolderUsingPOSTWithHttpInfo($id, $create_token_request * Create Token * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CreateTokenRequest $create_token_request createTokenRequest (required) + * @param string $folder_type Type of folder. 'Folder' or 'Program' (required) + * @param string $name Name of the token (required) + * @param string $type Type of the token (required) + * @param string $value Value of the token (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function addTokenTOFolderUsingPOSTAsync($id, $create_token_request) + public function addTokenTOFolderUsingPOSTAsync($id, $folder_type, $name, $type, $value) { - return $this->addTokenTOFolderUsingPOSTAsyncWithHttpInfo($id, $create_token_request) + return $this->addTokenTOFolderUsingPOSTAsyncWithHttpInfo($id, $folder_type, $name, $type, $value) ->then( function ($response) { return $response[0]; @@ -208,15 +217,18 @@ function ($response) { * Create Token * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CreateTokenRequest $create_token_request createTokenRequest (required) + * @param string $folder_type Type of folder. 'Folder' or 'Program' (required) + * @param string $name Name of the token (required) + * @param string $type Type of the token (required) + * @param string $value Value of the token (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function addTokenTOFolderUsingPOSTAsyncWithHttpInfo($id, $create_token_request) + public function addTokenTOFolderUsingPOSTAsyncWithHttpInfo($id, $folder_type, $name, $type, $value) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfTokenResponse'; - $request = $this->addTokenTOFolderUsingPOSTRequest($id, $create_token_request); + $request = $this->addTokenTOFolderUsingPOSTRequest($id, $folder_type, $name, $type, $value); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -259,12 +271,15 @@ function ($exception) { * Create request for operation 'addTokenTOFolderUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\CreateTokenRequest $create_token_request createTokenRequest (required) + * @param string $folder_type Type of folder. 'Folder' or 'Program' (required) + * @param string $name Name of the token (required) + * @param string $type Type of the token (required) + * @param string $value Value of the token (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function addTokenTOFolderUsingPOSTRequest($id, $create_token_request) + protected function addTokenTOFolderUsingPOSTRequest($id, $folder_type, $name, $type, $value) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -272,10 +287,28 @@ protected function addTokenTOFolderUsingPOSTRequest($id, $create_token_request) 'Missing the required parameter $id when calling addTokenTOFolderUsingPOST' ); } - // verify the required parameter 'create_token_request' is set - if ($create_token_request === null || (is_array($create_token_request) && count($create_token_request) === 0)) { + // verify the required parameter 'folder_type' is set + if ($folder_type === null || (is_array($folder_type) && count($folder_type) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $create_token_request when calling addTokenTOFolderUsingPOST' + 'Missing the required parameter $folder_type when calling addTokenTOFolderUsingPOST' + ); + } + // verify the required parameter 'name' is set + if ($name === null || (is_array($name) && count($name) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $name when calling addTokenTOFolderUsingPOST' + ); + } + // verify the required parameter 'type' is set + if ($type === null || (is_array($type) && count($type) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $type when calling addTokenTOFolderUsingPOST' + ); + } + // verify the required parameter 'value' is set + if ($value === null || (is_array($value) && count($value) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $value when calling addTokenTOFolderUsingPOST' ); } @@ -296,11 +329,24 @@ protected function addTokenTOFolderUsingPOSTRequest($id, $create_token_request) ); } + // form params + if ($folder_type !== null) { + $formParams['folderType'] = ObjectSerializer::toFormValue($folder_type); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($type !== null) { + $formParams['type'] = ObjectSerializer::toFormValue($type); + } + // form params + if ($value !== null) { + $formParams['value'] = ObjectSerializer::toFormValue($value); + } // body params $_tempBody = null; - if (isset($create_token_request)) { - $_tempBody = $create_token_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -376,15 +422,17 @@ protected function addTokenTOFolderUsingPOSTRequest($id, $create_token_request) * Delete Token by Name * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\DeleteTokenRequest $delete_token_request deleteTokenRequest (required) + * @param string $folder_type folder_type (optional) + * @param string $name name (optional) + * @param string $type type (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse */ - public function deleteTokenByNameUsingPOST($id, $delete_token_request) + public function deleteTokenByNameUsingPOST($id, $folder_type = null, $name = null, $type = null) { - list($response) = $this->deleteTokenByNameUsingPOSTWithHttpInfo($id, $delete_token_request); + list($response) = $this->deleteTokenByNameUsingPOSTWithHttpInfo($id, $folder_type, $name, $type); return $response; } @@ -394,16 +442,18 @@ public function deleteTokenByNameUsingPOST($id, $delete_token_request) * Delete Token by Name * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\DeleteTokenRequest $delete_token_request deleteTokenRequest (required) + * @param string $folder_type (optional) + * @param string $name (optional) + * @param string $type (optional) * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse, HTTP status code, HTTP response headers (array of strings) */ - public function deleteTokenByNameUsingPOSTWithHttpInfo($id, $delete_token_request) + public function deleteTokenByNameUsingPOSTWithHttpInfo($id, $folder_type = null, $name = null, $type = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->deleteTokenByNameUsingPOSTRequest($id, $delete_token_request); + $request = $this->deleteTokenByNameUsingPOSTRequest($id, $folder_type, $name, $type); try { $options = $this->createHttpClientOption(); @@ -470,14 +520,16 @@ public function deleteTokenByNameUsingPOSTWithHttpInfo($id, $delete_token_reques * Delete Token by Name * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\DeleteTokenRequest $delete_token_request deleteTokenRequest (required) + * @param string $folder_type (optional) + * @param string $name (optional) + * @param string $type (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function deleteTokenByNameUsingPOSTAsync($id, $delete_token_request) + public function deleteTokenByNameUsingPOSTAsync($id, $folder_type = null, $name = null, $type = null) { - return $this->deleteTokenByNameUsingPOSTAsyncWithHttpInfo($id, $delete_token_request) + return $this->deleteTokenByNameUsingPOSTAsyncWithHttpInfo($id, $folder_type, $name, $type) ->then( function ($response) { return $response[0]; @@ -491,15 +543,17 @@ function ($response) { * Delete Token by Name * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\DeleteTokenRequest $delete_token_request deleteTokenRequest (required) + * @param string $folder_type (optional) + * @param string $name (optional) + * @param string $type (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function deleteTokenByNameUsingPOSTAsyncWithHttpInfo($id, $delete_token_request) + public function deleteTokenByNameUsingPOSTAsyncWithHttpInfo($id, $folder_type = null, $name = null, $type = null) { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse'; - $request = $this->deleteTokenByNameUsingPOSTRequest($id, $delete_token_request); + $request = $this->deleteTokenByNameUsingPOSTRequest($id, $folder_type, $name, $type); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -542,12 +596,14 @@ function ($exception) { * Create request for operation 'deleteTokenByNameUsingPOST' * * @param int $id id (required) - * @param \NecLimDul\MarketoRest\Asset\Model\DeleteTokenRequest $delete_token_request deleteTokenRequest (required) + * @param string $folder_type (optional) + * @param string $name (optional) + * @param string $type (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function deleteTokenByNameUsingPOSTRequest($id, $delete_token_request) + protected function deleteTokenByNameUsingPOSTRequest($id, $folder_type = null, $name = null, $type = null) { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -555,12 +611,6 @@ protected function deleteTokenByNameUsingPOSTRequest($id, $delete_token_request) 'Missing the required parameter $id when calling deleteTokenByNameUsingPOST' ); } - // verify the required parameter 'delete_token_request' is set - if ($delete_token_request === null || (is_array($delete_token_request) && count($delete_token_request) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $delete_token_request when calling deleteTokenByNameUsingPOST' - ); - } $resourcePath = '/rest/asset/v1/folder/{id}/tokens/delete.json'; $formParams = []; @@ -579,11 +629,20 @@ protected function deleteTokenByNameUsingPOSTRequest($id, $delete_token_request) ); } + // form params + if ($folder_type !== null) { + $formParams['folderType'] = ObjectSerializer::toFormValue($folder_type); + } + // form params + if ($name !== null) { + $formParams['name'] = ObjectSerializer::toFormValue($name); + } + // form params + if ($type !== null) { + $formParams['type'] = ObjectSerializer::toFormValue($type); + } // body params $_tempBody = null; - if (isset($delete_token_request)) { - $_tempBody = $delete_token_request; - } if ($multipart) { $headers = $this->headerSelector->selectHeadersForMultipart( @@ -659,13 +718,13 @@ protected function deleteTokenByNameUsingPOSTRequest($id, $delete_token_request) * Get Tokens by Folder Id * * @param int $id id (required) - * @param string $folder_type Type of folder. 'Folder' or 'Program' (optional, default to Folder) + * @param string $folder_type Type of folder. 'Folder' or 'Program' (optional, default to 'Folder') * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Asset\Model\ResponseOfTokenResponse */ - public function getTokensByFolderIdUsingGET($id, $folder_type = 'Folder') + public function getTokensByFolderIdUsingGET($id, $folder_type = ''Folder'') { list($response) = $this->getTokensByFolderIdUsingGETWithHttpInfo($id, $folder_type); return $response; @@ -677,13 +736,13 @@ public function getTokensByFolderIdUsingGET($id, $folder_type = 'Folder') * Get Tokens by Folder Id * * @param int $id id (required) - * @param string $folder_type Type of folder. 'Folder' or 'Program' (optional, default to Folder) + * @param string $folder_type Type of folder. 'Folder' or 'Program' (optional, default to 'Folder') * * @throws \NecLimDul\MarketoRest\Asset\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Asset\Model\ResponseOfTokenResponse, HTTP status code, HTTP response headers (array of strings) */ - public function getTokensByFolderIdUsingGETWithHttpInfo($id, $folder_type = 'Folder') + public function getTokensByFolderIdUsingGETWithHttpInfo($id, $folder_type = ''Folder'') { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfTokenResponse'; $request = $this->getTokensByFolderIdUsingGETRequest($id, $folder_type); @@ -753,12 +812,12 @@ public function getTokensByFolderIdUsingGETWithHttpInfo($id, $folder_type = 'Fol * Get Tokens by Folder Id * * @param int $id id (required) - * @param string $folder_type Type of folder. 'Folder' or 'Program' (optional, default to Folder) + * @param string $folder_type Type of folder. 'Folder' or 'Program' (optional, default to 'Folder') * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getTokensByFolderIdUsingGETAsync($id, $folder_type = 'Folder') + public function getTokensByFolderIdUsingGETAsync($id, $folder_type = ''Folder'') { return $this->getTokensByFolderIdUsingGETAsyncWithHttpInfo($id, $folder_type) ->then( @@ -774,12 +833,12 @@ function ($response) { * Get Tokens by Folder Id * * @param int $id id (required) - * @param string $folder_type Type of folder. 'Folder' or 'Program' (optional, default to Folder) + * @param string $folder_type Type of folder. 'Folder' or 'Program' (optional, default to 'Folder') * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getTokensByFolderIdUsingGETAsyncWithHttpInfo($id, $folder_type = 'Folder') + public function getTokensByFolderIdUsingGETAsyncWithHttpInfo($id, $folder_type = ''Folder'') { $returnType = '\NecLimDul\MarketoRest\Asset\Model\ResponseOfTokenResponse'; $request = $this->getTokensByFolderIdUsingGETRequest($id, $folder_type); @@ -825,12 +884,12 @@ function ($exception) { * Create request for operation 'getTokensByFolderIdUsingGET' * * @param int $id id (required) - * @param string $folder_type Type of folder. 'Folder' or 'Program' (optional, default to Folder) + * @param string $folder_type Type of folder. 'Folder' or 'Program' (optional, default to 'Folder') * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function getTokensByFolderIdUsingGETRequest($id, $folder_type = 'Folder') + protected function getTokensByFolderIdUsingGETRequest($id, $folder_type = ''Folder'') { // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { @@ -870,7 +929,7 @@ protected function getTokensByFolderIdUsingGETRequest($id, $folder_type = 'Folde } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/x-www-form-urlencoded'] + [] ); } diff --git a/src/Asset/ApiException.php b/src/Asset/ApiException.php index f411d86a..c7965f86 100644 --- a/src/Asset/ApiException.php +++ b/src/Asset/ApiException.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Configuration.php b/src/Asset/Configuration.php index 76dcc111..96227252 100644 --- a/src/Asset/Configuration.php +++ b/src/Asset/Configuration.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/HeaderSelector.php b/src/Asset/HeaderSelector.php index 9fc4ec48..85b3ac83 100644 --- a/src/Asset/HeaderSelector.php +++ b/src/Asset/HeaderSelector.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/AddFormFieldRequest.php b/src/Asset/Model/AddFormFieldRequest.php index cfe8c402..4776452a 100644 --- a/src/Asset/Model/AddFormFieldRequest.php +++ b/src/Asset/Model/AddFormFieldRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/AddFormFieldSetRequest.php b/src/Asset/Model/AddFormFieldSetRequest.php index 56823be6..0f858eab 100644 --- a/src/Asset/Model/AddFormFieldSetRequest.php +++ b/src/Asset/Model/AddFormFieldSetRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/AddFormFieldVisibilityRequest.php b/src/Asset/Model/AddFormFieldVisibilityRequest.php index 8d06a9ba..769b1cd7 100644 --- a/src/Asset/Model/AddFormFieldVisibilityRequest.php +++ b/src/Asset/Model/AddFormFieldVisibilityRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/AddRichTextRequest.php b/src/Asset/Model/AddRichTextRequest.php index da5023fb..cb0acc68 100644 --- a/src/Asset/Model/AddRichTextRequest.php +++ b/src/Asset/Model/AddRichTextRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/BrowseAllPrograms.php b/src/Asset/Model/BrowseAllPrograms.php index e68b1afa..d2fae181 100644 --- a/src/Asset/Model/BrowseAllPrograms.php +++ b/src/Asset/Model/BrowseAllPrograms.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -416,7 +416,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/ChannelProgression.php b/src/Asset/Model/ChannelProgression.php index c0386dc0..51414e46 100644 --- a/src/Asset/Model/ChannelProgression.php +++ b/src/Asset/Model/ChannelProgression.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ChannelResponse.php b/src/Asset/Model/ChannelResponse.php index eddba2db..dfde29c4 100644 --- a/src/Asset/Model/ChannelResponse.php +++ b/src/Asset/Model/ChannelResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/CloneEmailRequest.php b/src/Asset/Model/CloneEmailRequest.php index 6c4ebe6a..c19996c1 100644 --- a/src/Asset/Model/CloneEmailRequest.php +++ b/src/Asset/Model/CloneEmailRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -252,7 +252,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/CloneEmailTemplateRequest.php b/src/Asset/Model/CloneEmailTemplateRequest.php index ddaaa089..19283ddf 100644 --- a/src/Asset/Model/CloneEmailTemplateRequest.php +++ b/src/Asset/Model/CloneEmailTemplateRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -246,7 +246,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/CloneFormRequest.php b/src/Asset/Model/CloneFormRequest.php index 95c81df2..f95a2fa9 100644 --- a/src/Asset/Model/CloneFormRequest.php +++ b/src/Asset/Model/CloneFormRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -246,7 +246,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/CloneLandingPageRequest.php b/src/Asset/Model/CloneLandingPageRequest.php index a0bee62f..65772cab 100644 --- a/src/Asset/Model/CloneLandingPageRequest.php +++ b/src/Asset/Model/CloneLandingPageRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -252,7 +252,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/CloneLpTemplateRequest.php b/src/Asset/Model/CloneLpTemplateRequest.php index 9f7f12c1..dee5cf9d 100644 --- a/src/Asset/Model/CloneLpTemplateRequest.php +++ b/src/Asset/Model/CloneLpTemplateRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -246,7 +246,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/CloneProgramRequest.php b/src/Asset/Model/CloneProgramRequest.php index 7011f913..23895818 100644 --- a/src/Asset/Model/CloneProgramRequest.php +++ b/src/Asset/Model/CloneProgramRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -246,7 +246,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/CloneSmartCampaignRequest.php b/src/Asset/Model/CloneSmartCampaignRequest.php index c2f0544d..36cd04c1 100644 --- a/src/Asset/Model/CloneSmartCampaignRequest.php +++ b/src/Asset/Model/CloneSmartCampaignRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -246,7 +246,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/CloneSmartListRequest.php b/src/Asset/Model/CloneSmartListRequest.php index a3517d09..ac28f3f4 100644 --- a/src/Asset/Model/CloneSmartListRequest.php +++ b/src/Asset/Model/CloneSmartListRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -246,7 +246,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/CloneSnippetRequest.php b/src/Asset/Model/CloneSnippetRequest.php index 32062d5f..872df955 100644 --- a/src/Asset/Model/CloneSnippetRequest.php +++ b/src/Asset/Model/CloneSnippetRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -246,7 +246,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/CostRequest.php b/src/Asset/Model/CostRequest.php index 98ddc120..d08a6c16 100644 --- a/src/Asset/Model/CostRequest.php +++ b/src/Asset/Model/CostRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/Costs.php b/src/Asset/Model/Costs.php index 5d17d08b..83df87a8 100644 --- a/src/Asset/Model/Costs.php +++ b/src/Asset/Model/Costs.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/CreateEmailRequest.php b/src/Asset/Model/CreateEmailRequest.php index c1df4b18..2c553226 100644 --- a/src/Asset/Model/CreateEmailRequest.php +++ b/src/Asset/Model/CreateEmailRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -303,7 +303,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/CreateEmailTemplateRequest.php b/src/Asset/Model/CreateEmailTemplateRequest.php index 2f780c85..eac6d37a 100644 --- a/src/Asset/Model/CreateEmailTemplateRequest.php +++ b/src/Asset/Model/CreateEmailTemplateRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -255,7 +255,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/CreateFileRequest.php b/src/Asset/Model/CreateFileRequest.php index 23ac5eca..ac1f40ed 100644 --- a/src/Asset/Model/CreateFileRequest.php +++ b/src/Asset/Model/CreateFileRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -285,7 +285,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/CreateFolderRequest.php b/src/Asset/Model/CreateFolderRequest.php index 3d5515d9..412ca0e6 100644 --- a/src/Asset/Model/CreateFolderRequest.php +++ b/src/Asset/Model/CreateFolderRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -270,7 +270,7 @@ public function getParent() /** * Sets parent * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $parent Folder object describing the parent folder + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $parent parent * * @return $this */ diff --git a/src/Asset/Model/CreateLandingPageContentRequest.php b/src/Asset/Model/CreateLandingPageContentRequest.php index f14c3169..3f26dc03 100644 --- a/src/Asset/Model/CreateLandingPageContentRequest.php +++ b/src/Asset/Model/CreateLandingPageContentRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/CreateLandingPageRedirectRuleRequest.php b/src/Asset/Model/CreateLandingPageRedirectRuleRequest.php index 29258b55..1a7dc596 100644 --- a/src/Asset/Model/CreateLandingPageRedirectRuleRequest.php +++ b/src/Asset/Model/CreateLandingPageRedirectRuleRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -249,7 +249,7 @@ public function getRedirectFrom() /** * Sets redirect_from * - * @param \NecLimDul\MarketoRest\Asset\Model\RedirectFrom $redirect_from JSON representation of redirect from landing page, with members 'type' which may be 'landingPageId' or 'path', and 'value' + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectFrom $redirect_from redirect_from * * @return $this */ @@ -273,7 +273,7 @@ public function getRedirectTo() /** * Sets redirect_to * - * @param \NecLimDul\MarketoRest\Asset\Model\RedirectTo $redirect_to JSON representation of redirect to landing page, with members 'type' which may be 'landingPageId' or 'url', and 'value' + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectTo $redirect_to redirect_to * * @return $this */ diff --git a/src/Asset/Model/CreateLandingPageRequest.php b/src/Asset/Model/CreateLandingPageRequest.php index cf707bdf..3c353e66 100644 --- a/src/Asset/Model/CreateLandingPageRequest.php +++ b/src/Asset/Model/CreateLandingPageRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -357,7 +357,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/CreateLpFormRequest.php b/src/Asset/Model/CreateLpFormRequest.php index 297cbfcf..e8aa18ae 100644 --- a/src/Asset/Model/CreateLpFormRequest.php +++ b/src/Asset/Model/CreateLpFormRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -291,7 +291,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ @@ -363,7 +363,7 @@ public function getKnownVisitor() /** * Sets known_visitor * - * @param \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO $known_visitor Known visitor behavior for the form + * @param \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO $known_visitor known_visitor * * @return $this */ diff --git a/src/Asset/Model/CreateLpTemplateRequest.php b/src/Asset/Model/CreateLpTemplateRequest.php index 34548e0d..4e5869f4 100644 --- a/src/Asset/Model/CreateLpTemplateRequest.php +++ b/src/Asset/Model/CreateLpTemplateRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -306,7 +306,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/CreateProgramRequest.php b/src/Asset/Model/CreateProgramRequest.php index cdd0d0b0..ab116616 100644 --- a/src/Asset/Model/CreateProgramRequest.php +++ b/src/Asset/Model/CreateProgramRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -315,7 +315,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/CreateSmartCampaignRequest.php b/src/Asset/Model/CreateSmartCampaignRequest.php index 4c04909b..31e9c002 100644 --- a/src/Asset/Model/CreateSmartCampaignRequest.php +++ b/src/Asset/Model/CreateSmartCampaignRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -246,7 +246,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/CreateSnippetRequest.php b/src/Asset/Model/CreateSnippetRequest.php index ade5d1e8..f360f8a2 100644 --- a/src/Asset/Model/CreateSnippetRequest.php +++ b/src/Asset/Model/CreateSnippetRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -246,7 +246,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/CreateStaticListRequest.php b/src/Asset/Model/CreateStaticListRequest.php index f52658a1..549a6626 100644 --- a/src/Asset/Model/CreateStaticListRequest.php +++ b/src/Asset/Model/CreateStaticListRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -270,7 +270,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder Folder object describing the parent folder + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/CreateTokenRequest.php b/src/Asset/Model/CreateTokenRequest.php index 2629bf7d..e4bffae5 100644 --- a/src/Asset/Model/CreateTokenRequest.php +++ b/src/Asset/Model/CreateTokenRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/DeleteTokenRequest.php b/src/Asset/Model/DeleteTokenRequest.php index 091ee91e..0f5b6eae 100644 --- a/src/Asset/Model/DeleteTokenRequest.php +++ b/src/Asset/Model/DeleteTokenRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/EmailContentResponse.php b/src/Asset/Model/EmailContentResponse.php index e5dcebdc..92676b2a 100644 --- a/src/Asset/Model/EmailContentResponse.php +++ b/src/Asset/Model/EmailContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/EmailDynamicContentItem.php b/src/Asset/Model/EmailDynamicContentItem.php index f59d3ce9..b5d17c3f 100644 --- a/src/Asset/Model/EmailDynamicContentItem.php +++ b/src/Asset/Model/EmailDynamicContentItem.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/EmailDynamicContentResponse.php b/src/Asset/Model/EmailDynamicContentResponse.php index 11b65cf8..d59c66e8 100644 --- a/src/Asset/Model/EmailDynamicContentResponse.php +++ b/src/Asset/Model/EmailDynamicContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/EmailHeaderTypeValue.php b/src/Asset/Model/EmailHeaderTypeValue.php index 28fc7182..fa1837cd 100644 --- a/src/Asset/Model/EmailHeaderTypeValue.php +++ b/src/Asset/Model/EmailHeaderTypeValue.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/EmailResponse.php b/src/Asset/Model/EmailResponse.php index 48b1fe90..b7026e26 100644 --- a/src/Asset/Model/EmailResponse.php +++ b/src/Asset/Model/EmailResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -441,7 +441,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/EmailResponseCCFields.php b/src/Asset/Model/EmailResponseCCFields.php index ecd06331..5c556cae 100644 --- a/src/Asset/Model/EmailResponseCCFields.php +++ b/src/Asset/Model/EmailResponseCCFields.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/EmailTemplateContentResponse.php b/src/Asset/Model/EmailTemplateContentResponse.php index 295a6ab2..b1530df9 100644 --- a/src/Asset/Model/EmailTemplateContentResponse.php +++ b/src/Asset/Model/EmailTemplateContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/EmailTemplateResponse.php b/src/Asset/Model/EmailTemplateResponse.php index 5bbd7532..0fd954de 100644 --- a/src/Asset/Model/EmailTemplateResponse.php +++ b/src/Asset/Model/EmailTemplateResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -336,7 +336,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/EmailTemplateUsedByResponse.php b/src/Asset/Model/EmailTemplateUsedByResponse.php index 140c25fb..cd276dba 100644 --- a/src/Asset/Model/EmailTemplateUsedByResponse.php +++ b/src/Asset/Model/EmailTemplateUsedByResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/Error.php b/src/Asset/Model/Error.php index 00e983d6..dad7b6e9 100644 --- a/src/Asset/Model/Error.php +++ b/src/Asset/Model/Error.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/FieldsMetaDataResponse.php b/src/Asset/Model/FieldsMetaDataResponse.php index 36c8b942..e792aad7 100644 --- a/src/Asset/Model/FieldsMetaDataResponse.php +++ b/src/Asset/Model/FieldsMetaDataResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/FileFolder.php b/src/Asset/Model/FileFolder.php index 00a64d41..1abe894e 100644 --- a/src/Asset/Model/FileFolder.php +++ b/src/Asset/Model/FileFolder.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/FileResponse.php b/src/Asset/Model/FileResponse.php index d1175ec7..5029e02c 100644 --- a/src/Asset/Model/FileResponse.php +++ b/src/Asset/Model/FileResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -324,7 +324,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\FileFolder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\FileFolder $folder folder * * @return $this */ diff --git a/src/Asset/Model/Folder.php b/src/Asset/Model/Folder.php index 19a82b80..a230b8c7 100644 --- a/src/Asset/Model/Folder.php +++ b/src/Asset/Model/Folder.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/FolderContentResponse.php b/src/Asset/Model/FolderContentResponse.php index 9076dc6a..804387d2 100644 --- a/src/Asset/Model/FolderContentResponse.php +++ b/src/Asset/Model/FolderContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/FolderResponse.php b/src/Asset/Model/FolderResponse.php index e2218e1c..a7f2d934 100644 --- a/src/Asset/Model/FolderResponse.php +++ b/src/Asset/Model/FolderResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -408,7 +408,7 @@ public function getFolderId() /** * Sets folder_id * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder_id Id of the folder + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder_id folder_id * * @return $this */ @@ -561,7 +561,7 @@ public function getParent() /** * Sets parent * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $parent Parent folder reference + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $parent parent * * @return $this */ diff --git a/src/Asset/Model/FormFieldVisibilityRequest.php b/src/Asset/Model/FormFieldVisibilityRequest.php index d266c883..4d6394aa 100644 --- a/src/Asset/Model/FormFieldVisibilityRequest.php +++ b/src/Asset/Model/FormFieldVisibilityRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/FormFieldVisibilityRuleResponse.php b/src/Asset/Model/FormFieldVisibilityRuleResponse.php index db0784cc..9e13c3bc 100644 --- a/src/Asset/Model/FormFieldVisibilityRuleResponse.php +++ b/src/Asset/Model/FormFieldVisibilityRuleResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/FormKnownVisitorDTO.php b/src/Asset/Model/FormKnownVisitorDTO.php index 52c4cc6f..f0e460fc 100644 --- a/src/Asset/Model/FormKnownVisitorDTO.php +++ b/src/Asset/Model/FormKnownVisitorDTO.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/FormThankYouPageDTO.php b/src/Asset/Model/FormThankYouPageDTO.php index a59222af..ae9f3408 100644 --- a/src/Asset/Model/FormThankYouPageDTO.php +++ b/src/Asset/Model/FormThankYouPageDTO.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/FormVisibilityRuleDTO.php b/src/Asset/Model/FormVisibilityRuleDTO.php index 5ca29c4d..b78ba283 100644 --- a/src/Asset/Model/FormVisibilityRuleDTO.php +++ b/src/Asset/Model/FormVisibilityRuleDTO.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/FormVisibilityRuleResponse.php b/src/Asset/Model/FormVisibilityRuleResponse.php index 6f62cf5b..c527ace5 100644 --- a/src/Asset/Model/FormVisibilityRuleResponse.php +++ b/src/Asset/Model/FormVisibilityRuleResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/GetEmailFullContentResponse.php b/src/Asset/Model/GetEmailFullContentResponse.php index 94f63252..99c3ced8 100644 --- a/src/Asset/Model/GetEmailFullContentResponse.php +++ b/src/Asset/Model/GetEmailFullContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/GetFilesRequest.php b/src/Asset/Model/GetFilesRequest.php index 6d433efa..4e4112f5 100644 --- a/src/Asset/Model/GetFilesRequest.php +++ b/src/Asset/Model/GetFilesRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -216,7 +216,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/IdResponse.php b/src/Asset/Model/IdResponse.php index 3aaa2f56..c86eefaf 100644 --- a/src/Asset/Model/IdResponse.php +++ b/src/Asset/Model/IdResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/JsonNode.php b/src/Asset/Model/JsonNode.php index 2c6afbb6..f42193e2 100644 --- a/src/Asset/Model/JsonNode.php +++ b/src/Asset/Model/JsonNode.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/LandingPageContentResponse.php b/src/Asset/Model/LandingPageContentResponse.php index a7fcc72b..0e58d661 100644 --- a/src/Asset/Model/LandingPageContentResponse.php +++ b/src/Asset/Model/LandingPageContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/LandingPageDomain.php b/src/Asset/Model/LandingPageDomain.php index 44ff7232..8763972f 100644 --- a/src/Asset/Model/LandingPageDomain.php +++ b/src/Asset/Model/LandingPageDomain.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/LandingPageDynamicContentResponse.php b/src/Asset/Model/LandingPageDynamicContentResponse.php index 7af83348..0dfa796e 100644 --- a/src/Asset/Model/LandingPageDynamicContentResponse.php +++ b/src/Asset/Model/LandingPageDynamicContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/LandingPageRedirectRule.php b/src/Asset/Model/LandingPageRedirectRule.php index 0f2b907d..2e4e393a 100644 --- a/src/Asset/Model/LandingPageRedirectRule.php +++ b/src/Asset/Model/LandingPageRedirectRule.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -366,7 +366,7 @@ public function getRedirectFrom() /** * Sets redirect_from * - * @param \NecLimDul\MarketoRest\Asset\Model\RedirectFrom $redirect_from JSON representation of redirect from landing page, with members 'type' which may be 'landingPageId' or 'path', and 'value' + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectFrom $redirect_from redirect_from * * @return $this */ @@ -390,7 +390,7 @@ public function getRedirectTo() /** * Sets redirect_to * - * @param \NecLimDul\MarketoRest\Asset\Model\RedirectTo $redirect_to JSON representation of redirect to landing page, with members 'type' which may be 'landingPageId' or 'url', and 'value' + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectTo $redirect_to redirect_to * * @return $this */ diff --git a/src/Asset/Model/LandingPageResponse.php b/src/Asset/Model/LandingPageResponse.php index 89863aa4..72a97b23 100644 --- a/src/Asset/Model/LandingPageResponse.php +++ b/src/Asset/Model/LandingPageResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -462,7 +462,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/LandingPageVariableResponse.php b/src/Asset/Model/LandingPageVariableResponse.php index 29644bac..b97d3387 100644 --- a/src/Asset/Model/LandingPageVariableResponse.php +++ b/src/Asset/Model/LandingPageVariableResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/LpFormFieldResponse.php b/src/Asset/Model/LpFormFieldResponse.php index b0783a65..4161199c 100644 --- a/src/Asset/Model/LpFormFieldResponse.php +++ b/src/Asset/Model/LpFormFieldResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/LpFormResponse.php b/src/Asset/Model/LpFormResponse.php index 2af653e7..e6bfa603 100644 --- a/src/Asset/Model/LpFormResponse.php +++ b/src/Asset/Model/LpFormResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -480,7 +480,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ @@ -576,7 +576,7 @@ public function getKnownVisitor() /** * Sets known_visitor * - * @param \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO $known_visitor Known visitor behavior for the form + * @param \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO $known_visitor known_visitor * * @return $this */ diff --git a/src/Asset/Model/LpTemplateGetContentResponse.php b/src/Asset/Model/LpTemplateGetContentResponse.php index 88a8b0e8..1a53eeef 100644 --- a/src/Asset/Model/LpTemplateGetContentResponse.php +++ b/src/Asset/Model/LpTemplateGetContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/LpTemplateResponse.php b/src/Asset/Model/LpTemplateResponse.php index c1483da4..d5b63ead 100644 --- a/src/Asset/Model/LpTemplateResponse.php +++ b/src/Asset/Model/LpTemplateResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -372,7 +372,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/ModelInterface.php b/src/Asset/Model/ModelInterface.php index ab8fc3ec..d078cb8e 100644 --- a/src/Asset/Model/ModelInterface.php +++ b/src/Asset/Model/ModelInterface.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ModelResponse.php b/src/Asset/Model/ModelResponse.php index 239d3a00..1bbcadc6 100644 --- a/src/Asset/Model/ModelResponse.php +++ b/src/Asset/Model/ModelResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/MultipartFile.php b/src/Asset/Model/MultipartFile.php index c6c77131..1d87b6cc 100644 --- a/src/Asset/Model/MultipartFile.php +++ b/src/Asset/Model/MultipartFile.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/PickListDTO.php b/src/Asset/Model/PickListDTO.php index 85e0b95e..9329a0dc 100644 --- a/src/Asset/Model/PickListDTO.php +++ b/src/Asset/Model/PickListDTO.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ProgramResponse.php b/src/Asset/Model/ProgramResponse.php index ff2038d9..0a102eba 100644 --- a/src/Asset/Model/ProgramResponse.php +++ b/src/Asset/Model/ProgramResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -494,7 +494,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/ReArrangeRequest.php b/src/Asset/Model/ReArrangeRequest.php index d5ced549..e394fd88 100644 --- a/src/Asset/Model/ReArrangeRequest.php +++ b/src/Asset/Model/ReArrangeRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/Recurrence.php b/src/Asset/Model/Recurrence.php index 6fa00d2f..91c45fe1 100644 --- a/src/Asset/Model/Recurrence.php +++ b/src/Asset/Model/Recurrence.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/RedirectFrom.php b/src/Asset/Model/RedirectFrom.php index f37f70b8..84eb63dc 100644 --- a/src/Asset/Model/RedirectFrom.php +++ b/src/Asset/Model/RedirectFrom.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/RedirectTo.php b/src/Asset/Model/RedirectTo.php index 5e48ef47..659f3618 100644 --- a/src/Asset/Model/RedirectTo.php +++ b/src/Asset/Model/RedirectTo.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfBrowseAllPrograms.php b/src/Asset/Model/ResponseOfBrowseAllPrograms.php index bcf74913..e2eceb58 100644 --- a/src/Asset/Model/ResponseOfBrowseAllPrograms.php +++ b/src/Asset/Model/ResponseOfBrowseAllPrograms.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfChannelResponse.php b/src/Asset/Model/ResponseOfChannelResponse.php index 73e78de3..e61ff823 100644 --- a/src/Asset/Model/ResponseOfChannelResponse.php +++ b/src/Asset/Model/ResponseOfChannelResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfEmailCCFieldsResponse.php b/src/Asset/Model/ResponseOfEmailCCFieldsResponse.php index d5218030..4bd3c9b7 100644 --- a/src/Asset/Model/ResponseOfEmailCCFieldsResponse.php +++ b/src/Asset/Model/ResponseOfEmailCCFieldsResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfEmailContentResponse.php b/src/Asset/Model/ResponseOfEmailContentResponse.php index 69eb5fa1..3c82e2d8 100644 --- a/src/Asset/Model/ResponseOfEmailContentResponse.php +++ b/src/Asset/Model/ResponseOfEmailContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfEmailDynamicContentResponse.php b/src/Asset/Model/ResponseOfEmailDynamicContentResponse.php index dae4a3e9..f9a67740 100644 --- a/src/Asset/Model/ResponseOfEmailDynamicContentResponse.php +++ b/src/Asset/Model/ResponseOfEmailDynamicContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfEmailResponse.php b/src/Asset/Model/ResponseOfEmailResponse.php index 17b91a91..d88f79e9 100644 --- a/src/Asset/Model/ResponseOfEmailResponse.php +++ b/src/Asset/Model/ResponseOfEmailResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfEmailTemplateContentResponse.php b/src/Asset/Model/ResponseOfEmailTemplateContentResponse.php index a246d90a..ff5ad5d3 100644 --- a/src/Asset/Model/ResponseOfEmailTemplateContentResponse.php +++ b/src/Asset/Model/ResponseOfEmailTemplateContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfEmailTemplateResponse.php b/src/Asset/Model/ResponseOfEmailTemplateResponse.php index 9b2b2f38..7a22f28a 100644 --- a/src/Asset/Model/ResponseOfEmailTemplateResponse.php +++ b/src/Asset/Model/ResponseOfEmailTemplateResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfEmailTemplateUsedByResponse.php b/src/Asset/Model/ResponseOfEmailTemplateUsedByResponse.php index 9635879f..963a19a6 100644 --- a/src/Asset/Model/ResponseOfEmailTemplateUsedByResponse.php +++ b/src/Asset/Model/ResponseOfEmailTemplateUsedByResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfFieldsMetaDataResponse.php b/src/Asset/Model/ResponseOfFieldsMetaDataResponse.php index 44e40b55..2f30d5bd 100644 --- a/src/Asset/Model/ResponseOfFieldsMetaDataResponse.php +++ b/src/Asset/Model/ResponseOfFieldsMetaDataResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfFileResponse.php b/src/Asset/Model/ResponseOfFileResponse.php index 0f07ef55..8130c592 100644 --- a/src/Asset/Model/ResponseOfFileResponse.php +++ b/src/Asset/Model/ResponseOfFileResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfFolderContentResponse.php b/src/Asset/Model/ResponseOfFolderContentResponse.php index c45001b9..6506134a 100644 --- a/src/Asset/Model/ResponseOfFolderContentResponse.php +++ b/src/Asset/Model/ResponseOfFolderContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfFolderResponse.php b/src/Asset/Model/ResponseOfFolderResponse.php index 7d2b281e..82063521 100644 --- a/src/Asset/Model/ResponseOfFolderResponse.php +++ b/src/Asset/Model/ResponseOfFolderResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfFormVisibilityRuleResponse.php b/src/Asset/Model/ResponseOfFormVisibilityRuleResponse.php index 74ae7c80..346dc601 100644 --- a/src/Asset/Model/ResponseOfFormVisibilityRuleResponse.php +++ b/src/Asset/Model/ResponseOfFormVisibilityRuleResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfGetEmailFullContentResponse.php b/src/Asset/Model/ResponseOfGetEmailFullContentResponse.php index 0086c6f6..9a3acd79 100644 --- a/src/Asset/Model/ResponseOfGetEmailFullContentResponse.php +++ b/src/Asset/Model/ResponseOfGetEmailFullContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfIdResponse.php b/src/Asset/Model/ResponseOfIdResponse.php index a2850365..5f4e9eae 100644 --- a/src/Asset/Model/ResponseOfIdResponse.php +++ b/src/Asset/Model/ResponseOfIdResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfLandingPageContentResponse.php b/src/Asset/Model/ResponseOfLandingPageContentResponse.php index 12a4a5aa..10d11aff 100644 --- a/src/Asset/Model/ResponseOfLandingPageContentResponse.php +++ b/src/Asset/Model/ResponseOfLandingPageContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfLandingPageDomains.php b/src/Asset/Model/ResponseOfLandingPageDomains.php index 12bb8bec..e2a10713 100644 --- a/src/Asset/Model/ResponseOfLandingPageDomains.php +++ b/src/Asset/Model/ResponseOfLandingPageDomains.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfLandingPageDynamicContentResponse.php b/src/Asset/Model/ResponseOfLandingPageDynamicContentResponse.php index 3515fb1b..ae85c995 100644 --- a/src/Asset/Model/ResponseOfLandingPageDynamicContentResponse.php +++ b/src/Asset/Model/ResponseOfLandingPageDynamicContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfLandingPageRedirectRules.php b/src/Asset/Model/ResponseOfLandingPageRedirectRules.php index 685f4f14..1f019868 100644 --- a/src/Asset/Model/ResponseOfLandingPageRedirectRules.php +++ b/src/Asset/Model/ResponseOfLandingPageRedirectRules.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfLandingPageResponse.php b/src/Asset/Model/ResponseOfLandingPageResponse.php index a2f8ff7b..65226377 100644 --- a/src/Asset/Model/ResponseOfLandingPageResponse.php +++ b/src/Asset/Model/ResponseOfLandingPageResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfLandingPageVariableResponse.php b/src/Asset/Model/ResponseOfLandingPageVariableResponse.php index 2eee4431..3e658d8b 100644 --- a/src/Asset/Model/ResponseOfLandingPageVariableResponse.php +++ b/src/Asset/Model/ResponseOfLandingPageVariableResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfLpFormFieldResponse.php b/src/Asset/Model/ResponseOfLpFormFieldResponse.php index 5f9088c4..f02032cf 100644 --- a/src/Asset/Model/ResponseOfLpFormFieldResponse.php +++ b/src/Asset/Model/ResponseOfLpFormFieldResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfLpFormResponse.php b/src/Asset/Model/ResponseOfLpFormResponse.php index 2af81bfa..53a63faa 100644 --- a/src/Asset/Model/ResponseOfLpFormResponse.php +++ b/src/Asset/Model/ResponseOfLpFormResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfLpTemplateGetContentResponse.php b/src/Asset/Model/ResponseOfLpTemplateGetContentResponse.php index ccd53dc2..11a05252 100644 --- a/src/Asset/Model/ResponseOfLpTemplateGetContentResponse.php +++ b/src/Asset/Model/ResponseOfLpTemplateGetContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfLpTemplateResponse.php b/src/Asset/Model/ResponseOfLpTemplateResponse.php index 10bcf90d..3bcac1b6 100644 --- a/src/Asset/Model/ResponseOfLpTemplateResponse.php +++ b/src/Asset/Model/ResponseOfLpTemplateResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfProgramResponse.php b/src/Asset/Model/ResponseOfProgramResponse.php index 5f29d1d8..25d0d972 100644 --- a/src/Asset/Model/ResponseOfProgramResponse.php +++ b/src/Asset/Model/ResponseOfProgramResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfSegmentationResponse.php b/src/Asset/Model/ResponseOfSegmentationResponse.php index 9c1e8a63..0603fe7d 100644 --- a/src/Asset/Model/ResponseOfSegmentationResponse.php +++ b/src/Asset/Model/ResponseOfSegmentationResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfSegmentsResponse.php b/src/Asset/Model/ResponseOfSegmentsResponse.php index 18ea43bb..cbe16bb4 100644 --- a/src/Asset/Model/ResponseOfSegmentsResponse.php +++ b/src/Asset/Model/ResponseOfSegmentsResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfSmartCampaignResponse.php b/src/Asset/Model/ResponseOfSmartCampaignResponse.php index 4fe8c623..42078809 100644 --- a/src/Asset/Model/ResponseOfSmartCampaignResponse.php +++ b/src/Asset/Model/ResponseOfSmartCampaignResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfSmartListResponse.php b/src/Asset/Model/ResponseOfSmartListResponse.php index c03df525..b01f5a5e 100644 --- a/src/Asset/Model/ResponseOfSmartListResponse.php +++ b/src/Asset/Model/ResponseOfSmartListResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfSmartListResponseWithRules.php b/src/Asset/Model/ResponseOfSmartListResponseWithRules.php index dbc7dea1..7ee4d433 100644 --- a/src/Asset/Model/ResponseOfSmartListResponseWithRules.php +++ b/src/Asset/Model/ResponseOfSmartListResponseWithRules.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfSnippetContentResponse.php b/src/Asset/Model/ResponseOfSnippetContentResponse.php index 72ca7d71..e04099b3 100644 --- a/src/Asset/Model/ResponseOfSnippetContentResponse.php +++ b/src/Asset/Model/ResponseOfSnippetContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfSnippetResponse.php b/src/Asset/Model/ResponseOfSnippetResponse.php index a74d2f53..4ac50fe1 100644 --- a/src/Asset/Model/ResponseOfSnippetResponse.php +++ b/src/Asset/Model/ResponseOfSnippetResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfStaticListResponse.php b/src/Asset/Model/ResponseOfStaticListResponse.php index 8a615511..a7737060 100644 --- a/src/Asset/Model/ResponseOfStaticListResponse.php +++ b/src/Asset/Model/ResponseOfStaticListResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfTagResponse.php b/src/Asset/Model/ResponseOfTagResponse.php index 0b13c866..16930680 100644 --- a/src/Asset/Model/ResponseOfTagResponse.php +++ b/src/Asset/Model/ResponseOfTagResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfTagResponseGetAll.php b/src/Asset/Model/ResponseOfTagResponseGetAll.php index a1a68e63..63d16f34 100644 --- a/src/Asset/Model/ResponseOfTagResponseGetAll.php +++ b/src/Asset/Model/ResponseOfTagResponseGetAll.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfThankYouPageResponse.php b/src/Asset/Model/ResponseOfThankYouPageResponse.php index 2a37eb6d..b0f9fe3d 100644 --- a/src/Asset/Model/ResponseOfThankYouPageResponse.php +++ b/src/Asset/Model/ResponseOfThankYouPageResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfTokenResponse.php b/src/Asset/Model/ResponseOfTokenResponse.php index 2cb2f691..8bc87b55 100644 --- a/src/Asset/Model/ResponseOfTokenResponse.php +++ b/src/Asset/Model/ResponseOfTokenResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfUpdateEmailFullContentResponse.php b/src/Asset/Model/ResponseOfUpdateEmailFullContentResponse.php index 32fb17e9..64afd41d 100644 --- a/src/Asset/Model/ResponseOfUpdateEmailFullContentResponse.php +++ b/src/Asset/Model/ResponseOfUpdateEmailFullContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ResponseOfobject.php b/src/Asset/Model/ResponseOfobject.php index 850e36ed..6ca305dc 100644 --- a/src/Asset/Model/ResponseOfobject.php +++ b/src/Asset/Model/ResponseOfobject.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/SegmentContent.php b/src/Asset/Model/SegmentContent.php index 4c2851a6..ee5c943d 100644 --- a/src/Asset/Model/SegmentContent.php +++ b/src/Asset/Model/SegmentContent.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/SegmentationResponse.php b/src/Asset/Model/SegmentationResponse.php index 9683ea7e..35dd9796 100644 --- a/src/Asset/Model/SegmentationResponse.php +++ b/src/Asset/Model/SegmentationResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -306,7 +306,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/SegmentsResponse.php b/src/Asset/Model/SegmentsResponse.php index 8742c17f..b27e3350 100644 --- a/src/Asset/Model/SegmentsResponse.php +++ b/src/Asset/Model/SegmentsResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/SendSampleEmailRequest.php b/src/Asset/Model/SendSampleEmailRequest.php index 60d72642..ada4cbb9 100644 --- a/src/Asset/Model/SendSampleEmailRequest.php +++ b/src/Asset/Model/SendSampleEmailRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/SmartCampaignResponse.php b/src/Asset/Model/SmartCampaignResponse.php index 184d7872..19870b9d 100644 --- a/src/Asset/Model/SmartCampaignResponse.php +++ b/src/Asset/Model/SmartCampaignResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -675,7 +675,7 @@ public function getRecurrence() /** * Sets recurrence * - * @param \NecLimDul\MarketoRest\Asset\Model\Recurrence $recurrence Recurrence schedule of batch smart campaign + * @param \NecLimDul\MarketoRest\Asset\Model\Recurrence $recurrence recurrence * * @return $this */ @@ -885,7 +885,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/SmartListConditions.php b/src/Asset/Model/SmartListConditions.php index 434ae567..b0bfc7a7 100644 --- a/src/Asset/Model/SmartListConditions.php +++ b/src/Asset/Model/SmartListConditions.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/SmartListFilters.php b/src/Asset/Model/SmartListFilters.php index 3d3d4267..8f286dc1 100644 --- a/src/Asset/Model/SmartListFilters.php +++ b/src/Asset/Model/SmartListFilters.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/SmartListResponse.php b/src/Asset/Model/SmartListResponse.php index 5293681d..3eb13fc4 100644 --- a/src/Asset/Model/SmartListResponse.php +++ b/src/Asset/Model/SmartListResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -414,7 +414,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/SmartListResponseWithRules.php b/src/Asset/Model/SmartListResponseWithRules.php index 4f1e8607..4a7356db 100644 --- a/src/Asset/Model/SmartListResponseWithRules.php +++ b/src/Asset/Model/SmartListResponseWithRules.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -420,7 +420,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ @@ -468,7 +468,7 @@ public function getRules() /** * Sets rules * - * @param \NecLimDul\MarketoRest\Asset\Model\SmartListRules $rules Rules contained in the smart list + * @param \NecLimDul\MarketoRest\Asset\Model\SmartListRules $rules rules * * @return $this */ diff --git a/src/Asset/Model/SmartListRules.php b/src/Asset/Model/SmartListRules.php index 15212fec..d9694afc 100644 --- a/src/Asset/Model/SmartListRules.php +++ b/src/Asset/Model/SmartListRules.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/SnippetContentResponse.php b/src/Asset/Model/SnippetContentResponse.php index 47709636..8fb6b076 100644 --- a/src/Asset/Model/SnippetContentResponse.php +++ b/src/Asset/Model/SnippetContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/SnippetResponse.php b/src/Asset/Model/SnippetResponse.php index c19d9055..fbb4388d 100644 --- a/src/Asset/Model/SnippetResponse.php +++ b/src/Asset/Model/SnippetResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -306,7 +306,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/StaticListResponse.php b/src/Asset/Model/StaticListResponse.php index ece3b4fb..7f81556f 100644 --- a/src/Asset/Model/StaticListResponse.php +++ b/src/Asset/Model/StaticListResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -420,7 +420,7 @@ public function getFolder() /** * Sets folder * - * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder JSON representation of parent folder, with members 'id', and 'type' which may be 'Folder' or 'Program' + * @param \NecLimDul\MarketoRest\Asset\Model\Folder $folder folder * * @return $this */ diff --git a/src/Asset/Model/SubmitButtonRequest.php b/src/Asset/Model/SubmitButtonRequest.php index 06d81343..32d4f6fb 100644 --- a/src/Asset/Model/SubmitButtonRequest.php +++ b/src/Asset/Model/SubmitButtonRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/TagRequest.php b/src/Asset/Model/TagRequest.php index 59eee122..28aec4b7 100644 --- a/src/Asset/Model/TagRequest.php +++ b/src/Asset/Model/TagRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/TagResponse.php b/src/Asset/Model/TagResponse.php index 2b96ff1d..3b7814d3 100644 --- a/src/Asset/Model/TagResponse.php +++ b/src/Asset/Model/TagResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/TagResponseGetAll.php b/src/Asset/Model/TagResponseGetAll.php index d2ca15d7..5810a23f 100644 --- a/src/Asset/Model/TagResponseGetAll.php +++ b/src/Asset/Model/TagResponseGetAll.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/Tags.php b/src/Asset/Model/Tags.php index 9c21ee52..b7213093 100644 --- a/src/Asset/Model/Tags.php +++ b/src/Asset/Model/Tags.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ThankYouPageRequest.php b/src/Asset/Model/ThankYouPageRequest.php index 13f2f80f..1b2b7f19 100644 --- a/src/Asset/Model/ThankYouPageRequest.php +++ b/src/Asset/Model/ThankYouPageRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/ThankYouPageResponse.php b/src/Asset/Model/ThankYouPageResponse.php index e96f7e39..bf9ffddc 100644 --- a/src/Asset/Model/ThankYouPageResponse.php +++ b/src/Asset/Model/ThankYouPageResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/TokenDTO.php b/src/Asset/Model/TokenDTO.php index 86eaa793..ca4b282b 100644 --- a/src/Asset/Model/TokenDTO.php +++ b/src/Asset/Model/TokenDTO.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/TokenResponse.php b/src/Asset/Model/TokenResponse.php index f2537bc9..63a3d153 100644 --- a/src/Asset/Model/TokenResponse.php +++ b/src/Asset/Model/TokenResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateEmailComponentContentRequest.php b/src/Asset/Model/UpdateEmailComponentContentRequest.php index 4ea78da3..a508d366 100644 --- a/src/Asset/Model/UpdateEmailComponentContentRequest.php +++ b/src/Asset/Model/UpdateEmailComponentContentRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateEmailComponentDataRequest.php b/src/Asset/Model/UpdateEmailComponentDataRequest.php index a619bf0d..2b662b19 100644 --- a/src/Asset/Model/UpdateEmailComponentDataRequest.php +++ b/src/Asset/Model/UpdateEmailComponentDataRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -222,7 +222,7 @@ public function getFromEmail() /** * Sets from_email * - * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $from_email From-address of the Email + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $from_email from_email * * @return $this */ @@ -246,7 +246,7 @@ public function getFromName() /** * Sets from_name * - * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $from_name From-name of the Email + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $from_name from_name * * @return $this */ @@ -270,7 +270,7 @@ public function getReplyTo() /** * Sets reply_to * - * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $reply_to Reply-To address of the Email + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $reply_to reply_to * * @return $this */ @@ -294,7 +294,7 @@ public function getSubject() /** * Sets subject * - * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $subject Subject Line of the Email + * @param \NecLimDul\MarketoRest\Asset\Model\EmailHeaderTypeValue $subject subject * * @return $this */ diff --git a/src/Asset/Model/UpdateEmailDynamicContentRequest.php b/src/Asset/Model/UpdateEmailDynamicContentRequest.php index 0bc4065f..3ed02fe8 100644 --- a/src/Asset/Model/UpdateEmailDynamicContentRequest.php +++ b/src/Asset/Model/UpdateEmailDynamicContentRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateEmailFullContentRequest.php b/src/Asset/Model/UpdateEmailFullContentRequest.php index 4ed18f9b..7b1dec1d 100644 --- a/src/Asset/Model/UpdateEmailFullContentRequest.php +++ b/src/Asset/Model/UpdateEmailFullContentRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateEmailFullContentResponse.php b/src/Asset/Model/UpdateEmailFullContentResponse.php index 588d4bc2..50dba0d2 100644 --- a/src/Asset/Model/UpdateEmailFullContentResponse.php +++ b/src/Asset/Model/UpdateEmailFullContentResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateEmailMetaDataRequest.php b/src/Asset/Model/UpdateEmailMetaDataRequest.php index 75bbe3fe..9a471505 100644 --- a/src/Asset/Model/UpdateEmailMetaDataRequest.php +++ b/src/Asset/Model/UpdateEmailMetaDataRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateEmailTemplateContentRequest.php b/src/Asset/Model/UpdateEmailTemplateContentRequest.php index f9af8779..89e8feed 100644 --- a/src/Asset/Model/UpdateEmailTemplateContentRequest.php +++ b/src/Asset/Model/UpdateEmailTemplateContentRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateEmailTemplateMetaDataRequest.php b/src/Asset/Model/UpdateEmailTemplateMetaDataRequest.php index f7a1d776..0ed7508f 100644 --- a/src/Asset/Model/UpdateEmailTemplateMetaDataRequest.php +++ b/src/Asset/Model/UpdateEmailTemplateMetaDataRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateFieldPosition.php b/src/Asset/Model/UpdateFieldPosition.php index c8b483f2..6488ae47 100644 --- a/src/Asset/Model/UpdateFieldPosition.php +++ b/src/Asset/Model/UpdateFieldPosition.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateFileContentRequest.php b/src/Asset/Model/UpdateFileContentRequest.php index 53436f81..28ec0b55 100644 --- a/src/Asset/Model/UpdateFileContentRequest.php +++ b/src/Asset/Model/UpdateFileContentRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateFolderRequest.php b/src/Asset/Model/UpdateFolderRequest.php index d2de99e9..30239da8 100644 --- a/src/Asset/Model/UpdateFolderRequest.php +++ b/src/Asset/Model/UpdateFolderRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateFormFieldRequest.php b/src/Asset/Model/UpdateFormFieldRequest.php index a40e9beb..6b144e33 100644 --- a/src/Asset/Model/UpdateFormFieldRequest.php +++ b/src/Asset/Model/UpdateFormFieldRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateFormMetaDataRequest.php b/src/Asset/Model/UpdateFormMetaDataRequest.php index b6351f70..1bde7b1e 100644 --- a/src/Asset/Model/UpdateFormMetaDataRequest.php +++ b/src/Asset/Model/UpdateFormMetaDataRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -360,7 +360,7 @@ public function getKnownVisitor() /** * Sets known_visitor * - * @param \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO $known_visitor Known visitor behavior for the form + * @param \NecLimDul\MarketoRest\Asset\Model\FormKnownVisitorDTO $known_visitor known_visitor * * @return $this */ diff --git a/src/Asset/Model/UpdateLandingPageContentRequest.php b/src/Asset/Model/UpdateLandingPageContentRequest.php index 1737188c..f6ae5a61 100644 --- a/src/Asset/Model/UpdateLandingPageContentRequest.php +++ b/src/Asset/Model/UpdateLandingPageContentRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateLandingPageDynamicContentRequest.php b/src/Asset/Model/UpdateLandingPageDynamicContentRequest.php index 968380bf..959f42f9 100644 --- a/src/Asset/Model/UpdateLandingPageDynamicContentRequest.php +++ b/src/Asset/Model/UpdateLandingPageDynamicContentRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateLandingPageRedirectRuleRequest.php b/src/Asset/Model/UpdateLandingPageRedirectRuleRequest.php index 3d47f7a0..e3afa5bb 100644 --- a/src/Asset/Model/UpdateLandingPageRedirectRuleRequest.php +++ b/src/Asset/Model/UpdateLandingPageRedirectRuleRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -240,7 +240,7 @@ public function getRedirectFrom() /** * Sets redirect_from * - * @param \NecLimDul\MarketoRest\Asset\Model\RedirectFrom $redirect_from JSON representation of redirect from landing page, with members 'type' which may be 'landingPageId' or 'path', and 'value' + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectFrom $redirect_from redirect_from * * @return $this */ @@ -264,7 +264,7 @@ public function getRedirectTo() /** * Sets redirect_to * - * @param \NecLimDul\MarketoRest\Asset\Model\RedirectTo $redirect_to JSON representation of redirect to landing page, with members 'type' which may be 'landingPageId' or 'url', and 'value' + * @param \NecLimDul\MarketoRest\Asset\Model\RedirectTo $redirect_to redirect_to * * @return $this */ diff --git a/src/Asset/Model/UpdateLandingPageRequest.php b/src/Asset/Model/UpdateLandingPageRequest.php index 654f6fbe..e3e19688 100644 --- a/src/Asset/Model/UpdateLandingPageRequest.php +++ b/src/Asset/Model/UpdateLandingPageRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateLpTemplateRequest.php b/src/Asset/Model/UpdateLpTemplateRequest.php index 16eb7465..1211702a 100644 --- a/src/Asset/Model/UpdateLpTemplateRequest.php +++ b/src/Asset/Model/UpdateLpTemplateRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateProgramRequest.php b/src/Asset/Model/UpdateProgramRequest.php index ec84e90a..f7aecde0 100644 --- a/src/Asset/Model/UpdateProgramRequest.php +++ b/src/Asset/Model/UpdateProgramRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateSmartCampaignRequest.php b/src/Asset/Model/UpdateSmartCampaignRequest.php index 9f79610a..a5f8d83a 100644 --- a/src/Asset/Model/UpdateSmartCampaignRequest.php +++ b/src/Asset/Model/UpdateSmartCampaignRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateSnippetDynamicContentRequest.php b/src/Asset/Model/UpdateSnippetDynamicContentRequest.php index eb517701..b36f7025 100644 --- a/src/Asset/Model/UpdateSnippetDynamicContentRequest.php +++ b/src/Asset/Model/UpdateSnippetDynamicContentRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateSnippetRequest.php b/src/Asset/Model/UpdateSnippetRequest.php index 9c62c55f..041d113b 100644 --- a/src/Asset/Model/UpdateSnippetRequest.php +++ b/src/Asset/Model/UpdateSnippetRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateStaticListRequest.php b/src/Asset/Model/UpdateStaticListRequest.php index ce69ec6f..ccac2996 100644 --- a/src/Asset/Model/UpdateStaticListRequest.php +++ b/src/Asset/Model/UpdateStaticListRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateThankYouPageRequest.php b/src/Asset/Model/UpdateThankYouPageRequest.php index 6dbc23fa..f8fae5f7 100644 --- a/src/Asset/Model/UpdateThankYouPageRequest.php +++ b/src/Asset/Model/UpdateThankYouPageRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/UpdateVariableRequest.php b/src/Asset/Model/UpdateVariableRequest.php index 77c8259d..c2628f7a 100644 --- a/src/Asset/Model/UpdateVariableRequest.php +++ b/src/Asset/Model/UpdateVariableRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/Model/VisibilityRuleRequest.php b/src/Asset/Model/VisibilityRuleRequest.php index 6c2151d6..f63f2ffc 100644 --- a/src/Asset/Model/VisibilityRuleRequest.php +++ b/src/Asset/Model/VisibilityRuleRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Asset/ObjectSerializer.php b/src/Asset/ObjectSerializer.php index 3368885b..6d413f7b 100644 --- a/src/Asset/ObjectSerializer.php +++ b/src/Asset/ObjectSerializer.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Identity/Api/IdentityApi.php b/src/Identity/Api/IdentityApi.php index 3516d6d0..75cb8376 100644 --- a/src/Identity/Api/IdentityApi.php +++ b/src/Identity/Api/IdentityApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -330,7 +330,7 @@ protected function identityUsingGETRequest($client_id, $client_secret, $grant_ty } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } diff --git a/src/Identity/ApiException.php b/src/Identity/ApiException.php index a0e080da..1c70f62d 100644 --- a/src/Identity/ApiException.php +++ b/src/Identity/ApiException.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Identity/Configuration.php b/src/Identity/Configuration.php index ed20cd44..beebf76d 100644 --- a/src/Identity/Configuration.php +++ b/src/Identity/Configuration.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Identity/HeaderSelector.php b/src/Identity/HeaderSelector.php index 3f0acc54..0405f5e0 100644 --- a/src/Identity/HeaderSelector.php +++ b/src/Identity/HeaderSelector.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Identity/Model/ModelInterface.php b/src/Identity/Model/ModelInterface.php index 398b8ee9..85eb9209 100644 --- a/src/Identity/Model/ModelInterface.php +++ b/src/Identity/Model/ModelInterface.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Identity/Model/ResponseOfIdentity.php b/src/Identity/Model/ResponseOfIdentity.php index 91505d38..cb82543f 100644 --- a/src/Identity/Model/ResponseOfIdentity.php +++ b/src/Identity/Model/ResponseOfIdentity.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -59,8 +59,8 @@ class ResponseOfIdentity implements ModelInterface, ArrayAccess protected static $swaggerTypes = [ 'access_token' => 'string', 'scope' => 'string', - 'expires_in' => 'int', - 'token_type' => 'string' + 'token_type' => 'string', + 'expires_in' => 'int' ]; /** @@ -71,8 +71,8 @@ class ResponseOfIdentity implements ModelInterface, ArrayAccess protected static $swaggerFormats = [ 'access_token' => null, 'scope' => null, - 'expires_in' => null, - 'token_type' => null + 'token_type' => null, + 'expires_in' => null ]; /** @@ -107,8 +107,8 @@ public static function swaggerFormats() protected static $attributeMap = [ 'access_token' => 'access_token', 'scope' => 'scope', - 'expires_in' => 'expires_in', - 'token_type' => 'token_type' + 'token_type' => 'token_type', + 'expires_in' => 'expires_in' ]; /** @@ -119,8 +119,8 @@ public static function swaggerFormats() protected static $setters = [ 'access_token' => 'setAccessToken', 'scope' => 'setScope', - 'expires_in' => 'setExpiresIn', - 'token_type' => 'setTokenType' + 'token_type' => 'setTokenType', + 'expires_in' => 'setExpiresIn' ]; /** @@ -131,8 +131,8 @@ public static function swaggerFormats() protected static $getters = [ 'access_token' => 'getAccessToken', 'scope' => 'getScope', - 'expires_in' => 'getExpiresIn', - 'token_type' => 'getTokenType' + 'token_type' => 'getTokenType', + 'expires_in' => 'getExpiresIn' ]; const TOKEN_TYPE_BEARER = 'bearer'; @@ -155,8 +155,8 @@ public function __construct(array $data = null) { $this->container['access_token'] = isset($data['access_token']) ? $data['access_token'] : null; $this->container['scope'] = isset($data['scope']) ? $data['scope'] : null; - $this->container['expires_in'] = isset($data['expires_in']) ? $data['expires_in'] : null; $this->container['token_type'] = isset($data['token_type']) ? $data['token_type'] : null; + $this->container['expires_in'] = isset($data['expires_in']) ? $data['expires_in'] : null; } /** @@ -279,30 +279,6 @@ public function setScope($scope) return $this; } - /** - * Gets expires_in - * - * @return int - */ - public function getExpiresIn() - { - return $this->container['expires_in']; - } - - /** - * Sets expires_in - * - * @param int $expires_in expires_in - * - * @return $this - */ - public function setExpiresIn($expires_in) - { - $this->container['expires_in'] = $expires_in; - - return $this; - } - /** * Gets token_type * @@ -336,6 +312,30 @@ public function setTokenType($token_type) return $this; } + /** + * Gets expires_in + * + * @return int + */ + public function getExpiresIn() + { + return $this->container['expires_in']; + } + + /** + * Sets expires_in + * + * @param int $expires_in expires_in + * + * @return $this + */ + public function setExpiresIn($expires_in) + { + $this->container['expires_in'] = $expires_in; + + return $this; + } + /** * {@inheritdoc} */ diff --git a/src/Identity/ObjectSerializer.php b/src/Identity/ObjectSerializer.php index 9299ad22..4bfc6d66 100644 --- a/src/Identity/ObjectSerializer.php +++ b/src/Identity/ObjectSerializer.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Api/ActivitiesApi.php b/src/Lead/Api/ActivitiesApi.php index 95d5288a..c0ea5339 100644 --- a/src/Lead/Api/ActivitiesApi.php +++ b/src/Lead/Api/ActivitiesApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -559,7 +559,7 @@ protected function approveCustomActivityTypeUsingPOSTRequest($api_name) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1658,7 +1658,7 @@ protected function deleteCustomActivityTypeUsingPOSTRequest($api_name) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1936,7 +1936,7 @@ protected function describeCustomActivityTypeUsingGETRequest($api_name, $draft = } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -2205,7 +2205,7 @@ protected function discardDraftofCustomActivityTypeUsingPOSTRequest($api_name) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -2470,7 +2470,7 @@ protected function getActivitiesPagingTokenUsingGETRequest($since_datetime) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -2720,7 +2720,7 @@ protected function getAllActivityTypesUsingGETRequest() } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -2970,7 +2970,7 @@ protected function getCustomActivityTypeUsingGETRequest() } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -3244,7 +3244,7 @@ protected function getDeletedLeadsUsingGETRequest($next_page_token, $batch_size } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -3569,7 +3569,7 @@ protected function getLeadActivitiesUsingGETRequest($next_page_token, $activity_ } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -3882,7 +3882,7 @@ protected function getLeadChangesUsingGETRequest($next_page_token, $fields, $lis } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } diff --git a/src/Lead/Api/BulkExportActivitiesApi.php b/src/Lead/Api/BulkExportActivitiesApi.php index edac8385..e08f69af 100644 --- a/src/Lead/Api/BulkExportActivitiesApi.php +++ b/src/Lead/Api/BulkExportActivitiesApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -295,7 +295,7 @@ protected function cancelExportActivitiesUsingPOSTRequest($export_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -822,7 +822,7 @@ protected function enqueueExportActivitiesUsingPOSTRequest($export_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1100,7 +1100,7 @@ protected function getExportActivitiesFileUsingGETRequest($export_id, $range = n } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1369,7 +1369,7 @@ protected function getExportActivitiesStatusUsingGETRequest($export_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1649,7 +1649,7 @@ protected function getExportActivitiesUsingGETRequest($status = null, $batch_siz } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } diff --git a/src/Lead/Api/BulkExportLeadsApi.php b/src/Lead/Api/BulkExportLeadsApi.php index 6ed03bb4..b22b9574 100644 --- a/src/Lead/Api/BulkExportLeadsApi.php +++ b/src/Lead/Api/BulkExportLeadsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -295,7 +295,7 @@ protected function cancelExportLeadsUsingPOSTRequest($export_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -822,7 +822,7 @@ protected function enqueueExportLeadsUsingPOSTRequest($export_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1100,7 +1100,7 @@ protected function getExportLeadsFileUsingGETRequest($export_id, $range = null) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1369,7 +1369,7 @@ protected function getExportLeadsStatusUsingGETRequest($export_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1649,7 +1649,7 @@ protected function getExportLeadsUsingGETRequest($status = null, $batch_size = n } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } diff --git a/src/Lead/Api/BulkExportProgramMembersApi.php b/src/Lead/Api/BulkExportProgramMembersApi.php index 6c2beed7..0a16256c 100644 --- a/src/Lead/Api/BulkExportProgramMembersApi.php +++ b/src/Lead/Api/BulkExportProgramMembersApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -295,7 +295,7 @@ protected function cancelExportProgramMembersUsingPOSTRequest($export_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -822,7 +822,7 @@ protected function enqueueExportProgramMembersUsingPOSTRequest($export_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1100,7 +1100,7 @@ protected function getExportProgramMembersFileUsingGETRequest($export_id, $range } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1369,7 +1369,7 @@ protected function getExportProgramMembersStatusUsingGETRequest($export_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1649,7 +1649,7 @@ protected function getExportProgramMembersUsingGETRequest($status = null, $batch } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } diff --git a/src/Lead/Api/BulkImportCustomObjectsApi.php b/src/Lead/Api/BulkImportCustomObjectsApi.php index ad25e175..10f26846 100644 --- a/src/Lead/Api/BulkImportCustomObjectsApi.php +++ b/src/Lead/Api/BulkImportCustomObjectsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -314,7 +314,7 @@ protected function getImportCustomObjectFailuresUsingGETRequest($api_name, $batc } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -602,7 +602,7 @@ protected function getImportCustomObjectStatusUsingGETRequest($api_name, $batch_ } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -890,7 +890,7 @@ protected function getImportCustomObjectWarningsUsingGETRequest($api_name, $batc } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } diff --git a/src/Lead/Api/BulkImportLeadsApi.php b/src/Lead/Api/BulkImportLeadsApi.php index 5911cede..c142e71f 100644 --- a/src/Lead/Api/BulkImportLeadsApi.php +++ b/src/Lead/Api/BulkImportLeadsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -295,7 +295,7 @@ protected function getImportLeadFailuresUsingGETRequest($batch_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -564,7 +564,7 @@ protected function getImportLeadStatusUsingGETRequest($batch_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -833,7 +833,7 @@ protected function getImportLeadWarningsUsingGETRequest($batch_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } diff --git a/src/Lead/Api/BulkImportProgramMembersApi.php b/src/Lead/Api/BulkImportProgramMembersApi.php index fa04e0a6..ccd775b4 100644 --- a/src/Lead/Api/BulkImportProgramMembersApi.php +++ b/src/Lead/Api/BulkImportProgramMembersApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -295,7 +295,7 @@ protected function getImportProgramMemberFailuresUsingGETRequest($batch_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -564,7 +564,7 @@ protected function getImportProgramMemberStatusUsingGETRequest($batch_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -833,7 +833,7 @@ protected function getImportProgramMemberWarningsUsingGETRequest($batch_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } diff --git a/src/Lead/Api/CampaignsApi.php b/src/Lead/Api/CampaignsApi.php index 95a914e5..faf86bb9 100644 --- a/src/Lead/Api/CampaignsApi.php +++ b/src/Lead/Api/CampaignsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -295,7 +295,7 @@ protected function getCampaignByIdUsingGETRequest($campaign_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -620,7 +620,7 @@ protected function getCampaignsUsingGETRequest($id = null, $name = null, $progra } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } diff --git a/src/Lead/Api/CompaniesApi.php b/src/Lead/Api/CompaniesApi.php index 73793ba7..d8206e44 100644 --- a/src/Lead/Api/CompaniesApi.php +++ b/src/Lead/Api/CompaniesApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -540,7 +540,7 @@ protected function describeUsingGETRequest() } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -853,7 +853,7 @@ protected function getCompaniesUsingGETRequest($filter_type, $filter_values, $fi } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } diff --git a/src/Lead/Api/CustomObjectsApi.php b/src/Lead/Api/CustomObjectsApi.php index ee273328..2872abf9 100644 --- a/src/Lead/Api/CustomObjectsApi.php +++ b/src/Lead/Api/CustomObjectsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -578,7 +578,7 @@ protected function approveCustomObjectTypeUsingPOSTRequest($api_name) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1130,7 +1130,7 @@ protected function deleteCustomObjectTypeUsingPOSTRequest($api_name) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1685,7 +1685,7 @@ protected function describeCustomObjectTypeUsingGETRequest($api_name, $state = n } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1954,7 +1954,7 @@ protected function describeUsingGET1Request($custom_object_name) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -2223,7 +2223,7 @@ protected function discardCustomObjectTypeUsingPOSTRequest($api_name) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -2473,7 +2473,7 @@ protected function getCustomObjectTypeFieldDataTypesUsingGETRequest() } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -2723,7 +2723,7 @@ protected function getCustomObjectTypeLinkableObjectsUsingGETRequest() } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -2792,18 +2792,18 @@ protected function getCustomObjectTypeLinkableObjectsUsingGETRequest() * @param string $custom_object_name Name of custom object type to retrieve records for (required) * @param string $filter_type Field to filter on. Searchable fields can be retrieved with Describe Custom Object (required) * @param string[] $filter_values Comma-separated list of field values to match against. (required) - * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $custom_object_lookup_request Optional JSON request for retrieving custom objects with compound keys. Example:<br><code>{<br>\"filterType\":\"dedupeFields\",<br>\"fields\":[<br>\"marketoGuid\",<br>\"Bedrooms\",<br>\"yearBuilt\"<br>],<br>\"input\":[<br>{<br>\"mlsNum\":\"1962352\",<br>\"houseOwnerId\":\"42645756\"<br>},<br>{<br>\"mlsNum\":\"3962352\",<br>\"houseOwnerId\":\"62645756\"<br>}<br>]<br>}</code><br> (optional) * @param string[] $fields Comma-separated list of fields to return for each record. If unset marketoGuid, dedupeFields, updatedAt, createdAt will be returned (optional) * @param int $batch_size The batch size to return. The max and default value is 300. (optional) * @param string $next_page_token A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $lookup_custom_object_request Optional JSON request for retrieving custom objects with compound keys. Example:<br><code>{<br>\"filterType\":\"dedupeFields\",<br>\"fields\":[<br>\"marketoGuid\",<br>\"Bedrooms\",<br>\"yearBuilt\"<br>],<br>\"input\":[<br>{<br>\"mlsNum\":\"1962352\",<br>\"houseOwnerId\":\"42645756\"<br>},<br>{<br>\"mlsNum\":\"3962352\",<br>\"houseOwnerId\":\"62645756\"<br>}<br>]<br>}</code><br> (optional) * * @throws \NecLimDul\MarketoRest\Lead\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Lead\Model\ResponseOfCustomObject */ - public function getCustomObjectsUsingGET($custom_object_name, $filter_type, $filter_values, $custom_object_lookup_request = null, $fields = null, $batch_size = null, $next_page_token = null) + public function getCustomObjectsUsingGET($custom_object_name, $filter_type, $filter_values, $fields = null, $batch_size = null, $next_page_token = null, $lookup_custom_object_request = null) { - list($response) = $this->getCustomObjectsUsingGETWithHttpInfo($custom_object_name, $filter_type, $filter_values, $custom_object_lookup_request, $fields, $batch_size, $next_page_token); + list($response) = $this->getCustomObjectsUsingGETWithHttpInfo($custom_object_name, $filter_type, $filter_values, $fields, $batch_size, $next_page_token, $lookup_custom_object_request); return $response; } @@ -2815,19 +2815,19 @@ public function getCustomObjectsUsingGET($custom_object_name, $filter_type, $fil * @param string $custom_object_name Name of custom object type to retrieve records for (required) * @param string $filter_type Field to filter on. Searchable fields can be retrieved with Describe Custom Object (required) * @param string[] $filter_values Comma-separated list of field values to match against. (required) - * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $custom_object_lookup_request Optional JSON request for retrieving custom objects with compound keys. Example:<br><code>{<br>\"filterType\":\"dedupeFields\",<br>\"fields\":[<br>\"marketoGuid\",<br>\"Bedrooms\",<br>\"yearBuilt\"<br>],<br>\"input\":[<br>{<br>\"mlsNum\":\"1962352\",<br>\"houseOwnerId\":\"42645756\"<br>},<br>{<br>\"mlsNum\":\"3962352\",<br>\"houseOwnerId\":\"62645756\"<br>}<br>]<br>}</code><br> (optional) * @param string[] $fields Comma-separated list of fields to return for each record. If unset marketoGuid, dedupeFields, updatedAt, createdAt will be returned (optional) * @param int $batch_size The batch size to return. The max and default value is 300. (optional) * @param string $next_page_token A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $lookup_custom_object_request Optional JSON request for retrieving custom objects with compound keys. Example:<br><code>{<br>\"filterType\":\"dedupeFields\",<br>\"fields\":[<br>\"marketoGuid\",<br>\"Bedrooms\",<br>\"yearBuilt\"<br>],<br>\"input\":[<br>{<br>\"mlsNum\":\"1962352\",<br>\"houseOwnerId\":\"42645756\"<br>},<br>{<br>\"mlsNum\":\"3962352\",<br>\"houseOwnerId\":\"62645756\"<br>}<br>]<br>}</code><br> (optional) * * @throws \NecLimDul\MarketoRest\Lead\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Lead\Model\ResponseOfCustomObject, HTTP status code, HTTP response headers (array of strings) */ - public function getCustomObjectsUsingGETWithHttpInfo($custom_object_name, $filter_type, $filter_values, $custom_object_lookup_request = null, $fields = null, $batch_size = null, $next_page_token = null) + public function getCustomObjectsUsingGETWithHttpInfo($custom_object_name, $filter_type, $filter_values, $fields = null, $batch_size = null, $next_page_token = null, $lookup_custom_object_request = null) { $returnType = '\NecLimDul\MarketoRest\Lead\Model\ResponseOfCustomObject'; - $request = $this->getCustomObjectsUsingGETRequest($custom_object_name, $filter_type, $filter_values, $custom_object_lookup_request, $fields, $batch_size, $next_page_token); + $request = $this->getCustomObjectsUsingGETRequest($custom_object_name, $filter_type, $filter_values, $fields, $batch_size, $next_page_token, $lookup_custom_object_request); try { $options = $this->createHttpClientOption(); @@ -2896,17 +2896,17 @@ public function getCustomObjectsUsingGETWithHttpInfo($custom_object_name, $filte * @param string $custom_object_name Name of custom object type to retrieve records for (required) * @param string $filter_type Field to filter on. Searchable fields can be retrieved with Describe Custom Object (required) * @param string[] $filter_values Comma-separated list of field values to match against. (required) - * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $custom_object_lookup_request Optional JSON request for retrieving custom objects with compound keys. Example:<br><code>{<br>\"filterType\":\"dedupeFields\",<br>\"fields\":[<br>\"marketoGuid\",<br>\"Bedrooms\",<br>\"yearBuilt\"<br>],<br>\"input\":[<br>{<br>\"mlsNum\":\"1962352\",<br>\"houseOwnerId\":\"42645756\"<br>},<br>{<br>\"mlsNum\":\"3962352\",<br>\"houseOwnerId\":\"62645756\"<br>}<br>]<br>}</code><br> (optional) * @param string[] $fields Comma-separated list of fields to return for each record. If unset marketoGuid, dedupeFields, updatedAt, createdAt will be returned (optional) * @param int $batch_size The batch size to return. The max and default value is 300. (optional) * @param string $next_page_token A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $lookup_custom_object_request Optional JSON request for retrieving custom objects with compound keys. Example:<br><code>{<br>\"filterType\":\"dedupeFields\",<br>\"fields\":[<br>\"marketoGuid\",<br>\"Bedrooms\",<br>\"yearBuilt\"<br>],<br>\"input\":[<br>{<br>\"mlsNum\":\"1962352\",<br>\"houseOwnerId\":\"42645756\"<br>},<br>{<br>\"mlsNum\":\"3962352\",<br>\"houseOwnerId\":\"62645756\"<br>}<br>]<br>}</code><br> (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getCustomObjectsUsingGETAsync($custom_object_name, $filter_type, $filter_values, $custom_object_lookup_request = null, $fields = null, $batch_size = null, $next_page_token = null) + public function getCustomObjectsUsingGETAsync($custom_object_name, $filter_type, $filter_values, $fields = null, $batch_size = null, $next_page_token = null, $lookup_custom_object_request = null) { - return $this->getCustomObjectsUsingGETAsyncWithHttpInfo($custom_object_name, $filter_type, $filter_values, $custom_object_lookup_request, $fields, $batch_size, $next_page_token) + return $this->getCustomObjectsUsingGETAsyncWithHttpInfo($custom_object_name, $filter_type, $filter_values, $fields, $batch_size, $next_page_token, $lookup_custom_object_request) ->then( function ($response) { return $response[0]; @@ -2922,18 +2922,18 @@ function ($response) { * @param string $custom_object_name Name of custom object type to retrieve records for (required) * @param string $filter_type Field to filter on. Searchable fields can be retrieved with Describe Custom Object (required) * @param string[] $filter_values Comma-separated list of field values to match against. (required) - * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $custom_object_lookup_request Optional JSON request for retrieving custom objects with compound keys. Example:<br><code>{<br>\"filterType\":\"dedupeFields\",<br>\"fields\":[<br>\"marketoGuid\",<br>\"Bedrooms\",<br>\"yearBuilt\"<br>],<br>\"input\":[<br>{<br>\"mlsNum\":\"1962352\",<br>\"houseOwnerId\":\"42645756\"<br>},<br>{<br>\"mlsNum\":\"3962352\",<br>\"houseOwnerId\":\"62645756\"<br>}<br>]<br>}</code><br> (optional) * @param string[] $fields Comma-separated list of fields to return for each record. If unset marketoGuid, dedupeFields, updatedAt, createdAt will be returned (optional) * @param int $batch_size The batch size to return. The max and default value is 300. (optional) * @param string $next_page_token A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $lookup_custom_object_request Optional JSON request for retrieving custom objects with compound keys. Example:<br><code>{<br>\"filterType\":\"dedupeFields\",<br>\"fields\":[<br>\"marketoGuid\",<br>\"Bedrooms\",<br>\"yearBuilt\"<br>],<br>\"input\":[<br>{<br>\"mlsNum\":\"1962352\",<br>\"houseOwnerId\":\"42645756\"<br>},<br>{<br>\"mlsNum\":\"3962352\",<br>\"houseOwnerId\":\"62645756\"<br>}<br>]<br>}</code><br> (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getCustomObjectsUsingGETAsyncWithHttpInfo($custom_object_name, $filter_type, $filter_values, $custom_object_lookup_request = null, $fields = null, $batch_size = null, $next_page_token = null) + public function getCustomObjectsUsingGETAsyncWithHttpInfo($custom_object_name, $filter_type, $filter_values, $fields = null, $batch_size = null, $next_page_token = null, $lookup_custom_object_request = null) { $returnType = '\NecLimDul\MarketoRest\Lead\Model\ResponseOfCustomObject'; - $request = $this->getCustomObjectsUsingGETRequest($custom_object_name, $filter_type, $filter_values, $custom_object_lookup_request, $fields, $batch_size, $next_page_token); + $request = $this->getCustomObjectsUsingGETRequest($custom_object_name, $filter_type, $filter_values, $fields, $batch_size, $next_page_token, $lookup_custom_object_request); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -2978,15 +2978,15 @@ function ($exception) { * @param string $custom_object_name Name of custom object type to retrieve records for (required) * @param string $filter_type Field to filter on. Searchable fields can be retrieved with Describe Custom Object (required) * @param string[] $filter_values Comma-separated list of field values to match against. (required) - * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $custom_object_lookup_request Optional JSON request for retrieving custom objects with compound keys. Example:<br><code>{<br>\"filterType\":\"dedupeFields\",<br>\"fields\":[<br>\"marketoGuid\",<br>\"Bedrooms\",<br>\"yearBuilt\"<br>],<br>\"input\":[<br>{<br>\"mlsNum\":\"1962352\",<br>\"houseOwnerId\":\"42645756\"<br>},<br>{<br>\"mlsNum\":\"3962352\",<br>\"houseOwnerId\":\"62645756\"<br>}<br>]<br>}</code><br> (optional) * @param string[] $fields Comma-separated list of fields to return for each record. If unset marketoGuid, dedupeFields, updatedAt, createdAt will be returned (optional) * @param int $batch_size The batch size to return. The max and default value is 300. (optional) * @param string $next_page_token A token will be returned by this endpoint if the result set is greater than the batch size and can be passed in a subsequent call through this parameter. See Paging Tokens for more info. (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $lookup_custom_object_request Optional JSON request for retrieving custom objects with compound keys. Example:<br><code>{<br>\"filterType\":\"dedupeFields\",<br>\"fields\":[<br>\"marketoGuid\",<br>\"Bedrooms\",<br>\"yearBuilt\"<br>],<br>\"input\":[<br>{<br>\"mlsNum\":\"1962352\",<br>\"houseOwnerId\":\"42645756\"<br>},<br>{<br>\"mlsNum\":\"3962352\",<br>\"houseOwnerId\":\"62645756\"<br>}<br>]<br>}</code><br> (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function getCustomObjectsUsingGETRequest($custom_object_name, $filter_type, $filter_values, $custom_object_lookup_request = null, $fields = null, $batch_size = null, $next_page_token = null) + protected function getCustomObjectsUsingGETRequest($custom_object_name, $filter_type, $filter_values, $fields = null, $batch_size = null, $next_page_token = null, $lookup_custom_object_request = null) { // verify the required parameter 'custom_object_name' is set if ($custom_object_name === null || (is_array($custom_object_name) && count($custom_object_name) === 0)) { @@ -3052,8 +3052,8 @@ protected function getCustomObjectsUsingGETRequest($custom_object_name, $filter_ // body params $_tempBody = null; - if (isset($custom_object_lookup_request)) { - $_tempBody = $custom_object_lookup_request; + if (isset($lookup_custom_object_request)) { + $_tempBody = $lookup_custom_object_request; } if ($multipart) { @@ -3334,7 +3334,7 @@ protected function listCustomObjectTypesUsingGETRequest($names = null, $state = } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -3596,7 +3596,7 @@ protected function listCustomObjectsUsingGETRequest($names = null) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } diff --git a/src/Lead/Api/LeadsApi.php b/src/Lead/Api/LeadsApi.php index 6f06b727..84488827 100644 --- a/src/Lead/Api/LeadsApi.php +++ b/src/Lead/Api/LeadsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -310,7 +310,7 @@ protected function associateLeadUsingPOSTRequest($lead_id, $cookie) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -659,16 +659,16 @@ protected function changeLeadProgramStatusUsingPOSTRequest($program_id, $change_ * * Delete Leads * - * @param \NecLimDul\MarketoRest\Lead\Model\DeleteLeadRequest $delete_lead_request deleteLeadRequest (optional) * @param int[] $id Parameter can be specified if the request body is empty. Multiple lead ids can be specified. e.g. id=1,2,3,2342 (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\DeleteLeadRequest $delete_lead_request deleteLeadRequest (optional) * * @throws \NecLimDul\MarketoRest\Lead\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Lead\Model\ResponseOfLead */ - public function deleteLeadsUsingPOST($delete_lead_request = null, $id = null) + public function deleteLeadsUsingPOST($id = null, $delete_lead_request = null) { - list($response) = $this->deleteLeadsUsingPOSTWithHttpInfo($delete_lead_request, $id); + list($response) = $this->deleteLeadsUsingPOSTWithHttpInfo($id, $delete_lead_request); return $response; } @@ -677,17 +677,17 @@ public function deleteLeadsUsingPOST($delete_lead_request = null, $id = null) * * Delete Leads * - * @param \NecLimDul\MarketoRest\Lead\Model\DeleteLeadRequest $delete_lead_request deleteLeadRequest (optional) * @param int[] $id Parameter can be specified if the request body is empty. Multiple lead ids can be specified. e.g. id=1,2,3,2342 (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\DeleteLeadRequest $delete_lead_request deleteLeadRequest (optional) * * @throws \NecLimDul\MarketoRest\Lead\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Lead\Model\ResponseOfLead, HTTP status code, HTTP response headers (array of strings) */ - public function deleteLeadsUsingPOSTWithHttpInfo($delete_lead_request = null, $id = null) + public function deleteLeadsUsingPOSTWithHttpInfo($id = null, $delete_lead_request = null) { $returnType = '\NecLimDul\MarketoRest\Lead\Model\ResponseOfLead'; - $request = $this->deleteLeadsUsingPOSTRequest($delete_lead_request, $id); + $request = $this->deleteLeadsUsingPOSTRequest($id, $delete_lead_request); try { $options = $this->createHttpClientOption(); @@ -753,15 +753,15 @@ public function deleteLeadsUsingPOSTWithHttpInfo($delete_lead_request = null, $i * * Delete Leads * - * @param \NecLimDul\MarketoRest\Lead\Model\DeleteLeadRequest $delete_lead_request deleteLeadRequest (optional) * @param int[] $id Parameter can be specified if the request body is empty. Multiple lead ids can be specified. e.g. id=1,2,3,2342 (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\DeleteLeadRequest $delete_lead_request deleteLeadRequest (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function deleteLeadsUsingPOSTAsync($delete_lead_request = null, $id = null) + public function deleteLeadsUsingPOSTAsync($id = null, $delete_lead_request = null) { - return $this->deleteLeadsUsingPOSTAsyncWithHttpInfo($delete_lead_request, $id) + return $this->deleteLeadsUsingPOSTAsyncWithHttpInfo($id, $delete_lead_request) ->then( function ($response) { return $response[0]; @@ -774,16 +774,16 @@ function ($response) { * * Delete Leads * - * @param \NecLimDul\MarketoRest\Lead\Model\DeleteLeadRequest $delete_lead_request deleteLeadRequest (optional) * @param int[] $id Parameter can be specified if the request body is empty. Multiple lead ids can be specified. e.g. id=1,2,3,2342 (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\DeleteLeadRequest $delete_lead_request deleteLeadRequest (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function deleteLeadsUsingPOSTAsyncWithHttpInfo($delete_lead_request = null, $id = null) + public function deleteLeadsUsingPOSTAsyncWithHttpInfo($id = null, $delete_lead_request = null) { $returnType = '\NecLimDul\MarketoRest\Lead\Model\ResponseOfLead'; - $request = $this->deleteLeadsUsingPOSTRequest($delete_lead_request, $id); + $request = $this->deleteLeadsUsingPOSTRequest($id, $delete_lead_request); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -825,13 +825,13 @@ function ($exception) { /** * Create request for operation 'deleteLeadsUsingPOST' * - * @param \NecLimDul\MarketoRest\Lead\Model\DeleteLeadRequest $delete_lead_request deleteLeadRequest (optional) * @param int[] $id Parameter can be specified if the request body is empty. Multiple lead ids can be specified. e.g. id=1,2,3,2342 (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\DeleteLeadRequest $delete_lead_request deleteLeadRequest (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function deleteLeadsUsingPOSTRequest($delete_lead_request = null, $id = null) + protected function deleteLeadsUsingPOSTRequest($id = null, $delete_lead_request = null) { $resourcePath = '/rest/v1/leads/delete.json'; @@ -1113,7 +1113,7 @@ protected function describeProgramMemberUsingGETRequest() } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1363,7 +1363,7 @@ protected function describeUsingGET2Request() } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1613,7 +1613,7 @@ protected function describeUsingGET6Request() } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1894,7 +1894,7 @@ protected function getLeadByIdUsingGETRequest($lead_id, $fields = null) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -2144,7 +2144,7 @@ protected function getLeadPartitionsUsingGETRequest() } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -2457,7 +2457,7 @@ protected function getLeadsByFilterUsingGETRequest($filter_type, $filter_values, } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -2756,7 +2756,7 @@ protected function getLeadsByProgramIdUsingGETRequest($program_id, $fields = nul } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -3043,7 +3043,7 @@ protected function getListMembershipUsingGETRequest($lead_id, $next_page_token = } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -3348,7 +3348,7 @@ protected function getProgramMembershipUsingGETRequest($lead_id, $next_page_toke } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -3653,7 +3653,7 @@ protected function getSmartCampaignMembershipUsingGETRequest($lead_id, $next_pag } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -3952,7 +3952,7 @@ protected function mergeLeadsUsingPOSTRequest($lead_id, $lead_id2 = null, $lead_ } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } diff --git a/src/Lead/Api/NamedAccountListsApi.php b/src/Lead/Api/NamedAccountListsApi.php index fb06d3da..a1f08222 100644 --- a/src/Lead/Api/NamedAccountListsApi.php +++ b/src/Lead/Api/NamedAccountListsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -872,7 +872,7 @@ protected function getNamedAccountListMembersUsingGETRequest($id, $fields = null } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1173,7 +1173,7 @@ protected function getNamedAccountListsUsingGETRequest($filter_type, $filter_val } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } diff --git a/src/Lead/Api/NamedAccountsApi.php b/src/Lead/Api/NamedAccountsApi.php index 34bcbc77..f85c282e 100644 --- a/src/Lead/Api/NamedAccountsApi.php +++ b/src/Lead/Api/NamedAccountsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -92,15 +92,15 @@ public function getConfig() * * Delete NamedAccounts * - * @param \NecLimDul\MarketoRest\Lead\Model\DeleteNamedAccountRequest $delete_account_request deleteAccountRequest (required) + * @param \NecLimDul\MarketoRest\Lead\Model\DeleteNamedAccountRequest $delete_named_account_request deleteAccountRequest (required) * * @throws \NecLimDul\MarketoRest\Lead\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Lead\Model\ResponseOfNamedAccount */ - public function deleteNamedAccountsUsingPOST($delete_account_request) + public function deleteNamedAccountsUsingPOST($delete_named_account_request) { - list($response) = $this->deleteNamedAccountsUsingPOSTWithHttpInfo($delete_account_request); + list($response) = $this->deleteNamedAccountsUsingPOSTWithHttpInfo($delete_named_account_request); return $response; } @@ -109,16 +109,16 @@ public function deleteNamedAccountsUsingPOST($delete_account_request) * * Delete NamedAccounts * - * @param \NecLimDul\MarketoRest\Lead\Model\DeleteNamedAccountRequest $delete_account_request deleteAccountRequest (required) + * @param \NecLimDul\MarketoRest\Lead\Model\DeleteNamedAccountRequest $delete_named_account_request deleteAccountRequest (required) * * @throws \NecLimDul\MarketoRest\Lead\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Lead\Model\ResponseOfNamedAccount, HTTP status code, HTTP response headers (array of strings) */ - public function deleteNamedAccountsUsingPOSTWithHttpInfo($delete_account_request) + public function deleteNamedAccountsUsingPOSTWithHttpInfo($delete_named_account_request) { $returnType = '\NecLimDul\MarketoRest\Lead\Model\ResponseOfNamedAccount'; - $request = $this->deleteNamedAccountsUsingPOSTRequest($delete_account_request); + $request = $this->deleteNamedAccountsUsingPOSTRequest($delete_named_account_request); try { $options = $this->createHttpClientOption(); @@ -184,14 +184,14 @@ public function deleteNamedAccountsUsingPOSTWithHttpInfo($delete_account_request * * Delete NamedAccounts * - * @param \NecLimDul\MarketoRest\Lead\Model\DeleteNamedAccountRequest $delete_account_request deleteAccountRequest (required) + * @param \NecLimDul\MarketoRest\Lead\Model\DeleteNamedAccountRequest $delete_named_account_request deleteAccountRequest (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function deleteNamedAccountsUsingPOSTAsync($delete_account_request) + public function deleteNamedAccountsUsingPOSTAsync($delete_named_account_request) { - return $this->deleteNamedAccountsUsingPOSTAsyncWithHttpInfo($delete_account_request) + return $this->deleteNamedAccountsUsingPOSTAsyncWithHttpInfo($delete_named_account_request) ->then( function ($response) { return $response[0]; @@ -204,15 +204,15 @@ function ($response) { * * Delete NamedAccounts * - * @param \NecLimDul\MarketoRest\Lead\Model\DeleteNamedAccountRequest $delete_account_request deleteAccountRequest (required) + * @param \NecLimDul\MarketoRest\Lead\Model\DeleteNamedAccountRequest $delete_named_account_request deleteAccountRequest (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function deleteNamedAccountsUsingPOSTAsyncWithHttpInfo($delete_account_request) + public function deleteNamedAccountsUsingPOSTAsyncWithHttpInfo($delete_named_account_request) { $returnType = '\NecLimDul\MarketoRest\Lead\Model\ResponseOfNamedAccount'; - $request = $this->deleteNamedAccountsUsingPOSTRequest($delete_account_request); + $request = $this->deleteNamedAccountsUsingPOSTRequest($delete_named_account_request); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -254,17 +254,17 @@ function ($exception) { /** * Create request for operation 'deleteNamedAccountsUsingPOST' * - * @param \NecLimDul\MarketoRest\Lead\Model\DeleteNamedAccountRequest $delete_account_request deleteAccountRequest (required) + * @param \NecLimDul\MarketoRest\Lead\Model\DeleteNamedAccountRequest $delete_named_account_request deleteAccountRequest (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function deleteNamedAccountsUsingPOSTRequest($delete_account_request) + protected function deleteNamedAccountsUsingPOSTRequest($delete_named_account_request) { - // verify the required parameter 'delete_account_request' is set - if ($delete_account_request === null || (is_array($delete_account_request) && count($delete_account_request) === 0)) { + // verify the required parameter 'delete_named_account_request' is set + if ($delete_named_account_request === null || (is_array($delete_named_account_request) && count($delete_named_account_request) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $delete_account_request when calling deleteNamedAccountsUsingPOST' + 'Missing the required parameter $delete_named_account_request when calling deleteNamedAccountsUsingPOST' ); } @@ -279,8 +279,8 @@ protected function deleteNamedAccountsUsingPOSTRequest($delete_account_request) // body params $_tempBody = null; - if (isset($delete_account_request)) { - $_tempBody = $delete_account_request; + if (isset($delete_named_account_request)) { + $_tempBody = $delete_named_account_request; } if ($multipart) { @@ -540,7 +540,7 @@ protected function describeUsingGET3Request() } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -853,7 +853,7 @@ protected function getNamedAccountsUsingGETRequest($filter_type, $filter_values, } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -919,15 +919,15 @@ protected function getNamedAccountsUsingGETRequest($filter_type, $filter_values, * * Sync NamedAccounts * - * @param \NecLimDul\MarketoRest\Lead\Model\SyncNamedAccountRequest $sync_account_request syncAccountRequest (required) + * @param \NecLimDul\MarketoRest\Lead\Model\SyncNamedAccountRequest $sync_named_account_request syncAccountRequest (required) * * @throws \NecLimDul\MarketoRest\Lead\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Lead\Model\ResponseOfNamedAccount */ - public function syncNamedAccountsUsingPOST($sync_account_request) + public function syncNamedAccountsUsingPOST($sync_named_account_request) { - list($response) = $this->syncNamedAccountsUsingPOSTWithHttpInfo($sync_account_request); + list($response) = $this->syncNamedAccountsUsingPOSTWithHttpInfo($sync_named_account_request); return $response; } @@ -936,16 +936,16 @@ public function syncNamedAccountsUsingPOST($sync_account_request) * * Sync NamedAccounts * - * @param \NecLimDul\MarketoRest\Lead\Model\SyncNamedAccountRequest $sync_account_request syncAccountRequest (required) + * @param \NecLimDul\MarketoRest\Lead\Model\SyncNamedAccountRequest $sync_named_account_request syncAccountRequest (required) * * @throws \NecLimDul\MarketoRest\Lead\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Lead\Model\ResponseOfNamedAccount, HTTP status code, HTTP response headers (array of strings) */ - public function syncNamedAccountsUsingPOSTWithHttpInfo($sync_account_request) + public function syncNamedAccountsUsingPOSTWithHttpInfo($sync_named_account_request) { $returnType = '\NecLimDul\MarketoRest\Lead\Model\ResponseOfNamedAccount'; - $request = $this->syncNamedAccountsUsingPOSTRequest($sync_account_request); + $request = $this->syncNamedAccountsUsingPOSTRequest($sync_named_account_request); try { $options = $this->createHttpClientOption(); @@ -1011,14 +1011,14 @@ public function syncNamedAccountsUsingPOSTWithHttpInfo($sync_account_request) * * Sync NamedAccounts * - * @param \NecLimDul\MarketoRest\Lead\Model\SyncNamedAccountRequest $sync_account_request syncAccountRequest (required) + * @param \NecLimDul\MarketoRest\Lead\Model\SyncNamedAccountRequest $sync_named_account_request syncAccountRequest (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function syncNamedAccountsUsingPOSTAsync($sync_account_request) + public function syncNamedAccountsUsingPOSTAsync($sync_named_account_request) { - return $this->syncNamedAccountsUsingPOSTAsyncWithHttpInfo($sync_account_request) + return $this->syncNamedAccountsUsingPOSTAsyncWithHttpInfo($sync_named_account_request) ->then( function ($response) { return $response[0]; @@ -1031,15 +1031,15 @@ function ($response) { * * Sync NamedAccounts * - * @param \NecLimDul\MarketoRest\Lead\Model\SyncNamedAccountRequest $sync_account_request syncAccountRequest (required) + * @param \NecLimDul\MarketoRest\Lead\Model\SyncNamedAccountRequest $sync_named_account_request syncAccountRequest (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function syncNamedAccountsUsingPOSTAsyncWithHttpInfo($sync_account_request) + public function syncNamedAccountsUsingPOSTAsyncWithHttpInfo($sync_named_account_request) { $returnType = '\NecLimDul\MarketoRest\Lead\Model\ResponseOfNamedAccount'; - $request = $this->syncNamedAccountsUsingPOSTRequest($sync_account_request); + $request = $this->syncNamedAccountsUsingPOSTRequest($sync_named_account_request); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -1081,17 +1081,17 @@ function ($exception) { /** * Create request for operation 'syncNamedAccountsUsingPOST' * - * @param \NecLimDul\MarketoRest\Lead\Model\SyncNamedAccountRequest $sync_account_request syncAccountRequest (required) + * @param \NecLimDul\MarketoRest\Lead\Model\SyncNamedAccountRequest $sync_named_account_request syncAccountRequest (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function syncNamedAccountsUsingPOSTRequest($sync_account_request) + protected function syncNamedAccountsUsingPOSTRequest($sync_named_account_request) { - // verify the required parameter 'sync_account_request' is set - if ($sync_account_request === null || (is_array($sync_account_request) && count($sync_account_request) === 0)) { + // verify the required parameter 'sync_named_account_request' is set + if ($sync_named_account_request === null || (is_array($sync_named_account_request) && count($sync_named_account_request) === 0)) { throw new \InvalidArgumentException( - 'Missing the required parameter $sync_account_request when calling syncNamedAccountsUsingPOST' + 'Missing the required parameter $sync_named_account_request when calling syncNamedAccountsUsingPOST' ); } @@ -1106,8 +1106,8 @@ protected function syncNamedAccountsUsingPOSTRequest($sync_account_request) // body params $_tempBody = null; - if (isset($sync_account_request)) { - $_tempBody = $sync_account_request; + if (isset($sync_named_account_request)) { + $_tempBody = $sync_named_account_request; } if ($multipart) { diff --git a/src/Lead/Api/OpportunitiesApi.php b/src/Lead/Api/OpportunitiesApi.php index 5efcf5ca..ff936508 100644 --- a/src/Lead/Api/OpportunitiesApi.php +++ b/src/Lead/Api/OpportunitiesApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -792,7 +792,7 @@ protected function describeOpportunityRoleUsingGETRequest() } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1042,7 +1042,7 @@ protected function describeUsingGET4Request() } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1110,18 +1110,18 @@ protected function describeUsingGET4Request() * * @param string $filter_type Opportunities field to filter on (required) * @param string[] $filter_values Comma-separated list of values to match against (required) - * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $custom_object_lookup_request customObjectLookupRequest (optional) * @param string[] $fields Comma-separated list of fields to include in the response (optional) * @param int $batch_size Maximum number of records to return in the response. Max and default is 300 (optional) * @param string $next_page_token Paging token returned from a previous response (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $lookup_custom_object_request customObjectLookupRequest (optional) * * @throws \NecLimDul\MarketoRest\Lead\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Lead\Model\ResponseOfCustomObject */ - public function getOpportunitiesUsingGET($filter_type, $filter_values, $custom_object_lookup_request = null, $fields = null, $batch_size = null, $next_page_token = null) + public function getOpportunitiesUsingGET($filter_type, $filter_values, $fields = null, $batch_size = null, $next_page_token = null, $lookup_custom_object_request = null) { - list($response) = $this->getOpportunitiesUsingGETWithHttpInfo($filter_type, $filter_values, $custom_object_lookup_request, $fields, $batch_size, $next_page_token); + list($response) = $this->getOpportunitiesUsingGETWithHttpInfo($filter_type, $filter_values, $fields, $batch_size, $next_page_token, $lookup_custom_object_request); return $response; } @@ -1132,19 +1132,19 @@ public function getOpportunitiesUsingGET($filter_type, $filter_values, $custom_o * * @param string $filter_type Opportunities field to filter on (required) * @param string[] $filter_values Comma-separated list of values to match against (required) - * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $custom_object_lookup_request customObjectLookupRequest (optional) * @param string[] $fields Comma-separated list of fields to include in the response (optional) * @param int $batch_size Maximum number of records to return in the response. Max and default is 300 (optional) * @param string $next_page_token Paging token returned from a previous response (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $lookup_custom_object_request customObjectLookupRequest (optional) * * @throws \NecLimDul\MarketoRest\Lead\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Lead\Model\ResponseOfCustomObject, HTTP status code, HTTP response headers (array of strings) */ - public function getOpportunitiesUsingGETWithHttpInfo($filter_type, $filter_values, $custom_object_lookup_request = null, $fields = null, $batch_size = null, $next_page_token = null) + public function getOpportunitiesUsingGETWithHttpInfo($filter_type, $filter_values, $fields = null, $batch_size = null, $next_page_token = null, $lookup_custom_object_request = null) { $returnType = '\NecLimDul\MarketoRest\Lead\Model\ResponseOfCustomObject'; - $request = $this->getOpportunitiesUsingGETRequest($filter_type, $filter_values, $custom_object_lookup_request, $fields, $batch_size, $next_page_token); + $request = $this->getOpportunitiesUsingGETRequest($filter_type, $filter_values, $fields, $batch_size, $next_page_token, $lookup_custom_object_request); try { $options = $this->createHttpClientOption(); @@ -1212,17 +1212,17 @@ public function getOpportunitiesUsingGETWithHttpInfo($filter_type, $filter_value * * @param string $filter_type Opportunities field to filter on (required) * @param string[] $filter_values Comma-separated list of values to match against (required) - * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $custom_object_lookup_request customObjectLookupRequest (optional) * @param string[] $fields Comma-separated list of fields to include in the response (optional) * @param int $batch_size Maximum number of records to return in the response. Max and default is 300 (optional) * @param string $next_page_token Paging token returned from a previous response (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $lookup_custom_object_request customObjectLookupRequest (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getOpportunitiesUsingGETAsync($filter_type, $filter_values, $custom_object_lookup_request = null, $fields = null, $batch_size = null, $next_page_token = null) + public function getOpportunitiesUsingGETAsync($filter_type, $filter_values, $fields = null, $batch_size = null, $next_page_token = null, $lookup_custom_object_request = null) { - return $this->getOpportunitiesUsingGETAsyncWithHttpInfo($filter_type, $filter_values, $custom_object_lookup_request, $fields, $batch_size, $next_page_token) + return $this->getOpportunitiesUsingGETAsyncWithHttpInfo($filter_type, $filter_values, $fields, $batch_size, $next_page_token, $lookup_custom_object_request) ->then( function ($response) { return $response[0]; @@ -1237,18 +1237,18 @@ function ($response) { * * @param string $filter_type Opportunities field to filter on (required) * @param string[] $filter_values Comma-separated list of values to match against (required) - * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $custom_object_lookup_request customObjectLookupRequest (optional) * @param string[] $fields Comma-separated list of fields to include in the response (optional) * @param int $batch_size Maximum number of records to return in the response. Max and default is 300 (optional) * @param string $next_page_token Paging token returned from a previous response (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $lookup_custom_object_request customObjectLookupRequest (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getOpportunitiesUsingGETAsyncWithHttpInfo($filter_type, $filter_values, $custom_object_lookup_request = null, $fields = null, $batch_size = null, $next_page_token = null) + public function getOpportunitiesUsingGETAsyncWithHttpInfo($filter_type, $filter_values, $fields = null, $batch_size = null, $next_page_token = null, $lookup_custom_object_request = null) { $returnType = '\NecLimDul\MarketoRest\Lead\Model\ResponseOfCustomObject'; - $request = $this->getOpportunitiesUsingGETRequest($filter_type, $filter_values, $custom_object_lookup_request, $fields, $batch_size, $next_page_token); + $request = $this->getOpportunitiesUsingGETRequest($filter_type, $filter_values, $fields, $batch_size, $next_page_token, $lookup_custom_object_request); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -1292,15 +1292,15 @@ function ($exception) { * * @param string $filter_type Opportunities field to filter on (required) * @param string[] $filter_values Comma-separated list of values to match against (required) - * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $custom_object_lookup_request customObjectLookupRequest (optional) * @param string[] $fields Comma-separated list of fields to include in the response (optional) * @param int $batch_size Maximum number of records to return in the response. Max and default is 300 (optional) * @param string $next_page_token Paging token returned from a previous response (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $lookup_custom_object_request customObjectLookupRequest (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function getOpportunitiesUsingGETRequest($filter_type, $filter_values, $custom_object_lookup_request = null, $fields = null, $batch_size = null, $next_page_token = null) + protected function getOpportunitiesUsingGETRequest($filter_type, $filter_values, $fields = null, $batch_size = null, $next_page_token = null, $lookup_custom_object_request = null) { // verify the required parameter 'filter_type' is set if ($filter_type === null || (is_array($filter_type) && count($filter_type) === 0)) { @@ -1352,8 +1352,8 @@ protected function getOpportunitiesUsingGETRequest($filter_type, $filter_values, // body params $_tempBody = null; - if (isset($custom_object_lookup_request)) { - $_tempBody = $custom_object_lookup_request; + if (isset($lookup_custom_object_request)) { + $_tempBody = $lookup_custom_object_request; } if ($multipart) { @@ -1431,18 +1431,18 @@ protected function getOpportunitiesUsingGETRequest($filter_type, $filter_values, * * @param string $filter_type The role field to filter on. Searchable fields can be retrieved with the Describe Opportunity call. (required) * @param string[] $filter_values Comma-separated list of field values to return records for (required) - * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $custom_object_lookup_request Optional JSON request for retrieving opportunity roles with compound keys (optional) * @param string[] $fields Comma-separated list of fields to include in the response (optional) * @param int $batch_size Maximum number of records to return in the response. Max and default is 300 (optional) * @param string $next_page_token Paging token returned from a previous response (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $lookup_custom_object_request Optional JSON request for retrieving opportunity roles with compound keys (optional) * * @throws \NecLimDul\MarketoRest\Lead\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Lead\Model\ResponseOfCustomObject */ - public function getOpportunityRolesUsingGET($filter_type, $filter_values, $custom_object_lookup_request = null, $fields = null, $batch_size = null, $next_page_token = null) + public function getOpportunityRolesUsingGET($filter_type, $filter_values, $fields = null, $batch_size = null, $next_page_token = null, $lookup_custom_object_request = null) { - list($response) = $this->getOpportunityRolesUsingGETWithHttpInfo($filter_type, $filter_values, $custom_object_lookup_request, $fields, $batch_size, $next_page_token); + list($response) = $this->getOpportunityRolesUsingGETWithHttpInfo($filter_type, $filter_values, $fields, $batch_size, $next_page_token, $lookup_custom_object_request); return $response; } @@ -1453,19 +1453,19 @@ public function getOpportunityRolesUsingGET($filter_type, $filter_values, $custo * * @param string $filter_type The role field to filter on. Searchable fields can be retrieved with the Describe Opportunity call. (required) * @param string[] $filter_values Comma-separated list of field values to return records for (required) - * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $custom_object_lookup_request Optional JSON request for retrieving opportunity roles with compound keys (optional) * @param string[] $fields Comma-separated list of fields to include in the response (optional) * @param int $batch_size Maximum number of records to return in the response. Max and default is 300 (optional) * @param string $next_page_token Paging token returned from a previous response (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $lookup_custom_object_request Optional JSON request for retrieving opportunity roles with compound keys (optional) * * @throws \NecLimDul\MarketoRest\Lead\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Lead\Model\ResponseOfCustomObject, HTTP status code, HTTP response headers (array of strings) */ - public function getOpportunityRolesUsingGETWithHttpInfo($filter_type, $filter_values, $custom_object_lookup_request = null, $fields = null, $batch_size = null, $next_page_token = null) + public function getOpportunityRolesUsingGETWithHttpInfo($filter_type, $filter_values, $fields = null, $batch_size = null, $next_page_token = null, $lookup_custom_object_request = null) { $returnType = '\NecLimDul\MarketoRest\Lead\Model\ResponseOfCustomObject'; - $request = $this->getOpportunityRolesUsingGETRequest($filter_type, $filter_values, $custom_object_lookup_request, $fields, $batch_size, $next_page_token); + $request = $this->getOpportunityRolesUsingGETRequest($filter_type, $filter_values, $fields, $batch_size, $next_page_token, $lookup_custom_object_request); try { $options = $this->createHttpClientOption(); @@ -1533,17 +1533,17 @@ public function getOpportunityRolesUsingGETWithHttpInfo($filter_type, $filter_va * * @param string $filter_type The role field to filter on. Searchable fields can be retrieved with the Describe Opportunity call. (required) * @param string[] $filter_values Comma-separated list of field values to return records for (required) - * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $custom_object_lookup_request Optional JSON request for retrieving opportunity roles with compound keys (optional) * @param string[] $fields Comma-separated list of fields to include in the response (optional) * @param int $batch_size Maximum number of records to return in the response. Max and default is 300 (optional) * @param string $next_page_token Paging token returned from a previous response (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $lookup_custom_object_request Optional JSON request for retrieving opportunity roles with compound keys (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getOpportunityRolesUsingGETAsync($filter_type, $filter_values, $custom_object_lookup_request = null, $fields = null, $batch_size = null, $next_page_token = null) + public function getOpportunityRolesUsingGETAsync($filter_type, $filter_values, $fields = null, $batch_size = null, $next_page_token = null, $lookup_custom_object_request = null) { - return $this->getOpportunityRolesUsingGETAsyncWithHttpInfo($filter_type, $filter_values, $custom_object_lookup_request, $fields, $batch_size, $next_page_token) + return $this->getOpportunityRolesUsingGETAsyncWithHttpInfo($filter_type, $filter_values, $fields, $batch_size, $next_page_token, $lookup_custom_object_request) ->then( function ($response) { return $response[0]; @@ -1558,18 +1558,18 @@ function ($response) { * * @param string $filter_type The role field to filter on. Searchable fields can be retrieved with the Describe Opportunity call. (required) * @param string[] $filter_values Comma-separated list of field values to return records for (required) - * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $custom_object_lookup_request Optional JSON request for retrieving opportunity roles with compound keys (optional) * @param string[] $fields Comma-separated list of fields to include in the response (optional) * @param int $batch_size Maximum number of records to return in the response. Max and default is 300 (optional) * @param string $next_page_token Paging token returned from a previous response (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $lookup_custom_object_request Optional JSON request for retrieving opportunity roles with compound keys (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function getOpportunityRolesUsingGETAsyncWithHttpInfo($filter_type, $filter_values, $custom_object_lookup_request = null, $fields = null, $batch_size = null, $next_page_token = null) + public function getOpportunityRolesUsingGETAsyncWithHttpInfo($filter_type, $filter_values, $fields = null, $batch_size = null, $next_page_token = null, $lookup_custom_object_request = null) { $returnType = '\NecLimDul\MarketoRest\Lead\Model\ResponseOfCustomObject'; - $request = $this->getOpportunityRolesUsingGETRequest($filter_type, $filter_values, $custom_object_lookup_request, $fields, $batch_size, $next_page_token); + $request = $this->getOpportunityRolesUsingGETRequest($filter_type, $filter_values, $fields, $batch_size, $next_page_token, $lookup_custom_object_request); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -1613,15 +1613,15 @@ function ($exception) { * * @param string $filter_type The role field to filter on. Searchable fields can be retrieved with the Describe Opportunity call. (required) * @param string[] $filter_values Comma-separated list of field values to return records for (required) - * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $custom_object_lookup_request Optional JSON request for retrieving opportunity roles with compound keys (optional) * @param string[] $fields Comma-separated list of fields to include in the response (optional) * @param int $batch_size Maximum number of records to return in the response. Max and default is 300 (optional) * @param string $next_page_token Paging token returned from a previous response (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\LookupCustomObjectRequest $lookup_custom_object_request Optional JSON request for retrieving opportunity roles with compound keys (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function getOpportunityRolesUsingGETRequest($filter_type, $filter_values, $custom_object_lookup_request = null, $fields = null, $batch_size = null, $next_page_token = null) + protected function getOpportunityRolesUsingGETRequest($filter_type, $filter_values, $fields = null, $batch_size = null, $next_page_token = null, $lookup_custom_object_request = null) { // verify the required parameter 'filter_type' is set if ($filter_type === null || (is_array($filter_type) && count($filter_type) === 0)) { @@ -1673,8 +1673,8 @@ protected function getOpportunityRolesUsingGETRequest($filter_type, $filter_valu // body params $_tempBody = null; - if (isset($custom_object_lookup_request)) { - $_tempBody = $custom_object_lookup_request; + if (isset($lookup_custom_object_request)) { + $_tempBody = $lookup_custom_object_request; } if ($multipart) { diff --git a/src/Lead/Api/SalesPersonsApi.php b/src/Lead/Api/SalesPersonsApi.php index 52d08a39..57fcb9ab 100644 --- a/src/Lead/Api/SalesPersonsApi.php +++ b/src/Lead/Api/SalesPersonsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -540,7 +540,7 @@ protected function describeUsingGET5Request() } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -853,7 +853,7 @@ protected function getSalesPersonUsingGETRequest($filter_type, $filter_values, $ } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } diff --git a/src/Lead/Api/StaticListsApi.php b/src/Lead/Api/StaticListsApi.php index fdc93cbf..e6f838a1 100644 --- a/src/Lead/Api/StaticListsApi.php +++ b/src/Lead/Api/StaticListsApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -93,16 +93,16 @@ public function getConfig() * Add to List * * @param int $list_id Id of target list (required) - * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body for submitting leads (optional) * @param int[] $id Comma-separated list of lead ids to add to the list (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body for submitting leads (optional) * * @throws \NecLimDul\MarketoRest\Lead\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Lead\Model\ResponseOfListOperationOutputData */ - public function addLeadsToListUsingPOST($list_id, $list_operation_request = null, $id = null) + public function addLeadsToListUsingPOST($list_id, $id = null, $list_operation_request = null) { - list($response) = $this->addLeadsToListUsingPOSTWithHttpInfo($list_id, $list_operation_request, $id); + list($response) = $this->addLeadsToListUsingPOSTWithHttpInfo($list_id, $id, $list_operation_request); return $response; } @@ -112,17 +112,17 @@ public function addLeadsToListUsingPOST($list_id, $list_operation_request = null * Add to List * * @param int $list_id Id of target list (required) - * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body for submitting leads (optional) * @param int[] $id Comma-separated list of lead ids to add to the list (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body for submitting leads (optional) * * @throws \NecLimDul\MarketoRest\Lead\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Lead\Model\ResponseOfListOperationOutputData, HTTP status code, HTTP response headers (array of strings) */ - public function addLeadsToListUsingPOSTWithHttpInfo($list_id, $list_operation_request = null, $id = null) + public function addLeadsToListUsingPOSTWithHttpInfo($list_id, $id = null, $list_operation_request = null) { $returnType = '\NecLimDul\MarketoRest\Lead\Model\ResponseOfListOperationOutputData'; - $request = $this->addLeadsToListUsingPOSTRequest($list_id, $list_operation_request, $id); + $request = $this->addLeadsToListUsingPOSTRequest($list_id, $id, $list_operation_request); try { $options = $this->createHttpClientOption(); @@ -189,15 +189,15 @@ public function addLeadsToListUsingPOSTWithHttpInfo($list_id, $list_operation_re * Add to List * * @param int $list_id Id of target list (required) - * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body for submitting leads (optional) * @param int[] $id Comma-separated list of lead ids to add to the list (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body for submitting leads (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function addLeadsToListUsingPOSTAsync($list_id, $list_operation_request = null, $id = null) + public function addLeadsToListUsingPOSTAsync($list_id, $id = null, $list_operation_request = null) { - return $this->addLeadsToListUsingPOSTAsyncWithHttpInfo($list_id, $list_operation_request, $id) + return $this->addLeadsToListUsingPOSTAsyncWithHttpInfo($list_id, $id, $list_operation_request) ->then( function ($response) { return $response[0]; @@ -211,16 +211,16 @@ function ($response) { * Add to List * * @param int $list_id Id of target list (required) - * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body for submitting leads (optional) * @param int[] $id Comma-separated list of lead ids to add to the list (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body for submitting leads (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function addLeadsToListUsingPOSTAsyncWithHttpInfo($list_id, $list_operation_request = null, $id = null) + public function addLeadsToListUsingPOSTAsyncWithHttpInfo($list_id, $id = null, $list_operation_request = null) { $returnType = '\NecLimDul\MarketoRest\Lead\Model\ResponseOfListOperationOutputData'; - $request = $this->addLeadsToListUsingPOSTRequest($list_id, $list_operation_request, $id); + $request = $this->addLeadsToListUsingPOSTRequest($list_id, $id, $list_operation_request); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -263,13 +263,13 @@ function ($exception) { * Create request for operation 'addLeadsToListUsingPOST' * * @param int $list_id Id of target list (required) - * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body for submitting leads (optional) * @param int[] $id Comma-separated list of lead ids to add to the list (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body for submitting leads (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function addLeadsToListUsingPOSTRequest($list_id, $list_operation_request = null, $id = null) + protected function addLeadsToListUsingPOSTRequest($list_id, $id = null, $list_operation_request = null) { // verify the required parameter 'list_id' is set if ($list_id === null || (is_array($list_id) && count($list_id) === 0)) { @@ -382,16 +382,16 @@ protected function addLeadsToListUsingPOSTRequest($list_id, $list_operation_requ * Member of List * * @param int $list_id Id of the static list to check against (required) - * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body (optional) * @param int[] $id Comma-separated list of lead ids to check (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body (optional) * * @throws \NecLimDul\MarketoRest\Lead\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Lead\Model\ResponseOfListOperationOutputData */ - public function areLeadsMemberOfListUsingGET($list_id, $list_operation_request = null, $id = null) + public function areLeadsMemberOfListUsingGET($list_id, $id = null, $list_operation_request = null) { - list($response) = $this->areLeadsMemberOfListUsingGETWithHttpInfo($list_id, $list_operation_request, $id); + list($response) = $this->areLeadsMemberOfListUsingGETWithHttpInfo($list_id, $id, $list_operation_request); return $response; } @@ -401,17 +401,17 @@ public function areLeadsMemberOfListUsingGET($list_id, $list_operation_request = * Member of List * * @param int $list_id Id of the static list to check against (required) - * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body (optional) * @param int[] $id Comma-separated list of lead ids to check (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body (optional) * * @throws \NecLimDul\MarketoRest\Lead\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Lead\Model\ResponseOfListOperationOutputData, HTTP status code, HTTP response headers (array of strings) */ - public function areLeadsMemberOfListUsingGETWithHttpInfo($list_id, $list_operation_request = null, $id = null) + public function areLeadsMemberOfListUsingGETWithHttpInfo($list_id, $id = null, $list_operation_request = null) { $returnType = '\NecLimDul\MarketoRest\Lead\Model\ResponseOfListOperationOutputData'; - $request = $this->areLeadsMemberOfListUsingGETRequest($list_id, $list_operation_request, $id); + $request = $this->areLeadsMemberOfListUsingGETRequest($list_id, $id, $list_operation_request); try { $options = $this->createHttpClientOption(); @@ -478,15 +478,15 @@ public function areLeadsMemberOfListUsingGETWithHttpInfo($list_id, $list_operati * Member of List * * @param int $list_id Id of the static list to check against (required) - * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body (optional) * @param int[] $id Comma-separated list of lead ids to check (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function areLeadsMemberOfListUsingGETAsync($list_id, $list_operation_request = null, $id = null) + public function areLeadsMemberOfListUsingGETAsync($list_id, $id = null, $list_operation_request = null) { - return $this->areLeadsMemberOfListUsingGETAsyncWithHttpInfo($list_id, $list_operation_request, $id) + return $this->areLeadsMemberOfListUsingGETAsyncWithHttpInfo($list_id, $id, $list_operation_request) ->then( function ($response) { return $response[0]; @@ -500,16 +500,16 @@ function ($response) { * Member of List * * @param int $list_id Id of the static list to check against (required) - * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body (optional) * @param int[] $id Comma-separated list of lead ids to check (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function areLeadsMemberOfListUsingGETAsyncWithHttpInfo($list_id, $list_operation_request = null, $id = null) + public function areLeadsMemberOfListUsingGETAsyncWithHttpInfo($list_id, $id = null, $list_operation_request = null) { $returnType = '\NecLimDul\MarketoRest\Lead\Model\ResponseOfListOperationOutputData'; - $request = $this->areLeadsMemberOfListUsingGETRequest($list_id, $list_operation_request, $id); + $request = $this->areLeadsMemberOfListUsingGETRequest($list_id, $id, $list_operation_request); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -552,13 +552,13 @@ function ($exception) { * Create request for operation 'areLeadsMemberOfListUsingGET' * * @param int $list_id Id of the static list to check against (required) - * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body (optional) * @param int[] $id Comma-separated list of lead ids to check (optional) + * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request Optional JSON request body (optional) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function areLeadsMemberOfListUsingGETRequest($list_id, $list_operation_request = null, $id = null) + protected function areLeadsMemberOfListUsingGETRequest($list_id, $id = null, $list_operation_request = null) { // verify the required parameter 'list_id' is set if ($list_id === null || (is_array($list_id) && count($list_id) === 0)) { @@ -903,7 +903,7 @@ protected function getLeadsByListIdUsingGETRequest($list_id, $fields = null, $ba } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1202,7 +1202,7 @@ protected function getLeadsByListIdUsingGET1Request($list_id, $fields = null, $b } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1471,7 +1471,7 @@ protected function getListByIdUsingGETRequest($list_id) } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1787,7 +1787,7 @@ protected function getListsUsingGETRequest($id = null, $name = null, $program_na } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1854,16 +1854,16 @@ protected function getListsUsingGETRequest($id = null, $name = null, $program_na * Remove from List * * @param int $list_id Id of static list to remove leads from (required) - * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request listOperationRequest (required) * @param int[] $id id (required) + * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request listOperationRequest (required) * * @throws \NecLimDul\MarketoRest\Lead\ApiException on non-2xx response * @throws \InvalidArgumentException * @return \NecLimDul\MarketoRest\Lead\Model\ResponseOfListOperationOutputData */ - public function removeLeadsFromListUsingDELETE($list_id, $list_operation_request, $id) + public function removeLeadsFromListUsingDELETE($list_id, $id, $list_operation_request) { - list($response) = $this->removeLeadsFromListUsingDELETEWithHttpInfo($list_id, $list_operation_request, $id); + list($response) = $this->removeLeadsFromListUsingDELETEWithHttpInfo($list_id, $id, $list_operation_request); return $response; } @@ -1873,17 +1873,17 @@ public function removeLeadsFromListUsingDELETE($list_id, $list_operation_request * Remove from List * * @param int $list_id Id of static list to remove leads from (required) - * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request listOperationRequest (required) * @param int[] $id id (required) + * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request listOperationRequest (required) * * @throws \NecLimDul\MarketoRest\Lead\ApiException on non-2xx response * @throws \InvalidArgumentException * @return array of \NecLimDul\MarketoRest\Lead\Model\ResponseOfListOperationOutputData, HTTP status code, HTTP response headers (array of strings) */ - public function removeLeadsFromListUsingDELETEWithHttpInfo($list_id, $list_operation_request, $id) + public function removeLeadsFromListUsingDELETEWithHttpInfo($list_id, $id, $list_operation_request) { $returnType = '\NecLimDul\MarketoRest\Lead\Model\ResponseOfListOperationOutputData'; - $request = $this->removeLeadsFromListUsingDELETERequest($list_id, $list_operation_request, $id); + $request = $this->removeLeadsFromListUsingDELETERequest($list_id, $id, $list_operation_request); try { $options = $this->createHttpClientOption(); @@ -1950,15 +1950,15 @@ public function removeLeadsFromListUsingDELETEWithHttpInfo($list_id, $list_opera * Remove from List * * @param int $list_id Id of static list to remove leads from (required) - * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request listOperationRequest (required) * @param int[] $id id (required) + * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request listOperationRequest (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function removeLeadsFromListUsingDELETEAsync($list_id, $list_operation_request, $id) + public function removeLeadsFromListUsingDELETEAsync($list_id, $id, $list_operation_request) { - return $this->removeLeadsFromListUsingDELETEAsyncWithHttpInfo($list_id, $list_operation_request, $id) + return $this->removeLeadsFromListUsingDELETEAsyncWithHttpInfo($list_id, $id, $list_operation_request) ->then( function ($response) { return $response[0]; @@ -1972,16 +1972,16 @@ function ($response) { * Remove from List * * @param int $list_id Id of static list to remove leads from (required) - * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request listOperationRequest (required) * @param int[] $id id (required) + * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request listOperationRequest (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Promise\PromiseInterface */ - public function removeLeadsFromListUsingDELETEAsyncWithHttpInfo($list_id, $list_operation_request, $id) + public function removeLeadsFromListUsingDELETEAsyncWithHttpInfo($list_id, $id, $list_operation_request) { $returnType = '\NecLimDul\MarketoRest\Lead\Model\ResponseOfListOperationOutputData'; - $request = $this->removeLeadsFromListUsingDELETERequest($list_id, $list_operation_request, $id); + $request = $this->removeLeadsFromListUsingDELETERequest($list_id, $id, $list_operation_request); return $this->client ->sendAsync($request, $this->createHttpClientOption()) @@ -2024,13 +2024,13 @@ function ($exception) { * Create request for operation 'removeLeadsFromListUsingDELETE' * * @param int $list_id Id of static list to remove leads from (required) - * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request listOperationRequest (required) * @param int[] $id id (required) + * @param \NecLimDul\MarketoRest\Lead\Model\ListOperationRequest $list_operation_request listOperationRequest (required) * * @throws \InvalidArgumentException * @return \GuzzleHttp\Psr7\Request */ - protected function removeLeadsFromListUsingDELETERequest($list_id, $list_operation_request, $id) + protected function removeLeadsFromListUsingDELETERequest($list_id, $id, $list_operation_request) { // verify the required parameter 'list_id' is set if ($list_id === null || (is_array($list_id) && count($list_id) === 0)) { @@ -2038,18 +2038,18 @@ protected function removeLeadsFromListUsingDELETERequest($list_id, $list_operati 'Missing the required parameter $list_id when calling removeLeadsFromListUsingDELETE' ); } - // verify the required parameter 'list_operation_request' is set - if ($list_operation_request === null || (is_array($list_operation_request) && count($list_operation_request) === 0)) { - throw new \InvalidArgumentException( - 'Missing the required parameter $list_operation_request when calling removeLeadsFromListUsingDELETE' - ); - } // verify the required parameter 'id' is set if ($id === null || (is_array($id) && count($id) === 0)) { throw new \InvalidArgumentException( 'Missing the required parameter $id when calling removeLeadsFromListUsingDELETE' ); } + // verify the required parameter 'list_operation_request' is set + if ($list_operation_request === null || (is_array($list_operation_request) && count($list_operation_request) === 0)) { + throw new \InvalidArgumentException( + 'Missing the required parameter $list_operation_request when calling removeLeadsFromListUsingDELETE' + ); + } $resourcePath = '/rest/v1/lists/{listId}/leads.json'; $formParams = []; diff --git a/src/Lead/Api/UsageApi.php b/src/Lead/Api/UsageApi.php index 31fb27e3..22dbb19c 100644 --- a/src/Lead/Api/UsageApi.php +++ b/src/Lead/Api/UsageApi.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -276,7 +276,7 @@ protected function getDailyErrorsUsingGETRequest() } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -526,7 +526,7 @@ protected function getDailyUsageUsingGETRequest() } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -776,7 +776,7 @@ protected function getLast7DaysErrorsUsingGETRequest() } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } @@ -1026,7 +1026,7 @@ protected function getLast7DaysUsageUsingGETRequest() } else { $headers = $this->headerSelector->selectHeaders( ['application/json'], - ['application/json'] + [] ); } diff --git a/src/Lead/ApiException.php b/src/Lead/ApiException.php index ff365dff..f79d95fe 100644 --- a/src/Lead/ApiException.php +++ b/src/Lead/ApiException.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Configuration.php b/src/Lead/Configuration.php index ca25ef16..b82419f0 100644 --- a/src/Lead/Configuration.php +++ b/src/Lead/Configuration.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/HeaderSelector.php b/src/Lead/HeaderSelector.php index 843b9ef5..cec3d73e 100644 --- a/src/Lead/HeaderSelector.php +++ b/src/Lead/HeaderSelector.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/Activity.php b/src/Lead/Model/Activity.php index 7407ac38..5444bd47 100644 --- a/src/Lead/Model/Activity.php +++ b/src/Lead/Model/Activity.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ActivityType.php b/src/Lead/Model/ActivityType.php index 5d51fa22..38850114 100644 --- a/src/Lead/Model/ActivityType.php +++ b/src/Lead/Model/ActivityType.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -366,7 +366,7 @@ public function getPrimaryAttribute() /** * Sets primary_attribute * - * @param \NecLimDul\MarketoRest\Lead\Model\ActivityTypeAttribute $primary_attribute Primary attribute of the type + * @param \NecLimDul\MarketoRest\Lead\Model\ActivityTypeAttribute $primary_attribute primary_attribute * * @return $this */ diff --git a/src/Lead/Model/ActivityTypeAttribute.php b/src/Lead/Model/ActivityTypeAttribute.php index 0fb9feef..1ad247b7 100644 --- a/src/Lead/Model/ActivityTypeAttribute.php +++ b/src/Lead/Model/ActivityTypeAttribute.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/AddCustomObjectTypeField.php b/src/Lead/Model/AddCustomObjectTypeField.php index 2a7a8e52..51fcc832 100644 --- a/src/Lead/Model/AddCustomObjectTypeField.php +++ b/src/Lead/Model/AddCustomObjectTypeField.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -363,7 +363,7 @@ public function getRelatedTo() /** * Sets related_to * - * @param \NecLimDul\MarketoRest\Lead\Model\CustomObjectTypeFieldRelatedTo $related_to Define custom object link field + * @param \NecLimDul\MarketoRest\Lead\Model\CustomObjectTypeFieldRelatedTo $related_to related_to * * @return $this */ diff --git a/src/Lead/Model/AddCustomObjectTypeFieldsRequest.php b/src/Lead/Model/AddCustomObjectTypeFieldsRequest.php index e20c5336..69853fe5 100644 --- a/src/Lead/Model/AddCustomObjectTypeFieldsRequest.php +++ b/src/Lead/Model/AddCustomObjectTypeFieldsRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/AddNamedAccountListMemberRequest.php b/src/Lead/Model/AddNamedAccountListMemberRequest.php index b45d7142..e4175091 100644 --- a/src/Lead/Model/AddNamedAccountListMemberRequest.php +++ b/src/Lead/Model/AddNamedAccountListMemberRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/Attribute.php b/src/Lead/Model/Attribute.php index 6c64f611..4e85db17 100644 --- a/src/Lead/Model/Attribute.php +++ b/src/Lead/Model/Attribute.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/Campaign.php b/src/Lead/Model/Campaign.php index 2941b322..5b060985 100644 --- a/src/Lead/Model/Campaign.php +++ b/src/Lead/Model/Campaign.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ChangeLeadProgramStatusOutputData.php b/src/Lead/Model/ChangeLeadProgramStatusOutputData.php index cd7ab6aa..147ab3d1 100644 --- a/src/Lead/Model/ChangeLeadProgramStatusOutputData.php +++ b/src/Lead/Model/ChangeLeadProgramStatusOutputData.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ChangeLeadProgramStatusRequest.php b/src/Lead/Model/ChangeLeadProgramStatusRequest.php index 889a70f9..af7a39db 100644 --- a/src/Lead/Model/ChangeLeadProgramStatusRequest.php +++ b/src/Lead/Model/ChangeLeadProgramStatusRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ColumnHeaderNames.php b/src/Lead/Model/ColumnHeaderNames.php index 13ae1611..0c263445 100644 --- a/src/Lead/Model/ColumnHeaderNames.php +++ b/src/Lead/Model/ColumnHeaderNames.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/Company.php b/src/Lead/Model/Company.php index d89a05fa..b7302be8 100644 --- a/src/Lead/Model/Company.php +++ b/src/Lead/Model/Company.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/CustomActivity.php b/src/Lead/Model/CustomActivity.php index 2fa023b8..ca76e7ef 100644 --- a/src/Lead/Model/CustomActivity.php +++ b/src/Lead/Model/CustomActivity.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/CustomActivityRequest.php b/src/Lead/Model/CustomActivityRequest.php index c2497058..5bf59f23 100644 --- a/src/Lead/Model/CustomActivityRequest.php +++ b/src/Lead/Model/CustomActivityRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/CustomActivityType.php b/src/Lead/Model/CustomActivityType.php index 99829122..974e8b46 100644 --- a/src/Lead/Model/CustomActivityType.php +++ b/src/Lead/Model/CustomActivityType.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -460,7 +460,7 @@ public function getPrimaryAttribute() /** * Sets primary_attribute * - * @param \NecLimDul\MarketoRest\Lead\Model\CustomActivityTypeAttribute $primary_attribute Primary Attribute of the activity type. Required on creation + * @param \NecLimDul\MarketoRest\Lead\Model\CustomActivityTypeAttribute $primary_attribute primary_attribute * * @return $this */ diff --git a/src/Lead/Model/CustomActivityTypeAttribute.php b/src/Lead/Model/CustomActivityTypeAttribute.php index d13bae74..95336cd5 100644 --- a/src/Lead/Model/CustomActivityTypeAttribute.php +++ b/src/Lead/Model/CustomActivityTypeAttribute.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/CustomActivityTypeAttributeRequest.php b/src/Lead/Model/CustomActivityTypeAttributeRequest.php index 1f3257f0..47569768 100644 --- a/src/Lead/Model/CustomActivityTypeAttributeRequest.php +++ b/src/Lead/Model/CustomActivityTypeAttributeRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/CustomActivityTypeRequest.php b/src/Lead/Model/CustomActivityTypeRequest.php index cb0470f6..7e855abb 100644 --- a/src/Lead/Model/CustomActivityTypeRequest.php +++ b/src/Lead/Model/CustomActivityTypeRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -345,7 +345,7 @@ public function getPrimaryAttribute() /** * Sets primary_attribute * - * @param \NecLimDul\MarketoRest\Lead\Model\CustomActivityTypeAttribute $primary_attribute Primary attribute of the activity type + * @param \NecLimDul\MarketoRest\Lead\Model\CustomActivityTypeAttribute $primary_attribute primary_attribute * * @return $this */ diff --git a/src/Lead/Model/CustomObject.php b/src/Lead/Model/CustomObject.php index b83d67e5..ef6c3a7d 100644 --- a/src/Lead/Model/CustomObject.php +++ b/src/Lead/Model/CustomObject.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/CustomObjectTypeFieldRelatedTo.php b/src/Lead/Model/CustomObjectTypeFieldRelatedTo.php index 7572b9d6..bd2201e4 100644 --- a/src/Lead/Model/CustomObjectTypeFieldRelatedTo.php +++ b/src/Lead/Model/CustomObjectTypeFieldRelatedTo.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/DateRange.php b/src/Lead/Model/DateRange.php index 7b3165de..60ed1142 100644 --- a/src/Lead/Model/DateRange.php +++ b/src/Lead/Model/DateRange.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/DeleteCompanyRequest.php b/src/Lead/Model/DeleteCompanyRequest.php index ac42732f..c36113b5 100644 --- a/src/Lead/Model/DeleteCompanyRequest.php +++ b/src/Lead/Model/DeleteCompanyRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/DeleteCustomObjectRequest.php b/src/Lead/Model/DeleteCustomObjectRequest.php index 4104e5a9..36e933f2 100644 --- a/src/Lead/Model/DeleteCustomObjectRequest.php +++ b/src/Lead/Model/DeleteCustomObjectRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/DeleteCustomObjectTypeField.php b/src/Lead/Model/DeleteCustomObjectTypeField.php index dc282965..f43a5f42 100644 --- a/src/Lead/Model/DeleteCustomObjectTypeField.php +++ b/src/Lead/Model/DeleteCustomObjectTypeField.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/DeleteCustomObjectTypeFieldsRequest.php b/src/Lead/Model/DeleteCustomObjectTypeFieldsRequest.php index 6210a43f..f4d3258f 100644 --- a/src/Lead/Model/DeleteCustomObjectTypeFieldsRequest.php +++ b/src/Lead/Model/DeleteCustomObjectTypeFieldsRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/DeleteLeadRequest.php b/src/Lead/Model/DeleteLeadRequest.php index 0865a598..d19a02cf 100644 --- a/src/Lead/Model/DeleteLeadRequest.php +++ b/src/Lead/Model/DeleteLeadRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/DeleteNamedAccountListRequest.php b/src/Lead/Model/DeleteNamedAccountListRequest.php index 8060de87..4a32b78c 100644 --- a/src/Lead/Model/DeleteNamedAccountListRequest.php +++ b/src/Lead/Model/DeleteNamedAccountListRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/DeleteNamedAccountRequest.php b/src/Lead/Model/DeleteNamedAccountRequest.php index 7ee04904..b790a1f6 100644 --- a/src/Lead/Model/DeleteNamedAccountRequest.php +++ b/src/Lead/Model/DeleteNamedAccountRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/DeleteSalesPersonRequest.php b/src/Lead/Model/DeleteSalesPersonRequest.php index 82024235..9003d959 100644 --- a/src/Lead/Model/DeleteSalesPersonRequest.php +++ b/src/Lead/Model/DeleteSalesPersonRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/Error.php b/src/Lead/Model/Error.php index 8343489a..a613ee06 100644 --- a/src/Lead/Model/Error.php +++ b/src/Lead/Model/Error.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ErrorCount.php b/src/Lead/Model/ErrorCount.php index b89279c4..312b7285 100644 --- a/src/Lead/Model/ErrorCount.php +++ b/src/Lead/Model/ErrorCount.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ExportActivityFilter.php b/src/Lead/Model/ExportActivityFilter.php index 411f145e..070f6c4f 100644 --- a/src/Lead/Model/ExportActivityFilter.php +++ b/src/Lead/Model/ExportActivityFilter.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -237,7 +237,7 @@ public function getCreatedAt() /** * Sets created_at * - * @param \NecLimDul\MarketoRest\Lead\Model\DateRange $created_at Date range to filter new activities on + * @param \NecLimDul\MarketoRest\Lead\Model\DateRange $created_at created_at * * @return $this */ diff --git a/src/Lead/Model/ExportActivityRequest.php b/src/Lead/Model/ExportActivityRequest.php index abf00d63..28778677 100644 --- a/src/Lead/Model/ExportActivityRequest.php +++ b/src/Lead/Model/ExportActivityRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -228,7 +228,7 @@ public function getColumnHeaderNames() /** * Sets column_header_names * - * @param \NecLimDul\MarketoRest\Lead\Model\ColumnHeaderNames $column_header_names File header field names override (corresponds with REST API name) + * @param \NecLimDul\MarketoRest\Lead\Model\ColumnHeaderNames $column_header_names column_header_names * * @return $this */ @@ -276,7 +276,7 @@ public function getFilter() /** * Sets filter * - * @param \NecLimDul\MarketoRest\Lead\Model\ExportActivityFilter $filter Record selection criteria. \"createAt\" is required, \"activityTypeIds\" is optional + * @param \NecLimDul\MarketoRest\Lead\Model\ExportActivityFilter $filter filter * * @return $this */ diff --git a/src/Lead/Model/ExportLeadFilter.php b/src/Lead/Model/ExportLeadFilter.php index bf7f4f15..f42592ae 100644 --- a/src/Lead/Model/ExportLeadFilter.php +++ b/src/Lead/Model/ExportLeadFilter.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -252,7 +252,7 @@ public function getCreatedAt() /** * Sets created_at * - * @param \NecLimDul\MarketoRest\Lead\Model\DateRange $created_at Date range to filter new leads on + * @param \NecLimDul\MarketoRest\Lead\Model\DateRange $created_at created_at * * @return $this */ @@ -372,7 +372,7 @@ public function getUpdatedAt() /** * Sets updated_at * - * @param \NecLimDul\MarketoRest\Lead\Model\DateRange $updated_at Date range to filter updated leads on + * @param \NecLimDul\MarketoRest\Lead\Model\DateRange $updated_at updated_at * * @return $this */ diff --git a/src/Lead/Model/ExportLeadRequest.php b/src/Lead/Model/ExportLeadRequest.php index 6042a559..23bc2b08 100644 --- a/src/Lead/Model/ExportLeadRequest.php +++ b/src/Lead/Model/ExportLeadRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -228,7 +228,7 @@ public function getColumnHeaderNames() /** * Sets column_header_names * - * @param \NecLimDul\MarketoRest\Lead\Model\ColumnHeaderNames $column_header_names File header field names override (corresponds with REST API name) + * @param \NecLimDul\MarketoRest\Lead\Model\ColumnHeaderNames $column_header_names column_header_names * * @return $this */ @@ -276,7 +276,7 @@ public function getFilter() /** * Sets filter * - * @param \NecLimDul\MarketoRest\Lead\Model\ExportLeadFilter $filter Lead record selection criteria. Can be one of the following: \"createdAt\", \"updatedAt\", \"staticListName\", \"staticListId\", \"smartListName\", \"smartListId\" + * @param \NecLimDul\MarketoRest\Lead\Model\ExportLeadFilter $filter filter * * @return $this */ diff --git a/src/Lead/Model/ExportProgramMemberFilter.php b/src/Lead/Model/ExportProgramMemberFilter.php index ec2cb77c..d7cc9e3c 100644 --- a/src/Lead/Model/ExportProgramMemberFilter.php +++ b/src/Lead/Model/ExportProgramMemberFilter.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ExportProgramMemberRequest.php b/src/Lead/Model/ExportProgramMemberRequest.php index 322572da..e55b3fd5 100644 --- a/src/Lead/Model/ExportProgramMemberRequest.php +++ b/src/Lead/Model/ExportProgramMemberRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -228,7 +228,7 @@ public function getColumnHeaderNames() /** * Sets column_header_names * - * @param \NecLimDul\MarketoRest\Lead\Model\ColumnHeaderNames $column_header_names File header field names override (corresponds with REST API name) + * @param \NecLimDul\MarketoRest\Lead\Model\ColumnHeaderNames $column_header_names column_header_names * * @return $this */ @@ -276,7 +276,7 @@ public function getFilter() /** * Sets filter * - * @param \NecLimDul\MarketoRest\Lead\Model\ExportProgramMemberFilter $filter Program member record selection criteria. Must be the following: \"programId\" + * @param \NecLimDul\MarketoRest\Lead\Model\ExportProgramMemberFilter $filter filter * * @return $this */ diff --git a/src/Lead/Model/ExportResponse.php b/src/Lead/Model/ExportResponse.php index cd6be8fe..436bd3a3 100644 --- a/src/Lead/Model/ExportResponse.php +++ b/src/Lead/Model/ExportResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/FileRange.php b/src/Lead/Model/FileRange.php index 90295bd8..974c5a81 100644 --- a/src/Lead/Model/FileRange.php +++ b/src/Lead/Model/FileRange.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ImportCustomObjectResponse.php b/src/Lead/Model/ImportCustomObjectResponse.php index bdc35c74..b64a1530 100644 --- a/src/Lead/Model/ImportCustomObjectResponse.php +++ b/src/Lead/Model/ImportCustomObjectResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ImportLeadResponse.php b/src/Lead/Model/ImportLeadResponse.php index eeaea630..248ec800 100644 --- a/src/Lead/Model/ImportLeadResponse.php +++ b/src/Lead/Model/ImportLeadResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ImportProgramMemberResponse.php b/src/Lead/Model/ImportProgramMemberResponse.php index 3ae76d9a..de921760 100644 --- a/src/Lead/Model/ImportProgramMemberResponse.php +++ b/src/Lead/Model/ImportProgramMemberResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/InputLead.php b/src/Lead/Model/InputLead.php index 72b66f58..1b4cfc31 100644 --- a/src/Lead/Model/InputLead.php +++ b/src/Lead/Model/InputLead.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/InputStream.php b/src/Lead/Model/InputStream.php index 97d2235a..0cb51ec5 100644 --- a/src/Lead/Model/InputStream.php +++ b/src/Lead/Model/InputStream.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/InputStreamContent.php b/src/Lead/Model/InputStreamContent.php index 6654e0fe..2fe8484f 100644 --- a/src/Lead/Model/InputStreamContent.php +++ b/src/Lead/Model/InputStreamContent.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/InputStreamRangeContent.php b/src/Lead/Model/InputStreamRangeContent.php index 5c2e7594..3d26fac4 100644 --- a/src/Lead/Model/InputStreamRangeContent.php +++ b/src/Lead/Model/InputStreamRangeContent.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/Lead.php b/src/Lead/Model/Lead.php index 68daf762..98ca136e 100644 --- a/src/Lead/Model/Lead.php +++ b/src/Lead/Model/Lead.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -247,7 +247,7 @@ public function getMembership() /** * Sets membership * - * @param \NecLimDul\MarketoRest\Lead\Model\ProgramMembership $membership Membership data for the parent program. Only returned via Get Leads By Program Id + * @param \NecLimDul\MarketoRest\Lead\Model\ProgramMembership $membership membership * * @return $this */ @@ -271,7 +271,7 @@ public function getReason() /** * Sets reason * - * @param \NecLimDul\MarketoRest\Lead\Model\Reason $reason Reason object describing why an operation did not succeed for a record + * @param \NecLimDul\MarketoRest\Lead\Model\Reason $reason reason * * @return $this */ diff --git a/src/Lead/Model/LeadAttribute.php b/src/Lead/Model/LeadAttribute.php index f5fb1921..03702b3a 100644 --- a/src/Lead/Model/LeadAttribute.php +++ b/src/Lead/Model/LeadAttribute.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -339,7 +339,7 @@ public function getRest() /** * Sets rest * - * @param \NecLimDul\MarketoRest\Lead\Model\LeadMapAttribute $rest Description of REST API usage attributes + * @param \NecLimDul\MarketoRest\Lead\Model\LeadMapAttribute $rest rest * * @return $this */ @@ -363,7 +363,7 @@ public function getSoap() /** * Sets soap * - * @param \NecLimDul\MarketoRest\Lead\Model\LeadMapAttribute $soap Description of SOAP API usage attributes + * @param \NecLimDul\MarketoRest\Lead\Model\LeadMapAttribute $soap soap * * @return $this */ diff --git a/src/Lead/Model/LeadAttribute2.php b/src/Lead/Model/LeadAttribute2.php index fbaaf6f2..8503ce16 100644 --- a/src/Lead/Model/LeadAttribute2.php +++ b/src/Lead/Model/LeadAttribute2.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/LeadAttribute2Fields.php b/src/Lead/Model/LeadAttribute2Fields.php index e5a585a3..c82bf2bc 100644 --- a/src/Lead/Model/LeadAttribute2Fields.php +++ b/src/Lead/Model/LeadAttribute2Fields.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/LeadAttribute2SearchableFields.php b/src/Lead/Model/LeadAttribute2SearchableFields.php deleted file mode 100644 index 84d7ba69..00000000 --- a/src/Lead/Model/LeadAttribute2SearchableFields.php +++ /dev/null @@ -1,282 +0,0 @@ -listInvalidProperties()) === 0; - } - - - /** - * {@inheritdoc} - */ - public function setAdditionalProperties(array $fields) - { - $fields = array_diff_key($fields, static::$attributeMap); - foreach ($this->additionalProperties as $additional_properties) { - unset($this->container[$additional_properties]); - } - $this->container += $fields; - $this->additionalProperties = array_keys($fields); - } - - /** - * {@inheritdoc} - */ - public function setAdditionalProperty($property, $value) - { - if (isset(static::$attributeMap[$property])) { - throw new \InvalidArgumentException(); - } - $this->additionalProperties[$property] = $property; - $this->container[$property] = $value; - } - - /** - * {@inheritdoc} - */ - public function getAdditionalPropertiess() - { - // TODO Get values. - return $this->additionalProperties; - } - - /** - * {@inheritdoc} - */ - public function offsetExists($offset) - { - return isset($this->container[$offset]); - } - - /** - * {@inheritdoc} - */ - public function offsetGet($offset) - { - return isset($this->container[$offset]) ? $this->container[$offset] : null; - } - - /** - * {@inheritdoc} - */ - public function offsetSet($offset, $value) - { - if (is_null($offset)) { - $this->container[] = $value; - } else { - $this->container[$offset] = $value; - } - } - - /** - * {@inheritdoc} - */ - public function offsetUnset($offset) - { - unset($this->container[$offset]); - } - - /** - * Gets the string presentation of the object - * - * @return string - */ - public function __toString() - { - if (defined('JSON_PRETTY_PRINT')) { // use JSON pretty print - return json_encode( - ObjectSerializer::sanitizeForSerialization($this), - JSON_PRETTY_PRINT - ); - } - - return json_encode(ObjectSerializer::sanitizeForSerialization($this)); - } -} - - diff --git a/src/Lead/Model/LeadChange.php b/src/Lead/Model/LeadChange.php index 0a95a30f..586e8810 100644 --- a/src/Lead/Model/LeadChange.php +++ b/src/Lead/Model/LeadChange.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/LeadChangeField.php b/src/Lead/Model/LeadChangeField.php index e10b730c..ddeaee11 100644 --- a/src/Lead/Model/LeadChangeField.php +++ b/src/Lead/Model/LeadChangeField.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/LeadInputData.php b/src/Lead/Model/LeadInputData.php index 73377f45..d6c36106 100644 --- a/src/Lead/Model/LeadInputData.php +++ b/src/Lead/Model/LeadInputData.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/LeadLookupInputData.php b/src/Lead/Model/LeadLookupInputData.php index 6449b91f..78bfa6d9 100644 --- a/src/Lead/Model/LeadLookupInputData.php +++ b/src/Lead/Model/LeadLookupInputData.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/LeadMapAttribute.php b/src/Lead/Model/LeadMapAttribute.php index 2022e3f5..87cd452c 100644 --- a/src/Lead/Model/LeadMapAttribute.php +++ b/src/Lead/Model/LeadMapAttribute.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/LeadPartition.php b/src/Lead/Model/LeadPartition.php index 37dc8cc0..2d7adb92 100644 --- a/src/Lead/Model/LeadPartition.php +++ b/src/Lead/Model/LeadPartition.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ListOperationOutputData.php b/src/Lead/Model/ListOperationOutputData.php index e5043a5e..146b7777 100644 --- a/src/Lead/Model/ListOperationOutputData.php +++ b/src/Lead/Model/ListOperationOutputData.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ListOperationRequest.php b/src/Lead/Model/ListOperationRequest.php index 0b07ab24..f4d3ff56 100644 --- a/src/Lead/Model/ListOperationRequest.php +++ b/src/Lead/Model/ListOperationRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/LookupCustomObjectRequest.php b/src/Lead/Model/LookupCustomObjectRequest.php index 8e3977eb..71bfc884 100644 --- a/src/Lead/Model/LookupCustomObjectRequest.php +++ b/src/Lead/Model/LookupCustomObjectRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ModelEmpty.php b/src/Lead/Model/ModelEmpty.php index 119cb18b..f7c3e67b 100644 --- a/src/Lead/Model/ModelEmpty.php +++ b/src/Lead/Model/ModelEmpty.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ModelInterface.php b/src/Lead/Model/ModelInterface.php index dccd31c0..1020ed35 100644 --- a/src/Lead/Model/ModelInterface.php +++ b/src/Lead/Model/ModelInterface.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ModelList.php b/src/Lead/Model/ModelList.php index 1887d0a6..48dac2f0 100644 --- a/src/Lead/Model/ModelList.php +++ b/src/Lead/Model/ModelList.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/NamedAccount.php b/src/Lead/Model/NamedAccount.php index 95973ee6..751c1e6c 100644 --- a/src/Lead/Model/NamedAccount.php +++ b/src/Lead/Model/NamedAccount.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/NamedAccountList.php b/src/Lead/Model/NamedAccountList.php index fc155326..73b128b6 100644 --- a/src/Lead/Model/NamedAccountList.php +++ b/src/Lead/Model/NamedAccountList.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ObjectField.php b/src/Lead/Model/ObjectField.php index 3b6a8e42..daad18b1 100644 --- a/src/Lead/Model/ObjectField.php +++ b/src/Lead/Model/ObjectField.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ObjectLinkableObject.php b/src/Lead/Model/ObjectLinkableObject.php index f9ee9328..700dcc31 100644 --- a/src/Lead/Model/ObjectLinkableObject.php +++ b/src/Lead/Model/ObjectLinkableObject.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ObjectLinkableObjectField.php b/src/Lead/Model/ObjectLinkableObjectField.php index e41009e8..635a9795 100644 --- a/src/Lead/Model/ObjectLinkableObjectField.php +++ b/src/Lead/Model/ObjectLinkableObjectField.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ObjectMetaData.php b/src/Lead/Model/ObjectMetaData.php index 91e9f130..f6bf2982 100644 --- a/src/Lead/Model/ObjectMetaData.php +++ b/src/Lead/Model/ObjectMetaData.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ObjectRelation.php b/src/Lead/Model/ObjectRelation.php index a859a6ba..a9c1806a 100644 --- a/src/Lead/Model/ObjectRelation.php +++ b/src/Lead/Model/ObjectRelation.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -249,7 +249,7 @@ public function getRelatedTo() /** * Sets related_to * - * @param \NecLimDul\MarketoRest\Lead\Model\RelatedObject $related_to Object to which the field is linked + * @param \NecLimDul\MarketoRest\Lead\Model\RelatedObject $related_to related_to * * @return $this */ diff --git a/src/Lead/Model/ObservableOfInputStreamContent.php b/src/Lead/Model/ObservableOfInputStreamContent.php index 8b8c2027..453b13d3 100644 --- a/src/Lead/Model/ObservableOfInputStreamContent.php +++ b/src/Lead/Model/ObservableOfInputStreamContent.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ObservableOfInputStreamRangeContent.php b/src/Lead/Model/ObservableOfInputStreamRangeContent.php index 521b65f5..fdb2fdd8 100644 --- a/src/Lead/Model/ObservableOfInputStreamRangeContent.php +++ b/src/Lead/Model/ObservableOfInputStreamRangeContent.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/Program.php b/src/Lead/Model/Program.php index efb85f0d..40d85c39 100644 --- a/src/Lead/Model/Program.php +++ b/src/Lead/Model/Program.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ProgramMemberAttribute.php b/src/Lead/Model/ProgramMemberAttribute.php index e07bbc9a..167790fd 100644 --- a/src/Lead/Model/ProgramMemberAttribute.php +++ b/src/Lead/Model/ProgramMemberAttribute.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ProgramMembership.php b/src/Lead/Model/ProgramMembership.php index e7b5abd5..c0a6f58f 100644 --- a/src/Lead/Model/ProgramMembership.php +++ b/src/Lead/Model/ProgramMembership.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/PushLeadToMarketoRequest.php b/src/Lead/Model/PushLeadToMarketoRequest.php index f7103c70..7308f230 100644 --- a/src/Lead/Model/PushLeadToMarketoRequest.php +++ b/src/Lead/Model/PushLeadToMarketoRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/Reason.php b/src/Lead/Model/Reason.php index 4503e2ae..4992cecb 100644 --- a/src/Lead/Model/Reason.php +++ b/src/Lead/Model/Reason.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/RelatedObject.php b/src/Lead/Model/RelatedObject.php index 639f5bdc..523b1827 100644 --- a/src/Lead/Model/RelatedObject.php +++ b/src/Lead/Model/RelatedObject.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/RemoveNamedAccountListMemberRequest.php b/src/Lead/Model/RemoveNamedAccountListMemberRequest.php index 04ce4e9d..34997095 100644 --- a/src/Lead/Model/RemoveNamedAccountListMemberRequest.php +++ b/src/Lead/Model/RemoveNamedAccountListMemberRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfActivity.php b/src/Lead/Model/ResponseOfActivity.php index b99a0efe..7fa03e36 100644 --- a/src/Lead/Model/ResponseOfActivity.php +++ b/src/Lead/Model/ResponseOfActivity.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfActivityType.php b/src/Lead/Model/ResponseOfActivityType.php index 621671c4..c29314b7 100644 --- a/src/Lead/Model/ResponseOfActivityType.php +++ b/src/Lead/Model/ResponseOfActivityType.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfCampaign.php b/src/Lead/Model/ResponseOfCampaign.php index 4de2f0b5..d05387b0 100644 --- a/src/Lead/Model/ResponseOfCampaign.php +++ b/src/Lead/Model/ResponseOfCampaign.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfChangeLeadProgramStatusOutputData.php b/src/Lead/Model/ResponseOfChangeLeadProgramStatusOutputData.php index 93f7d692..4815bdde 100644 --- a/src/Lead/Model/ResponseOfChangeLeadProgramStatusOutputData.php +++ b/src/Lead/Model/ResponseOfChangeLeadProgramStatusOutputData.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfCompany.php b/src/Lead/Model/ResponseOfCompany.php index 60763bb7..98daaa06 100644 --- a/src/Lead/Model/ResponseOfCompany.php +++ b/src/Lead/Model/ResponseOfCompany.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfCustomActivity.php b/src/Lead/Model/ResponseOfCustomActivity.php index 0bbb2c53..820d30b8 100644 --- a/src/Lead/Model/ResponseOfCustomActivity.php +++ b/src/Lead/Model/ResponseOfCustomActivity.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfCustomActivityType.php b/src/Lead/Model/ResponseOfCustomActivityType.php index cb5dc39a..d30263c5 100644 --- a/src/Lead/Model/ResponseOfCustomActivityType.php +++ b/src/Lead/Model/ResponseOfCustomActivityType.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfCustomObject.php b/src/Lead/Model/ResponseOfCustomObject.php index 7eb98b92..4bede9c4 100644 --- a/src/Lead/Model/ResponseOfCustomObject.php +++ b/src/Lead/Model/ResponseOfCustomObject.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfCustomObjectType.php b/src/Lead/Model/ResponseOfCustomObjectType.php index d9f02b29..f2dabee0 100644 --- a/src/Lead/Model/ResponseOfCustomObjectType.php +++ b/src/Lead/Model/ResponseOfCustomObjectType.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfCustomObjectTypeFieldDataTypes.php b/src/Lead/Model/ResponseOfCustomObjectTypeFieldDataTypes.php index 47f6e5a9..d2f71b2d 100644 --- a/src/Lead/Model/ResponseOfCustomObjectTypeFieldDataTypes.php +++ b/src/Lead/Model/ResponseOfCustomObjectTypeFieldDataTypes.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfExportResponse.php b/src/Lead/Model/ResponseOfExportResponse.php index f83a092b..07fc8b2e 100644 --- a/src/Lead/Model/ResponseOfExportResponse.php +++ b/src/Lead/Model/ResponseOfExportResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfExportResponseWithToken.php b/src/Lead/Model/ResponseOfExportResponseWithToken.php index 0f8896b5..5572527f 100644 --- a/src/Lead/Model/ResponseOfExportResponseWithToken.php +++ b/src/Lead/Model/ResponseOfExportResponseWithToken.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfImportCustomObjectResponse.php b/src/Lead/Model/ResponseOfImportCustomObjectResponse.php index 78bf5917..515226c0 100644 --- a/src/Lead/Model/ResponseOfImportCustomObjectResponse.php +++ b/src/Lead/Model/ResponseOfImportCustomObjectResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfImportLeadResponse.php b/src/Lead/Model/ResponseOfImportLeadResponse.php index cd290eff..f901717f 100644 --- a/src/Lead/Model/ResponseOfImportLeadResponse.php +++ b/src/Lead/Model/ResponseOfImportLeadResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfImportProgramMemberResponse.php b/src/Lead/Model/ResponseOfImportProgramMemberResponse.php index abfae2f0..3ff8dea3 100644 --- a/src/Lead/Model/ResponseOfImportProgramMemberResponse.php +++ b/src/Lead/Model/ResponseOfImportProgramMemberResponse.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfLead.php b/src/Lead/Model/ResponseOfLead.php index e145178e..4df8e6f6 100644 --- a/src/Lead/Model/ResponseOfLead.php +++ b/src/Lead/Model/ResponseOfLead.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfLeadAttribute.php b/src/Lead/Model/ResponseOfLeadAttribute.php index 55e94146..17ba2038 100644 --- a/src/Lead/Model/ResponseOfLeadAttribute.php +++ b/src/Lead/Model/ResponseOfLeadAttribute.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfLeadAttribute2.php b/src/Lead/Model/ResponseOfLeadAttribute2.php index dd5f0cab..38c910e8 100644 --- a/src/Lead/Model/ResponseOfLeadAttribute2.php +++ b/src/Lead/Model/ResponseOfLeadAttribute2.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfLeadChange.php b/src/Lead/Model/ResponseOfLeadChange.php index 3a5c3e67..ae0b90fa 100644 --- a/src/Lead/Model/ResponseOfLeadChange.php +++ b/src/Lead/Model/ResponseOfLeadChange.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfLeadPartition.php b/src/Lead/Model/ResponseOfLeadPartition.php index 61369974..d6187750 100644 --- a/src/Lead/Model/ResponseOfLeadPartition.php +++ b/src/Lead/Model/ResponseOfLeadPartition.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfListOperationOutputData.php b/src/Lead/Model/ResponseOfListOperationOutputData.php index 9e58f117..253cc33c 100644 --- a/src/Lead/Model/ResponseOfListOperationOutputData.php +++ b/src/Lead/Model/ResponseOfListOperationOutputData.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfLists.php b/src/Lead/Model/ResponseOfLists.php index eddb09cc..ef3da8a4 100644 --- a/src/Lead/Model/ResponseOfLists.php +++ b/src/Lead/Model/ResponseOfLists.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfNamedAccount.php b/src/Lead/Model/ResponseOfNamedAccount.php index 7f59a2f1..c0b13d73 100644 --- a/src/Lead/Model/ResponseOfNamedAccount.php +++ b/src/Lead/Model/ResponseOfNamedAccount.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfNamedAccountList.php b/src/Lead/Model/ResponseOfNamedAccountList.php index bc710a96..9f74bd64 100644 --- a/src/Lead/Model/ResponseOfNamedAccountList.php +++ b/src/Lead/Model/ResponseOfNamedAccountList.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfObjectLinkableObject.php b/src/Lead/Model/ResponseOfObjectLinkableObject.php index 3e10ccdc..fe5cfefe 100644 --- a/src/Lead/Model/ResponseOfObjectLinkableObject.php +++ b/src/Lead/Model/ResponseOfObjectLinkableObject.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfObjectMetaData.php b/src/Lead/Model/ResponseOfObjectMetaData.php index 501147ad..834474a7 100644 --- a/src/Lead/Model/ResponseOfObjectMetaData.php +++ b/src/Lead/Model/ResponseOfObjectMetaData.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfProgramMemberAttributes.php b/src/Lead/Model/ResponseOfProgramMemberAttributes.php index 48010924..52e86189 100644 --- a/src/Lead/Model/ResponseOfProgramMemberAttributes.php +++ b/src/Lead/Model/ResponseOfProgramMemberAttributes.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfPrograms.php b/src/Lead/Model/ResponseOfPrograms.php index 43fa56d4..6eb7e199 100644 --- a/src/Lead/Model/ResponseOfPrograms.php +++ b/src/Lead/Model/ResponseOfPrograms.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfPushLeadToMarketo.php b/src/Lead/Model/ResponseOfPushLeadToMarketo.php index 1059e008..df539bfc 100644 --- a/src/Lead/Model/ResponseOfPushLeadToMarketo.php +++ b/src/Lead/Model/ResponseOfPushLeadToMarketo.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfSalesPerson.php b/src/Lead/Model/ResponseOfSalesPerson.php index d1c62c85..345bc0e7 100644 --- a/src/Lead/Model/ResponseOfSalesPerson.php +++ b/src/Lead/Model/ResponseOfSalesPerson.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfSmartCampaigns.php b/src/Lead/Model/ResponseOfSmartCampaigns.php index b6f1ef5f..de8ed686 100644 --- a/src/Lead/Model/ResponseOfSmartCampaigns.php +++ b/src/Lead/Model/ResponseOfSmartCampaigns.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfStaticList.php b/src/Lead/Model/ResponseOfStaticList.php index c2fa2878..bf302cd2 100644 --- a/src/Lead/Model/ResponseOfStaticList.php +++ b/src/Lead/Model/ResponseOfStaticList.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfUsageData.php b/src/Lead/Model/ResponseOfUsageData.php index ab6a6f43..49d29417 100644 --- a/src/Lead/Model/ResponseOfUsageData.php +++ b/src/Lead/Model/ResponseOfUsageData.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseOfVoid.php b/src/Lead/Model/ResponseOfVoid.php index 8c51f426..f360a181 100644 --- a/src/Lead/Model/ResponseOfVoid.php +++ b/src/Lead/Model/ResponseOfVoid.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ResponseWithoutResult.php b/src/Lead/Model/ResponseWithoutResult.php index c7fe4535..615316c9 100644 --- a/src/Lead/Model/ResponseWithoutResult.php +++ b/src/Lead/Model/ResponseWithoutResult.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/SalesPerson.php b/src/Lead/Model/SalesPerson.php index 1a0c9368..90f7744a 100644 --- a/src/Lead/Model/SalesPerson.php +++ b/src/Lead/Model/SalesPerson.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ScheduleCampaignData.php b/src/Lead/Model/ScheduleCampaignData.php index 5aa8221f..79daee04 100644 --- a/src/Lead/Model/ScheduleCampaignData.php +++ b/src/Lead/Model/ScheduleCampaignData.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/ScheduleCampaignRequest.php b/src/Lead/Model/ScheduleCampaignRequest.php index 96b86016..172f97d9 100644 --- a/src/Lead/Model/ScheduleCampaignRequest.php +++ b/src/Lead/Model/ScheduleCampaignRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/SmartCampaign.php b/src/Lead/Model/SmartCampaign.php index 0fb7b960..01268dbc 100644 --- a/src/Lead/Model/SmartCampaign.php +++ b/src/Lead/Model/SmartCampaign.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/StaticList.php b/src/Lead/Model/StaticList.php index 6dbe2d28..e7cfb5c4 100644 --- a/src/Lead/Model/StaticList.php +++ b/src/Lead/Model/StaticList.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/SyncCompanyRequest.php b/src/Lead/Model/SyncCompanyRequest.php index 302f6662..983198d4 100644 --- a/src/Lead/Model/SyncCompanyRequest.php +++ b/src/Lead/Model/SyncCompanyRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/SyncCustomObjectRequest.php b/src/Lead/Model/SyncCustomObjectRequest.php index b102b26b..8e2ed093 100644 --- a/src/Lead/Model/SyncCustomObjectRequest.php +++ b/src/Lead/Model/SyncCustomObjectRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/SyncCustomObjectTypeRequest.php b/src/Lead/Model/SyncCustomObjectTypeRequest.php index 36327303..66386459 100644 --- a/src/Lead/Model/SyncCustomObjectTypeRequest.php +++ b/src/Lead/Model/SyncCustomObjectTypeRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/SyncLeadRequest.php b/src/Lead/Model/SyncLeadRequest.php index 5d107fef..c4788252 100644 --- a/src/Lead/Model/SyncLeadRequest.php +++ b/src/Lead/Model/SyncLeadRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/SyncNamedAccountListRequest.php b/src/Lead/Model/SyncNamedAccountListRequest.php index 0eb10a6a..a931bb55 100644 --- a/src/Lead/Model/SyncNamedAccountListRequest.php +++ b/src/Lead/Model/SyncNamedAccountListRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/SyncNamedAccountRequest.php b/src/Lead/Model/SyncNamedAccountRequest.php index 81682062..f9be0ae9 100644 --- a/src/Lead/Model/SyncNamedAccountRequest.php +++ b/src/Lead/Model/SyncNamedAccountRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/SyncSalesPersonRequest.php b/src/Lead/Model/SyncSalesPersonRequest.php index 2f6bebc2..90494df3 100644 --- a/src/Lead/Model/SyncSalesPersonRequest.php +++ b/src/Lead/Model/SyncSalesPersonRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/Token.php b/src/Lead/Model/Token.php index 9b202966..2cce85b1 100644 --- a/src/Lead/Model/Token.php +++ b/src/Lead/Model/Token.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/TriggerCampaignData.php b/src/Lead/Model/TriggerCampaignData.php index db6d88c4..84e47485 100644 --- a/src/Lead/Model/TriggerCampaignData.php +++ b/src/Lead/Model/TriggerCampaignData.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/TriggerCampaignRequest.php b/src/Lead/Model/TriggerCampaignRequest.php index ae7bd5c6..25338625 100644 --- a/src/Lead/Model/TriggerCampaignRequest.php +++ b/src/Lead/Model/TriggerCampaignRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -207,7 +207,7 @@ public function getInput() /** * Sets input * - * @param \NecLimDul\MarketoRest\Lead\Model\TriggerCampaignData $input Object describing trigger configuration for the campaign + * @param \NecLimDul\MarketoRest\Lead\Model\TriggerCampaignData $input input * * @return $this */ diff --git a/src/Lead/Model/UpdateCustomObjectTypeFieldRequest.php b/src/Lead/Model/UpdateCustomObjectTypeFieldRequest.php index 275ca073..8dc93bd4 100644 --- a/src/Lead/Model/UpdateCustomObjectTypeFieldRequest.php +++ b/src/Lead/Model/UpdateCustomObjectTypeFieldRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -354,7 +354,7 @@ public function getRelatedTo() /** * Sets related_to * - * @param \NecLimDul\MarketoRest\Lead\Model\CustomObjectTypeFieldRelatedTo $related_to Define custom object link field + * @param \NecLimDul\MarketoRest\Lead\Model\CustomObjectTypeFieldRelatedTo $related_to related_to * * @return $this */ diff --git a/src/Lead/Model/UpdateLeadPartition.php b/src/Lead/Model/UpdateLeadPartition.php index 5739481e..71efe946 100644 --- a/src/Lead/Model/UpdateLeadPartition.php +++ b/src/Lead/Model/UpdateLeadPartition.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/UpdateLeadPartitionRequest.php b/src/Lead/Model/UpdateLeadPartitionRequest.php index 3640d4f4..afd5691c 100644 --- a/src/Lead/Model/UpdateLeadPartitionRequest.php +++ b/src/Lead/Model/UpdateLeadPartitionRequest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/UsageData.php b/src/Lead/Model/UsageData.php index 971d8539..3176df4d 100644 --- a/src/Lead/Model/UsageData.php +++ b/src/Lead/Model/UsageData.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/UserCount.php b/src/Lead/Model/UserCount.php index ca197bf2..6806cb8f 100644 --- a/src/Lead/Model/UserCount.php +++ b/src/Lead/Model/UserCount.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/Model/Warning.php b/src/Lead/Model/Warning.php index aaf8ecaa..54fd72d5 100644 --- a/src/Lead/Model/Warning.php +++ b/src/Lead/Model/Warning.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/src/Lead/ObjectSerializer.php b/src/Lead/ObjectSerializer.php index d227a6c6..8835506b 100644 --- a/src/Lead/ObjectSerializer.php +++ b/src/Lead/ObjectSerializer.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/ChannelsApiTest.php b/tests/Asset/Api/ChannelsApiTest.php index 249714c5..eab9935d 100644 --- a/tests/Asset/Api/ChannelsApiTest.php +++ b/tests/Asset/Api/ChannelsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/EmailTemplatesApiTest.php b/tests/Asset/Api/EmailTemplatesApiTest.php index 80c385fc..16b1ede8 100644 --- a/tests/Asset/Api/EmailTemplatesApiTest.php +++ b/tests/Asset/Api/EmailTemplatesApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/EmailsApiTest.php b/tests/Asset/Api/EmailsApiTest.php index faec2f79..74b0ba17 100644 --- a/tests/Asset/Api/EmailsApiTest.php +++ b/tests/Asset/Api/EmailsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/FileContentsApiTest.php b/tests/Asset/Api/FileContentsApiTest.php index fe3ccf46..6b2a9105 100644 --- a/tests/Asset/Api/FileContentsApiTest.php +++ b/tests/Asset/Api/FileContentsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/FilesApiTest.php b/tests/Asset/Api/FilesApiTest.php index d42f78bd..e14ddbc0 100644 --- a/tests/Asset/Api/FilesApiTest.php +++ b/tests/Asset/Api/FilesApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/FoldersApiTest.php b/tests/Asset/Api/FoldersApiTest.php index 2180b5fb..b0d7abf5 100644 --- a/tests/Asset/Api/FoldersApiTest.php +++ b/tests/Asset/Api/FoldersApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/FormFieldsApiTest.php b/tests/Asset/Api/FormFieldsApiTest.php index b954d4d3..037c74ff 100644 --- a/tests/Asset/Api/FormFieldsApiTest.php +++ b/tests/Asset/Api/FormFieldsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/FormsApiTest.php b/tests/Asset/Api/FormsApiTest.php index e2bca185..df3445d7 100644 --- a/tests/Asset/Api/FormsApiTest.php +++ b/tests/Asset/Api/FormsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/LandingPageContentApiTest.php b/tests/Asset/Api/LandingPageContentApiTest.php index 5743247e..6f653cdf 100644 --- a/tests/Asset/Api/LandingPageContentApiTest.php +++ b/tests/Asset/Api/LandingPageContentApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/LandingPageRedirectRulesApiTest.php b/tests/Asset/Api/LandingPageRedirectRulesApiTest.php index 83709a3c..65afba50 100644 --- a/tests/Asset/Api/LandingPageRedirectRulesApiTest.php +++ b/tests/Asset/Api/LandingPageRedirectRulesApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/LandingPageTemplatesApiTest.php b/tests/Asset/Api/LandingPageTemplatesApiTest.php index 2b3368f5..b660f84a 100644 --- a/tests/Asset/Api/LandingPageTemplatesApiTest.php +++ b/tests/Asset/Api/LandingPageTemplatesApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/LandingPagesApiTest.php b/tests/Asset/Api/LandingPagesApiTest.php index 44c47906..bd740cc1 100644 --- a/tests/Asset/Api/LandingPagesApiTest.php +++ b/tests/Asset/Api/LandingPagesApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/ProgramsApiTest.php b/tests/Asset/Api/ProgramsApiTest.php index f19949e5..30d646b1 100644 --- a/tests/Asset/Api/ProgramsApiTest.php +++ b/tests/Asset/Api/ProgramsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/SegmentsApiTest.php b/tests/Asset/Api/SegmentsApiTest.php index 64289825..987a55de 100644 --- a/tests/Asset/Api/SegmentsApiTest.php +++ b/tests/Asset/Api/SegmentsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/SmartCampaignsApiTest.php b/tests/Asset/Api/SmartCampaignsApiTest.php index 80dfda53..723076a6 100644 --- a/tests/Asset/Api/SmartCampaignsApiTest.php +++ b/tests/Asset/Api/SmartCampaignsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/SmartListsApiTest.php b/tests/Asset/Api/SmartListsApiTest.php index cd03f954..220156ff 100644 --- a/tests/Asset/Api/SmartListsApiTest.php +++ b/tests/Asset/Api/SmartListsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/SnippetsApiTest.php b/tests/Asset/Api/SnippetsApiTest.php index e5ad277b..67d0415b 100644 --- a/tests/Asset/Api/SnippetsApiTest.php +++ b/tests/Asset/Api/SnippetsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/StaticListsApiTest.php b/tests/Asset/Api/StaticListsApiTest.php index 6f4254df..f57429a0 100644 --- a/tests/Asset/Api/StaticListsApiTest.php +++ b/tests/Asset/Api/StaticListsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/TagsApiTest.php b/tests/Asset/Api/TagsApiTest.php index 31f9a77f..baeadd29 100644 --- a/tests/Asset/Api/TagsApiTest.php +++ b/tests/Asset/Api/TagsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Api/TokensApiTest.php b/tests/Asset/Api/TokensApiTest.php index bf44bd11..08ae68fa 100644 --- a/tests/Asset/Api/TokensApiTest.php +++ b/tests/Asset/Api/TokensApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/AddFormFieldRequestTest.php b/tests/Asset/Model/AddFormFieldRequestTest.php index 68b63b56..14a2028a 100644 --- a/tests/Asset/Model/AddFormFieldRequestTest.php +++ b/tests/Asset/Model/AddFormFieldRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/AddFormFieldSetRequestTest.php b/tests/Asset/Model/AddFormFieldSetRequestTest.php index 7d57d502..2e52fdf5 100644 --- a/tests/Asset/Model/AddFormFieldSetRequestTest.php +++ b/tests/Asset/Model/AddFormFieldSetRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/AddFormFieldVisibilityRequestTest.php b/tests/Asset/Model/AddFormFieldVisibilityRequestTest.php index 7ecc2435..e989b1f1 100644 --- a/tests/Asset/Model/AddFormFieldVisibilityRequestTest.php +++ b/tests/Asset/Model/AddFormFieldVisibilityRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/AddRichTextRequestTest.php b/tests/Asset/Model/AddRichTextRequestTest.php index e38c6574..c5ce5065 100644 --- a/tests/Asset/Model/AddRichTextRequestTest.php +++ b/tests/Asset/Model/AddRichTextRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/BrowseAllProgramsTest.php b/tests/Asset/Model/BrowseAllProgramsTest.php index 0146ad4b..22ba7616 100644 --- a/tests/Asset/Model/BrowseAllProgramsTest.php +++ b/tests/Asset/Model/BrowseAllProgramsTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ChannelProgressionTest.php b/tests/Asset/Model/ChannelProgressionTest.php index aac9b55f..7525c80f 100644 --- a/tests/Asset/Model/ChannelProgressionTest.php +++ b/tests/Asset/Model/ChannelProgressionTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ChannelResponseTest.php b/tests/Asset/Model/ChannelResponseTest.php index d836f4bc..b0012074 100644 --- a/tests/Asset/Model/ChannelResponseTest.php +++ b/tests/Asset/Model/ChannelResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CloneEmailRequestTest.php b/tests/Asset/Model/CloneEmailRequestTest.php index 0b21e893..73dd1576 100644 --- a/tests/Asset/Model/CloneEmailRequestTest.php +++ b/tests/Asset/Model/CloneEmailRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CloneEmailTemplateRequestTest.php b/tests/Asset/Model/CloneEmailTemplateRequestTest.php index cb95781d..afd71833 100644 --- a/tests/Asset/Model/CloneEmailTemplateRequestTest.php +++ b/tests/Asset/Model/CloneEmailTemplateRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CloneFormRequestTest.php b/tests/Asset/Model/CloneFormRequestTest.php index cdf07689..c37f67b6 100644 --- a/tests/Asset/Model/CloneFormRequestTest.php +++ b/tests/Asset/Model/CloneFormRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CloneLandingPageRequestTest.php b/tests/Asset/Model/CloneLandingPageRequestTest.php index 66f4a1f4..8ca511ec 100644 --- a/tests/Asset/Model/CloneLandingPageRequestTest.php +++ b/tests/Asset/Model/CloneLandingPageRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CloneLpTemplateRequestTest.php b/tests/Asset/Model/CloneLpTemplateRequestTest.php index 75a3256b..b5fd55ad 100644 --- a/tests/Asset/Model/CloneLpTemplateRequestTest.php +++ b/tests/Asset/Model/CloneLpTemplateRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CloneProgramRequestTest.php b/tests/Asset/Model/CloneProgramRequestTest.php index e48f529e..0166b233 100644 --- a/tests/Asset/Model/CloneProgramRequestTest.php +++ b/tests/Asset/Model/CloneProgramRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CloneSmartCampaignRequestTest.php b/tests/Asset/Model/CloneSmartCampaignRequestTest.php index 4d73cc4f..fff12755 100644 --- a/tests/Asset/Model/CloneSmartCampaignRequestTest.php +++ b/tests/Asset/Model/CloneSmartCampaignRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CloneSmartListRequestTest.php b/tests/Asset/Model/CloneSmartListRequestTest.php index 386e46c6..25b25670 100644 --- a/tests/Asset/Model/CloneSmartListRequestTest.php +++ b/tests/Asset/Model/CloneSmartListRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CloneSnippetRequestTest.php b/tests/Asset/Model/CloneSnippetRequestTest.php index 7545b1cf..ed282178 100644 --- a/tests/Asset/Model/CloneSnippetRequestTest.php +++ b/tests/Asset/Model/CloneSnippetRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CostRequestTest.php b/tests/Asset/Model/CostRequestTest.php index 28c6f08d..f1ba05eb 100644 --- a/tests/Asset/Model/CostRequestTest.php +++ b/tests/Asset/Model/CostRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CostsTest.php b/tests/Asset/Model/CostsTest.php index 37c3996d..19117ae0 100644 --- a/tests/Asset/Model/CostsTest.php +++ b/tests/Asset/Model/CostsTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CreateEmailRequestTest.php b/tests/Asset/Model/CreateEmailRequestTest.php index 05cbe94e..efaad52d 100644 --- a/tests/Asset/Model/CreateEmailRequestTest.php +++ b/tests/Asset/Model/CreateEmailRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CreateEmailTemplateRequestTest.php b/tests/Asset/Model/CreateEmailTemplateRequestTest.php index adebf973..3c76004a 100644 --- a/tests/Asset/Model/CreateEmailTemplateRequestTest.php +++ b/tests/Asset/Model/CreateEmailTemplateRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CreateFileRequestTest.php b/tests/Asset/Model/CreateFileRequestTest.php index bee6259b..10240c33 100644 --- a/tests/Asset/Model/CreateFileRequestTest.php +++ b/tests/Asset/Model/CreateFileRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CreateFolderRequestTest.php b/tests/Asset/Model/CreateFolderRequestTest.php index 4c33344a..d36f495c 100644 --- a/tests/Asset/Model/CreateFolderRequestTest.php +++ b/tests/Asset/Model/CreateFolderRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CreateLandingPageContentRequestTest.php b/tests/Asset/Model/CreateLandingPageContentRequestTest.php index be2ec27d..799cd14d 100644 --- a/tests/Asset/Model/CreateLandingPageContentRequestTest.php +++ b/tests/Asset/Model/CreateLandingPageContentRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CreateLandingPageRedirectRuleRequestTest.php b/tests/Asset/Model/CreateLandingPageRedirectRuleRequestTest.php index 3d92d8b2..3096eaab 100644 --- a/tests/Asset/Model/CreateLandingPageRedirectRuleRequestTest.php +++ b/tests/Asset/Model/CreateLandingPageRedirectRuleRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CreateLandingPageRequestTest.php b/tests/Asset/Model/CreateLandingPageRequestTest.php index 40d010ce..8e301e84 100644 --- a/tests/Asset/Model/CreateLandingPageRequestTest.php +++ b/tests/Asset/Model/CreateLandingPageRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CreateLpFormRequestTest.php b/tests/Asset/Model/CreateLpFormRequestTest.php index a455948b..92ba358b 100644 --- a/tests/Asset/Model/CreateLpFormRequestTest.php +++ b/tests/Asset/Model/CreateLpFormRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CreateLpTemplateRequestTest.php b/tests/Asset/Model/CreateLpTemplateRequestTest.php index a9d28841..28fef54d 100644 --- a/tests/Asset/Model/CreateLpTemplateRequestTest.php +++ b/tests/Asset/Model/CreateLpTemplateRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CreateProgramRequestTest.php b/tests/Asset/Model/CreateProgramRequestTest.php index 45599229..68e3650f 100644 --- a/tests/Asset/Model/CreateProgramRequestTest.php +++ b/tests/Asset/Model/CreateProgramRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CreateSmartCampaignRequestTest.php b/tests/Asset/Model/CreateSmartCampaignRequestTest.php index fd931280..c53e2aa8 100644 --- a/tests/Asset/Model/CreateSmartCampaignRequestTest.php +++ b/tests/Asset/Model/CreateSmartCampaignRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CreateSnippetRequestTest.php b/tests/Asset/Model/CreateSnippetRequestTest.php index fd216041..25d7b8a7 100644 --- a/tests/Asset/Model/CreateSnippetRequestTest.php +++ b/tests/Asset/Model/CreateSnippetRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CreateStaticListRequestTest.php b/tests/Asset/Model/CreateStaticListRequestTest.php index f083a6d9..7e754963 100644 --- a/tests/Asset/Model/CreateStaticListRequestTest.php +++ b/tests/Asset/Model/CreateStaticListRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/CreateTokenRequestTest.php b/tests/Asset/Model/CreateTokenRequestTest.php index 69b5caa8..b5c76aba 100644 --- a/tests/Asset/Model/CreateTokenRequestTest.php +++ b/tests/Asset/Model/CreateTokenRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/DeleteTokenRequestTest.php b/tests/Asset/Model/DeleteTokenRequestTest.php index 1945c60e..235daac5 100644 --- a/tests/Asset/Model/DeleteTokenRequestTest.php +++ b/tests/Asset/Model/DeleteTokenRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/EmailContentResponseTest.php b/tests/Asset/Model/EmailContentResponseTest.php index 0a92bd04..5d360d6d 100644 --- a/tests/Asset/Model/EmailContentResponseTest.php +++ b/tests/Asset/Model/EmailContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/EmailDynamicContentItemTest.php b/tests/Asset/Model/EmailDynamicContentItemTest.php index 91a32e9a..a4c340fe 100644 --- a/tests/Asset/Model/EmailDynamicContentItemTest.php +++ b/tests/Asset/Model/EmailDynamicContentItemTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/EmailDynamicContentResponseTest.php b/tests/Asset/Model/EmailDynamicContentResponseTest.php index ae9298a6..402e49e3 100644 --- a/tests/Asset/Model/EmailDynamicContentResponseTest.php +++ b/tests/Asset/Model/EmailDynamicContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/EmailHeaderTypeValueTest.php b/tests/Asset/Model/EmailHeaderTypeValueTest.php index a7120d5b..653f7dd8 100644 --- a/tests/Asset/Model/EmailHeaderTypeValueTest.php +++ b/tests/Asset/Model/EmailHeaderTypeValueTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/EmailResponseCCFieldsTest.php b/tests/Asset/Model/EmailResponseCCFieldsTest.php index 19ef1148..532aac7b 100644 --- a/tests/Asset/Model/EmailResponseCCFieldsTest.php +++ b/tests/Asset/Model/EmailResponseCCFieldsTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/EmailResponseTest.php b/tests/Asset/Model/EmailResponseTest.php index 00739b7f..e57bae27 100644 --- a/tests/Asset/Model/EmailResponseTest.php +++ b/tests/Asset/Model/EmailResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/EmailTemplateContentResponseTest.php b/tests/Asset/Model/EmailTemplateContentResponseTest.php index f2567151..2a48f8ce 100644 --- a/tests/Asset/Model/EmailTemplateContentResponseTest.php +++ b/tests/Asset/Model/EmailTemplateContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/EmailTemplateResponseTest.php b/tests/Asset/Model/EmailTemplateResponseTest.php index ded31e49..8fa50c3f 100644 --- a/tests/Asset/Model/EmailTemplateResponseTest.php +++ b/tests/Asset/Model/EmailTemplateResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/EmailTemplateUsedByResponseTest.php b/tests/Asset/Model/EmailTemplateUsedByResponseTest.php index 5f3b9eeb..3d567b54 100644 --- a/tests/Asset/Model/EmailTemplateUsedByResponseTest.php +++ b/tests/Asset/Model/EmailTemplateUsedByResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ErrorTest.php b/tests/Asset/Model/ErrorTest.php index 7941f88c..0a93317f 100644 --- a/tests/Asset/Model/ErrorTest.php +++ b/tests/Asset/Model/ErrorTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/FieldsMetaDataResponseTest.php b/tests/Asset/Model/FieldsMetaDataResponseTest.php index e2b700db..cc8d8f0e 100644 --- a/tests/Asset/Model/FieldsMetaDataResponseTest.php +++ b/tests/Asset/Model/FieldsMetaDataResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/FileFolderTest.php b/tests/Asset/Model/FileFolderTest.php index 8be00122..0086cae0 100644 --- a/tests/Asset/Model/FileFolderTest.php +++ b/tests/Asset/Model/FileFolderTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/FileResponseTest.php b/tests/Asset/Model/FileResponseTest.php index d185888d..4ae6771c 100644 --- a/tests/Asset/Model/FileResponseTest.php +++ b/tests/Asset/Model/FileResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/FolderContentResponseTest.php b/tests/Asset/Model/FolderContentResponseTest.php index d2a0d495..b91f7983 100644 --- a/tests/Asset/Model/FolderContentResponseTest.php +++ b/tests/Asset/Model/FolderContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/FolderResponseTest.php b/tests/Asset/Model/FolderResponseTest.php index 0c58d5e5..5996df74 100644 --- a/tests/Asset/Model/FolderResponseTest.php +++ b/tests/Asset/Model/FolderResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/FolderTest.php b/tests/Asset/Model/FolderTest.php index 73f0b184..b3855263 100644 --- a/tests/Asset/Model/FolderTest.php +++ b/tests/Asset/Model/FolderTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/FormFieldVisibilityRequestTest.php b/tests/Asset/Model/FormFieldVisibilityRequestTest.php index 3171093e..b3c92261 100644 --- a/tests/Asset/Model/FormFieldVisibilityRequestTest.php +++ b/tests/Asset/Model/FormFieldVisibilityRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/FormFieldVisibilityRuleResponseTest.php b/tests/Asset/Model/FormFieldVisibilityRuleResponseTest.php index 6140da25..4c944f94 100644 --- a/tests/Asset/Model/FormFieldVisibilityRuleResponseTest.php +++ b/tests/Asset/Model/FormFieldVisibilityRuleResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/FormKnownVisitorDTOTest.php b/tests/Asset/Model/FormKnownVisitorDTOTest.php index 014f17d8..3284dcd0 100644 --- a/tests/Asset/Model/FormKnownVisitorDTOTest.php +++ b/tests/Asset/Model/FormKnownVisitorDTOTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/FormThankYouPageDTOTest.php b/tests/Asset/Model/FormThankYouPageDTOTest.php index f0232baf..2f4f2904 100644 --- a/tests/Asset/Model/FormThankYouPageDTOTest.php +++ b/tests/Asset/Model/FormThankYouPageDTOTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/FormVisibilityRuleDTOTest.php b/tests/Asset/Model/FormVisibilityRuleDTOTest.php index ebb4e180..fb8bc5b7 100644 --- a/tests/Asset/Model/FormVisibilityRuleDTOTest.php +++ b/tests/Asset/Model/FormVisibilityRuleDTOTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/FormVisibilityRuleResponseTest.php b/tests/Asset/Model/FormVisibilityRuleResponseTest.php index 440d33a9..51f6db8f 100644 --- a/tests/Asset/Model/FormVisibilityRuleResponseTest.php +++ b/tests/Asset/Model/FormVisibilityRuleResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/GetEmailFullContentResponseTest.php b/tests/Asset/Model/GetEmailFullContentResponseTest.php index eb002919..9218be47 100644 --- a/tests/Asset/Model/GetEmailFullContentResponseTest.php +++ b/tests/Asset/Model/GetEmailFullContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/GetFilesRequestTest.php b/tests/Asset/Model/GetFilesRequestTest.php index a6902909..0f4e0084 100644 --- a/tests/Asset/Model/GetFilesRequestTest.php +++ b/tests/Asset/Model/GetFilesRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/IdResponseTest.php b/tests/Asset/Model/IdResponseTest.php index 1f4cf712..a8cc4970 100644 --- a/tests/Asset/Model/IdResponseTest.php +++ b/tests/Asset/Model/IdResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/JsonNodeTest.php b/tests/Asset/Model/JsonNodeTest.php index 43edfe1c..9604ff8f 100644 --- a/tests/Asset/Model/JsonNodeTest.php +++ b/tests/Asset/Model/JsonNodeTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/LandingPageContentResponseTest.php b/tests/Asset/Model/LandingPageContentResponseTest.php index 7b538603..e3fa0c89 100644 --- a/tests/Asset/Model/LandingPageContentResponseTest.php +++ b/tests/Asset/Model/LandingPageContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/LandingPageDomainTest.php b/tests/Asset/Model/LandingPageDomainTest.php index d6d76f44..977cd06b 100644 --- a/tests/Asset/Model/LandingPageDomainTest.php +++ b/tests/Asset/Model/LandingPageDomainTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/LandingPageDynamicContentResponseTest.php b/tests/Asset/Model/LandingPageDynamicContentResponseTest.php index 38faf226..cb995a8d 100644 --- a/tests/Asset/Model/LandingPageDynamicContentResponseTest.php +++ b/tests/Asset/Model/LandingPageDynamicContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/LandingPageRedirectRuleTest.php b/tests/Asset/Model/LandingPageRedirectRuleTest.php index 32e0bd06..02757014 100644 --- a/tests/Asset/Model/LandingPageRedirectRuleTest.php +++ b/tests/Asset/Model/LandingPageRedirectRuleTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/LandingPageResponseTest.php b/tests/Asset/Model/LandingPageResponseTest.php index d6b28ae9..cbdd83d5 100644 --- a/tests/Asset/Model/LandingPageResponseTest.php +++ b/tests/Asset/Model/LandingPageResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/LandingPageVariableResponseTest.php b/tests/Asset/Model/LandingPageVariableResponseTest.php index 5381b738..14690c6f 100644 --- a/tests/Asset/Model/LandingPageVariableResponseTest.php +++ b/tests/Asset/Model/LandingPageVariableResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/LpFormFieldResponseTest.php b/tests/Asset/Model/LpFormFieldResponseTest.php index 58be59f5..be528478 100644 --- a/tests/Asset/Model/LpFormFieldResponseTest.php +++ b/tests/Asset/Model/LpFormFieldResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/LpFormResponseTest.php b/tests/Asset/Model/LpFormResponseTest.php index a5a701a2..f2e83a82 100644 --- a/tests/Asset/Model/LpFormResponseTest.php +++ b/tests/Asset/Model/LpFormResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/LpTemplateGetContentResponseTest.php b/tests/Asset/Model/LpTemplateGetContentResponseTest.php index 56031556..9a24bbd8 100644 --- a/tests/Asset/Model/LpTemplateGetContentResponseTest.php +++ b/tests/Asset/Model/LpTemplateGetContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/LpTemplateResponseTest.php b/tests/Asset/Model/LpTemplateResponseTest.php index a61c79df..8bffb592 100644 --- a/tests/Asset/Model/LpTemplateResponseTest.php +++ b/tests/Asset/Model/LpTemplateResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ModelResponseTest.php b/tests/Asset/Model/ModelResponseTest.php index 0ca9ed80..4388c6f7 100644 --- a/tests/Asset/Model/ModelResponseTest.php +++ b/tests/Asset/Model/ModelResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/MultipartFileTest.php b/tests/Asset/Model/MultipartFileTest.php index ec67292e..b5ecd382 100644 --- a/tests/Asset/Model/MultipartFileTest.php +++ b/tests/Asset/Model/MultipartFileTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/PickListDTOTest.php b/tests/Asset/Model/PickListDTOTest.php index 3cc08b6d..ee4d7598 100644 --- a/tests/Asset/Model/PickListDTOTest.php +++ b/tests/Asset/Model/PickListDTOTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ProgramResponseTest.php b/tests/Asset/Model/ProgramResponseTest.php index 8233bd79..a19d4c95 100644 --- a/tests/Asset/Model/ProgramResponseTest.php +++ b/tests/Asset/Model/ProgramResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ReArrangeRequestTest.php b/tests/Asset/Model/ReArrangeRequestTest.php index ec052395..9ce9c436 100644 --- a/tests/Asset/Model/ReArrangeRequestTest.php +++ b/tests/Asset/Model/ReArrangeRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/RecurrenceTest.php b/tests/Asset/Model/RecurrenceTest.php index 6e09f0f8..03a8f160 100644 --- a/tests/Asset/Model/RecurrenceTest.php +++ b/tests/Asset/Model/RecurrenceTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/RedirectFromTest.php b/tests/Asset/Model/RedirectFromTest.php index 8294a150..e74b3153 100644 --- a/tests/Asset/Model/RedirectFromTest.php +++ b/tests/Asset/Model/RedirectFromTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/RedirectToTest.php b/tests/Asset/Model/RedirectToTest.php index 3ba7278d..dad45171 100644 --- a/tests/Asset/Model/RedirectToTest.php +++ b/tests/Asset/Model/RedirectToTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfBrowseAllProgramsTest.php b/tests/Asset/Model/ResponseOfBrowseAllProgramsTest.php index 959635f4..42a100c1 100644 --- a/tests/Asset/Model/ResponseOfBrowseAllProgramsTest.php +++ b/tests/Asset/Model/ResponseOfBrowseAllProgramsTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfChannelResponseTest.php b/tests/Asset/Model/ResponseOfChannelResponseTest.php index fe12011f..8ac09c60 100644 --- a/tests/Asset/Model/ResponseOfChannelResponseTest.php +++ b/tests/Asset/Model/ResponseOfChannelResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfEmailCCFieldsResponseTest.php b/tests/Asset/Model/ResponseOfEmailCCFieldsResponseTest.php index bf5bddca..959d9296 100644 --- a/tests/Asset/Model/ResponseOfEmailCCFieldsResponseTest.php +++ b/tests/Asset/Model/ResponseOfEmailCCFieldsResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfEmailContentResponseTest.php b/tests/Asset/Model/ResponseOfEmailContentResponseTest.php index cd596687..bc067e2d 100644 --- a/tests/Asset/Model/ResponseOfEmailContentResponseTest.php +++ b/tests/Asset/Model/ResponseOfEmailContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfEmailDynamicContentResponseTest.php b/tests/Asset/Model/ResponseOfEmailDynamicContentResponseTest.php index af370731..e8184d94 100644 --- a/tests/Asset/Model/ResponseOfEmailDynamicContentResponseTest.php +++ b/tests/Asset/Model/ResponseOfEmailDynamicContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfEmailResponseTest.php b/tests/Asset/Model/ResponseOfEmailResponseTest.php index 1ec4909a..a6703a54 100644 --- a/tests/Asset/Model/ResponseOfEmailResponseTest.php +++ b/tests/Asset/Model/ResponseOfEmailResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfEmailTemplateContentResponseTest.php b/tests/Asset/Model/ResponseOfEmailTemplateContentResponseTest.php index b5601a95..f61c6486 100644 --- a/tests/Asset/Model/ResponseOfEmailTemplateContentResponseTest.php +++ b/tests/Asset/Model/ResponseOfEmailTemplateContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfEmailTemplateResponseTest.php b/tests/Asset/Model/ResponseOfEmailTemplateResponseTest.php index cb28efdd..9a3fa800 100644 --- a/tests/Asset/Model/ResponseOfEmailTemplateResponseTest.php +++ b/tests/Asset/Model/ResponseOfEmailTemplateResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfEmailTemplateUsedByResponseTest.php b/tests/Asset/Model/ResponseOfEmailTemplateUsedByResponseTest.php index 8fc9b166..cbd65918 100644 --- a/tests/Asset/Model/ResponseOfEmailTemplateUsedByResponseTest.php +++ b/tests/Asset/Model/ResponseOfEmailTemplateUsedByResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfFieldsMetaDataResponseTest.php b/tests/Asset/Model/ResponseOfFieldsMetaDataResponseTest.php index 1bf77d91..e2685e12 100644 --- a/tests/Asset/Model/ResponseOfFieldsMetaDataResponseTest.php +++ b/tests/Asset/Model/ResponseOfFieldsMetaDataResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfFileResponseTest.php b/tests/Asset/Model/ResponseOfFileResponseTest.php index 9f6c488d..15e0dbe9 100644 --- a/tests/Asset/Model/ResponseOfFileResponseTest.php +++ b/tests/Asset/Model/ResponseOfFileResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfFolderContentResponseTest.php b/tests/Asset/Model/ResponseOfFolderContentResponseTest.php index 0f0c2769..86d3d859 100644 --- a/tests/Asset/Model/ResponseOfFolderContentResponseTest.php +++ b/tests/Asset/Model/ResponseOfFolderContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfFolderResponseTest.php b/tests/Asset/Model/ResponseOfFolderResponseTest.php index 0d4e772f..6303db55 100644 --- a/tests/Asset/Model/ResponseOfFolderResponseTest.php +++ b/tests/Asset/Model/ResponseOfFolderResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfFormVisibilityRuleResponseTest.php b/tests/Asset/Model/ResponseOfFormVisibilityRuleResponseTest.php index 12ee9541..27f43623 100644 --- a/tests/Asset/Model/ResponseOfFormVisibilityRuleResponseTest.php +++ b/tests/Asset/Model/ResponseOfFormVisibilityRuleResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfGetEmailFullContentResponseTest.php b/tests/Asset/Model/ResponseOfGetEmailFullContentResponseTest.php index dfef5a0d..4a73eb3b 100644 --- a/tests/Asset/Model/ResponseOfGetEmailFullContentResponseTest.php +++ b/tests/Asset/Model/ResponseOfGetEmailFullContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfIdResponseTest.php b/tests/Asset/Model/ResponseOfIdResponseTest.php index bf30b8a9..00505241 100644 --- a/tests/Asset/Model/ResponseOfIdResponseTest.php +++ b/tests/Asset/Model/ResponseOfIdResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfLandingPageContentResponseTest.php b/tests/Asset/Model/ResponseOfLandingPageContentResponseTest.php index e8a59b0a..5eb15818 100644 --- a/tests/Asset/Model/ResponseOfLandingPageContentResponseTest.php +++ b/tests/Asset/Model/ResponseOfLandingPageContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfLandingPageDomainsTest.php b/tests/Asset/Model/ResponseOfLandingPageDomainsTest.php index e166a87c..37955871 100644 --- a/tests/Asset/Model/ResponseOfLandingPageDomainsTest.php +++ b/tests/Asset/Model/ResponseOfLandingPageDomainsTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfLandingPageDynamicContentResponseTest.php b/tests/Asset/Model/ResponseOfLandingPageDynamicContentResponseTest.php index f203ca73..36b09c97 100644 --- a/tests/Asset/Model/ResponseOfLandingPageDynamicContentResponseTest.php +++ b/tests/Asset/Model/ResponseOfLandingPageDynamicContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfLandingPageRedirectRulesTest.php b/tests/Asset/Model/ResponseOfLandingPageRedirectRulesTest.php index 9616cb24..ea5ceda6 100644 --- a/tests/Asset/Model/ResponseOfLandingPageRedirectRulesTest.php +++ b/tests/Asset/Model/ResponseOfLandingPageRedirectRulesTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfLandingPageResponseTest.php b/tests/Asset/Model/ResponseOfLandingPageResponseTest.php index 5522a21d..32c6af34 100644 --- a/tests/Asset/Model/ResponseOfLandingPageResponseTest.php +++ b/tests/Asset/Model/ResponseOfLandingPageResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfLandingPageVariableResponseTest.php b/tests/Asset/Model/ResponseOfLandingPageVariableResponseTest.php index 9ef71e4f..6d2ab3dd 100644 --- a/tests/Asset/Model/ResponseOfLandingPageVariableResponseTest.php +++ b/tests/Asset/Model/ResponseOfLandingPageVariableResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfLpFormFieldResponseTest.php b/tests/Asset/Model/ResponseOfLpFormFieldResponseTest.php index 7a7678da..faee2892 100644 --- a/tests/Asset/Model/ResponseOfLpFormFieldResponseTest.php +++ b/tests/Asset/Model/ResponseOfLpFormFieldResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfLpFormResponseTest.php b/tests/Asset/Model/ResponseOfLpFormResponseTest.php index a41d9580..edd27f17 100644 --- a/tests/Asset/Model/ResponseOfLpFormResponseTest.php +++ b/tests/Asset/Model/ResponseOfLpFormResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfLpTemplateGetContentResponseTest.php b/tests/Asset/Model/ResponseOfLpTemplateGetContentResponseTest.php index 7dcc7324..cb8b870c 100644 --- a/tests/Asset/Model/ResponseOfLpTemplateGetContentResponseTest.php +++ b/tests/Asset/Model/ResponseOfLpTemplateGetContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfLpTemplateResponseTest.php b/tests/Asset/Model/ResponseOfLpTemplateResponseTest.php index fc279b34..1051e90d 100644 --- a/tests/Asset/Model/ResponseOfLpTemplateResponseTest.php +++ b/tests/Asset/Model/ResponseOfLpTemplateResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfProgramResponseTest.php b/tests/Asset/Model/ResponseOfProgramResponseTest.php index 74813278..2ff41e42 100644 --- a/tests/Asset/Model/ResponseOfProgramResponseTest.php +++ b/tests/Asset/Model/ResponseOfProgramResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfSegmentationResponseTest.php b/tests/Asset/Model/ResponseOfSegmentationResponseTest.php index 5bc47432..ecf8862a 100644 --- a/tests/Asset/Model/ResponseOfSegmentationResponseTest.php +++ b/tests/Asset/Model/ResponseOfSegmentationResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfSegmentsResponseTest.php b/tests/Asset/Model/ResponseOfSegmentsResponseTest.php index a47a815f..c82e9adc 100644 --- a/tests/Asset/Model/ResponseOfSegmentsResponseTest.php +++ b/tests/Asset/Model/ResponseOfSegmentsResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfSmartCampaignResponseTest.php b/tests/Asset/Model/ResponseOfSmartCampaignResponseTest.php index 7346b26b..c5681923 100644 --- a/tests/Asset/Model/ResponseOfSmartCampaignResponseTest.php +++ b/tests/Asset/Model/ResponseOfSmartCampaignResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfSmartListResponseTest.php b/tests/Asset/Model/ResponseOfSmartListResponseTest.php index 0889c3cc..a76bc1db 100644 --- a/tests/Asset/Model/ResponseOfSmartListResponseTest.php +++ b/tests/Asset/Model/ResponseOfSmartListResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfSmartListResponseWithRulesTest.php b/tests/Asset/Model/ResponseOfSmartListResponseWithRulesTest.php index 548be400..153d5a65 100644 --- a/tests/Asset/Model/ResponseOfSmartListResponseWithRulesTest.php +++ b/tests/Asset/Model/ResponseOfSmartListResponseWithRulesTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfSnippetContentResponseTest.php b/tests/Asset/Model/ResponseOfSnippetContentResponseTest.php index d4d9949e..7e3de608 100644 --- a/tests/Asset/Model/ResponseOfSnippetContentResponseTest.php +++ b/tests/Asset/Model/ResponseOfSnippetContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfSnippetResponseTest.php b/tests/Asset/Model/ResponseOfSnippetResponseTest.php index 5b17e916..8bd67be9 100644 --- a/tests/Asset/Model/ResponseOfSnippetResponseTest.php +++ b/tests/Asset/Model/ResponseOfSnippetResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfStaticListResponseTest.php b/tests/Asset/Model/ResponseOfStaticListResponseTest.php index 55d54910..1844c15c 100644 --- a/tests/Asset/Model/ResponseOfStaticListResponseTest.php +++ b/tests/Asset/Model/ResponseOfStaticListResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfTagResponseGetAllTest.php b/tests/Asset/Model/ResponseOfTagResponseGetAllTest.php index 8a21085a..34a953d7 100644 --- a/tests/Asset/Model/ResponseOfTagResponseGetAllTest.php +++ b/tests/Asset/Model/ResponseOfTagResponseGetAllTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfTagResponseTest.php b/tests/Asset/Model/ResponseOfTagResponseTest.php index a3e1f958..027cebd9 100644 --- a/tests/Asset/Model/ResponseOfTagResponseTest.php +++ b/tests/Asset/Model/ResponseOfTagResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfThankYouPageResponseTest.php b/tests/Asset/Model/ResponseOfThankYouPageResponseTest.php index a6a6d281..ea07ed04 100644 --- a/tests/Asset/Model/ResponseOfThankYouPageResponseTest.php +++ b/tests/Asset/Model/ResponseOfThankYouPageResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfTokenResponseTest.php b/tests/Asset/Model/ResponseOfTokenResponseTest.php index 1bfe761f..264799d3 100644 --- a/tests/Asset/Model/ResponseOfTokenResponseTest.php +++ b/tests/Asset/Model/ResponseOfTokenResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfUpdateEmailFullContentResponseTest.php b/tests/Asset/Model/ResponseOfUpdateEmailFullContentResponseTest.php index 28691bbe..52ccaefb 100644 --- a/tests/Asset/Model/ResponseOfUpdateEmailFullContentResponseTest.php +++ b/tests/Asset/Model/ResponseOfUpdateEmailFullContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ResponseOfobjectTest.php b/tests/Asset/Model/ResponseOfobjectTest.php index ea21109b..9b62672f 100644 --- a/tests/Asset/Model/ResponseOfobjectTest.php +++ b/tests/Asset/Model/ResponseOfobjectTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/SegmentContentTest.php b/tests/Asset/Model/SegmentContentTest.php index 5f897eec..f7ce17a7 100644 --- a/tests/Asset/Model/SegmentContentTest.php +++ b/tests/Asset/Model/SegmentContentTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/SegmentationResponseTest.php b/tests/Asset/Model/SegmentationResponseTest.php index 8caa2a2f..ecf2d63c 100644 --- a/tests/Asset/Model/SegmentationResponseTest.php +++ b/tests/Asset/Model/SegmentationResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/SegmentsResponseTest.php b/tests/Asset/Model/SegmentsResponseTest.php index 5bf28d82..32df6337 100644 --- a/tests/Asset/Model/SegmentsResponseTest.php +++ b/tests/Asset/Model/SegmentsResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/SendSampleEmailRequestTest.php b/tests/Asset/Model/SendSampleEmailRequestTest.php index 2c9f7547..304c7a5c 100644 --- a/tests/Asset/Model/SendSampleEmailRequestTest.php +++ b/tests/Asset/Model/SendSampleEmailRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/SmartCampaignResponseTest.php b/tests/Asset/Model/SmartCampaignResponseTest.php index 440aa37f..89dc7465 100644 --- a/tests/Asset/Model/SmartCampaignResponseTest.php +++ b/tests/Asset/Model/SmartCampaignResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/SmartListConditionsTest.php b/tests/Asset/Model/SmartListConditionsTest.php index aa7e1fe2..77634699 100644 --- a/tests/Asset/Model/SmartListConditionsTest.php +++ b/tests/Asset/Model/SmartListConditionsTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/SmartListFiltersTest.php b/tests/Asset/Model/SmartListFiltersTest.php index 80797cf4..a2b4a736 100644 --- a/tests/Asset/Model/SmartListFiltersTest.php +++ b/tests/Asset/Model/SmartListFiltersTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/SmartListResponseTest.php b/tests/Asset/Model/SmartListResponseTest.php index 0797b836..f9e887d5 100644 --- a/tests/Asset/Model/SmartListResponseTest.php +++ b/tests/Asset/Model/SmartListResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/SmartListResponseWithRulesTest.php b/tests/Asset/Model/SmartListResponseWithRulesTest.php index 75e00400..eed10f78 100644 --- a/tests/Asset/Model/SmartListResponseWithRulesTest.php +++ b/tests/Asset/Model/SmartListResponseWithRulesTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/SmartListRulesTest.php b/tests/Asset/Model/SmartListRulesTest.php index 024080e5..e71b8d77 100644 --- a/tests/Asset/Model/SmartListRulesTest.php +++ b/tests/Asset/Model/SmartListRulesTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/SnippetContentResponseTest.php b/tests/Asset/Model/SnippetContentResponseTest.php index 2cd29d5a..051a8c2f 100644 --- a/tests/Asset/Model/SnippetContentResponseTest.php +++ b/tests/Asset/Model/SnippetContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/SnippetResponseTest.php b/tests/Asset/Model/SnippetResponseTest.php index 40cfbcf5..31c441ed 100644 --- a/tests/Asset/Model/SnippetResponseTest.php +++ b/tests/Asset/Model/SnippetResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/StaticListResponseTest.php b/tests/Asset/Model/StaticListResponseTest.php index 31f04661..095d174a 100644 --- a/tests/Asset/Model/StaticListResponseTest.php +++ b/tests/Asset/Model/StaticListResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/SubmitButtonRequestTest.php b/tests/Asset/Model/SubmitButtonRequestTest.php index 0fcd591a..f7243c11 100644 --- a/tests/Asset/Model/SubmitButtonRequestTest.php +++ b/tests/Asset/Model/SubmitButtonRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/TagRequestTest.php b/tests/Asset/Model/TagRequestTest.php index 275ad916..f230730a 100644 --- a/tests/Asset/Model/TagRequestTest.php +++ b/tests/Asset/Model/TagRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/TagResponseGetAllTest.php b/tests/Asset/Model/TagResponseGetAllTest.php index bc6bfc10..d7d31396 100644 --- a/tests/Asset/Model/TagResponseGetAllTest.php +++ b/tests/Asset/Model/TagResponseGetAllTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/TagResponseTest.php b/tests/Asset/Model/TagResponseTest.php index 5bc34269..a7aa36d4 100644 --- a/tests/Asset/Model/TagResponseTest.php +++ b/tests/Asset/Model/TagResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/TagsTest.php b/tests/Asset/Model/TagsTest.php index 53551391..4e5a8347 100644 --- a/tests/Asset/Model/TagsTest.php +++ b/tests/Asset/Model/TagsTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ThankYouPageRequestTest.php b/tests/Asset/Model/ThankYouPageRequestTest.php index 745bfd55..1e9d2133 100644 --- a/tests/Asset/Model/ThankYouPageRequestTest.php +++ b/tests/Asset/Model/ThankYouPageRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/ThankYouPageResponseTest.php b/tests/Asset/Model/ThankYouPageResponseTest.php index 7f95d1e3..9a9351e6 100644 --- a/tests/Asset/Model/ThankYouPageResponseTest.php +++ b/tests/Asset/Model/ThankYouPageResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/TokenDTOTest.php b/tests/Asset/Model/TokenDTOTest.php index 5ee59c72..442dd8bf 100644 --- a/tests/Asset/Model/TokenDTOTest.php +++ b/tests/Asset/Model/TokenDTOTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/TokenResponseTest.php b/tests/Asset/Model/TokenResponseTest.php index 644825d3..af468d21 100644 --- a/tests/Asset/Model/TokenResponseTest.php +++ b/tests/Asset/Model/TokenResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateEmailComponentContentRequestTest.php b/tests/Asset/Model/UpdateEmailComponentContentRequestTest.php index 6d9ec4e0..b90a446f 100644 --- a/tests/Asset/Model/UpdateEmailComponentContentRequestTest.php +++ b/tests/Asset/Model/UpdateEmailComponentContentRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateEmailComponentDataRequestTest.php b/tests/Asset/Model/UpdateEmailComponentDataRequestTest.php index 2c436328..3b2a9afd 100644 --- a/tests/Asset/Model/UpdateEmailComponentDataRequestTest.php +++ b/tests/Asset/Model/UpdateEmailComponentDataRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateEmailDynamicContentRequestTest.php b/tests/Asset/Model/UpdateEmailDynamicContentRequestTest.php index a9272e69..e9918445 100644 --- a/tests/Asset/Model/UpdateEmailDynamicContentRequestTest.php +++ b/tests/Asset/Model/UpdateEmailDynamicContentRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateEmailFullContentRequestTest.php b/tests/Asset/Model/UpdateEmailFullContentRequestTest.php index a7d30ec6..2c812592 100644 --- a/tests/Asset/Model/UpdateEmailFullContentRequestTest.php +++ b/tests/Asset/Model/UpdateEmailFullContentRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateEmailFullContentResponseTest.php b/tests/Asset/Model/UpdateEmailFullContentResponseTest.php index c5727c24..c2d94819 100644 --- a/tests/Asset/Model/UpdateEmailFullContentResponseTest.php +++ b/tests/Asset/Model/UpdateEmailFullContentResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateEmailMetaDataRequestTest.php b/tests/Asset/Model/UpdateEmailMetaDataRequestTest.php index b028b403..d516c50a 100644 --- a/tests/Asset/Model/UpdateEmailMetaDataRequestTest.php +++ b/tests/Asset/Model/UpdateEmailMetaDataRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateEmailTemplateContentRequestTest.php b/tests/Asset/Model/UpdateEmailTemplateContentRequestTest.php index 195858b1..29db9d88 100644 --- a/tests/Asset/Model/UpdateEmailTemplateContentRequestTest.php +++ b/tests/Asset/Model/UpdateEmailTemplateContentRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateEmailTemplateMetaDataRequestTest.php b/tests/Asset/Model/UpdateEmailTemplateMetaDataRequestTest.php index bc44eeed..0362bcc9 100644 --- a/tests/Asset/Model/UpdateEmailTemplateMetaDataRequestTest.php +++ b/tests/Asset/Model/UpdateEmailTemplateMetaDataRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateFieldPositionTest.php b/tests/Asset/Model/UpdateFieldPositionTest.php index bd55945e..559dd412 100644 --- a/tests/Asset/Model/UpdateFieldPositionTest.php +++ b/tests/Asset/Model/UpdateFieldPositionTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateFileContentRequestTest.php b/tests/Asset/Model/UpdateFileContentRequestTest.php index e6502b00..6ffcf493 100644 --- a/tests/Asset/Model/UpdateFileContentRequestTest.php +++ b/tests/Asset/Model/UpdateFileContentRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateFolderRequestTest.php b/tests/Asset/Model/UpdateFolderRequestTest.php index 768ac7b2..a9ff12cc 100644 --- a/tests/Asset/Model/UpdateFolderRequestTest.php +++ b/tests/Asset/Model/UpdateFolderRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateFormFieldRequestTest.php b/tests/Asset/Model/UpdateFormFieldRequestTest.php index 6a6008c7..229403b9 100644 --- a/tests/Asset/Model/UpdateFormFieldRequestTest.php +++ b/tests/Asset/Model/UpdateFormFieldRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateFormMetaDataRequestTest.php b/tests/Asset/Model/UpdateFormMetaDataRequestTest.php index 030adc13..f7260a80 100644 --- a/tests/Asset/Model/UpdateFormMetaDataRequestTest.php +++ b/tests/Asset/Model/UpdateFormMetaDataRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateLandingPageContentRequestTest.php b/tests/Asset/Model/UpdateLandingPageContentRequestTest.php index 21031d42..8995659c 100644 --- a/tests/Asset/Model/UpdateLandingPageContentRequestTest.php +++ b/tests/Asset/Model/UpdateLandingPageContentRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateLandingPageDynamicContentRequestTest.php b/tests/Asset/Model/UpdateLandingPageDynamicContentRequestTest.php index 8e876dc6..4eafc540 100644 --- a/tests/Asset/Model/UpdateLandingPageDynamicContentRequestTest.php +++ b/tests/Asset/Model/UpdateLandingPageDynamicContentRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateLandingPageRedirectRuleRequestTest.php b/tests/Asset/Model/UpdateLandingPageRedirectRuleRequestTest.php index 44c3ddaf..7802b103 100644 --- a/tests/Asset/Model/UpdateLandingPageRedirectRuleRequestTest.php +++ b/tests/Asset/Model/UpdateLandingPageRedirectRuleRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateLandingPageRequestTest.php b/tests/Asset/Model/UpdateLandingPageRequestTest.php index 8a82a6d6..5fef16cf 100644 --- a/tests/Asset/Model/UpdateLandingPageRequestTest.php +++ b/tests/Asset/Model/UpdateLandingPageRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateLpTemplateRequestTest.php b/tests/Asset/Model/UpdateLpTemplateRequestTest.php index e9bc8d2b..d745fef5 100644 --- a/tests/Asset/Model/UpdateLpTemplateRequestTest.php +++ b/tests/Asset/Model/UpdateLpTemplateRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateProgramRequestTest.php b/tests/Asset/Model/UpdateProgramRequestTest.php index 444a5ee6..b5a6816f 100644 --- a/tests/Asset/Model/UpdateProgramRequestTest.php +++ b/tests/Asset/Model/UpdateProgramRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateSmartCampaignRequestTest.php b/tests/Asset/Model/UpdateSmartCampaignRequestTest.php index 5141dbfb..a64006c5 100644 --- a/tests/Asset/Model/UpdateSmartCampaignRequestTest.php +++ b/tests/Asset/Model/UpdateSmartCampaignRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateSnippetDynamicContentRequestTest.php b/tests/Asset/Model/UpdateSnippetDynamicContentRequestTest.php index 3ed46914..fae5649f 100644 --- a/tests/Asset/Model/UpdateSnippetDynamicContentRequestTest.php +++ b/tests/Asset/Model/UpdateSnippetDynamicContentRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateSnippetRequestTest.php b/tests/Asset/Model/UpdateSnippetRequestTest.php index cec04512..040b5417 100644 --- a/tests/Asset/Model/UpdateSnippetRequestTest.php +++ b/tests/Asset/Model/UpdateSnippetRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateStaticListRequestTest.php b/tests/Asset/Model/UpdateStaticListRequestTest.php index 3004dbfc..a2581d98 100644 --- a/tests/Asset/Model/UpdateStaticListRequestTest.php +++ b/tests/Asset/Model/UpdateStaticListRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateThankYouPageRequestTest.php b/tests/Asset/Model/UpdateThankYouPageRequestTest.php index 05217994..363af8f8 100644 --- a/tests/Asset/Model/UpdateThankYouPageRequestTest.php +++ b/tests/Asset/Model/UpdateThankYouPageRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/UpdateVariableRequestTest.php b/tests/Asset/Model/UpdateVariableRequestTest.php index f407b892..b5a4b6b1 100644 --- a/tests/Asset/Model/UpdateVariableRequestTest.php +++ b/tests/Asset/Model/UpdateVariableRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Asset/Model/VisibilityRuleRequestTest.php b/tests/Asset/Model/VisibilityRuleRequestTest.php index 88cbb56e..310742be 100644 --- a/tests/Asset/Model/VisibilityRuleRequestTest.php +++ b/tests/Asset/Model/VisibilityRuleRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Identity/Api/IdentityApiTest.php b/tests/Identity/Api/IdentityApiTest.php index 22c56510..ebdc678a 100644 --- a/tests/Identity/Api/IdentityApiTest.php +++ b/tests/Identity/Api/IdentityApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Identity/Model/ResponseOfIdentityTest.php b/tests/Identity/Model/ResponseOfIdentityTest.php index b7089b2b..8866a1d8 100644 --- a/tests/Identity/Model/ResponseOfIdentityTest.php +++ b/tests/Identity/Model/ResponseOfIdentityTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** @@ -72,18 +72,18 @@ public function testPropertyScope() } /** - * Test attribute "expires_in" + * Test attribute "token_type" */ - public function testPropertyExpiresIn() + public function testPropertyTokenType() { $class = new ResponseOfIdentity(); $this->assertTrue(TRUE); } /** - * Test attribute "token_type" + * Test attribute "expires_in" */ - public function testPropertyTokenType() + public function testPropertyExpiresIn() { $class = new ResponseOfIdentity(); $this->assertTrue(TRUE); diff --git a/tests/Lead/Api/ActivitiesApiTest.php b/tests/Lead/Api/ActivitiesApiTest.php index a1684d18..ab3d968f 100644 --- a/tests/Lead/Api/ActivitiesApiTest.php +++ b/tests/Lead/Api/ActivitiesApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Api/BulkExportActivitiesApiTest.php b/tests/Lead/Api/BulkExportActivitiesApiTest.php index 03664b58..d7476df1 100644 --- a/tests/Lead/Api/BulkExportActivitiesApiTest.php +++ b/tests/Lead/Api/BulkExportActivitiesApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Api/BulkExportLeadsApiTest.php b/tests/Lead/Api/BulkExportLeadsApiTest.php index 1b5a9c71..a335435c 100644 --- a/tests/Lead/Api/BulkExportLeadsApiTest.php +++ b/tests/Lead/Api/BulkExportLeadsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Api/BulkExportProgramMembersApiTest.php b/tests/Lead/Api/BulkExportProgramMembersApiTest.php index 6be9101b..c5d82f81 100644 --- a/tests/Lead/Api/BulkExportProgramMembersApiTest.php +++ b/tests/Lead/Api/BulkExportProgramMembersApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Api/BulkImportCustomObjectsApiTest.php b/tests/Lead/Api/BulkImportCustomObjectsApiTest.php index 0e96bd72..6014ae05 100644 --- a/tests/Lead/Api/BulkImportCustomObjectsApiTest.php +++ b/tests/Lead/Api/BulkImportCustomObjectsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Api/BulkImportLeadsApiTest.php b/tests/Lead/Api/BulkImportLeadsApiTest.php index 4712a020..033b778a 100644 --- a/tests/Lead/Api/BulkImportLeadsApiTest.php +++ b/tests/Lead/Api/BulkImportLeadsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Api/BulkImportProgramMembersApiTest.php b/tests/Lead/Api/BulkImportProgramMembersApiTest.php index 42480c2f..219290e8 100644 --- a/tests/Lead/Api/BulkImportProgramMembersApiTest.php +++ b/tests/Lead/Api/BulkImportProgramMembersApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Api/CampaignsApiTest.php b/tests/Lead/Api/CampaignsApiTest.php index d4417fda..9dab75ba 100644 --- a/tests/Lead/Api/CampaignsApiTest.php +++ b/tests/Lead/Api/CampaignsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Api/CompaniesApiTest.php b/tests/Lead/Api/CompaniesApiTest.php index 731ef80e..4b58a79a 100644 --- a/tests/Lead/Api/CompaniesApiTest.php +++ b/tests/Lead/Api/CompaniesApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Api/CustomObjectsApiTest.php b/tests/Lead/Api/CustomObjectsApiTest.php index 0f175533..79a66cd1 100644 --- a/tests/Lead/Api/CustomObjectsApiTest.php +++ b/tests/Lead/Api/CustomObjectsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Api/LeadsApiTest.php b/tests/Lead/Api/LeadsApiTest.php index 14d752ac..68b6b99c 100644 --- a/tests/Lead/Api/LeadsApiTest.php +++ b/tests/Lead/Api/LeadsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Api/NamedAccountListsApiTest.php b/tests/Lead/Api/NamedAccountListsApiTest.php index 7f6d0a96..24b38d66 100644 --- a/tests/Lead/Api/NamedAccountListsApiTest.php +++ b/tests/Lead/Api/NamedAccountListsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Api/NamedAccountsApiTest.php b/tests/Lead/Api/NamedAccountsApiTest.php index 43259ebe..52958297 100644 --- a/tests/Lead/Api/NamedAccountsApiTest.php +++ b/tests/Lead/Api/NamedAccountsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Api/OpportunitiesApiTest.php b/tests/Lead/Api/OpportunitiesApiTest.php index 08b851f7..d3a7682f 100644 --- a/tests/Lead/Api/OpportunitiesApiTest.php +++ b/tests/Lead/Api/OpportunitiesApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Api/SalesPersonsApiTest.php b/tests/Lead/Api/SalesPersonsApiTest.php index 118f937d..7c64a031 100644 --- a/tests/Lead/Api/SalesPersonsApiTest.php +++ b/tests/Lead/Api/SalesPersonsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Api/StaticListsApiTest.php b/tests/Lead/Api/StaticListsApiTest.php index 6f9a6c50..50bd41ba 100644 --- a/tests/Lead/Api/StaticListsApiTest.php +++ b/tests/Lead/Api/StaticListsApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Api/UsageApiTest.php b/tests/Lead/Api/UsageApiTest.php index f8a2a566..0af90504 100644 --- a/tests/Lead/Api/UsageApiTest.php +++ b/tests/Lead/Api/UsageApiTest.php @@ -17,7 +17,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ActivityTest.php b/tests/Lead/Model/ActivityTest.php index dab6c814..5a84b314 100644 --- a/tests/Lead/Model/ActivityTest.php +++ b/tests/Lead/Model/ActivityTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ActivityTypeAttributeTest.php b/tests/Lead/Model/ActivityTypeAttributeTest.php index de91a862..ff6bff58 100644 --- a/tests/Lead/Model/ActivityTypeAttributeTest.php +++ b/tests/Lead/Model/ActivityTypeAttributeTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ActivityTypeTest.php b/tests/Lead/Model/ActivityTypeTest.php index 14fcc51c..a88b1988 100644 --- a/tests/Lead/Model/ActivityTypeTest.php +++ b/tests/Lead/Model/ActivityTypeTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/AddCustomObjectTypeFieldTest.php b/tests/Lead/Model/AddCustomObjectTypeFieldTest.php index ee959e15..3b84e28f 100644 --- a/tests/Lead/Model/AddCustomObjectTypeFieldTest.php +++ b/tests/Lead/Model/AddCustomObjectTypeFieldTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/AddCustomObjectTypeFieldsRequestTest.php b/tests/Lead/Model/AddCustomObjectTypeFieldsRequestTest.php index e388fa84..4d8255fa 100644 --- a/tests/Lead/Model/AddCustomObjectTypeFieldsRequestTest.php +++ b/tests/Lead/Model/AddCustomObjectTypeFieldsRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/AddNamedAccountListMemberRequestTest.php b/tests/Lead/Model/AddNamedAccountListMemberRequestTest.php index 82cf8fd4..2b3b8df0 100644 --- a/tests/Lead/Model/AddNamedAccountListMemberRequestTest.php +++ b/tests/Lead/Model/AddNamedAccountListMemberRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/AttributeTest.php b/tests/Lead/Model/AttributeTest.php index d512aa67..dbe33c39 100644 --- a/tests/Lead/Model/AttributeTest.php +++ b/tests/Lead/Model/AttributeTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/CampaignTest.php b/tests/Lead/Model/CampaignTest.php index 36cd9b35..dd88aa94 100644 --- a/tests/Lead/Model/CampaignTest.php +++ b/tests/Lead/Model/CampaignTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ChangeLeadProgramStatusOutputDataTest.php b/tests/Lead/Model/ChangeLeadProgramStatusOutputDataTest.php index 94a981ea..4ac80cfa 100644 --- a/tests/Lead/Model/ChangeLeadProgramStatusOutputDataTest.php +++ b/tests/Lead/Model/ChangeLeadProgramStatusOutputDataTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ChangeLeadProgramStatusRequestTest.php b/tests/Lead/Model/ChangeLeadProgramStatusRequestTest.php index d5c1dd6c..579c1a00 100644 --- a/tests/Lead/Model/ChangeLeadProgramStatusRequestTest.php +++ b/tests/Lead/Model/ChangeLeadProgramStatusRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ColumnHeaderNamesTest.php b/tests/Lead/Model/ColumnHeaderNamesTest.php index 5086d536..13968f5d 100644 --- a/tests/Lead/Model/ColumnHeaderNamesTest.php +++ b/tests/Lead/Model/ColumnHeaderNamesTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/CompanyTest.php b/tests/Lead/Model/CompanyTest.php index 35df977b..22be914f 100644 --- a/tests/Lead/Model/CompanyTest.php +++ b/tests/Lead/Model/CompanyTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/CustomActivityRequestTest.php b/tests/Lead/Model/CustomActivityRequestTest.php index 1ccf0ec1..ac094f09 100644 --- a/tests/Lead/Model/CustomActivityRequestTest.php +++ b/tests/Lead/Model/CustomActivityRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/CustomActivityTest.php b/tests/Lead/Model/CustomActivityTest.php index 428db4fd..e267e5d8 100644 --- a/tests/Lead/Model/CustomActivityTest.php +++ b/tests/Lead/Model/CustomActivityTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/CustomActivityTypeAttributeRequestTest.php b/tests/Lead/Model/CustomActivityTypeAttributeRequestTest.php index 82af43b5..e790b3fe 100644 --- a/tests/Lead/Model/CustomActivityTypeAttributeRequestTest.php +++ b/tests/Lead/Model/CustomActivityTypeAttributeRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/CustomActivityTypeAttributeTest.php b/tests/Lead/Model/CustomActivityTypeAttributeTest.php index 8e92b4af..089ac3e3 100644 --- a/tests/Lead/Model/CustomActivityTypeAttributeTest.php +++ b/tests/Lead/Model/CustomActivityTypeAttributeTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/CustomActivityTypeRequestTest.php b/tests/Lead/Model/CustomActivityTypeRequestTest.php index 6f195235..44bad41d 100644 --- a/tests/Lead/Model/CustomActivityTypeRequestTest.php +++ b/tests/Lead/Model/CustomActivityTypeRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/CustomActivityTypeTest.php b/tests/Lead/Model/CustomActivityTypeTest.php index 7821fffb..de7ce75c 100644 --- a/tests/Lead/Model/CustomActivityTypeTest.php +++ b/tests/Lead/Model/CustomActivityTypeTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/CustomObjectTest.php b/tests/Lead/Model/CustomObjectTest.php index 9a8981b8..c5d88706 100644 --- a/tests/Lead/Model/CustomObjectTest.php +++ b/tests/Lead/Model/CustomObjectTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/CustomObjectTypeFieldRelatedToTest.php b/tests/Lead/Model/CustomObjectTypeFieldRelatedToTest.php index 669f9b2a..db97e1d8 100644 --- a/tests/Lead/Model/CustomObjectTypeFieldRelatedToTest.php +++ b/tests/Lead/Model/CustomObjectTypeFieldRelatedToTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/DateRangeTest.php b/tests/Lead/Model/DateRangeTest.php index 212ae5e0..1df7f195 100644 --- a/tests/Lead/Model/DateRangeTest.php +++ b/tests/Lead/Model/DateRangeTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/DeleteCompanyRequestTest.php b/tests/Lead/Model/DeleteCompanyRequestTest.php index 0169af96..619b9d44 100644 --- a/tests/Lead/Model/DeleteCompanyRequestTest.php +++ b/tests/Lead/Model/DeleteCompanyRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/DeleteCustomObjectRequestTest.php b/tests/Lead/Model/DeleteCustomObjectRequestTest.php index b3e87ac3..46fad537 100644 --- a/tests/Lead/Model/DeleteCustomObjectRequestTest.php +++ b/tests/Lead/Model/DeleteCustomObjectRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/DeleteCustomObjectTypeFieldTest.php b/tests/Lead/Model/DeleteCustomObjectTypeFieldTest.php index 8dd77edb..3cd0c475 100644 --- a/tests/Lead/Model/DeleteCustomObjectTypeFieldTest.php +++ b/tests/Lead/Model/DeleteCustomObjectTypeFieldTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/DeleteCustomObjectTypeFieldsRequestTest.php b/tests/Lead/Model/DeleteCustomObjectTypeFieldsRequestTest.php index d8aa6ddc..cea3a053 100644 --- a/tests/Lead/Model/DeleteCustomObjectTypeFieldsRequestTest.php +++ b/tests/Lead/Model/DeleteCustomObjectTypeFieldsRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/DeleteLeadRequestTest.php b/tests/Lead/Model/DeleteLeadRequestTest.php index 29872249..ae836b0a 100644 --- a/tests/Lead/Model/DeleteLeadRequestTest.php +++ b/tests/Lead/Model/DeleteLeadRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/DeleteNamedAccountListRequestTest.php b/tests/Lead/Model/DeleteNamedAccountListRequestTest.php index 8c0522f5..0fc81c58 100644 --- a/tests/Lead/Model/DeleteNamedAccountListRequestTest.php +++ b/tests/Lead/Model/DeleteNamedAccountListRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/DeleteNamedAccountRequestTest.php b/tests/Lead/Model/DeleteNamedAccountRequestTest.php index 8022b8d5..2210d2be 100644 --- a/tests/Lead/Model/DeleteNamedAccountRequestTest.php +++ b/tests/Lead/Model/DeleteNamedAccountRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/DeleteSalesPersonRequestTest.php b/tests/Lead/Model/DeleteSalesPersonRequestTest.php index d3b9312c..86aa3be4 100644 --- a/tests/Lead/Model/DeleteSalesPersonRequestTest.php +++ b/tests/Lead/Model/DeleteSalesPersonRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ErrorCountTest.php b/tests/Lead/Model/ErrorCountTest.php index 0a05990d..ee215acc 100644 --- a/tests/Lead/Model/ErrorCountTest.php +++ b/tests/Lead/Model/ErrorCountTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ErrorTest.php b/tests/Lead/Model/ErrorTest.php index b55a3b8c..a257754c 100644 --- a/tests/Lead/Model/ErrorTest.php +++ b/tests/Lead/Model/ErrorTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ExportActivityFilterTest.php b/tests/Lead/Model/ExportActivityFilterTest.php index 4bf84b65..d56f8762 100644 --- a/tests/Lead/Model/ExportActivityFilterTest.php +++ b/tests/Lead/Model/ExportActivityFilterTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ExportActivityRequestTest.php b/tests/Lead/Model/ExportActivityRequestTest.php index ea8e1f1d..8164b466 100644 --- a/tests/Lead/Model/ExportActivityRequestTest.php +++ b/tests/Lead/Model/ExportActivityRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ExportLeadFilterTest.php b/tests/Lead/Model/ExportLeadFilterTest.php index 34b6fb23..6fc8215a 100644 --- a/tests/Lead/Model/ExportLeadFilterTest.php +++ b/tests/Lead/Model/ExportLeadFilterTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ExportLeadRequestTest.php b/tests/Lead/Model/ExportLeadRequestTest.php index 72cfcd12..bc053c8d 100644 --- a/tests/Lead/Model/ExportLeadRequestTest.php +++ b/tests/Lead/Model/ExportLeadRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ExportProgramMemberFilterTest.php b/tests/Lead/Model/ExportProgramMemberFilterTest.php index 2256e315..beab947b 100644 --- a/tests/Lead/Model/ExportProgramMemberFilterTest.php +++ b/tests/Lead/Model/ExportProgramMemberFilterTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ExportProgramMemberRequestTest.php b/tests/Lead/Model/ExportProgramMemberRequestTest.php index 590d8a71..a629220d 100644 --- a/tests/Lead/Model/ExportProgramMemberRequestTest.php +++ b/tests/Lead/Model/ExportProgramMemberRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ExportResponseTest.php b/tests/Lead/Model/ExportResponseTest.php index ee6600c6..264a8fdd 100644 --- a/tests/Lead/Model/ExportResponseTest.php +++ b/tests/Lead/Model/ExportResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/FileRangeTest.php b/tests/Lead/Model/FileRangeTest.php index 26d0f7ba..eeccb3d3 100644 --- a/tests/Lead/Model/FileRangeTest.php +++ b/tests/Lead/Model/FileRangeTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ImportCustomObjectResponseTest.php b/tests/Lead/Model/ImportCustomObjectResponseTest.php index ead00535..5a3a2e78 100644 --- a/tests/Lead/Model/ImportCustomObjectResponseTest.php +++ b/tests/Lead/Model/ImportCustomObjectResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ImportLeadResponseTest.php b/tests/Lead/Model/ImportLeadResponseTest.php index b6796b18..56334e54 100644 --- a/tests/Lead/Model/ImportLeadResponseTest.php +++ b/tests/Lead/Model/ImportLeadResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ImportProgramMemberResponseTest.php b/tests/Lead/Model/ImportProgramMemberResponseTest.php index 692ead34..882e5a07 100644 --- a/tests/Lead/Model/ImportProgramMemberResponseTest.php +++ b/tests/Lead/Model/ImportProgramMemberResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/InputLeadTest.php b/tests/Lead/Model/InputLeadTest.php index db3716be..9bf30db2 100644 --- a/tests/Lead/Model/InputLeadTest.php +++ b/tests/Lead/Model/InputLeadTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/InputStreamContentTest.php b/tests/Lead/Model/InputStreamContentTest.php index 2bd9b894..95818a64 100644 --- a/tests/Lead/Model/InputStreamContentTest.php +++ b/tests/Lead/Model/InputStreamContentTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/InputStreamRangeContentTest.php b/tests/Lead/Model/InputStreamRangeContentTest.php index add61e6a..6db15e16 100644 --- a/tests/Lead/Model/InputStreamRangeContentTest.php +++ b/tests/Lead/Model/InputStreamRangeContentTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/InputStreamTest.php b/tests/Lead/Model/InputStreamTest.php index 93b91245..e490f067 100644 --- a/tests/Lead/Model/InputStreamTest.php +++ b/tests/Lead/Model/InputStreamTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/LeadAttribute2FieldsTest.php b/tests/Lead/Model/LeadAttribute2FieldsTest.php index 2c6b3b8b..71b8102c 100644 --- a/tests/Lead/Model/LeadAttribute2FieldsTest.php +++ b/tests/Lead/Model/LeadAttribute2FieldsTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/LeadAttribute2SearchableFieldsTest.php b/tests/Lead/Model/LeadAttribute2SearchableFieldsTest.php deleted file mode 100644 index 1ec3f80a..00000000 --- a/tests/Lead/Model/LeadAttribute2SearchableFieldsTest.php +++ /dev/null @@ -1,55 +0,0 @@ -assertTrue(TRUE); - } -} diff --git a/tests/Lead/Model/LeadAttribute2Test.php b/tests/Lead/Model/LeadAttribute2Test.php index 0cfa00a6..a2a1a983 100644 --- a/tests/Lead/Model/LeadAttribute2Test.php +++ b/tests/Lead/Model/LeadAttribute2Test.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/LeadAttributeTest.php b/tests/Lead/Model/LeadAttributeTest.php index b5ec5eb9..ad4946b2 100644 --- a/tests/Lead/Model/LeadAttributeTest.php +++ b/tests/Lead/Model/LeadAttributeTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/LeadChangeFieldTest.php b/tests/Lead/Model/LeadChangeFieldTest.php index 783d1002..a76b9911 100644 --- a/tests/Lead/Model/LeadChangeFieldTest.php +++ b/tests/Lead/Model/LeadChangeFieldTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/LeadChangeTest.php b/tests/Lead/Model/LeadChangeTest.php index 0867b262..7c77fdf4 100644 --- a/tests/Lead/Model/LeadChangeTest.php +++ b/tests/Lead/Model/LeadChangeTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/LeadInputDataTest.php b/tests/Lead/Model/LeadInputDataTest.php index 32efda23..1de79f99 100644 --- a/tests/Lead/Model/LeadInputDataTest.php +++ b/tests/Lead/Model/LeadInputDataTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/LeadLookupInputDataTest.php b/tests/Lead/Model/LeadLookupInputDataTest.php index 1f07f892..19bce7a8 100644 --- a/tests/Lead/Model/LeadLookupInputDataTest.php +++ b/tests/Lead/Model/LeadLookupInputDataTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/LeadMapAttributeTest.php b/tests/Lead/Model/LeadMapAttributeTest.php index c81b6366..ded44c5b 100644 --- a/tests/Lead/Model/LeadMapAttributeTest.php +++ b/tests/Lead/Model/LeadMapAttributeTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/LeadPartitionTest.php b/tests/Lead/Model/LeadPartitionTest.php index 3bc0242d..dbbce8a0 100644 --- a/tests/Lead/Model/LeadPartitionTest.php +++ b/tests/Lead/Model/LeadPartitionTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/LeadTest.php b/tests/Lead/Model/LeadTest.php index f673e956..0e8e5d8f 100644 --- a/tests/Lead/Model/LeadTest.php +++ b/tests/Lead/Model/LeadTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ListOperationOutputDataTest.php b/tests/Lead/Model/ListOperationOutputDataTest.php index 664ce43f..7bd41356 100644 --- a/tests/Lead/Model/ListOperationOutputDataTest.php +++ b/tests/Lead/Model/ListOperationOutputDataTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ListOperationRequestTest.php b/tests/Lead/Model/ListOperationRequestTest.php index c3a25fe1..b96a2b6f 100644 --- a/tests/Lead/Model/ListOperationRequestTest.php +++ b/tests/Lead/Model/ListOperationRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/LookupCustomObjectRequestTest.php b/tests/Lead/Model/LookupCustomObjectRequestTest.php index 5dca4a5b..4d51004e 100644 --- a/tests/Lead/Model/LookupCustomObjectRequestTest.php +++ b/tests/Lead/Model/LookupCustomObjectRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ModelEmptyTest.php b/tests/Lead/Model/ModelEmptyTest.php index 311c8ad6..114b6478 100644 --- a/tests/Lead/Model/ModelEmptyTest.php +++ b/tests/Lead/Model/ModelEmptyTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ModelListTest.php b/tests/Lead/Model/ModelListTest.php index 47ad2bd6..dc5bb1f3 100644 --- a/tests/Lead/Model/ModelListTest.php +++ b/tests/Lead/Model/ModelListTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/NamedAccountListTest.php b/tests/Lead/Model/NamedAccountListTest.php index e77a54e5..0da2d8b9 100644 --- a/tests/Lead/Model/NamedAccountListTest.php +++ b/tests/Lead/Model/NamedAccountListTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/NamedAccountTest.php b/tests/Lead/Model/NamedAccountTest.php index 90250b72..6d204717 100644 --- a/tests/Lead/Model/NamedAccountTest.php +++ b/tests/Lead/Model/NamedAccountTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ObjectFieldTest.php b/tests/Lead/Model/ObjectFieldTest.php index fcff362e..ff89182a 100644 --- a/tests/Lead/Model/ObjectFieldTest.php +++ b/tests/Lead/Model/ObjectFieldTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ObjectLinkableObjectFieldTest.php b/tests/Lead/Model/ObjectLinkableObjectFieldTest.php index 934a16ac..23ef2df7 100644 --- a/tests/Lead/Model/ObjectLinkableObjectFieldTest.php +++ b/tests/Lead/Model/ObjectLinkableObjectFieldTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ObjectLinkableObjectTest.php b/tests/Lead/Model/ObjectLinkableObjectTest.php index 71099a97..55ebe651 100644 --- a/tests/Lead/Model/ObjectLinkableObjectTest.php +++ b/tests/Lead/Model/ObjectLinkableObjectTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ObjectMetaDataTest.php b/tests/Lead/Model/ObjectMetaDataTest.php index f0a71f42..6d20eb92 100644 --- a/tests/Lead/Model/ObjectMetaDataTest.php +++ b/tests/Lead/Model/ObjectMetaDataTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ObjectRelationTest.php b/tests/Lead/Model/ObjectRelationTest.php index cce633b4..2d8c8a73 100644 --- a/tests/Lead/Model/ObjectRelationTest.php +++ b/tests/Lead/Model/ObjectRelationTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ObservableOfInputStreamContentTest.php b/tests/Lead/Model/ObservableOfInputStreamContentTest.php index 145875fc..530d0db8 100644 --- a/tests/Lead/Model/ObservableOfInputStreamContentTest.php +++ b/tests/Lead/Model/ObservableOfInputStreamContentTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ObservableOfInputStreamRangeContentTest.php b/tests/Lead/Model/ObservableOfInputStreamRangeContentTest.php index ea0cce7a..73b71d60 100644 --- a/tests/Lead/Model/ObservableOfInputStreamRangeContentTest.php +++ b/tests/Lead/Model/ObservableOfInputStreamRangeContentTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ProgramMemberAttributeTest.php b/tests/Lead/Model/ProgramMemberAttributeTest.php index 40133d4a..e48ffbb8 100644 --- a/tests/Lead/Model/ProgramMemberAttributeTest.php +++ b/tests/Lead/Model/ProgramMemberAttributeTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ProgramMembershipTest.php b/tests/Lead/Model/ProgramMembershipTest.php index e3025c51..f6c286bf 100644 --- a/tests/Lead/Model/ProgramMembershipTest.php +++ b/tests/Lead/Model/ProgramMembershipTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ProgramTest.php b/tests/Lead/Model/ProgramTest.php index 9d496ed8..a701b601 100644 --- a/tests/Lead/Model/ProgramTest.php +++ b/tests/Lead/Model/ProgramTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/PushLeadToMarketoRequestTest.php b/tests/Lead/Model/PushLeadToMarketoRequestTest.php index b44cb1a5..8e5551db 100644 --- a/tests/Lead/Model/PushLeadToMarketoRequestTest.php +++ b/tests/Lead/Model/PushLeadToMarketoRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ReasonTest.php b/tests/Lead/Model/ReasonTest.php index 8025faa8..a07ddc68 100644 --- a/tests/Lead/Model/ReasonTest.php +++ b/tests/Lead/Model/ReasonTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/RelatedObjectTest.php b/tests/Lead/Model/RelatedObjectTest.php index d28e03a9..ce4df18c 100644 --- a/tests/Lead/Model/RelatedObjectTest.php +++ b/tests/Lead/Model/RelatedObjectTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/RemoveNamedAccountListMemberRequestTest.php b/tests/Lead/Model/RemoveNamedAccountListMemberRequestTest.php index 00be46ad..e8e86da4 100644 --- a/tests/Lead/Model/RemoveNamedAccountListMemberRequestTest.php +++ b/tests/Lead/Model/RemoveNamedAccountListMemberRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfActivityTest.php b/tests/Lead/Model/ResponseOfActivityTest.php index fea5f8e5..8e82f078 100644 --- a/tests/Lead/Model/ResponseOfActivityTest.php +++ b/tests/Lead/Model/ResponseOfActivityTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfActivityTypeTest.php b/tests/Lead/Model/ResponseOfActivityTypeTest.php index b0cada9b..35eed581 100644 --- a/tests/Lead/Model/ResponseOfActivityTypeTest.php +++ b/tests/Lead/Model/ResponseOfActivityTypeTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfCampaignTest.php b/tests/Lead/Model/ResponseOfCampaignTest.php index aff48f71..d815946e 100644 --- a/tests/Lead/Model/ResponseOfCampaignTest.php +++ b/tests/Lead/Model/ResponseOfCampaignTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfChangeLeadProgramStatusOutputDataTest.php b/tests/Lead/Model/ResponseOfChangeLeadProgramStatusOutputDataTest.php index 2e194835..aa330097 100644 --- a/tests/Lead/Model/ResponseOfChangeLeadProgramStatusOutputDataTest.php +++ b/tests/Lead/Model/ResponseOfChangeLeadProgramStatusOutputDataTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfCompanyTest.php b/tests/Lead/Model/ResponseOfCompanyTest.php index 00e6424f..2537f9d6 100644 --- a/tests/Lead/Model/ResponseOfCompanyTest.php +++ b/tests/Lead/Model/ResponseOfCompanyTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfCustomActivityTest.php b/tests/Lead/Model/ResponseOfCustomActivityTest.php index fecdd617..9c2ebb25 100644 --- a/tests/Lead/Model/ResponseOfCustomActivityTest.php +++ b/tests/Lead/Model/ResponseOfCustomActivityTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfCustomActivityTypeTest.php b/tests/Lead/Model/ResponseOfCustomActivityTypeTest.php index e309d125..41e89c8c 100644 --- a/tests/Lead/Model/ResponseOfCustomActivityTypeTest.php +++ b/tests/Lead/Model/ResponseOfCustomActivityTypeTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfCustomObjectTest.php b/tests/Lead/Model/ResponseOfCustomObjectTest.php index 68721f82..87ba7e82 100644 --- a/tests/Lead/Model/ResponseOfCustomObjectTest.php +++ b/tests/Lead/Model/ResponseOfCustomObjectTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfCustomObjectTypeFieldDataTypesTest.php b/tests/Lead/Model/ResponseOfCustomObjectTypeFieldDataTypesTest.php index d0825aa0..bdeb6a95 100644 --- a/tests/Lead/Model/ResponseOfCustomObjectTypeFieldDataTypesTest.php +++ b/tests/Lead/Model/ResponseOfCustomObjectTypeFieldDataTypesTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfCustomObjectTypeTest.php b/tests/Lead/Model/ResponseOfCustomObjectTypeTest.php index 26922813..1a7eb0f2 100644 --- a/tests/Lead/Model/ResponseOfCustomObjectTypeTest.php +++ b/tests/Lead/Model/ResponseOfCustomObjectTypeTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfExportResponseTest.php b/tests/Lead/Model/ResponseOfExportResponseTest.php index 48732645..1166c436 100644 --- a/tests/Lead/Model/ResponseOfExportResponseTest.php +++ b/tests/Lead/Model/ResponseOfExportResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfExportResponseWithTokenTest.php b/tests/Lead/Model/ResponseOfExportResponseWithTokenTest.php index 74ec48c6..68027983 100644 --- a/tests/Lead/Model/ResponseOfExportResponseWithTokenTest.php +++ b/tests/Lead/Model/ResponseOfExportResponseWithTokenTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfImportCustomObjectResponseTest.php b/tests/Lead/Model/ResponseOfImportCustomObjectResponseTest.php index 31cde6a0..d2d71d2b 100644 --- a/tests/Lead/Model/ResponseOfImportCustomObjectResponseTest.php +++ b/tests/Lead/Model/ResponseOfImportCustomObjectResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfImportLeadResponseTest.php b/tests/Lead/Model/ResponseOfImportLeadResponseTest.php index dd881f1d..a8f90efb 100644 --- a/tests/Lead/Model/ResponseOfImportLeadResponseTest.php +++ b/tests/Lead/Model/ResponseOfImportLeadResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfImportProgramMemberResponseTest.php b/tests/Lead/Model/ResponseOfImportProgramMemberResponseTest.php index 13701672..f1177a08 100644 --- a/tests/Lead/Model/ResponseOfImportProgramMemberResponseTest.php +++ b/tests/Lead/Model/ResponseOfImportProgramMemberResponseTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfLeadAttribute2Test.php b/tests/Lead/Model/ResponseOfLeadAttribute2Test.php index 2111a5d8..9368117f 100644 --- a/tests/Lead/Model/ResponseOfLeadAttribute2Test.php +++ b/tests/Lead/Model/ResponseOfLeadAttribute2Test.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfLeadAttributeTest.php b/tests/Lead/Model/ResponseOfLeadAttributeTest.php index 7002f629..0661e110 100644 --- a/tests/Lead/Model/ResponseOfLeadAttributeTest.php +++ b/tests/Lead/Model/ResponseOfLeadAttributeTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfLeadChangeTest.php b/tests/Lead/Model/ResponseOfLeadChangeTest.php index 2827e8b6..05dc8e45 100644 --- a/tests/Lead/Model/ResponseOfLeadChangeTest.php +++ b/tests/Lead/Model/ResponseOfLeadChangeTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfLeadPartitionTest.php b/tests/Lead/Model/ResponseOfLeadPartitionTest.php index 47d28b5f..31b085d2 100644 --- a/tests/Lead/Model/ResponseOfLeadPartitionTest.php +++ b/tests/Lead/Model/ResponseOfLeadPartitionTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfLeadTest.php b/tests/Lead/Model/ResponseOfLeadTest.php index cf9641c7..5ce89465 100644 --- a/tests/Lead/Model/ResponseOfLeadTest.php +++ b/tests/Lead/Model/ResponseOfLeadTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfListOperationOutputDataTest.php b/tests/Lead/Model/ResponseOfListOperationOutputDataTest.php index e1d9d893..aef36aef 100644 --- a/tests/Lead/Model/ResponseOfListOperationOutputDataTest.php +++ b/tests/Lead/Model/ResponseOfListOperationOutputDataTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfListsTest.php b/tests/Lead/Model/ResponseOfListsTest.php index f58e9e4c..73eb73ac 100644 --- a/tests/Lead/Model/ResponseOfListsTest.php +++ b/tests/Lead/Model/ResponseOfListsTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfNamedAccountListTest.php b/tests/Lead/Model/ResponseOfNamedAccountListTest.php index 5d81c443..57691fed 100644 --- a/tests/Lead/Model/ResponseOfNamedAccountListTest.php +++ b/tests/Lead/Model/ResponseOfNamedAccountListTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfNamedAccountTest.php b/tests/Lead/Model/ResponseOfNamedAccountTest.php index ee586980..cca3c3cb 100644 --- a/tests/Lead/Model/ResponseOfNamedAccountTest.php +++ b/tests/Lead/Model/ResponseOfNamedAccountTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfObjectLinkableObjectTest.php b/tests/Lead/Model/ResponseOfObjectLinkableObjectTest.php index b1f5c89d..addf4c76 100644 --- a/tests/Lead/Model/ResponseOfObjectLinkableObjectTest.php +++ b/tests/Lead/Model/ResponseOfObjectLinkableObjectTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfObjectMetaDataTest.php b/tests/Lead/Model/ResponseOfObjectMetaDataTest.php index 8b75d839..61d57655 100644 --- a/tests/Lead/Model/ResponseOfObjectMetaDataTest.php +++ b/tests/Lead/Model/ResponseOfObjectMetaDataTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfProgramMemberAttributesTest.php b/tests/Lead/Model/ResponseOfProgramMemberAttributesTest.php index cd639395..6a54aa07 100644 --- a/tests/Lead/Model/ResponseOfProgramMemberAttributesTest.php +++ b/tests/Lead/Model/ResponseOfProgramMemberAttributesTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfProgramsTest.php b/tests/Lead/Model/ResponseOfProgramsTest.php index f7ecd85b..76b4d4e8 100644 --- a/tests/Lead/Model/ResponseOfProgramsTest.php +++ b/tests/Lead/Model/ResponseOfProgramsTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfPushLeadToMarketoTest.php b/tests/Lead/Model/ResponseOfPushLeadToMarketoTest.php index 5d1224f6..69af55d4 100644 --- a/tests/Lead/Model/ResponseOfPushLeadToMarketoTest.php +++ b/tests/Lead/Model/ResponseOfPushLeadToMarketoTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfSalesPersonTest.php b/tests/Lead/Model/ResponseOfSalesPersonTest.php index 73883fae..57384c18 100644 --- a/tests/Lead/Model/ResponseOfSalesPersonTest.php +++ b/tests/Lead/Model/ResponseOfSalesPersonTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfSmartCampaignsTest.php b/tests/Lead/Model/ResponseOfSmartCampaignsTest.php index 27b90fd3..1724f9e0 100644 --- a/tests/Lead/Model/ResponseOfSmartCampaignsTest.php +++ b/tests/Lead/Model/ResponseOfSmartCampaignsTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfStaticListTest.php b/tests/Lead/Model/ResponseOfStaticListTest.php index c0e06670..165db5b2 100644 --- a/tests/Lead/Model/ResponseOfStaticListTest.php +++ b/tests/Lead/Model/ResponseOfStaticListTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfUsageDataTest.php b/tests/Lead/Model/ResponseOfUsageDataTest.php index 74f035a2..54a7c19f 100644 --- a/tests/Lead/Model/ResponseOfUsageDataTest.php +++ b/tests/Lead/Model/ResponseOfUsageDataTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseOfVoidTest.php b/tests/Lead/Model/ResponseOfVoidTest.php index 78cc42ad..3cac82f8 100644 --- a/tests/Lead/Model/ResponseOfVoidTest.php +++ b/tests/Lead/Model/ResponseOfVoidTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ResponseWithoutResultTest.php b/tests/Lead/Model/ResponseWithoutResultTest.php index cf0d073e..7cf28b77 100644 --- a/tests/Lead/Model/ResponseWithoutResultTest.php +++ b/tests/Lead/Model/ResponseWithoutResultTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/SalesPersonTest.php b/tests/Lead/Model/SalesPersonTest.php index c1c717e8..c64b1276 100644 --- a/tests/Lead/Model/SalesPersonTest.php +++ b/tests/Lead/Model/SalesPersonTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ScheduleCampaignDataTest.php b/tests/Lead/Model/ScheduleCampaignDataTest.php index c9a435ea..a705f3a7 100644 --- a/tests/Lead/Model/ScheduleCampaignDataTest.php +++ b/tests/Lead/Model/ScheduleCampaignDataTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/ScheduleCampaignRequestTest.php b/tests/Lead/Model/ScheduleCampaignRequestTest.php index d71c3866..089a275a 100644 --- a/tests/Lead/Model/ScheduleCampaignRequestTest.php +++ b/tests/Lead/Model/ScheduleCampaignRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/SmartCampaignTest.php b/tests/Lead/Model/SmartCampaignTest.php index 3a7a9c78..3637639c 100644 --- a/tests/Lead/Model/SmartCampaignTest.php +++ b/tests/Lead/Model/SmartCampaignTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/StaticListTest.php b/tests/Lead/Model/StaticListTest.php index 739c4c46..c9d33d08 100644 --- a/tests/Lead/Model/StaticListTest.php +++ b/tests/Lead/Model/StaticListTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/SyncCompanyRequestTest.php b/tests/Lead/Model/SyncCompanyRequestTest.php index 01daa677..8fa0b5de 100644 --- a/tests/Lead/Model/SyncCompanyRequestTest.php +++ b/tests/Lead/Model/SyncCompanyRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/SyncCustomObjectRequestTest.php b/tests/Lead/Model/SyncCustomObjectRequestTest.php index 750ff237..298b2042 100644 --- a/tests/Lead/Model/SyncCustomObjectRequestTest.php +++ b/tests/Lead/Model/SyncCustomObjectRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/SyncCustomObjectTypeRequestTest.php b/tests/Lead/Model/SyncCustomObjectTypeRequestTest.php index 0df13ce6..7219e518 100644 --- a/tests/Lead/Model/SyncCustomObjectTypeRequestTest.php +++ b/tests/Lead/Model/SyncCustomObjectTypeRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/SyncLeadRequestTest.php b/tests/Lead/Model/SyncLeadRequestTest.php index 63b47db7..578dac57 100644 --- a/tests/Lead/Model/SyncLeadRequestTest.php +++ b/tests/Lead/Model/SyncLeadRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/SyncNamedAccountListRequestTest.php b/tests/Lead/Model/SyncNamedAccountListRequestTest.php index 94964d9f..cb83d545 100644 --- a/tests/Lead/Model/SyncNamedAccountListRequestTest.php +++ b/tests/Lead/Model/SyncNamedAccountListRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/SyncNamedAccountRequestTest.php b/tests/Lead/Model/SyncNamedAccountRequestTest.php index 2a89bef6..115f5d50 100644 --- a/tests/Lead/Model/SyncNamedAccountRequestTest.php +++ b/tests/Lead/Model/SyncNamedAccountRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/SyncSalesPersonRequestTest.php b/tests/Lead/Model/SyncSalesPersonRequestTest.php index 2aca9245..2e1ca730 100644 --- a/tests/Lead/Model/SyncSalesPersonRequestTest.php +++ b/tests/Lead/Model/SyncSalesPersonRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/TokenTest.php b/tests/Lead/Model/TokenTest.php index 39800688..297d6746 100644 --- a/tests/Lead/Model/TokenTest.php +++ b/tests/Lead/Model/TokenTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/TriggerCampaignDataTest.php b/tests/Lead/Model/TriggerCampaignDataTest.php index 25d9ad3c..4c880260 100644 --- a/tests/Lead/Model/TriggerCampaignDataTest.php +++ b/tests/Lead/Model/TriggerCampaignDataTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/TriggerCampaignRequestTest.php b/tests/Lead/Model/TriggerCampaignRequestTest.php index f6d538f6..08fc8dd4 100644 --- a/tests/Lead/Model/TriggerCampaignRequestTest.php +++ b/tests/Lead/Model/TriggerCampaignRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/UpdateCustomObjectTypeFieldRequestTest.php b/tests/Lead/Model/UpdateCustomObjectTypeFieldRequestTest.php index 4156c3ae..e163b081 100644 --- a/tests/Lead/Model/UpdateCustomObjectTypeFieldRequestTest.php +++ b/tests/Lead/Model/UpdateCustomObjectTypeFieldRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/UpdateLeadPartitionRequestTest.php b/tests/Lead/Model/UpdateLeadPartitionRequestTest.php index 7b3d36fc..820116fe 100644 --- a/tests/Lead/Model/UpdateLeadPartitionRequestTest.php +++ b/tests/Lead/Model/UpdateLeadPartitionRequestTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/UpdateLeadPartitionTest.php b/tests/Lead/Model/UpdateLeadPartitionTest.php index 84f30ed5..a6638498 100644 --- a/tests/Lead/Model/UpdateLeadPartitionTest.php +++ b/tests/Lead/Model/UpdateLeadPartitionTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/UsageDataTest.php b/tests/Lead/Model/UsageDataTest.php index ef93b747..0d7fbf27 100644 --- a/tests/Lead/Model/UsageDataTest.php +++ b/tests/Lead/Model/UsageDataTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/UserCountTest.php b/tests/Lead/Model/UserCountTest.php index 03801ead..aca4a323 100644 --- a/tests/Lead/Model/UserCountTest.php +++ b/tests/Lead/Model/UserCountTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /** diff --git a/tests/Lead/Model/WarningTest.php b/tests/Lead/Model/WarningTest.php index e341ddcb..fbfcf955 100644 --- a/tests/Lead/Model/WarningTest.php +++ b/tests/Lead/Model/WarningTest.php @@ -18,7 +18,7 @@ * OpenAPI spec version: 1.0 * Contact: developerfeedback@marketo.com * Generated by: https://github.com/swagger-api/swagger-codegen.git - * Swagger Codegen version: 2.4.14 + * Swagger Codegen version: 3.3.4 */ /**