Skip to content

Commit

Permalink
making has_application nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
slorello89 authored Jan 13, 2020
1 parent 716b2e8 commit aa5b38c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Nexmo.Api/Number.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class SearchRequest
/// Set this optional field to true to restrict your results to numbers associated with an application (any application).
/// Set to false to find all numbers not associated with any application. Omit the field to avoid filtering on whether or not the number is assigned to an application.
/// </summary>
public bool has_application { get; set; }
public bool? has_application { get; set; }

/// <summary>
/// The application that you want to return the numbers for
Expand Down Expand Up @@ -165,4 +165,4 @@ public static ResponseBase Cancel(string country, string number, Credentials cre
return JsonConvert.DeserializeObject<ResponseBase>(response.JsonResponse);
}
}
}
}

0 comments on commit aa5b38c

Please sign in to comment.