/* Options: Date: 2024-12-23 11:54:47 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: ProfileUpdatePersonalInformationRequest.* //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="/profile/personal-information", Verbs="PUT") public static class ProfileUpdatePersonalInformationRequest implements IReturn, IPut { public String firstName = null; public String lastName = null; public DateOfBirth dateOfBirth = null; public Sex sex = null; public DistanceUnit showDistancesIn = null; public String getFirstName() { return firstName; } public ProfileUpdatePersonalInformationRequest setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public ProfileUpdatePersonalInformationRequest setLastName(String value) { this.lastName = value; return this; } public DateOfBirth getDateOfBirth() { return dateOfBirth; } public ProfileUpdatePersonalInformationRequest setDateOfBirth(DateOfBirth value) { this.dateOfBirth = value; return this; } public Sex getSex() { return sex; } public ProfileUpdatePersonalInformationRequest setSex(Sex value) { this.sex = value; return this; } public DistanceUnit getShowDistancesIn() { return showDistancesIn; } public ProfileUpdatePersonalInformationRequest setShowDistancesIn(DistanceUnit value) { this.showDistancesIn = value; return this; } private static Object responseType = ProfileUpdatePersonalInformationResponse.class; public Object getResponseType() { return responseType; } } public static class ProfileUpdatePersonalInformationResponse { public String firstName = null; public String lastName = null; public DateOfBirth dateOfBirth = null; public Sex sex = null; public DistanceUnit showDistancesIn = null; public String getFirstName() { return firstName; } public ProfileUpdatePersonalInformationResponse setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public ProfileUpdatePersonalInformationResponse setLastName(String value) { this.lastName = value; return this; } public DateOfBirth getDateOfBirth() { return dateOfBirth; } public ProfileUpdatePersonalInformationResponse setDateOfBirth(DateOfBirth value) { this.dateOfBirth = value; return this; } public Sex getSex() { return sex; } public ProfileUpdatePersonalInformationResponse setSex(Sex value) { this.sex = value; return this; } public DistanceUnit getShowDistancesIn() { return showDistancesIn; } public ProfileUpdatePersonalInformationResponse setShowDistancesIn(DistanceUnit value) { this.showDistancesIn = 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 enum DistanceUnit { Kilometer, Mile; } }