/* Options: Date: 2025-05-04 22:38:27 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: UpdateUserInfo.* //ExcludeTypes: //InitializeCollections: False //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.* /** * Updates the user's info */ @Route(Path="/app/user-info", Verbs="PATCH") @Api(Description="Updates the user's info") open class UpdateUserInfo : IReturn, IPatch { /** * The new first name */ @ApiMember(Description="The new first name") open var firstName:String? = null /** * The new last name */ @ApiMember(Description="The new last name") open var lastName:String? = null companion object { private val responseType = AppUserInfo::class.java } override fun getResponseType(): Any? = UpdateUserInfo.responseType } open class AppUserInfo { /** * The user's first name */ @ApiMember(Description="The user's first name") open var firstName:String? = null /** * The user's last name */ @ApiMember(Description="The user's last name") open var lastName:String? = null /** * Shortcut to the user's full name */ @ApiMember(Description="Shortcut to the user's full name") open var name:String? = null /** * The URL to the user's avatar */ @ApiMember(Description="The URL to the user's avatar") open var avatarUrl:String? = null }