-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #147 from plivo/number-priority
Add field number_priority to powerpack api request/response
- Loading branch information
Showing
8 changed files
with
92 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
using Plivo.Client; | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
namespace Plivo.Resource.Powerpack | ||
{ | ||
/// <summary> | ||
/// Numberpool. | ||
/// </summary> | ||
public class NumberPriority : Resource | ||
{ | ||
public string service_type { get; set; } | ||
public string country_iso { get; set; } | ||
public Priority priority { get; set; } | ||
|
||
public override string ToString() | ||
{ | ||
return "\n" + | ||
"CountryISO: " + country_iso + "\n" + | ||
"ServiceType: " + service_type + "\n" + | ||
"Priority: " + priority + "\n" ; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
using Plivo.Client; | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
namespace Plivo.Resource.Powerpack | ||
{ | ||
/// <summary> | ||
/// Numberpool. | ||
/// </summary> | ||
public class Priority : Resource | ||
{ | ||
|
||
public string priority1 { get; set; } | ||
public string priority2 { get; set; } | ||
public string priority3 { get; set; } | ||
|
||
public override string ToString() | ||
{ | ||
return "\n" + | ||
"Priority1: " + priority1 + "\n" + | ||
"Priority2: " + priority2 + "\n" + | ||
"Priority3: " + priority3 + "\n"; | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters