|
10 | 10 | /** Request body for updating an authentication resource. */ |
11 | 11 | public class AuthenticationUpdate { |
12 | 12 |
|
13 | | - @JsonProperty("type") |
14 | | - private AuthenticationType type; |
15 | | - |
16 | 13 | @JsonProperty("name") |
17 | 14 | private String name; |
18 | 15 |
|
19 | 16 | @JsonProperty("input") |
20 | 17 | private AuthInputPartial input; |
21 | 18 |
|
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 | | - |
33 | 19 | public AuthenticationUpdate setName(String name) { |
34 | 20 | this.name = name; |
35 | 21 | return this; |
@@ -61,23 +47,18 @@ public boolean equals(Object o) { |
61 | 47 | return false; |
62 | 48 | } |
63 | 49 | 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); |
69 | 51 | } |
70 | 52 |
|
71 | 53 | @Override |
72 | 54 | public int hashCode() { |
73 | | - return Objects.hash(type, name, input); |
| 55 | + return Objects.hash(name, input); |
74 | 56 | } |
75 | 57 |
|
76 | 58 | @Override |
77 | 59 | public String toString() { |
78 | 60 | StringBuilder sb = new StringBuilder(); |
79 | 61 | sb.append("class AuthenticationUpdate {\n"); |
80 | | - sb.append(" type: ").append(toIndentedString(type)).append("\n"); |
81 | 62 | sb.append(" name: ").append(toIndentedString(name)).append("\n"); |
82 | 63 | sb.append(" input: ").append(toIndentedString(input)).append("\n"); |
83 | 64 | sb.append("}"); |
|
0 commit comments