epugh commented on code in PR #4171:
URL: https://github.com/apache/solr/pull/4171#discussion_r2906102936
##########
solr/api/src/java/org/apache/solr/client/api/model/NodeHealthResponse.java:
##########
@@ -14,7 +14,17 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
+package org.apache.solr.client.api.model;
-package org.apache.solr.ui.errors
+import com.fasterxml.jackson.annotation.JsonProperty;
-class InvalidResponseException(message: String? = null) : Throwable(message)
+/** Response body for the '/api/node/health' endpoint. */
+public class NodeHealthResponse extends SolrJerseyResponse {
+
+ @JsonProperty public String status;
Review Comment:
Okay, I think I figured out how to do an Enum...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]