3535 * FeaturesInfo
3636 */
3737@ JsonPropertyOrder ({
38- FeaturesInfo .JSON_PROPERTY_SMS_ENABLED ,
39- FeaturesInfo .JSON_PROPERTY_OAUTH_ENABLED ,
4038 FeaturesInfo .JSON_PROPERTY_NOTIFICATION_ENABLED ,
4139 FeaturesInfo .JSON_PROPERTY_TWO_FA_ENABLED ,
42- FeaturesInfo .JSON_PROPERTY_EMAIL_ENABLED
40+ FeaturesInfo .JSON_PROPERTY_OAUTH_ENABLED ,
41+ FeaturesInfo .JSON_PROPERTY_EMAIL_ENABLED ,
42+ FeaturesInfo .JSON_PROPERTY_SMS_ENABLED
4343})
4444@ javax .annotation .Generated (value = "org.openapitools.codegen.languages.JavaClientCodegen" , comments = "Generator version: 7.20.0" )
4545public class FeaturesInfo {
46- public static final String JSON_PROPERTY_SMS_ENABLED = "smsEnabled" ;
47- @ javax .annotation .Nullable
48- private Boolean smsEnabled ;
49-
50- public static final String JSON_PROPERTY_OAUTH_ENABLED = "oauthEnabled" ;
51- @ javax .annotation .Nullable
52- private Boolean oauthEnabled ;
53-
5446 public static final String JSON_PROPERTY_NOTIFICATION_ENABLED = "notificationEnabled" ;
5547 @ javax .annotation .Nullable
5648 private Boolean notificationEnabled ;
@@ -59,61 +51,21 @@ public class FeaturesInfo {
5951 @ javax .annotation .Nullable
6052 private Boolean twoFaEnabled ;
6153
62- public static final String JSON_PROPERTY_EMAIL_ENABLED = "emailEnabled " ;
54+ public static final String JSON_PROPERTY_OAUTH_ENABLED = "oauthEnabled " ;
6355 @ javax .annotation .Nullable
64- private Boolean emailEnabled ;
65-
66- public FeaturesInfo () {
67- }
68-
69- public FeaturesInfo smsEnabled (@ javax .annotation .Nullable Boolean smsEnabled ) {
70- this .smsEnabled = smsEnabled ;
71- return this ;
72- }
56+ private Boolean oauthEnabled ;
7357
74- /**
75- * Get smsEnabled
76- * @return smsEnabled
77- */
58+ public static final String JSON_PROPERTY_EMAIL_ENABLED = "emailEnabled" ;
7859 @ javax .annotation .Nullable
79- @ JsonProperty (value = JSON_PROPERTY_SMS_ENABLED , required = false )
80- @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
81- public Boolean getSmsEnabled () {
82- return smsEnabled ;
83- }
84-
85-
86- @ JsonProperty (value = JSON_PROPERTY_SMS_ENABLED , required = false )
87- @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
88- public void setSmsEnabled (@ javax .annotation .Nullable Boolean smsEnabled ) {
89- this .smsEnabled = smsEnabled ;
90- }
91-
92-
93- public FeaturesInfo oauthEnabled (@ javax .annotation .Nullable Boolean oauthEnabled ) {
94- this .oauthEnabled = oauthEnabled ;
95- return this ;
96- }
60+ private Boolean emailEnabled ;
9761
98- /**
99- * Get oauthEnabled
100- * @return oauthEnabled
101- */
62+ public static final String JSON_PROPERTY_SMS_ENABLED = "smsEnabled" ;
10263 @ javax .annotation .Nullable
103- @ JsonProperty (value = JSON_PROPERTY_OAUTH_ENABLED , required = false )
104- @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
105- public Boolean getOauthEnabled () {
106- return oauthEnabled ;
107- }
108-
64+ private Boolean smsEnabled ;
10965
110- @ JsonProperty (value = JSON_PROPERTY_OAUTH_ENABLED , required = false )
111- @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
112- public void setOauthEnabled (@ javax .annotation .Nullable Boolean oauthEnabled ) {
113- this .oauthEnabled = oauthEnabled ;
66+ public FeaturesInfo () {
11467 }
11568
116-
11769 public FeaturesInfo notificationEnabled (@ javax .annotation .Nullable Boolean notificationEnabled ) {
11870 this .notificationEnabled = notificationEnabled ;
11971 return this ;
@@ -162,6 +114,30 @@ public void setTwoFaEnabled(@javax.annotation.Nullable Boolean twoFaEnabled) {
162114 }
163115
164116
117+ public FeaturesInfo oauthEnabled (@ javax .annotation .Nullable Boolean oauthEnabled ) {
118+ this .oauthEnabled = oauthEnabled ;
119+ return this ;
120+ }
121+
122+ /**
123+ * Get oauthEnabled
124+ * @return oauthEnabled
125+ */
126+ @ javax .annotation .Nullable
127+ @ JsonProperty (value = JSON_PROPERTY_OAUTH_ENABLED , required = false )
128+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
129+ public Boolean getOauthEnabled () {
130+ return oauthEnabled ;
131+ }
132+
133+
134+ @ JsonProperty (value = JSON_PROPERTY_OAUTH_ENABLED , required = false )
135+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
136+ public void setOauthEnabled (@ javax .annotation .Nullable Boolean oauthEnabled ) {
137+ this .oauthEnabled = oauthEnabled ;
138+ }
139+
140+
165141 public FeaturesInfo emailEnabled (@ javax .annotation .Nullable Boolean emailEnabled ) {
166142 this .emailEnabled = emailEnabled ;
167143 return this ;
@@ -186,6 +162,30 @@ public void setEmailEnabled(@javax.annotation.Nullable Boolean emailEnabled) {
186162 }
187163
188164
165+ public FeaturesInfo smsEnabled (@ javax .annotation .Nullable Boolean smsEnabled ) {
166+ this .smsEnabled = smsEnabled ;
167+ return this ;
168+ }
169+
170+ /**
171+ * Get smsEnabled
172+ * @return smsEnabled
173+ */
174+ @ javax .annotation .Nullable
175+ @ JsonProperty (value = JSON_PROPERTY_SMS_ENABLED , required = false )
176+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
177+ public Boolean getSmsEnabled () {
178+ return smsEnabled ;
179+ }
180+
181+
182+ @ JsonProperty (value = JSON_PROPERTY_SMS_ENABLED , required = false )
183+ @ JsonInclude (value = JsonInclude .Include .USE_DEFAULTS )
184+ public void setSmsEnabled (@ javax .annotation .Nullable Boolean smsEnabled ) {
185+ this .smsEnabled = smsEnabled ;
186+ }
187+
188+
189189 /**
190190 * Return true if this FeaturesInfo object is equal to o.
191191 */
@@ -198,27 +198,27 @@ public boolean equals(Object o) {
198198 return false ;
199199 }
200200 FeaturesInfo featuresInfo = (FeaturesInfo ) o ;
201- return Objects .equals (this .smsEnabled , featuresInfo .smsEnabled ) &&
202- Objects .equals (this .oauthEnabled , featuresInfo .oauthEnabled ) &&
203- Objects .equals (this .notificationEnabled , featuresInfo .notificationEnabled ) &&
201+ return Objects .equals (this .notificationEnabled , featuresInfo .notificationEnabled ) &&
204202 Objects .equals (this .twoFaEnabled , featuresInfo .twoFaEnabled ) &&
205- Objects .equals (this .emailEnabled , featuresInfo .emailEnabled );
203+ Objects .equals (this .oauthEnabled , featuresInfo .oauthEnabled ) &&
204+ Objects .equals (this .emailEnabled , featuresInfo .emailEnabled ) &&
205+ Objects .equals (this .smsEnabled , featuresInfo .smsEnabled );
206206 }
207207
208208 @ Override
209209 public int hashCode () {
210- return Objects .hash (smsEnabled , oauthEnabled , notificationEnabled , twoFaEnabled , emailEnabled );
210+ return Objects .hash (notificationEnabled , twoFaEnabled , oauthEnabled , emailEnabled , smsEnabled );
211211 }
212212
213213 @ Override
214214 public String toString () {
215215 StringBuilder sb = new StringBuilder ();
216216 sb .append ("class FeaturesInfo {\n " );
217- sb .append (" smsEnabled: " ).append (toIndentedString (smsEnabled )).append ("\n " );
218- sb .append (" oauthEnabled: " ).append (toIndentedString (oauthEnabled )).append ("\n " );
219217 sb .append (" notificationEnabled: " ).append (toIndentedString (notificationEnabled )).append ("\n " );
220218 sb .append (" twoFaEnabled: " ).append (toIndentedString (twoFaEnabled )).append ("\n " );
219+ sb .append (" oauthEnabled: " ).append (toIndentedString (oauthEnabled )).append ("\n " );
221220 sb .append (" emailEnabled: " ).append (toIndentedString (emailEnabled )).append ("\n " );
221+ sb .append (" smsEnabled: " ).append (toIndentedString (smsEnabled )).append ("\n " );
222222 sb .append ("}" );
223223 return sb .toString ();
224224 }
@@ -266,16 +266,6 @@ public String toUrlQueryString(String prefix) {
266266
267267 StringJoiner joiner = new StringJoiner ("&" );
268268
269- // add `smsEnabled` to the URL query string
270- if (getSmsEnabled () != null ) {
271- joiner .add (String .format (java .util .Locale .ROOT , "%ssmsEnabled%s=%s" , prefix , suffix , ApiClient .urlEncode (ApiClient .valueToString (getSmsEnabled ()))));
272- }
273-
274- // add `oauthEnabled` to the URL query string
275- if (getOauthEnabled () != null ) {
276- joiner .add (String .format (java .util .Locale .ROOT , "%soauthEnabled%s=%s" , prefix , suffix , ApiClient .urlEncode (ApiClient .valueToString (getOauthEnabled ()))));
277- }
278-
279269 // add `notificationEnabled` to the URL query string
280270 if (getNotificationEnabled () != null ) {
281271 joiner .add (String .format (java .util .Locale .ROOT , "%snotificationEnabled%s=%s" , prefix , suffix , ApiClient .urlEncode (ApiClient .valueToString (getNotificationEnabled ()))));
@@ -286,11 +276,21 @@ public String toUrlQueryString(String prefix) {
286276 joiner .add (String .format (java .util .Locale .ROOT , "%stwoFaEnabled%s=%s" , prefix , suffix , ApiClient .urlEncode (ApiClient .valueToString (getTwoFaEnabled ()))));
287277 }
288278
279+ // add `oauthEnabled` to the URL query string
280+ if (getOauthEnabled () != null ) {
281+ joiner .add (String .format (java .util .Locale .ROOT , "%soauthEnabled%s=%s" , prefix , suffix , ApiClient .urlEncode (ApiClient .valueToString (getOauthEnabled ()))));
282+ }
283+
289284 // add `emailEnabled` to the URL query string
290285 if (getEmailEnabled () != null ) {
291286 joiner .add (String .format (java .util .Locale .ROOT , "%semailEnabled%s=%s" , prefix , suffix , ApiClient .urlEncode (ApiClient .valueToString (getEmailEnabled ()))));
292287 }
293288
289+ // add `smsEnabled` to the URL query string
290+ if (getSmsEnabled () != null ) {
291+ joiner .add (String .format (java .util .Locale .ROOT , "%ssmsEnabled%s=%s" , prefix , suffix , ApiClient .urlEncode (ApiClient .valueToString (getSmsEnabled ()))));
292+ }
293+
294294 return joiner .toString ();
295295 }
296296}
0 commit comments