Skip to content

Commit 4fc94f2

Browse files
fix: Gender enum 适配 W
1 parent a6a8f9d commit 4fc94f2

14 files changed

+136
-6
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>cn.authing</groupId>
88
<artifactId>authing-java-sdk</artifactId>
9-
<version>3.1.1</version>
9+
<version>3.1.2</version>
1010

1111
<name>Authing Java SDK</name>
1212
<description>java backend sdk for authing</description>

src/main/java/cn/authing/sdk/java/dto/CreatePublicAccountReqDto.java

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
package cn.authing.sdk.java.dto;
22

33
import java.util.List;
4+
45
import com.fasterxml.jackson.annotation.JsonProperty;
56

67
import cn.authing.sdk.java.dto.CreatePublicAccountOptionsDto;
@@ -206,272 +207,311 @@ public class CreatePublicAccountReqDto {
206207
public Status getStatus() {
207208
return status;
208209
}
210+
209211
public void setStatus(Status status) {
210212
this.status = status;
211213
}
212214

213215
public String getEmail() {
214216
return email;
215217
}
218+
216219
public void setEmail(String email) {
217220
this.email = email;
218221
}
219222

220223
public String getPhone() {
221224
return phone;
222225
}
226+
223227
public void setPhone(String phone) {
224228
this.phone = phone;
225229
}
226230

227231
public String getPhoneCountryCode() {
228232
return phoneCountryCode;
229233
}
234+
230235
public void setPhoneCountryCode(String phoneCountryCode) {
231236
this.phoneCountryCode = phoneCountryCode;
232237
}
233238

234239
public String getUsername() {
235240
return username;
236241
}
242+
237243
public void setUsername(String username) {
238244
this.username = username;
239245
}
240246

241247
public String getExternalId() {
242248
return externalId;
243249
}
250+
244251
public void setExternalId(String externalId) {
245252
this.externalId = externalId;
246253
}
247254

248255
public String getName() {
249256
return name;
250257
}
258+
251259
public void setName(String name) {
252260
this.name = name;
253261
}
254262

255263
public String getNickname() {
256264
return nickname;
257265
}
266+
258267
public void setNickname(String nickname) {
259268
this.nickname = nickname;
260269
}
261270

262271
public String getPhoto() {
263272
return photo;
264273
}
274+
265275
public void setPhoto(String photo) {
266276
this.photo = photo;
267277
}
268278

269279
public Gender getGender() {
270280
return gender;
271281
}
282+
272283
public void setGender(Gender gender) {
273284
this.gender = gender;
274285
}
275286

276287
public Boolean getEmailVerified() {
277288
return emailVerified;
278289
}
290+
279291
public void setEmailVerified(Boolean emailVerified) {
280292
this.emailVerified = emailVerified;
281293
}
282294

283295
public Boolean getPhoneVerified() {
284296
return phoneVerified;
285297
}
298+
286299
public void setPhoneVerified(Boolean phoneVerified) {
287300
this.phoneVerified = phoneVerified;
288301
}
289302

290303
public String getBirthdate() {
291304
return birthdate;
292305
}
306+
293307
public void setBirthdate(String birthdate) {
294308
this.birthdate = birthdate;
295309
}
296310

297311
public String getCountry() {
298312
return country;
299313
}
314+
300315
public void setCountry(String country) {
301316
this.country = country;
302317
}
303318

304319
public String getProvince() {
305320
return province;
306321
}
322+
307323
public void setProvince(String province) {
308324
this.province = province;
309325
}
310326

311327
public String getCity() {
312328
return city;
313329
}
330+
314331
public void setCity(String city) {
315332
this.city = city;
316333
}
317334

318335
public String getAddress() {
319336
return address;
320337
}
338+
321339
public void setAddress(String address) {
322340
this.address = address;
323341
}
324342

325343
public String getStreetAddress() {
326344
return streetAddress;
327345
}
346+
328347
public void setStreetAddress(String streetAddress) {
329348
this.streetAddress = streetAddress;
330349
}
331350

332351
public String getPostalCode() {
333352
return postalCode;
334353
}
354+
335355
public void setPostalCode(String postalCode) {
336356
this.postalCode = postalCode;
337357
}
338358

339359
public String getCompany() {
340360
return company;
341361
}
362+
342363
public void setCompany(String company) {
343364
this.company = company;
344365
}
345366

346367
public String getBrowser() {
347368
return browser;
348369
}
370+
349371
public void setBrowser(String browser) {
350372
this.browser = browser;
351373
}
352374

353375
public String getDevice() {
354376
return device;
355377
}
378+
356379
public void setDevice(String device) {
357380
this.device = device;
358381
}
359382

360383
public String getGivenName() {
361384
return givenName;
362385
}
386+
363387
public void setGivenName(String givenName) {
364388
this.givenName = givenName;
365389
}
366390

367391
public String getFamilyName() {
368392
return familyName;
369393
}
394+
370395
public void setFamilyName(String familyName) {
371396
this.familyName = familyName;
372397
}
373398

374399
public String getMiddleName() {
375400
return middleName;
376401
}
402+
377403
public void setMiddleName(String middleName) {
378404
this.middleName = middleName;
379405
}
380406

381407
public String getProfile() {
382408
return profile;
383409
}
410+
384411
public void setProfile(String profile) {
385412
this.profile = profile;
386413
}
387414

388415
public String getPreferredUsername() {
389416
return preferredUsername;
390417
}
418+
391419
public void setPreferredUsername(String preferredUsername) {
392420
this.preferredUsername = preferredUsername;
393421
}
394422

395423
public String getWebsite() {
396424
return website;
397425
}
426+
398427
public void setWebsite(String website) {
399428
this.website = website;
400429
}
401430

402431
public String getZoneinfo() {
403432
return zoneinfo;
404433
}
434+
405435
public void setZoneinfo(String zoneinfo) {
406436
this.zoneinfo = zoneinfo;
407437
}
408438

409439
public String getLocale() {
410440
return locale;
411441
}
442+
412443
public void setLocale(String locale) {
413444
this.locale = locale;
414445
}
415446

416447
public String getFormatted() {
417448
return formatted;
418449
}
450+
419451
public void setFormatted(String formatted) {
420452
this.formatted = formatted;
421453
}
422454

423455
public String getRegion() {
424456
return region;
425457
}
458+
426459
public void setRegion(String region) {
427460
this.region = region;
428461
}
429462

430463
public String getPassword() {
431464
return password;
432465
}
466+
433467
public void setPassword(String password) {
434468
this.password = password;
435469
}
436470

437471
public String getSalt() {
438472
return salt;
439473
}
474+
440475
public void setSalt(String salt) {
441476
this.salt = salt;
442477
}
443478

444479
public CreatePublicAccountOtpDto getOtp() {
445480
return otp;
446481
}
482+
447483
public void setOtp(CreatePublicAccountOtpDto otp) {
448484
this.otp = otp;
449485
}
450486

451487
public List<String> getDepartmentIds() {
452488
return departmentIds;
453489
}
490+
454491
public void setDepartmentIds(List<String> departmentIds) {
455492
this.departmentIds = departmentIds;
456493
}
457494

458495
public Object getCustomData() {
459496
return customData;
460497
}
498+
461499
public void setCustomData(Object customData) {
462500
this.customData = customData;
463501
}
464502

465503
public String getIdentityNumber() {
466504
return identityNumber;
467505
}
506+
468507
public void setIdentityNumber(String identityNumber) {
469508
this.identityNumber = identityNumber;
470509
}
471510

472511
public CreatePublicAccountOptionsDto getOptions() {
473512
return options;
474513
}
514+
475515
public void setOptions(CreatePublicAccountOptionsDto options) {
476516
this.options = options;
477517
}
@@ -522,7 +562,10 @@ public static enum Gender {
522562

523563
@JsonProperty("U")
524564
U("U"),
525-
;
565+
566+
@JsonProperty("W")
567+
W("W");
568+
526569

527570
private String value;
528571

0 commit comments

Comments
 (0)