Skip to content

Commit e1ce0dc

Browse files
algolia-botsbellone
andcommitted
docs: authentication type can't be updated (generated)
algolia/api-clients-automation#5824 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Sylvain Bellone <sylvain.bellone@algolia.com>
1 parent fa415c6 commit e1ce0dc

File tree

1 file changed

+2
-21
lines changed

1 file changed

+2
-21
lines changed

algoliasearch/src/main/java/com/algolia/model/ingestion/AuthenticationUpdate.java

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,12 @@
1010
/** Request body for updating an authentication resource. */
1111
public class AuthenticationUpdate {
1212

13-
@JsonProperty("type")
14-
private AuthenticationType type;
15-
1613
@JsonProperty("name")
1714
private String name;
1815

1916
@JsonProperty("input")
2017
private AuthInputPartial input;
2118

22-
public AuthenticationUpdate setType(AuthenticationType type) {
23-
this.type = type;
24-
return this;
25-
}
26-
27-
/** Get type */
28-
@javax.annotation.Nullable
29-
public AuthenticationType getType() {
30-
return type;
31-
}
32-
3319
public AuthenticationUpdate setName(String name) {
3420
this.name = name;
3521
return this;
@@ -61,23 +47,18 @@ public boolean equals(Object o) {
6147
return false;
6248
}
6349
AuthenticationUpdate authenticationUpdate = (AuthenticationUpdate) o;
64-
return (
65-
Objects.equals(this.type, authenticationUpdate.type) &&
66-
Objects.equals(this.name, authenticationUpdate.name) &&
67-
Objects.equals(this.input, authenticationUpdate.input)
68-
);
50+
return Objects.equals(this.name, authenticationUpdate.name) && Objects.equals(this.input, authenticationUpdate.input);
6951
}
7052

7153
@Override
7254
public int hashCode() {
73-
return Objects.hash(type, name, input);
55+
return Objects.hash(name, input);
7456
}
7557

7658
@Override
7759
public String toString() {
7860
StringBuilder sb = new StringBuilder();
7961
sb.append("class AuthenticationUpdate {\n");
80-
sb.append(" type: ").append(toIndentedString(type)).append("\n");
8162
sb.append(" name: ").append(toIndentedString(name)).append("\n");
8263
sb.append(" input: ").append(toIndentedString(input)).append("\n");
8364
sb.append("}");

0 commit comments

Comments
 (0)