/* Options: Date: 2025-05-04 22:44:30 SwiftVersion: 6.0 Version: 8.71 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://team.evovoice.io //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True //MakePropertiesOptional: True IncludeTypes: UpdateUserInfo.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * Updates the user's info */ // @Route("/app/user-info", "PATCH") // @Api(Description="Updates the user's info") public class UpdateUserInfo : IReturn, IPatch, Codable { public typealias Return = AppUserInfo /** * The new first name */ // @ApiMember(Description="The new first name") public var firstName:String? /** * The new last name */ // @ApiMember(Description="The new last name") public var lastName:String? required public init(){} } public class AppUserInfo : Codable { /** * The user's first name */ // @ApiMember(Description="The user's first name") public var firstName:String? /** * The user's last name */ // @ApiMember(Description="The user's last name") public var lastName:String? /** * Shortcut to the user's full name */ // @ApiMember(Description="Shortcut to the user's full name") public var name:String? /** * The URL to the user's avatar */ // @ApiMember(Description="The URL to the user's avatar") public var avatarUrl:String? required public init(){} }