/* Options:
Date: 2025-05-04 22:16:02
Version: 8.71
Tip: To override a DTO option, remove "//" prefix before updating
BaseUrl: https://team.evovoice.io
//GlobalNamespace:
//MakePartial: True
//MakeVirtual: True
//MakeInternal: False
//MakeDataContractsExtensible: False
//AddNullableAnnotations: False
//AddReturnMarker: True
//AddDescriptionAsComments: True
//AddDataContractAttributes: False
//AddIndexesToDataMembers: False
//AddGeneratedCodeAttributes: False
//AddResponseStatus: False
//AddImplicitVersion:
//InitializeCollections: False
//ExportValueTypes: False
IncludeTypes: UpdateUserInfo.*
//ExcludeTypes:
//AddNamespaces:
//AddDefaultXmlNamespace: http://schemas.servicestack.net/types
*/
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using Voice.Api.App;
namespace Voice.Api.App
{
public partial class AppUserInfo
{
///
///The user's first name
///
[ApiMember(Description="The user's first name")]
public virtual string FirstName { get; set; }
///
///The user's last name
///
[ApiMember(Description="The user's last name")]
public virtual string LastName { get; set; }
///
///Shortcut to the user's full name
///
[ApiMember(Description="Shortcut to the user's full name")]
public virtual string Name { get; set; }
///
///The URL to the user's avatar
///
[ApiMember(Description="The URL to the user's avatar")]
public virtual string AvatarUrl { get; set; }
}
///
///Updates the user's info
///
[Route("/app/user-info", "PATCH")]
[Api(Description="Updates the user's info")]
public partial class UpdateUserInfo
: IReturn, IPatch
{
///
///The new first name
///
[ApiMember(Description="The new first name")]
public virtual string FirstName { get; set; }
///
///The new last name
///
[ApiMember(Description="The new last name")]
public virtual string LastName { get; set; }
}
}