forked from Speedygeek/ZendeskApi_v2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dvanwinkle/Speedygeek#158: Added fields formatted_phone and phone to …
…the To & From models
- Loading branch information
Dan VanWinkle
committed
Nov 4, 2015
1 parent
1af96bc
commit 43fb3cf
Showing
2 changed files
with
24 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
using Newtonsoft.Json; | ||
using ZendeskApi_v2.Models.Shared; | ||
|
||
namespace ZendeskApi_v2.Models.Tickets | ||
{ | ||
|
||
public class To | ||
{ | ||
|
||
[JsonProperty("address")] | ||
public string Address { get; set; } | ||
|
||
[JsonProperty("name")] | ||
public string Name { get; set; } | ||
|
||
/// <summary> | ||
/// Will be populated when Ticket.Via.Channel = 'Voice'. See https://github.com/mozts2005/ZendeskApi_v2/issues/158. | ||
/// </summary> | ||
[JsonProperty("formatted_phone")] | ||
public string FormattedPhone { get; set; } | ||
|
||
/// <summary> | ||
/// Will be populated when Ticket.Via.Channel = 'Voice'. See https://github.com/mozts2005/ZendeskApi_v2/issues/158. | ||
/// </summary> | ||
[JsonProperty("phone")] | ||
public string Phone { get; set; } | ||
} | ||
} |