diff --git a/java-client/src/generated/java/org/opensearch/client/opensearch/_types/ErrorCause.java b/java-client/src/generated/java/org/opensearch/client/opensearch/_types/ErrorCause.java index 97f899eb8c..912a69c5c9 100644 --- a/java-client/src/generated/java/org/opensearch/client/opensearch/_types/ErrorCause.java +++ b/java-client/src/generated/java/org/opensearch/client/opensearch/_types/ErrorCause.java @@ -415,6 +415,7 @@ protected static void setupErrorCauseDeserializer(ObjectDeserializer> void setupWriteRes op.add(AbstractBuilder::version, JsonpDeserializer.longDeserializer(), "_version"); } + @Override public int hashCode() { int result = 17; result = 31 * result + Objects.hashCode(this.forcedRefresh); @@ -301,6 +302,7 @@ public int hashCode() { return result; } + @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || this.getClass() != o.getClass()) return false; diff --git a/java-client/src/generated/java/org/opensearch/client/opensearch/ml/Action.java b/java-client/src/generated/java/org/opensearch/client/opensearch/ml/Action.java index 38e6fa54af..36c3693a44 100644 --- a/java-client/src/generated/java/org/opensearch/client/opensearch/ml/Action.java +++ b/java-client/src/generated/java/org/opensearch/client/opensearch/ml/Action.java @@ -288,6 +288,7 @@ protected static void setupActionDeserializer(ObjectDeserializer op.add(Builder::url, JsonpDeserializer.stringDeserializer(), "url"); } + @Override public int hashCode() { int result = 17; result = 31 * result + Objects.hashCode(this.actionType); @@ -300,6 +301,7 @@ public int hashCode() { return result; } + @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || this.getClass() != o.getClass()) return false; diff --git a/java-client/src/generated/java/org/opensearch/client/opensearch/ml/ClientConfig.java b/java-client/src/generated/java/org/opensearch/client/opensearch/ml/ClientConfig.java index bd03b5ec22..9e1be3d3c8 100644 --- a/java-client/src/generated/java/org/opensearch/client/opensearch/ml/ClientConfig.java +++ b/java-client/src/generated/java/org/opensearch/client/opensearch/ml/ClientConfig.java @@ -281,6 +281,7 @@ protected static void setupClientConfigDeserializer(ObjectDeserializer op) { op.add(Builder::parameters, JsonpDeserializer.stringMapDeserializer(JsonData._DESERIALIZER), "parameters"); } + @Override public int hashCode() { int result = 17; result = 31 * result + Objects.hashCode(this.modelId); @@ -170,6 +171,7 @@ public int hashCode() { return result; } + @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || this.getClass() != o.getClass()) return false; diff --git a/java-client/src/generated/java/org/opensearch/client/opensearch/ml/Memory.java b/java-client/src/generated/java/org/opensearch/client/opensearch/ml/Memory.java index 0660178e13..83bda00de2 100644 --- a/java-client/src/generated/java/org/opensearch/client/opensearch/ml/Memory.java +++ b/java-client/src/generated/java/org/opensearch/client/opensearch/ml/Memory.java @@ -113,12 +113,14 @@ protected static void setupMemoryDeserializer(ObjectDeserializer op.add(Builder::type, JsonpDeserializer.stringDeserializer(), "type"); } + @Override public int hashCode() { int result = 17; result = 31 * result + Objects.hashCode(this.type); return result; } + @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || this.getClass() != o.getClass()) return false; diff --git a/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterAgentsRequest.java b/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterAgentsRequest.java index 2c2e560a6d..4e5c31c555 100644 --- a/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterAgentsRequest.java +++ b/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterAgentsRequest.java @@ -397,6 +397,7 @@ protected static void setupRegisterAgentsRequestDeserializer(ObjectDeserializer< RegisterAgentsResponse._DESERIALIZER ); + @Override public int hashCode() { int result = 17; result = 31 * result + Objects.hashCode(this.appType); @@ -410,6 +411,7 @@ public int hashCode() { return result; } + @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || this.getClass() != o.getClass()) return false; diff --git a/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterAgentsResponse.java b/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterAgentsResponse.java index b15475a2aa..816fe2cf91 100644 --- a/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterAgentsResponse.java +++ b/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterAgentsResponse.java @@ -113,12 +113,14 @@ protected static void setupRegisterAgentsResponseDeserializer(ObjectDeserializer op.add(Builder::agentId, JsonpDeserializer.stringDeserializer(), "agent_id"); } + @Override public int hashCode() { int result = 17; result = 31 * result + Objects.hashCode(this.agentId); return result; } + @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || this.getClass() != o.getClass()) return false; diff --git a/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterModelGroupRequest.java b/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterModelGroupRequest.java index e7bc41bb13..fc1b736361 100644 --- a/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterModelGroupRequest.java +++ b/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterModelGroupRequest.java @@ -301,6 +301,7 @@ protected static void setupRegisterModelGroupRequestDeserializer(ObjectDeseriali RegisterModelGroupResponse._DESERIALIZER ); + @Override public int hashCode() { int result = 17; result = 31 * result + Objects.hashCode(this.accessMode); @@ -311,6 +312,7 @@ public int hashCode() { return result; } + @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || this.getClass() != o.getClass()) return false; diff --git a/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterModelGroupResponse.java b/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterModelGroupResponse.java index ac99154507..3b0faba22c 100644 --- a/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterModelGroupResponse.java +++ b/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterModelGroupResponse.java @@ -149,6 +149,7 @@ protected static void setupRegisterModelGroupResponseDeserializer(ObjectDeserial op.add(Builder::status, JsonpDeserializer.stringDeserializer(), "status"); } + @Override public int hashCode() { int result = 17; result = 31 * result + this.modelGroupId.hashCode(); @@ -156,6 +157,7 @@ public int hashCode() { return result; } + @Override public boolean equals(Object o) { if (this == o) return true; if (o == null || this.getClass() != o.getClass()) return false; diff --git a/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterModelRequest.java b/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterModelRequest.java index 5261601622..ac004ddd21 100644 --- a/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterModelRequest.java +++ b/java-client/src/generated/java/org/opensearch/client/opensearch/ml/RegisterModelRequest.java @@ -271,6 +271,7 @@ protected static void setupRegisterModelRequestDeserializer(ObjectDeserializer