Skip to content

Commit

Permalink
Update generated code
Browse files Browse the repository at this point in the history
  • Loading branch information
neclimdul committed Jun 4, 2020
1 parent 724b2f0 commit e1954cb
Show file tree
Hide file tree
Showing 21 changed files with 1,489 additions and 348 deletions.
52 changes: 0 additions & 52 deletions docs/Asset/Api/LandingPageTemplatesApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ Method | HTTP request | Description
[**getLandingPageTemplateContentUsingGET**](LandingPageTemplatesApi.md#getLandingPageTemplateContentUsingGET) | **GET** /rest/asset/v1/landingPageTemplate/{id}/content.json | Get Landing Page Template Content
[**getLandingPageTemplatesUsingGET**](LandingPageTemplatesApi.md#getLandingPageTemplatesUsingGET) | **GET** /rest/asset/v1/landingPageTemplates.json | Get Landing Page Templates
[**unapproveLandingPageTemplateUsingPOST**](LandingPageTemplatesApi.md#unapproveLandingPageTemplateUsingPOST) | **POST** /rest/asset/v1/landingPageTemplate/{id}/unapprove.json | Unapprove Landing Page Template
[**updateLandingPageTemplateContentUsingPOST**](LandingPageTemplatesApi.md#updateLandingPageTemplateContentUsingPOST) | **POST** /rest/asset/v1/landingPageTemplate/{id}/content | Update Landing Page Template Content
[**updateLpTemplateUsingPOST**](LandingPageTemplatesApi.md#updateLpTemplateUsingPOST) | **POST** /rest/asset/v1/landingPageTemplate/{id}.json | Update Landing Page Template Metadata


Expand Down Expand Up @@ -520,57 +519,6 @@ 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)

# **updateLandingPageTemplateContentUsingPOST**
> \NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse updateLandingPageTemplateContentUsingPOST($id, $content)
Update Landing Page Template Content

Updates the content for the target landing page template. This update is destructive for the draft version of the template. Required Permissions: Read-Write Assets

### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$apiInstance = new NecLimDul\MarketoRest\Asset\Api\LandingPageTemplatesApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$id = 56; // int | id
$content = "content_example"; // string | content

try {
$result = $apiInstance->updateLandingPageTemplateContentUsingPOST($id, $content);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LandingPageTemplatesApi->updateLandingPageTemplateContentUsingPOST: ', $e->getMessage(), PHP_EOL;
}
?>
```

### Parameters

Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**id** | **int**| id |
**content** | **string**| content |

### Return type

[**\NecLimDul\MarketoRest\Asset\Model\ResponseOfIdResponse**](../Model/ResponseOfIdResponse.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: multipart/form-data
- **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)
Expand Down
1 change: 1 addition & 0 deletions docs/Asset/Model/EmailResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Name | Type | Description | Notes
**web_view** | **bool** | Whether &#39;View as Webpage&#39; function is enabled for the email |
**workspace** | **string** | Name of the workspace | [optional]
**auto_copy_to_text** | **bool** | Setting to automatically copy HTML version to Text version |
**pre_header** | **string** | The email preheader text |
**cc_fields** | [**\NecLimDul\MarketoRest\Asset\Model\EmailResponseCCFields[]**](EmailResponseCCFields.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)
Expand Down
1 change: 1 addition & 0 deletions docs/Asset/Model/SmartCampaignResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ Name | Type | Description | Notes
**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 |
**computed_url** | **string** | URL to asset in Marketo Engage | [optional]
**status** | **string** | Status of 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)
Expand Down
1 change: 1 addition & 0 deletions docs/Asset/Model/UpdateEmailMetaDataRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**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]
Expand Down
46 changes: 46 additions & 0 deletions docs/Lead/Api/LeadsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Method | HTTP request | Description
[**associateLeadUsingPOST**](LeadsApi.md#associateLeadUsingPOST) | **POST** /rest/v1/leads/{leadId}/associate.json | Associate Lead
[**changeLeadProgramStatusUsingPOST**](LeadsApi.md#changeLeadProgramStatusUsingPOST) | **POST** /rest/v1/leads/programs/{programId}/status.json | Change Lead Program Status
[**deleteLeadsUsingPOST**](LeadsApi.md#deleteLeadsUsingPOST) | **POST** /rest/v1/leads/delete.json | Delete Leads
[**describeProgramMemberUsingGET**](LeadsApi.md#describeProgramMemberUsingGET) | **GET** /rest/v1/program/members/describe.json | Describe Program Member
[**describeUsingGET2**](LeadsApi.md#describeUsingGET2) | **GET** /rest/v1/leads/describe.json | Describe Lead
[**describeUsingGET6**](LeadsApi.md#describeUsingGET6) | **GET** /rest/v1/leads/describe2.json | Describe Lead2
[**getLeadByIdUsingGET**](LeadsApi.md#getLeadByIdUsingGET) | **GET** /rest/v1/lead/{leadId}.json | Get Lead by Id
Expand Down Expand Up @@ -175,6 +176,51 @@ 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)

# **describeProgramMemberUsingGET**
> \NecLimDul\MarketoRest\Lead\Model\ResponseOfProgramMemberAttributes describeProgramMemberUsingGET()
Describe Program Member

Returns metadata about program member objects in the target instance, including a list of all fields available for interaction via the APIs. Required Permissions: Read-Only Lead, Read-Write Lead

### Example
```php
<?php
require_once(__DIR__ . '/vendor/autoload.php');

$apiInstance = new NecLimDul\MarketoRest\Lead\Api\LeadsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);

try {
$result = $apiInstance->describeProgramMemberUsingGET();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling LeadsApi->describeProgramMemberUsingGET: ', $e->getMessage(), PHP_EOL;
}
?>
```

### Parameters
This endpoint does not need any parameter.

### Return type

[**\NecLimDul\MarketoRest\Lead\Model\ResponseOfProgramMemberAttributes**](../Model/ResponseOfProgramMemberAttributes.md)

### Authorization

No authorization required

### HTTP request headers

- **Content-Type**: application/json
- **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)

# **describeUsingGET2**
> \NecLimDul\MarketoRest\Lead\Model\ResponseOfLeadAttribute describeUsingGET2()
Expand Down
11 changes: 11 additions & 0 deletions docs/Lead/Model/ProgramMemberAttribute.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# ProgramMemberAttribute

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**name** | **string** | \&quot;API Program Member\&quot; | [optional]
**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)


16 changes: 16 additions & 0 deletions docs/Lead/Model/ResponseOfProgramMemberAttributes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# ResponseOfProgramMemberAttributes

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**errors** | [**\NecLimDul\MarketoRest\Lead\Model\Error[]**](Error.md) | Array of errors that occurred if the request was unsuccessful |
**more_result** | **bool** | Boolean indicating if there are more results in subsequent pages | [optional]
**next_page_token** | **string** | Paging token given if the result set exceeded the allowed batch size | [optional]
**request_id** | **string** | Id of the request made |
**result** | [**\NecLimDul\MarketoRest\Lead\Model\ProgramMemberAttribute[]**](ProgramMemberAttribute.md) | Array of results for individual records in the operation, may be empty |
**success** | **bool** | Whether the request succeeded |
**warnings** | [**\NecLimDul\MarketoRest\Lead\Model\Warning[]**](Warning.md) | Array of warnings given for the operation |

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


Loading

0 comments on commit e1954cb

Please sign in to comment.