/* Options: Date: 2024-12-23 11:38:25 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //GlobalNamespace: ConsumerApi //MakePartial: True //MakeVirtual: False //MakeInternal: False //MakeDataContractsExtensible: False //AddNullableAnnotations: True //AddReturnMarker: True //AddDescriptionAsComments: True //AddDataContractAttributes: False //AddIndexesToDataMembers: False //AddGeneratedCodeAttributes: False //AddResponseStatus: False //AddImplicitVersion: //InitializeCollections: True //ExportValueTypes: False IncludeTypes: CompleteProfileRequest.* //ExcludeTypes: //AddNamespaces: //AddDefaultXmlNamespace: http://schemas.servicestack.net/types */ using System; using System.Collections; using System.Collections.Generic; using System.Runtime.Serialization; using ServiceStack; using ServiceStack.DataAnnotations; using ConsumerApi; namespace ConsumerApi { [Route("/user/complete_profile", "PUT")] public partial class CompleteProfileRequest : IReturn, IPut { [Validate("NotNull")] public Sex? Sex { get; set; } [Validate("NotEmpty")] public bool AcceptTermsOfService { get; set; } } public partial class CompleteProfileResponse { public UserProfileDto UserProfile { get; set; } } public partial class UserProfileDto { public Locale Locale { get; set; } public Guid UserGuid { get; set; } public string? FirstName { get; set; } public string? LastName { get; set; } public string? ProfilePhotoUrl { get; set; } public string MobilePhone { get; set; } public bool MobilePhoneVerified { get; set; } public string? Email { get; set; } public bool EmailVerified { get; set; } public bool HasPassword { get; set; } public DateOfBirth DateOfBirth { get; set; } public Sex? Sex { get; set; } public HomeLocation Home { get; set; } public DistanceUnit ShowDistancesIn { get; set; } public bool ManagesPlacesInBusinessWeb { get; set; } public long PointsTotal { get; set; } } public partial class DateOfBirth { public int Year { get; set; } public int Month { get; set; } public int DayOfMonth { get; set; } } public enum DistanceUnit { Kilometer, Mile, } public partial class HomeLocation { public UserAddress Address { get; set; } public float Latitude { get; set; } public float Longitude { get; set; } } public enum Locale { EnUs, NbNo, } public enum Sex { Male, Female, } public partial class UserAddress { public string StreetName { get; set; } public string StreetNumber { get; set; } public string PostalCode { get; set; } public string Region { get; set; } public string CountryCode { get; set; } } }