Skip to content

Commit

Permalink
docs: Deprecate NI RealTimeData (#562)
Browse files Browse the repository at this point in the history
  • Loading branch information
SMadani authored Jan 31, 2025
1 parent 8a33be6 commit 4e22067
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- Added logging for requests & responses based on `java.util.logging`
- Improved SMS API documentation
- Deprecated Number Insight v2 / Fraud Score API
- Deprecated `real_time_data` in Number Insight API
- Minor internal refactoring based on code coverage improvements

# [8.15.1] - 2024-12-19
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ public static Builder builder() {
return new Builder();
}

@Deprecated
public Boolean getRealTimeData() {
return realTimeData;
}
Expand Down Expand Up @@ -180,7 +181,10 @@ public Builder callback(String url) {
* This only applies when {@link #async(boolean)} is {@code false}.
*
* @return This builder.
*
* @deprecated This feature will be removed in the next major release.
*/
@Deprecated
public Builder realTimeData(boolean realTimeData) {
this.realTimeData = realTimeData;
return this;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,10 @@ public RoamingDetails getRoaming() {

/**
* @return Real-time data about the number if it was requested, {@code null} otherwise.
*
* @deprecated This feature will be removed in the next major release.
*/
@Deprecated
@JsonProperty("real_time_data")
public RealTimeData getRealTimeData() {
return realTimeData;
Expand Down

0 comments on commit 4e22067

Please sign in to comment.