From 83de1a98e4a86f2133d7f18eeca215fe6aeef4d1 Mon Sep 17 00:00:00 2001 From: Travis CI User Date: Thu, 5 Dec 2019 14:35:28 +0000 Subject: [PATCH] Auto-update --- docs/CampaignApi.md | 58 ++++++ docs/GetAllCampaignsResponse.md | 12 ++ src/Salesforce.MarketingCloud/Api/AssetApi.cs | 2 +- .../Api/CampaignApi.cs | 159 +++++++++++++++- .../Api/TransactionalMessagingApi.cs | 2 +- .../Client/ApiClient.cs | 2 +- .../Client/ApiException.cs | 2 +- .../Client/ApiResponse.cs | 2 +- .../Client/Configuration.cs | 8 +- .../Client/ExceptionFactory.cs | 2 +- .../Client/GlobalConfiguration.cs | 2 +- .../Client/IApiAccessor.cs | 2 +- .../Client/IReadableConfiguration.cs | 2 +- .../Client/SwaggerDateConverter.cs | 2 +- .../Model/ApiError.cs | 2 +- src/Salesforce.MarketingCloud/Model/Asset.cs | 2 +- .../Model/AssetType.cs | 2 +- .../Model/Attributes.cs | 2 +- .../Model/Campaign.cs | 2 +- ...QueuedMessagesForSendDefinitionResponse.cs | 2 +- .../Model/DeleteSendDefinitionResponse.cs | 2 +- .../Model/EmailDefinition.cs | 2 +- .../Model/EmailDefinitionContent.cs | 2 +- .../Model/EmailDefinitionOptions.cs | 2 +- .../Model/EmailDefinitionSubscriptions.cs | 2 +- .../Model/GetAllCampaignsResponse.cs | 175 ++++++++++++++++++ ...efinitionSendStatusForRecipientResponse.cs | 2 +- ...itionSendStatusForRecipientResponseInfo.cs | 2 +- ...etDefinitionsNotSentToRecipientsMessage.cs | 2 +- ...finitionsNotSentToRecipientsMessageInfo.cs | 2 +- ...tDefinitionsNotSentToRecipientsResponse.cs | 2 +- .../Model/GetEmailDefinitionsResponse.cs | 2 +- ...etQueueMetricsForSendDefinitionResponse.cs | 2 +- .../Model/GetSmsDefinitionsResponse.cs | 2 +- .../Model/Recipient.cs | 2 +- .../Model/SendDefinitionResponseItem.cs | 2 +- ...dDefinitionToMultipleRecipientsResponse.cs | 2 +- ...SendDefinitionToSingleRecipientResponse.cs | 2 +- .../SendEmailToMultipleRecipientsRequest.cs | 2 +- .../SendEmailToSingleRecipientRequest.cs | 2 +- .../Model/SendSmsContentRequest.cs | 2 +- .../SendSmsToMultipleRecipientsRequest.cs | 2 +- ...oMultipleRecipientsSubscriptionsRequest.cs | 2 +- .../Model/SendSmsToSingleRecipientRequest.cs | 2 +- .../Model/SharingProperties.cs | 2 +- .../Model/SmsDefinition.cs | 2 +- .../Model/SmsDefinitionContent.cs | 2 +- .../Model/SmsDefinitionSubscriptions.cs | 2 +- .../Model/UpdateEmailDefinitionRequest.cs | 2 +- .../Model/UpdateSmsDefinitionRequest.cs | 2 +- .../Salesforce.MarketingCloud.csproj | 12 +- 51 files changed, 454 insertions(+), 60 deletions(-) create mode 100644 docs/GetAllCampaignsResponse.md create mode 100644 src/Salesforce.MarketingCloud/Model/GetAllCampaignsResponse.cs diff --git a/docs/CampaignApi.md b/docs/CampaignApi.md index 8f1d07d..c4bce0a 100644 --- a/docs/CampaignApi.md +++ b/docs/CampaignApi.md @@ -6,6 +6,7 @@ Method | HTTP request | Description ------------- | ------------- | ------------- [**CreateCampaign**](CampaignApi.md#createcampaign) | **POST** /hub/v1/campaigns | createCampaign [**DeleteCampaignById**](CampaignApi.md#deletecampaignbyid) | **DELETE** /hub/v1/campaigns/{id} | deleteCampaignById +[**GetAllCampaigns**](CampaignApi.md#getallcampaigns) | **GET** /hub/v1/campaigns | getAllCampaigns [**GetCampaignById**](CampaignApi.md#getcampaignbyid) | **GET** /hub/v1/campaigns/{id} | getCampaignById @@ -130,6 +131,63 @@ 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) + +# **GetAllCampaigns** +> GetAllCampaignsResponse GetAllCampaigns () + +getAllCampaigns + +Gets all campaigns. + +### Example +```csharp +using System; +using System.Diagnostics; +using Salesforce.MarketingCloud.Api; +using Salesforce.MarketingCloud.Client; +using Salesforce.MarketingCloud.Model; + +namespace Example +{ + public class GetAllCampaignsExample + { + public void main() + { + var apiInstance = new CampaignApi(); + + try + { + // getAllCampaigns + GetAllCampaignsResponse result = apiInstance.GetAllCampaigns(); + Debug.WriteLine(result); + } + catch (Exception e) + { + Debug.Print("Exception when calling CampaignApi.GetAllCampaigns: " + e.Message ); + } + } + } +} +``` + +### Parameters +This endpoint does not need any parameter. + +### Return type + +[**GetAllCampaignsResponse**](GetAllCampaignsResponse.md) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: Not defined + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **GetCampaignById** > Campaign GetCampaignById (string id) diff --git a/docs/GetAllCampaignsResponse.md b/docs/GetAllCampaignsResponse.md new file mode 100644 index 0000000..94b8644 --- /dev/null +++ b/docs/GetAllCampaignsResponse.md @@ -0,0 +1,12 @@ +# Salesforce.MarketingCloud.Model.GetAllCampaignsResponse +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Items** | [**List<Campaign>**](Campaign.md) | | [optional] +**Count** | **int?** | Number of pages | [optional] +**Page** | **int?** | Page number to return. | [optional] +**PageSize** | **int?** | Number of campaigns, which are array elements, to return per paged response. | [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/Salesforce.MarketingCloud/Api/AssetApi.cs b/src/Salesforce.MarketingCloud/Api/AssetApi.cs index d62317b..d926f34 100644 --- a/src/Salesforce.MarketingCloud/Api/AssetApi.cs +++ b/src/Salesforce.MarketingCloud/Api/AssetApi.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Api/CampaignApi.cs b/src/Salesforce.MarketingCloud/Api/CampaignApi.cs index ccb963c..d8db393 100644 --- a/src/Salesforce.MarketingCloud/Api/CampaignApi.cs +++ b/src/Salesforce.MarketingCloud/Api/CampaignApi.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ @@ -69,6 +69,25 @@ public interface ICampaignApi /// ApiResponse of Object(void) ApiResponse DeleteCampaignByIdWithHttpInfo (string id); /// + /// getAllCampaigns + /// + /// + /// Gets all campaigns. + /// + /// Thrown when fails to make API call + /// GetAllCampaignsResponse + GetAllCampaignsResponse GetAllCampaigns (); + + /// + /// getAllCampaigns + /// + /// + /// Gets all campaigns. + /// + /// Thrown when fails to make API call + /// ApiResponse of GetAllCampaignsResponse + ApiResponse GetAllCampaignsWithHttpInfo (); + /// /// getCampaignById /// /// @@ -134,6 +153,25 @@ public interface ICampaignApi /// Task of ApiResponse System.Threading.Tasks.Task> DeleteCampaignByIdAsyncWithHttpInfo (string id); /// + /// getAllCampaigns + /// + /// + /// Gets all campaigns. + /// + /// Thrown when fails to make API call + /// Task of GetAllCampaignsResponse + System.Threading.Tasks.Task GetAllCampaignsAsync (); + + /// + /// getAllCampaigns + /// + /// + /// Gets all campaigns. + /// + /// Thrown when fails to make API call + /// Task of ApiResponse (GetAllCampaignsResponse) + System.Threading.Tasks.Task> GetAllCampaignsAsyncWithHttpInfo (); + /// /// getCampaignById /// /// @@ -445,6 +483,125 @@ public async System.Threading.Tasks.Task> DeleteCampaignById null); } + /// + /// getAllCampaigns Gets all campaigns. + /// + /// Thrown when fails to make API call + /// GetAllCampaignsResponse + public GetAllCampaignsResponse GetAllCampaigns () + { + ApiResponse localVarResponse = GetAllCampaignsWithHttpInfo(); + return localVarResponse.Data; + } + + /// + /// getAllCampaigns Gets all campaigns. + /// + /// Thrown when fails to make API call + /// ApiResponse of GetAllCampaignsResponse + public ApiResponse< GetAllCampaignsResponse > GetAllCampaignsWithHttpInfo () + { + + var localVarPath = "/hub/v1/campaigns"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + + + // make the HTTP request + IRestResponse localVarResponse = (IRestResponse) this.Configuration.ApiClient.CallApi(localVarPath, + Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("GetAllCampaigns", localVarResponse); + if (exception != null) throw exception; + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + (GetAllCampaignsResponse) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(GetAllCampaignsResponse))); + } + + /// + /// getAllCampaigns Gets all campaigns. + /// + /// Thrown when fails to make API call + /// Task of GetAllCampaignsResponse + public async System.Threading.Tasks.Task GetAllCampaignsAsync () + { + ApiResponse localVarResponse = await GetAllCampaignsAsyncWithHttpInfo(); + return localVarResponse.Data; + + } + + /// + /// getAllCampaigns Gets all campaigns. + /// + /// Thrown when fails to make API call + /// Task of ApiResponse (GetAllCampaignsResponse) + public async System.Threading.Tasks.Task> GetAllCampaignsAsyncWithHttpInfo () + { + + var localVarPath = "/hub/v1/campaigns"; + var localVarPathParams = new Dictionary(); + var localVarQueryParams = new List>(); + var localVarHeaderParams = new Dictionary(this.Configuration.DefaultHeader); + var localVarFormParams = new Dictionary(); + var localVarFileParams = new Dictionary(); + Object localVarPostBody = null; + + // to determine the Content-Type header + String[] localVarHttpContentTypes = new String[] { + }; + String localVarHttpContentType = this.Configuration.ApiClient.SelectHeaderContentType(localVarHttpContentTypes); + + // to determine the Accept header + String[] localVarHttpHeaderAccepts = new String[] { + }; + String localVarHttpHeaderAccept = this.Configuration.ApiClient.SelectHeaderAccept(localVarHttpHeaderAccepts); + if (localVarHttpHeaderAccept != null) + localVarHeaderParams.Add("Accept", localVarHttpHeaderAccept); + + + + // make the HTTP request + IRestResponse localVarResponse = (IRestResponse) await this.Configuration.ApiClient.CallApiAsync(localVarPath, + Method.GET, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarFormParams, localVarFileParams, + localVarPathParams, localVarHttpContentType); + + int localVarStatusCode = (int) localVarResponse.StatusCode; + + if (ExceptionFactory != null) + { + Exception exception = ExceptionFactory("GetAllCampaigns", localVarResponse); + if (exception != null) throw exception; + } + + return new ApiResponse(localVarStatusCode, + localVarResponse.Headers.ToDictionary(x => x.Name, x => x.Value.ToString()), + (GetAllCampaignsResponse) this.Configuration.ApiClient.Deserialize(localVarResponse, typeof(GetAllCampaignsResponse))); + } + /// /// getCampaignById Retrieves a campaign. /// diff --git a/src/Salesforce.MarketingCloud/Api/TransactionalMessagingApi.cs b/src/Salesforce.MarketingCloud/Api/TransactionalMessagingApi.cs index 9a816fa..6aef561 100644 --- a/src/Salesforce.MarketingCloud/Api/TransactionalMessagingApi.cs +++ b/src/Salesforce.MarketingCloud/Api/TransactionalMessagingApi.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Client/ApiClient.cs b/src/Salesforce.MarketingCloud/Client/ApiClient.cs index 25ceb3c..1c011cb 100644 --- a/src/Salesforce.MarketingCloud/Client/ApiClient.cs +++ b/src/Salesforce.MarketingCloud/Client/ApiClient.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Client/ApiException.cs b/src/Salesforce.MarketingCloud/Client/ApiException.cs index 1b61e35..44dfc1d 100644 --- a/src/Salesforce.MarketingCloud/Client/ApiException.cs +++ b/src/Salesforce.MarketingCloud/Client/ApiException.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Client/ApiResponse.cs b/src/Salesforce.MarketingCloud/Client/ApiResponse.cs index e58fa17..064b7e9 100644 --- a/src/Salesforce.MarketingCloud/Client/ApiResponse.cs +++ b/src/Salesforce.MarketingCloud/Client/ApiResponse.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Client/Configuration.cs b/src/Salesforce.MarketingCloud/Client/Configuration.cs index 307459d..4c30f31 100644 --- a/src/Salesforce.MarketingCloud/Client/Configuration.cs +++ b/src/Salesforce.MarketingCloud/Client/Configuration.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ @@ -31,7 +31,7 @@ public class Configuration : IReadableConfiguration /// Version of the package. /// /// Version of the package. - public const string Version = "1.0.0"; + public const string Version = "1.1.0"; /// /// SDK Name @@ -442,8 +442,8 @@ public static String ToDebugReport() String report = "C# SDK (Salesforce.MarketingCloud) Debug Report:\n"; report += " OS: " + System.Environment.OSVersion + "\n"; report += " .NET Framework Version: " + System.Environment.Version + "\n"; - report += " Version of the API: 1.0.0\n"; - report += " SDK Package Version: 1.0.0\n"; + report += " Version of the API: 1.1.0\n"; + report += " SDK Package Version: 1.1.0\n"; return report; } diff --git a/src/Salesforce.MarketingCloud/Client/ExceptionFactory.cs b/src/Salesforce.MarketingCloud/Client/ExceptionFactory.cs index 3175a2c..d39c011 100644 --- a/src/Salesforce.MarketingCloud/Client/ExceptionFactory.cs +++ b/src/Salesforce.MarketingCloud/Client/ExceptionFactory.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Client/GlobalConfiguration.cs b/src/Salesforce.MarketingCloud/Client/GlobalConfiguration.cs index 2c8c263..30d5ce0 100644 --- a/src/Salesforce.MarketingCloud/Client/GlobalConfiguration.cs +++ b/src/Salesforce.MarketingCloud/Client/GlobalConfiguration.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Client/IApiAccessor.cs b/src/Salesforce.MarketingCloud/Client/IApiAccessor.cs index 8b1d987..b6b7f66 100644 --- a/src/Salesforce.MarketingCloud/Client/IApiAccessor.cs +++ b/src/Salesforce.MarketingCloud/Client/IApiAccessor.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Client/IReadableConfiguration.cs b/src/Salesforce.MarketingCloud/Client/IReadableConfiguration.cs index 7e5105d..7dc59cc 100644 --- a/src/Salesforce.MarketingCloud/Client/IReadableConfiguration.cs +++ b/src/Salesforce.MarketingCloud/Client/IReadableConfiguration.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Client/SwaggerDateConverter.cs b/src/Salesforce.MarketingCloud/Client/SwaggerDateConverter.cs index 1fe0a8d..5ff0efb 100644 --- a/src/Salesforce.MarketingCloud/Client/SwaggerDateConverter.cs +++ b/src/Salesforce.MarketingCloud/Client/SwaggerDateConverter.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/ApiError.cs b/src/Salesforce.MarketingCloud/Model/ApiError.cs index 54f5ade..855941a 100644 --- a/src/Salesforce.MarketingCloud/Model/ApiError.cs +++ b/src/Salesforce.MarketingCloud/Model/ApiError.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/Asset.cs b/src/Salesforce.MarketingCloud/Model/Asset.cs index b946b56..3999e41 100644 --- a/src/Salesforce.MarketingCloud/Model/Asset.cs +++ b/src/Salesforce.MarketingCloud/Model/Asset.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/AssetType.cs b/src/Salesforce.MarketingCloud/Model/AssetType.cs index cc0d878..d444c37 100644 --- a/src/Salesforce.MarketingCloud/Model/AssetType.cs +++ b/src/Salesforce.MarketingCloud/Model/AssetType.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/Attributes.cs b/src/Salesforce.MarketingCloud/Model/Attributes.cs index b75e6b5..d6c44c1 100644 --- a/src/Salesforce.MarketingCloud/Model/Attributes.cs +++ b/src/Salesforce.MarketingCloud/Model/Attributes.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/Campaign.cs b/src/Salesforce.MarketingCloud/Model/Campaign.cs index d770d5a..3af7716 100644 --- a/src/Salesforce.MarketingCloud/Model/Campaign.cs +++ b/src/Salesforce.MarketingCloud/Model/Campaign.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/DeleteQueuedMessagesForSendDefinitionResponse.cs b/src/Salesforce.MarketingCloud/Model/DeleteQueuedMessagesForSendDefinitionResponse.cs index cd05825..497ae60 100644 --- a/src/Salesforce.MarketingCloud/Model/DeleteQueuedMessagesForSendDefinitionResponse.cs +++ b/src/Salesforce.MarketingCloud/Model/DeleteQueuedMessagesForSendDefinitionResponse.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/DeleteSendDefinitionResponse.cs b/src/Salesforce.MarketingCloud/Model/DeleteSendDefinitionResponse.cs index b386ef2..e816be5 100644 --- a/src/Salesforce.MarketingCloud/Model/DeleteSendDefinitionResponse.cs +++ b/src/Salesforce.MarketingCloud/Model/DeleteSendDefinitionResponse.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/EmailDefinition.cs b/src/Salesforce.MarketingCloud/Model/EmailDefinition.cs index 8d00578..6bcb76b 100644 --- a/src/Salesforce.MarketingCloud/Model/EmailDefinition.cs +++ b/src/Salesforce.MarketingCloud/Model/EmailDefinition.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/EmailDefinitionContent.cs b/src/Salesforce.MarketingCloud/Model/EmailDefinitionContent.cs index 1fb129c..15ab5b8 100644 --- a/src/Salesforce.MarketingCloud/Model/EmailDefinitionContent.cs +++ b/src/Salesforce.MarketingCloud/Model/EmailDefinitionContent.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/EmailDefinitionOptions.cs b/src/Salesforce.MarketingCloud/Model/EmailDefinitionOptions.cs index 047a359..cd95d8b 100644 --- a/src/Salesforce.MarketingCloud/Model/EmailDefinitionOptions.cs +++ b/src/Salesforce.MarketingCloud/Model/EmailDefinitionOptions.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/EmailDefinitionSubscriptions.cs b/src/Salesforce.MarketingCloud/Model/EmailDefinitionSubscriptions.cs index bdcc3ed..1432dc7 100644 --- a/src/Salesforce.MarketingCloud/Model/EmailDefinitionSubscriptions.cs +++ b/src/Salesforce.MarketingCloud/Model/EmailDefinitionSubscriptions.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/GetAllCampaignsResponse.cs b/src/Salesforce.MarketingCloud/Model/GetAllCampaignsResponse.cs new file mode 100644 index 0000000..304731b --- /dev/null +++ b/src/Salesforce.MarketingCloud/Model/GetAllCampaignsResponse.cs @@ -0,0 +1,175 @@ +/* + * Marketing Cloud REST API + * + * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. + * + * OpenAPI spec version: 1.1.0 + * Contact: mc_sdk@salesforce.com + * Generated by: https://github.com/swagger-api/swagger-codegen.git + */ + +using System; +using System.Linq; +using System.IO; +using System.Text; +using System.Text.RegularExpressions; +using System.Collections; +using System.Collections.Generic; +using System.Collections.ObjectModel; +using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using System.ComponentModel.DataAnnotations; +using SwaggerDateConverter = Salesforce.MarketingCloud.Client.SwaggerDateConverter; + +namespace Salesforce.MarketingCloud.Model +{ + /// + /// GetAllCampaignsResponse + /// + [DataContract] + public partial class GetAllCampaignsResponse : IEquatable, IValidatableObject + { + /// + /// Initializes a new instance of the class. + /// + /// items. + /// Number of pages. + /// Page number to return.. + /// Number of campaigns, which are array elements, to return per paged response.. + public GetAllCampaignsResponse(List items = default(List), int? count = default(int?), int? page = default(int?), int? pageSize = default(int?)) + { + this.Items = items; + this.Count = count; + this.Page = page; + this.PageSize = pageSize; + } + + /// + /// Gets or Sets Items + /// + [DataMember(Name="items", EmitDefaultValue=false)] + public List Items { get; set; } + + /// + /// Number of pages + /// + /// Number of pages + [DataMember(Name="count", EmitDefaultValue=false)] + public int? Count { get; set; } + + /// + /// Page number to return. + /// + /// Page number to return. + [DataMember(Name="page", EmitDefaultValue=false)] + public int? Page { get; set; } + + /// + /// Number of campaigns, which are array elements, to return per paged response. + /// + /// Number of campaigns, which are array elements, to return per paged response. + [DataMember(Name="pageSize", EmitDefaultValue=false)] + public int? PageSize { get; set; } + + /// + /// Returns the string presentation of the object + /// + /// String presentation of the object + public override string ToString() + { + var sb = new StringBuilder(); + sb.Append("class GetAllCampaignsResponse {\n"); + sb.Append(" Items: ").Append(Items).Append("\n"); + sb.Append(" Count: ").Append(Count).Append("\n"); + sb.Append(" Page: ").Append(Page).Append("\n"); + sb.Append(" PageSize: ").Append(PageSize).Append("\n"); + sb.Append("}\n"); + return sb.ToString(); + } + + /// + /// Returns the JSON string presentation of the object + /// + /// JSON string presentation of the object + public virtual string ToJson() + { + return JsonConvert.SerializeObject(this, Formatting.Indented); + } + + /// + /// Returns true if objects are equal + /// + /// Object to be compared + /// Boolean + public override bool Equals(object input) + { + return this.Equals(input as GetAllCampaignsResponse); + } + + /// + /// Returns true if GetAllCampaignsResponse instances are equal + /// + /// Instance of GetAllCampaignsResponse to be compared + /// Boolean + public bool Equals(GetAllCampaignsResponse input) + { + if (input == null) + return false; + + return + ( + this.Items == input.Items || + this.Items != null && + this.Items.SequenceEqual(input.Items) + ) && + ( + this.Count == input.Count || + (this.Count != null && + this.Count.Equals(input.Count)) + ) && + ( + this.Page == input.Page || + (this.Page != null && + this.Page.Equals(input.Page)) + ) && + ( + this.PageSize == input.PageSize || + (this.PageSize != null && + this.PageSize.Equals(input.PageSize)) + ); + } + + /// + /// Gets the hash code + /// + /// Hash code + public override int GetHashCode() + { + unchecked // Overflow is fine, just wrap + { + int hashCode = 41; + if (this.Items != null) + hashCode = hashCode * 59 + this.Items.GetHashCode(); + if (this.Count != null) + hashCode = hashCode * 59 + this.Count.GetHashCode(); + if (this.Page != null) + hashCode = hashCode * 59 + this.Page.GetHashCode(); + if (this.PageSize != null) + hashCode = hashCode * 59 + this.PageSize.GetHashCode(); + return hashCode; + } + } + + /// + /// To validate all properties of the instance + /// + /// Validation context + /// Validation Result + IEnumerable IValidatableObject.Validate(ValidationContext validationContext) + { + yield break; + } + } + +} diff --git a/src/Salesforce.MarketingCloud/Model/GetDefinitionSendStatusForRecipientResponse.cs b/src/Salesforce.MarketingCloud/Model/GetDefinitionSendStatusForRecipientResponse.cs index 3e362d6..6140bc7 100644 --- a/src/Salesforce.MarketingCloud/Model/GetDefinitionSendStatusForRecipientResponse.cs +++ b/src/Salesforce.MarketingCloud/Model/GetDefinitionSendStatusForRecipientResponse.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/GetDefinitionSendStatusForRecipientResponseInfo.cs b/src/Salesforce.MarketingCloud/Model/GetDefinitionSendStatusForRecipientResponseInfo.cs index f52d2bb..ce61cfc 100644 --- a/src/Salesforce.MarketingCloud/Model/GetDefinitionSendStatusForRecipientResponseInfo.cs +++ b/src/Salesforce.MarketingCloud/Model/GetDefinitionSendStatusForRecipientResponseInfo.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/GetDefinitionsNotSentToRecipientsMessage.cs b/src/Salesforce.MarketingCloud/Model/GetDefinitionsNotSentToRecipientsMessage.cs index f3640b7..4c411a3 100644 --- a/src/Salesforce.MarketingCloud/Model/GetDefinitionsNotSentToRecipientsMessage.cs +++ b/src/Salesforce.MarketingCloud/Model/GetDefinitionsNotSentToRecipientsMessage.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/GetDefinitionsNotSentToRecipientsMessageInfo.cs b/src/Salesforce.MarketingCloud/Model/GetDefinitionsNotSentToRecipientsMessageInfo.cs index 6e3367f..a0737ac 100644 --- a/src/Salesforce.MarketingCloud/Model/GetDefinitionsNotSentToRecipientsMessageInfo.cs +++ b/src/Salesforce.MarketingCloud/Model/GetDefinitionsNotSentToRecipientsMessageInfo.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/GetDefinitionsNotSentToRecipientsResponse.cs b/src/Salesforce.MarketingCloud/Model/GetDefinitionsNotSentToRecipientsResponse.cs index bc2f023..ff9c918 100644 --- a/src/Salesforce.MarketingCloud/Model/GetDefinitionsNotSentToRecipientsResponse.cs +++ b/src/Salesforce.MarketingCloud/Model/GetDefinitionsNotSentToRecipientsResponse.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/GetEmailDefinitionsResponse.cs b/src/Salesforce.MarketingCloud/Model/GetEmailDefinitionsResponse.cs index 8dca1c3..2f1e04f 100644 --- a/src/Salesforce.MarketingCloud/Model/GetEmailDefinitionsResponse.cs +++ b/src/Salesforce.MarketingCloud/Model/GetEmailDefinitionsResponse.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/GetQueueMetricsForSendDefinitionResponse.cs b/src/Salesforce.MarketingCloud/Model/GetQueueMetricsForSendDefinitionResponse.cs index 25b2410..a5b8813 100644 --- a/src/Salesforce.MarketingCloud/Model/GetQueueMetricsForSendDefinitionResponse.cs +++ b/src/Salesforce.MarketingCloud/Model/GetQueueMetricsForSendDefinitionResponse.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/GetSmsDefinitionsResponse.cs b/src/Salesforce.MarketingCloud/Model/GetSmsDefinitionsResponse.cs index 5991ec7..af64441 100644 --- a/src/Salesforce.MarketingCloud/Model/GetSmsDefinitionsResponse.cs +++ b/src/Salesforce.MarketingCloud/Model/GetSmsDefinitionsResponse.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/Recipient.cs b/src/Salesforce.MarketingCloud/Model/Recipient.cs index cb82e16..147f1f1 100644 --- a/src/Salesforce.MarketingCloud/Model/Recipient.cs +++ b/src/Salesforce.MarketingCloud/Model/Recipient.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/SendDefinitionResponseItem.cs b/src/Salesforce.MarketingCloud/Model/SendDefinitionResponseItem.cs index 80197ab..5e43f78 100644 --- a/src/Salesforce.MarketingCloud/Model/SendDefinitionResponseItem.cs +++ b/src/Salesforce.MarketingCloud/Model/SendDefinitionResponseItem.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/SendDefinitionToMultipleRecipientsResponse.cs b/src/Salesforce.MarketingCloud/Model/SendDefinitionToMultipleRecipientsResponse.cs index 8e42207..ccce890 100644 --- a/src/Salesforce.MarketingCloud/Model/SendDefinitionToMultipleRecipientsResponse.cs +++ b/src/Salesforce.MarketingCloud/Model/SendDefinitionToMultipleRecipientsResponse.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/SendDefinitionToSingleRecipientResponse.cs b/src/Salesforce.MarketingCloud/Model/SendDefinitionToSingleRecipientResponse.cs index c5d48bf..e3c6f59 100644 --- a/src/Salesforce.MarketingCloud/Model/SendDefinitionToSingleRecipientResponse.cs +++ b/src/Salesforce.MarketingCloud/Model/SendDefinitionToSingleRecipientResponse.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/SendEmailToMultipleRecipientsRequest.cs b/src/Salesforce.MarketingCloud/Model/SendEmailToMultipleRecipientsRequest.cs index c5252c5..1f37ddf 100644 --- a/src/Salesforce.MarketingCloud/Model/SendEmailToMultipleRecipientsRequest.cs +++ b/src/Salesforce.MarketingCloud/Model/SendEmailToMultipleRecipientsRequest.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/SendEmailToSingleRecipientRequest.cs b/src/Salesforce.MarketingCloud/Model/SendEmailToSingleRecipientRequest.cs index b7b782c..7f666f7 100644 --- a/src/Salesforce.MarketingCloud/Model/SendEmailToSingleRecipientRequest.cs +++ b/src/Salesforce.MarketingCloud/Model/SendEmailToSingleRecipientRequest.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/SendSmsContentRequest.cs b/src/Salesforce.MarketingCloud/Model/SendSmsContentRequest.cs index 06114db..d559783 100644 --- a/src/Salesforce.MarketingCloud/Model/SendSmsContentRequest.cs +++ b/src/Salesforce.MarketingCloud/Model/SendSmsContentRequest.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/SendSmsToMultipleRecipientsRequest.cs b/src/Salesforce.MarketingCloud/Model/SendSmsToMultipleRecipientsRequest.cs index 6d4f1b7..d0f231a 100644 --- a/src/Salesforce.MarketingCloud/Model/SendSmsToMultipleRecipientsRequest.cs +++ b/src/Salesforce.MarketingCloud/Model/SendSmsToMultipleRecipientsRequest.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/SendSmsToMultipleRecipientsSubscriptionsRequest.cs b/src/Salesforce.MarketingCloud/Model/SendSmsToMultipleRecipientsSubscriptionsRequest.cs index 78c1b57..7406bf3 100644 --- a/src/Salesforce.MarketingCloud/Model/SendSmsToMultipleRecipientsSubscriptionsRequest.cs +++ b/src/Salesforce.MarketingCloud/Model/SendSmsToMultipleRecipientsSubscriptionsRequest.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/SendSmsToSingleRecipientRequest.cs b/src/Salesforce.MarketingCloud/Model/SendSmsToSingleRecipientRequest.cs index c6a4705..f1a0424 100644 --- a/src/Salesforce.MarketingCloud/Model/SendSmsToSingleRecipientRequest.cs +++ b/src/Salesforce.MarketingCloud/Model/SendSmsToSingleRecipientRequest.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/SharingProperties.cs b/src/Salesforce.MarketingCloud/Model/SharingProperties.cs index a407a81..0f0bee4 100644 --- a/src/Salesforce.MarketingCloud/Model/SharingProperties.cs +++ b/src/Salesforce.MarketingCloud/Model/SharingProperties.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/SmsDefinition.cs b/src/Salesforce.MarketingCloud/Model/SmsDefinition.cs index 7cc17e9..faaf72a 100644 --- a/src/Salesforce.MarketingCloud/Model/SmsDefinition.cs +++ b/src/Salesforce.MarketingCloud/Model/SmsDefinition.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/SmsDefinitionContent.cs b/src/Salesforce.MarketingCloud/Model/SmsDefinitionContent.cs index 45751f3..6392809 100644 --- a/src/Salesforce.MarketingCloud/Model/SmsDefinitionContent.cs +++ b/src/Salesforce.MarketingCloud/Model/SmsDefinitionContent.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/SmsDefinitionSubscriptions.cs b/src/Salesforce.MarketingCloud/Model/SmsDefinitionSubscriptions.cs index 0ea60c5..28127a3 100644 --- a/src/Salesforce.MarketingCloud/Model/SmsDefinitionSubscriptions.cs +++ b/src/Salesforce.MarketingCloud/Model/SmsDefinitionSubscriptions.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/UpdateEmailDefinitionRequest.cs b/src/Salesforce.MarketingCloud/Model/UpdateEmailDefinitionRequest.cs index 0ce76f8..7f4fac9 100644 --- a/src/Salesforce.MarketingCloud/Model/UpdateEmailDefinitionRequest.cs +++ b/src/Salesforce.MarketingCloud/Model/UpdateEmailDefinitionRequest.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Model/UpdateSmsDefinitionRequest.cs b/src/Salesforce.MarketingCloud/Model/UpdateSmsDefinitionRequest.cs index 50369a3..aa16bfc 100644 --- a/src/Salesforce.MarketingCloud/Model/UpdateSmsDefinitionRequest.cs +++ b/src/Salesforce.MarketingCloud/Model/UpdateSmsDefinitionRequest.cs @@ -3,7 +3,7 @@ * * Marketing Cloud's REST API is our newest API. It supports multi-channel use cases, is much more lightweight and easy to use than our SOAP API, and is getting more comprehensive with every release. * - * OpenAPI spec version: 1.0.0 + * OpenAPI spec version: 1.1.0 * Contact: mc_sdk@salesforce.com * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/src/Salesforce.MarketingCloud/Salesforce.MarketingCloud.csproj b/src/Salesforce.MarketingCloud/Salesforce.MarketingCloud.csproj index 689938f..ac3fffc 100644 --- a/src/Salesforce.MarketingCloud/Salesforce.MarketingCloud.csproj +++ b/src/Salesforce.MarketingCloud/Salesforce.MarketingCloud.csproj @@ -1,4 +1,4 @@ - + netstandard2.0 @@ -10,12 +10,11 @@ Salesforce Marketing Cloud C# SDK The Salesforce Marketing Cloud C# SDK Copyright Salesforce 2019 - https://github.com/salesforce-marketingcloud/mcsdk-automation-csharp true true true Salesforce.MarketingCloud - 1.0.0 + 1.1.0 @@ -35,11 +34,4 @@ - - license.md - - - - - \ No newline at end of file