/* Options: Date: 2024-12-23 12:28:20 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //Package: //GlobalNamespace: ConsumerApi //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: UserCreateRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class ConsumerApi { @Route(Path="/signup/create_user", Verbs="POST") public static class UserCreateRequest implements IReturn, IPost { public String token = null; public String firstName = null; public String lastName = null; public Sex sex = null; public DateOfBirth dateOfBirth = null; public String email = null; public String password = null; public String passwordConfirmation = null; public HomeLocation home = null; public Boolean acceptTermsOfService = null; public String referFriendToken = null; public String getToken() { return token; } public UserCreateRequest setToken(String value) { this.token = value; return this; } public String getFirstName() { return firstName; } public UserCreateRequest setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public UserCreateRequest setLastName(String value) { this.lastName = value; return this; } public Sex getSex() { return sex; } public UserCreateRequest setSex(Sex value) { this.sex = value; return this; } public DateOfBirth getDateOfBirth() { return dateOfBirth; } public UserCreateRequest setDateOfBirth(DateOfBirth value) { this.dateOfBirth = value; return this; } public String getEmail() { return email; } public UserCreateRequest setEmail(String value) { this.email = value; return this; } public String getPassword() { return password; } public UserCreateRequest setPassword(String value) { this.password = value; return this; } public String getPasswordConfirmation() { return passwordConfirmation; } public UserCreateRequest setPasswordConfirmation(String value) { this.passwordConfirmation = value; return this; } public HomeLocation getHome() { return home; } public UserCreateRequest setHome(HomeLocation value) { this.home = value; return this; } public Boolean isAcceptTermsOfService() { return acceptTermsOfService; } public UserCreateRequest setAcceptTermsOfService(Boolean value) { this.acceptTermsOfService = value; return this; } public String getReferFriendToken() { return referFriendToken; } public UserCreateRequest setReferFriendToken(String value) { this.referFriendToken = value; return this; } private static Object responseType = UserCreateResponse.class; public Object getResponseType() { return responseType; } } public static class UserCreateResponse { public String sentVerificationEmailWithRequestId = null; public Integer passwordScore = null; public UUID userGuid = null; public Boolean referFriendAwarded = null; public String getSentVerificationEmailWithRequestId() { return sentVerificationEmailWithRequestId; } public UserCreateResponse setSentVerificationEmailWithRequestId(String value) { this.sentVerificationEmailWithRequestId = value; return this; } public Integer getPasswordScore() { return passwordScore; } public UserCreateResponse setPasswordScore(Integer value) { this.passwordScore = value; return this; } public UUID getUserGuid() { return userGuid; } public UserCreateResponse setUserGuid(UUID value) { this.userGuid = value; return this; } public Boolean isReferFriendAwarded() { return referFriendAwarded; } public UserCreateResponse setReferFriendAwarded(Boolean value) { this.referFriendAwarded = value; return this; } } public static class DateOfBirth { public Integer year = null; public Integer month = null; public Integer dayOfMonth = null; public Integer getYear() { return year; } public DateOfBirth setYear(Integer value) { this.year = value; return this; } public Integer getMonth() { return month; } public DateOfBirth setMonth(Integer value) { this.month = value; return this; } public Integer getDayOfMonth() { return dayOfMonth; } public DateOfBirth setDayOfMonth(Integer value) { this.dayOfMonth = value; return this; } } public static enum Sex { Male, Female; } public static class HomeLocation { public UserAddress address = null; public Float latitude = null; public Float longitude = null; public UserAddress getAddress() { return address; } public HomeLocation setAddress(UserAddress value) { this.address = value; return this; } public Float getLatitude() { return latitude; } public HomeLocation setLatitude(Float value) { this.latitude = value; return this; } public Float getLongitude() { return longitude; } public HomeLocation setLongitude(Float value) { this.longitude = value; return this; } } public static class UserAddress { public String streetName = null; public String streetNumber = null; public String postalCode = null; public String region = null; public String countryCode = null; public String getStreetName() { return streetName; } public UserAddress setStreetName(String value) { this.streetName = value; return this; } public String getStreetNumber() { return streetNumber; } public UserAddress setStreetNumber(String value) { this.streetNumber = value; return this; } public String getPostalCode() { return postalCode; } public UserAddress setPostalCode(String value) { this.postalCode = value; return this; } public String getRegion() { return region; } public UserAddress setRegion(String value) { this.region = value; return this; } public String getCountryCode() { return countryCode; } public UserAddress setCountryCode(String value) { this.countryCode = value; return this; } } }