Skip to content

Commit

Permalink
Merge pull request #244 from plivo/SMS-5391
Browse files Browse the repository at this point in the history
SMS-5391: Add replaced_sender in MDR Get and List apis
  • Loading branch information
narayana-plivo authored May 3, 2023
2 parents b48b871 + e5f98f2 commit fb4d67e
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 5 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Change Log

## [v5.26.0](https://github.com/plivo/plivo-dotnet/tree/v5.26.0) (2023-04-25)
- Added new param `ReplacedSender` to the response for the [list all messages API](https://www.plivo.com/docs/sms/api/message/list-all-messages/) and the [get message details API](https://www.plivo.com/docs/sms/api/message#retrieve-a-message)

## [v5.25.0](https://github.com/plivo/plivo-dotnet/tree/v5.25.0) (2023-04-11)
**Feature - Added New Param 'source_ip' in GetCall and ListCalls**
- Add `source_ip` to the response for the [retrieve a call details API](https://www.plivo.com/docs/voice/api/call#retrieve-a-call) and the [retreive all call details API](https://www.plivo.com/docs/voice/api/call#retrieve-all-calls)
Expand Down
2 changes: 1 addition & 1 deletion src/Plivo/Plivo.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.3</TargetFrameworks>
<ReleaseVersion>5.25.0</ReleaseVersion>
<ReleaseVersion>5.26.0</ReleaseVersion>
<Version />
<Authors>Plivo SDKs Team</Authors>
<Owners>Plivo Inc.</Owners>
Expand Down
2 changes: 1 addition & 1 deletion src/Plivo/Plivo.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<summary>A .NET SDK to make voice calls and send SMS using Plivo and to generate Plivo XML</summary>
<description>A .NET SDK to make voice calls and send SMS using Plivo and to generate Plivo XML</description>
<id>Plivo</id>
<version>5.25.0</version>
<version>5.26.0</version>
<title>Plivo</title>
<authors>Plivo SDKs Team</authors>
<owners>Plivo, Inc.</owners>
Expand Down
9 changes: 8 additions & 1 deletion src/Plivo/Resource/Message/Message.cs
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ public class Message : Resource
/// <value>The is domestic.</value>
public bool? IsDomestic { get; set; }

/// <summary>
/// Gets or sets the replaced sender.
/// </summary>
/// <value> The replaced sender.</value>
public string ReplacedSender { get; set; }

public override string ToString()
{
return "\n" +
Expand All @@ -138,7 +144,8 @@ public override string ToString()
"TendlcCampaignId: " + TendlcCampaignId + "\n" +
"TendlcRegistrationStatus: "+ TendlcRegistrationStatus + "\n" +
"RequesterIP: " + RequesterIp + "\n" +
"IsDomestic: " + IsDomestic + "\n";
"IsDomestic: " + IsDomestic + "\n" +
"ReplacedSender: " + ReplacedSender + "\n";
}
#region ListMedia
/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion src/Plivo/Version.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class Version
/// <summary>
/// DotNet SDK version
/// </summary>
public const string SdkVersion = "5.25.0";
public const string SdkVersion = "5.26.0";
/// <summary>
/// Plivo API version
/// </summary>
Expand Down
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.25.0",
"version": "5.26.0",
"publicReleaseRefSpec": [
"^refs/heads/master$",
"^refs/heads/v\\d+(?:\\.\\d+)?$"
Expand Down

0 comments on commit fb4d67e

Please sign in to comment.