Skip to content

Commit b75697d

Browse files
Reported issue fix
1 parent f920f88 commit b75697d

File tree

5 files changed

+5
-13
lines changed

5 files changed

+5
-13
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SendinBlue's API matches the [OpenAPI v2 definition](https://www.openapis.org/).
99
This C# SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project and is reviewed and maintained by SendinBlue:
1010

1111
- API version: 3.0.0
12-
- SDK version: 4.0.0
12+
- SDK version: 4.0.2
1313
- Build package: io.swagger.codegen.languages.CSharpClientCodegen
1414
For more information, please visit [https://account.sendinblue.com/support](https://account.sendinblue.com/support)
1515

src/sib_api_v3_sdk/Client/ApiClient.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public Object CallApi(
178178

179179
// set user agent
180180
if (!Configuration.UserAgent.ToLower().StartsWith("sendinblue_"))
181-
Configuration.UserAgent = "sendinblue_clientAPI/v4.0.0/c#";
181+
Configuration.UserAgent = "sendinblue_clientAPI/v4.0.2/c#";
182182

183183
RestClient.UserAgent = Configuration.UserAgent;
184184

src/sib_api_v3_sdk/Client/Configuration.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public class Configuration : IReadableConfiguration
2929
/// Version of the package.
3030
/// </summary>
3131
/// <value>Version of the package.</value>
32-
public const string Version = "4.0.0";
32+
public const string Version = "4.0.2";
3333

3434
/// <summary>
3535
/// Identifier for ISO 8601 DateTime Format

src/sib_api_v3_sdk/Model/CreateEmailCampaignSender.cs

+1-9
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,7 @@ protected CreateEmailCampaignSender() { }
4141
/// <param name="id">Select the sender for the campaign on the basis of sender id. In order to select a sender with specific pool of IP’s, dedicated ip users shall pass id (instead of email)..</param>
4242
public CreateEmailCampaignSender(string name = default(string), string email = default(string), long? id = default(long?))
4343
{
44-
// to ensure "email" is required (not null)
45-
if (email == null)
46-
{
47-
throw new InvalidDataException("email is a required property for CreateEmailCampaignSender and cannot be null");
48-
}
49-
else
50-
{
51-
this.Email = email;
52-
}
44+
this.Email = email;
5345
this.Name = name;
5446
this.Id = id;
5547
}

src/sib_api_v3_sdk/sib_api_v3_sdk.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1515
<GenerateBindingRedirectsOutputType>true</GenerateBindingRedirectsOutputType>
1616
<RootNamespace>sib_api_v3_sdk</RootNamespace>
17-
<Version>4.0.1</Version>
17+
<Version>4.0.2</Version>
1818
<PackageLicenseUrl>https://github.com/sendinblue/APIv3-csharp-library/blob/master/LICENSE.txt</PackageLicenseUrl>
1919
<PackageProjectUrl>https://github.com/sendinblue/APIv3-csharp-library</PackageProjectUrl>
2020
<RepositoryUrl>https://github.com/sendinblue/APIv3-csharp-library</RepositoryUrl>

0 commit comments

Comments
 (0)