Skip to content

Commit

Permalink
Renaming filter profile to policy.
Browse files Browse the repository at this point in the history
  • Loading branch information
jzonthemtn committed Oct 23, 2023
1 parent de7180b commit e9e5d4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions philter-sdk-net/PhilterClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ public void DeleteAlert(string alertId)
/// </summary>
/// <returns>A list of policy names.</returns>
/// <exception cref="ClientException"></exception>
public List<string> GetFilterProfiles()
public List<string> GetPolicies()
{

var request = new RestRequest("api/profiles", Method.GET);
Expand All @@ -295,7 +295,7 @@ public List<string> GetFilterProfiles()
/// <param name="policyName">The name of a policy.</param>
/// <returns>The policy.</returns>
/// <exception cref="ClientException"></exception>
public string GetFilterProfile(string policyName)
public string GetPolicy(string policyName)
{

var request = new RestRequest("api/profiles/{policyName}", Method.GET);
Expand All @@ -318,7 +318,7 @@ public string GetFilterProfile(string policyName)
/// </summary>
/// <param name="policy">The policy.</param>
/// <exception cref="ClientException"></exception>
public void SaveFilterProfile(string policy)
public void SavePolicy(string policy)
{

var request = new RestRequest("api/profiles", Method.POST);
Expand All @@ -339,7 +339,7 @@ public void SaveFilterProfile(string policy)
/// </summary>
/// <param name="policyName">The name of the policy to delete.</param>
/// <exception cref="ClientException"></exception>
public void DeleteFilterProfile(string policyName)
public void DeletePolicy(string policyName)
{

var request = new RestRequest("api/profiles/{policyName}", Method.DELETE);
Expand Down

0 comments on commit e9e5d4a

Please sign in to comment.