Skip to content

Commit ec85e7b

Browse files
algolia-botkai687shortcutsmillotp
committed
fix(specs): partial update operation (generated)
algolia/api-clients-automation#3486 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Kai Welke <[email protected]> Co-authored-by: shortcuts <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent c631dc7 commit ec85e7b

File tree

12 files changed

+954
-17
lines changed

12 files changed

+954
-17
lines changed

algoliasearch/src/main/java/com/algolia/api/SearchClient.java

Lines changed: 168 additions & 16 deletions
Large diffs are not rendered by default.
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost
2+
// - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
3+
4+
package com.algolia.model.abtesting;
5+
6+
import com.fasterxml.jackson.annotation.*;
7+
import com.fasterxml.jackson.databind.annotation.*;
8+
import java.util.HashMap;
9+
import java.util.Map;
10+
import java.util.Objects;
11+
12+
/** Error. */
13+
public class ErrorBase {
14+
15+
@JsonProperty("message")
16+
private String message;
17+
18+
private Map<String, Object> additionalProperties = new HashMap<>();
19+
20+
@JsonAnyGetter
21+
public Map<String, Object> getAdditionalProperties() {
22+
return this.additionalProperties;
23+
}
24+
25+
@JsonAnySetter
26+
public ErrorBase setAdditionalProperty(String name, Object value) {
27+
this.additionalProperties.put(name, value);
28+
return this;
29+
}
30+
31+
public ErrorBase setMessage(String message) {
32+
this.message = message;
33+
return this;
34+
}
35+
36+
/** Get message */
37+
@javax.annotation.Nullable
38+
public String getMessage() {
39+
return message;
40+
}
41+
42+
@Override
43+
public boolean equals(Object o) {
44+
if (this == o) {
45+
return true;
46+
}
47+
if (o == null || getClass() != o.getClass()) {
48+
return false;
49+
}
50+
ErrorBase errorBase = (ErrorBase) o;
51+
return Objects.equals(this.message, errorBase.message) && super.equals(o);
52+
}
53+
54+
@Override
55+
public int hashCode() {
56+
return Objects.hash(message, super.hashCode());
57+
}
58+
59+
@Override
60+
public String toString() {
61+
StringBuilder sb = new StringBuilder();
62+
sb.append("class ErrorBase {\n");
63+
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
64+
sb.append(" message: ").append(toIndentedString(message)).append("\n");
65+
sb.append("}");
66+
return sb.toString();
67+
}
68+
69+
/**
70+
* Convert the given object to string with each line indented by 4 spaces (except the first line).
71+
*/
72+
private String toIndentedString(Object o) {
73+
if (o == null) {
74+
return "null";
75+
}
76+
return o.toString().replace("\n", "\n ");
77+
}
78+
}
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost
2+
// - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
3+
4+
package com.algolia.model.analytics;
5+
6+
import com.fasterxml.jackson.annotation.*;
7+
import com.fasterxml.jackson.databind.annotation.*;
8+
import java.util.HashMap;
9+
import java.util.Map;
10+
import java.util.Objects;
11+
12+
/** Error. */
13+
public class ErrorBase {
14+
15+
@JsonProperty("message")
16+
private String message;
17+
18+
private Map<String, Object> additionalProperties = new HashMap<>();
19+
20+
@JsonAnyGetter
21+
public Map<String, Object> getAdditionalProperties() {
22+
return this.additionalProperties;
23+
}
24+
25+
@JsonAnySetter
26+
public ErrorBase setAdditionalProperty(String name, Object value) {
27+
this.additionalProperties.put(name, value);
28+
return this;
29+
}
30+
31+
public ErrorBase setMessage(String message) {
32+
this.message = message;
33+
return this;
34+
}
35+
36+
/** Get message */
37+
@javax.annotation.Nullable
38+
public String getMessage() {
39+
return message;
40+
}
41+
42+
@Override
43+
public boolean equals(Object o) {
44+
if (this == o) {
45+
return true;
46+
}
47+
if (o == null || getClass() != o.getClass()) {
48+
return false;
49+
}
50+
ErrorBase errorBase = (ErrorBase) o;
51+
return Objects.equals(this.message, errorBase.message) && super.equals(o);
52+
}
53+
54+
@Override
55+
public int hashCode() {
56+
return Objects.hash(message, super.hashCode());
57+
}
58+
59+
@Override
60+
public String toString() {
61+
StringBuilder sb = new StringBuilder();
62+
sb.append("class ErrorBase {\n");
63+
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
64+
sb.append(" message: ").append(toIndentedString(message)).append("\n");
65+
sb.append("}");
66+
return sb.toString();
67+
}
68+
69+
/**
70+
* Convert the given object to string with each line indented by 4 spaces (except the first line).
71+
*/
72+
private String toIndentedString(Object o) {
73+
if (o == null) {
74+
return "null";
75+
}
76+
return o.toString().replace("\n", "\n ");
77+
}
78+
}
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost
2+
// - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
3+
4+
package com.algolia.model.ingestion;
5+
6+
import com.fasterxml.jackson.annotation.*;
7+
import com.fasterxml.jackson.databind.annotation.*;
8+
import java.util.HashMap;
9+
import java.util.Map;
10+
import java.util.Objects;
11+
12+
/** Error. */
13+
public class ErrorBase {
14+
15+
@JsonProperty("message")
16+
private String message;
17+
18+
private Map<String, Object> additionalProperties = new HashMap<>();
19+
20+
@JsonAnyGetter
21+
public Map<String, Object> getAdditionalProperties() {
22+
return this.additionalProperties;
23+
}
24+
25+
@JsonAnySetter
26+
public ErrorBase setAdditionalProperty(String name, Object value) {
27+
this.additionalProperties.put(name, value);
28+
return this;
29+
}
30+
31+
public ErrorBase setMessage(String message) {
32+
this.message = message;
33+
return this;
34+
}
35+
36+
/** Get message */
37+
@javax.annotation.Nullable
38+
public String getMessage() {
39+
return message;
40+
}
41+
42+
@Override
43+
public boolean equals(Object o) {
44+
if (this == o) {
45+
return true;
46+
}
47+
if (o == null || getClass() != o.getClass()) {
48+
return false;
49+
}
50+
ErrorBase errorBase = (ErrorBase) o;
51+
return Objects.equals(this.message, errorBase.message) && super.equals(o);
52+
}
53+
54+
@Override
55+
public int hashCode() {
56+
return Objects.hash(message, super.hashCode());
57+
}
58+
59+
@Override
60+
public String toString() {
61+
StringBuilder sb = new StringBuilder();
62+
sb.append("class ErrorBase {\n");
63+
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
64+
sb.append(" message: ").append(toIndentedString(message)).append("\n");
65+
sb.append("}");
66+
return sb.toString();
67+
}
68+
69+
/**
70+
* Convert the given object to string with each line indented by 4 spaces (except the first line).
71+
*/
72+
private String toIndentedString(Object o) {
73+
if (o == null) {
74+
return "null";
75+
}
76+
return o.toString().replace("\n", "\n ");
77+
}
78+
}
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost
2+
// - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
3+
4+
package com.algolia.model.insights;
5+
6+
import com.fasterxml.jackson.annotation.*;
7+
import com.fasterxml.jackson.databind.annotation.*;
8+
import java.util.HashMap;
9+
import java.util.Map;
10+
import java.util.Objects;
11+
12+
/** Error. */
13+
public class ErrorBase {
14+
15+
@JsonProperty("message")
16+
private String message;
17+
18+
private Map<String, Object> additionalProperties = new HashMap<>();
19+
20+
@JsonAnyGetter
21+
public Map<String, Object> getAdditionalProperties() {
22+
return this.additionalProperties;
23+
}
24+
25+
@JsonAnySetter
26+
public ErrorBase setAdditionalProperty(String name, Object value) {
27+
this.additionalProperties.put(name, value);
28+
return this;
29+
}
30+
31+
public ErrorBase setMessage(String message) {
32+
this.message = message;
33+
return this;
34+
}
35+
36+
/** Get message */
37+
@javax.annotation.Nullable
38+
public String getMessage() {
39+
return message;
40+
}
41+
42+
@Override
43+
public boolean equals(Object o) {
44+
if (this == o) {
45+
return true;
46+
}
47+
if (o == null || getClass() != o.getClass()) {
48+
return false;
49+
}
50+
ErrorBase errorBase = (ErrorBase) o;
51+
return Objects.equals(this.message, errorBase.message) && super.equals(o);
52+
}
53+
54+
@Override
55+
public int hashCode() {
56+
return Objects.hash(message, super.hashCode());
57+
}
58+
59+
@Override
60+
public String toString() {
61+
StringBuilder sb = new StringBuilder();
62+
sb.append("class ErrorBase {\n");
63+
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
64+
sb.append(" message: ").append(toIndentedString(message)).append("\n");
65+
sb.append("}");
66+
return sb.toString();
67+
}
68+
69+
/**
70+
* Convert the given object to string with each line indented by 4 spaces (except the first line).
71+
*/
72+
private String toIndentedString(Object o) {
73+
if (o == null) {
74+
return "null";
75+
}
76+
return o.toString().replace("\n", "\n ");
77+
}
78+
}
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost
2+
// - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
3+
4+
package com.algolia.model.monitoring;
5+
6+
import com.fasterxml.jackson.annotation.*;
7+
import com.fasterxml.jackson.databind.annotation.*;
8+
import java.util.HashMap;
9+
import java.util.Map;
10+
import java.util.Objects;
11+
12+
/** Error. */
13+
public class ErrorBase {
14+
15+
@JsonProperty("message")
16+
private String message;
17+
18+
private Map<String, Object> additionalProperties = new HashMap<>();
19+
20+
@JsonAnyGetter
21+
public Map<String, Object> getAdditionalProperties() {
22+
return this.additionalProperties;
23+
}
24+
25+
@JsonAnySetter
26+
public ErrorBase setAdditionalProperty(String name, Object value) {
27+
this.additionalProperties.put(name, value);
28+
return this;
29+
}
30+
31+
public ErrorBase setMessage(String message) {
32+
this.message = message;
33+
return this;
34+
}
35+
36+
/** Get message */
37+
@javax.annotation.Nullable
38+
public String getMessage() {
39+
return message;
40+
}
41+
42+
@Override
43+
public boolean equals(Object o) {
44+
if (this == o) {
45+
return true;
46+
}
47+
if (o == null || getClass() != o.getClass()) {
48+
return false;
49+
}
50+
ErrorBase errorBase = (ErrorBase) o;
51+
return Objects.equals(this.message, errorBase.message) && super.equals(o);
52+
}
53+
54+
@Override
55+
public int hashCode() {
56+
return Objects.hash(message, super.hashCode());
57+
}
58+
59+
@Override
60+
public String toString() {
61+
StringBuilder sb = new StringBuilder();
62+
sb.append("class ErrorBase {\n");
63+
sb.append(" ").append(toIndentedString(super.toString())).append("\n");
64+
sb.append(" message: ").append(toIndentedString(message)).append("\n");
65+
sb.append("}");
66+
return sb.toString();
67+
}
68+
69+
/**
70+
* Convert the given object to string with each line indented by 4 spaces (except the first line).
71+
*/
72+
private String toIndentedString(Object o) {
73+
if (o == null) {
74+
return "null";
75+
}
76+
return o.toString().replace("\n", "\n ");
77+
}
78+
}

0 commit comments

Comments
 (0)