/* Options: Date: 2024-12-22 21:09:03 Version: 8.51 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://blazor-gallery.servicestack.net //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: UpdatePlayer.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { public static class UpdatePlayer implements IReturn, IPatchDb { public Integer id = null; @Validate(Validator="NotEmpty") public String firstName = null; public String lastName = null; public String email = null; public ArrayList phoneNumbers = null; public Integer profileId = null; public UUID savedLevelId = null; public Integer getId() { return id; } public UpdatePlayer setId(Integer value) { this.id = value; return this; } public String getFirstName() { return firstName; } public UpdatePlayer setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public UpdatePlayer setLastName(String value) { this.lastName = value; return this; } public String getEmail() { return email; } public UpdatePlayer setEmail(String value) { this.email = value; return this; } public ArrayList getPhoneNumbers() { return phoneNumbers; } public UpdatePlayer setPhoneNumbers(ArrayList value) { this.phoneNumbers = value; return this; } public Integer getProfileId() { return profileId; } public UpdatePlayer setProfileId(Integer value) { this.profileId = value; return this; } public UUID getSavedLevelId() { return savedLevelId; } public UpdatePlayer setSavedLevelId(UUID value) { this.savedLevelId = value; return this; } private static Object responseType = IdResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class IdResponse { @DataMember(Order=1) public String id = null; @DataMember(Order=2) public ResponseStatus responseStatus = null; public String getId() { return id; } public IdResponse setId(String value) { this.id = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public IdResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } public static class Player extends AuditBase { public Integer id = null; @Required() public String firstName = null; public String lastName = null; public String email = null; public ArrayList phoneNumbers = new ArrayList(); public ArrayList gameItems = new ArrayList(); public Profile profile = null; public Integer profileId = null; public UUID savedLevelId = null; public BigInteger rowVersion = null; public Integer getId() { return id; } public Player setId(Integer value) { this.id = value; return this; } public String getFirstName() { return firstName; } public Player setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public Player setLastName(String value) { this.lastName = value; return this; } public String getEmail() { return email; } public Player setEmail(String value) { this.email = value; return this; } public ArrayList getPhoneNumbers() { return phoneNumbers; } public Player setPhoneNumbers(ArrayList value) { this.phoneNumbers = value; return this; } public ArrayList getGameItems() { return gameItems; } public Player setGameItems(ArrayList value) { this.gameItems = value; return this; } public Profile getProfile() { return profile; } public Player setProfile(Profile value) { this.profile = value; return this; } public Integer getProfileId() { return profileId; } public Player setProfileId(Integer value) { this.profileId = value; return this; } public UUID getSavedLevelId() { return savedLevelId; } public Player setSavedLevelId(UUID value) { this.savedLevelId = value; return this; } public BigInteger getRowVersion() { return rowVersion; } public Player setRowVersion(BigInteger value) { this.rowVersion = value; return this; } } public static class Phone { public PhoneKind kind = null; public String number = null; public String ext = null; public PhoneKind getKind() { return kind; } public Phone setKind(PhoneKind value) { this.kind = value; return this; } public String getNumber() { return number; } public Phone setNumber(String value) { this.number = value; return this; } public String getExt() { return ext; } public Phone setExt(String value) { this.ext = value; return this; } } public static enum PhoneKind { Home, Mobile, Work; } }