/* Options: Date: 2025-05-04 22:02:39 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: UpdateUserInfo.* //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 { /** * Updates the user's info */ @Route(Path="/app/user-info", Verbs="PATCH") @Api(Description="Updates the user's info") public static class UpdateUserInfo implements IReturn, IPatch { /** * The new first name */ @ApiMember(Description="The new first name") public String firstName = null; /** * The new last name */ @ApiMember(Description="The new last name") public String lastName = null; public String getFirstName() { return firstName; } public UpdateUserInfo setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public UpdateUserInfo setLastName(String value) { this.lastName = value; return this; } private static Object responseType = AppUserInfo.class; public Object getResponseType() { return responseType; } } public static class AppUserInfo { /** * The user's first name */ @ApiMember(Description="The user's first name") public String firstName = null; /** * The user's last name */ @ApiMember(Description="The user's last name") public String lastName = null; /** * Shortcut to the user's full name */ @ApiMember(Description="Shortcut to the user's full name") public String name = null; /** * The URL to the user's avatar */ @ApiMember(Description="The URL to the user's avatar") public String avatarUrl = null; public String getFirstName() { return firstName; } public AppUserInfo setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public AppUserInfo setLastName(String value) { this.lastName = value; return this; } public String getName() { return name; } public AppUserInfo setName(String value) { this.name = value; return this; } public String getAvatarUrl() { return avatarUrl; } public AppUserInfo setAvatarUrl(String value) { this.avatarUrl = value; return this; } } }