3737@ JsonPropertyOrder ({
3838 FeaturesInfo .JSON_PROPERTY_SMS_ENABLED ,
3939 FeaturesInfo .JSON_PROPERTY_OAUTH_ENABLED ,
40- FeaturesInfo .JSON_PROPERTY_NOTIFICATION_ENABLED ,
4140 FeaturesInfo .JSON_PROPERTY_TWO_FA_ENABLED ,
42- FeaturesInfo .JSON_PROPERTY_EMAIL_ENABLED
41+ FeaturesInfo .JSON_PROPERTY_EMAIL_ENABLED ,
42+ FeaturesInfo .JSON_PROPERTY_NOTIFICATION_ENABLED
4343})
4444@ javax .annotation .Generated (value = "org.openapitools.codegen.languages.JavaClientCodegen" , comments = "Generator version: 7.20.0" )
4545public class FeaturesInfo {
@@ -51,10 +51,6 @@ public class FeaturesInfo {
5151 @ javax .annotation .Nullable
5252 private Boolean oauthEnabled ;
5353
54- public static final String JSON_PROPERTY_NOTIFICATION_ENABLED = "notificationEnabled" ;
55- @ javax .annotation .Nullable
56- private Boolean notificationEnabled ;
57-
5854 public static final String JSON_PROPERTY_TWO_FA_ENABLED = "twoFaEnabled" ;
5955 @ javax .annotation .Nullable
6056 private Boolean twoFaEnabled ;
@@ -63,6 +59,10 @@ public class FeaturesInfo {
6359 @ javax .annotation .Nullable
6460 private Boolean emailEnabled ;
6561
62+ public static final String JSON_PROPERTY_NOTIFICATION_ENABLED = "notificationEnabled" ;
63+ @ javax .annotation .Nullable
64+ private Boolean notificationEnabled ;
65+
6666 public FeaturesInfo () {
6767 }
6868
@@ -114,30 +114,6 @@ public void setOauthEnabled(@javax.annotation.Nullable Boolean oauthEnabled) {
114114 }
115115
116116
117- public FeaturesInfo notificationEnabled (@ javax .annotation .Nullable Boolean notificationEnabled ) {
118- this .notificationEnabled = notificationEnabled ;
119- return this ;
120- }
121-
122- /**
123- * Get notificationEnabled
124- * @return notificationEnabled
125- */
126- @ javax .annotation .Nullable
127- @ JsonProperty (value = JSON_PROPERTY_NOTIFICATION_ENABLED , required = false )
128- @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
129- public Boolean getNotificationEnabled () {
130- return notificationEnabled ;
131- }
132-
133-
134- @ JsonProperty (value = JSON_PROPERTY_NOTIFICATION_ENABLED , required = false )
135- @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
136- public void setNotificationEnabled (@ javax .annotation .Nullable Boolean notificationEnabled ) {
137- this .notificationEnabled = notificationEnabled ;
138- }
139-
140-
141117 public FeaturesInfo twoFaEnabled (@ javax .annotation .Nullable Boolean twoFaEnabled ) {
142118 this .twoFaEnabled = twoFaEnabled ;
143119 return this ;
@@ -186,6 +162,30 @@ public void setEmailEnabled(@javax.annotation.Nullable Boolean emailEnabled) {
186162 }
187163
188164
165+ public FeaturesInfo notificationEnabled (@ javax .annotation .Nullable Boolean notificationEnabled ) {
166+ this .notificationEnabled = notificationEnabled ;
167+ return this ;
168+ }
169+
170+ /**
171+ * Get notificationEnabled
172+ * @return notificationEnabled
173+ */
174+ @ javax .annotation .Nullable
175+ @ JsonProperty (value = JSON_PROPERTY_NOTIFICATION_ENABLED , required = false )
176+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
177+ public Boolean getNotificationEnabled () {
178+ return notificationEnabled ;
179+ }
180+
181+
182+ @ JsonProperty (value = JSON_PROPERTY_NOTIFICATION_ENABLED , required = false )
183+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
184+ public void setNotificationEnabled (@ javax .annotation .Nullable Boolean notificationEnabled ) {
185+ this .notificationEnabled = notificationEnabled ;
186+ }
187+
188+
189189 /**
190190 * Return true if this FeaturesInfo object is equal to o.
191191 */
@@ -200,14 +200,14 @@ public boolean equals(Object o) {
200200 FeaturesInfo featuresInfo = (FeaturesInfo ) o ;
201201 return Objects .equals (this .smsEnabled , featuresInfo .smsEnabled ) &&
202202 Objects .equals (this .oauthEnabled , featuresInfo .oauthEnabled ) &&
203- Objects .equals (this .notificationEnabled , featuresInfo .notificationEnabled ) &&
204203 Objects .equals (this .twoFaEnabled , featuresInfo .twoFaEnabled ) &&
205- Objects .equals (this .emailEnabled , featuresInfo .emailEnabled );
204+ Objects .equals (this .emailEnabled , featuresInfo .emailEnabled ) &&
205+ Objects .equals (this .notificationEnabled , featuresInfo .notificationEnabled );
206206 }
207207
208208 @ Override
209209 public int hashCode () {
210- return Objects .hash (smsEnabled , oauthEnabled , notificationEnabled , twoFaEnabled , emailEnabled );
210+ return Objects .hash (smsEnabled , oauthEnabled , twoFaEnabled , emailEnabled , notificationEnabled );
211211 }
212212
213213 @ Override
@@ -216,9 +216,9 @@ public String toString() {
216216 sb .append ("class FeaturesInfo {\n " );
217217 sb .append (" smsEnabled: " ).append (toIndentedString (smsEnabled )).append ("\n " );
218218 sb .append (" oauthEnabled: " ).append (toIndentedString (oauthEnabled )).append ("\n " );
219- sb .append (" notificationEnabled: " ).append (toIndentedString (notificationEnabled )).append ("\n " );
220219 sb .append (" twoFaEnabled: " ).append (toIndentedString (twoFaEnabled )).append ("\n " );
221220 sb .append (" emailEnabled: " ).append (toIndentedString (emailEnabled )).append ("\n " );
221+ sb .append (" notificationEnabled: " ).append (toIndentedString (notificationEnabled )).append ("\n " );
222222 sb .append ("}" );
223223 return sb .toString ();
224224 }
@@ -276,11 +276,6 @@ public String toUrlQueryString(String prefix) {
276276 joiner .add (String .format (java .util .Locale .ROOT , "%soauthEnabled%s=%s" , prefix , suffix , ApiClient .urlEncode (ApiClient .valueToString (getOauthEnabled ()))));
277277 }
278278
279- // add `notificationEnabled` to the URL query string
280- if (getNotificationEnabled () != null ) {
281- joiner .add (String .format (java .util .Locale .ROOT , "%snotificationEnabled%s=%s" , prefix , suffix , ApiClient .urlEncode (ApiClient .valueToString (getNotificationEnabled ()))));
282- }
283-
284279 // add `twoFaEnabled` to the URL query string
285280 if (getTwoFaEnabled () != null ) {
286281 joiner .add (String .format (java .util .Locale .ROOT , "%stwoFaEnabled%s=%s" , prefix , suffix , ApiClient .urlEncode (ApiClient .valueToString (getTwoFaEnabled ()))));
@@ -291,6 +286,11 @@ public String toUrlQueryString(String prefix) {
291286 joiner .add (String .format (java .util .Locale .ROOT , "%semailEnabled%s=%s" , prefix , suffix , ApiClient .urlEncode (ApiClient .valueToString (getEmailEnabled ()))));
292287 }
293288
289+ // add `notificationEnabled` to the URL query string
290+ if (getNotificationEnabled () != null ) {
291+ joiner .add (String .format (java .util .Locale .ROOT , "%snotificationEnabled%s=%s" , prefix , suffix , ApiClient .urlEncode (ApiClient .valueToString (getNotificationEnabled ()))));
292+ }
293+
294294 return joiner .toString ();
295295 }
296296}
0 commit comments