Skip to content

Commit

Permalink
Add features to available phone number (#81)
Browse files Browse the repository at this point in the history
* Add in features to available phone numbers

* fix typo
  • Loading branch information
zgirod authored Mar 1, 2024
1 parent 0435723 commit f0aaa41
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,11 @@ public class AvailablePhoneNumber : TelnyxEntity
/// </summary>
[JsonProperty("regulatory_requirements")]
public List<RegulatoryRequirement> RegulatoryRequirements { get; set; }

/// <summary>
/// Gets or sets Features.
/// </summary>
[JsonProperty("features")]
public List<Feature> Features { get; set; }
}
}
10 changes: 10 additions & 0 deletions src/Telnyx.net/Entities/PhoneNumbers/Searches/Feature.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
namespace Telnyx
{
using Newtonsoft.Json;

public class Feature
{
[JsonProperty("name")]
public string Name { get; set; }
}
}

0 comments on commit f0aaa41

Please sign in to comment.