/* Options: Date: 2024-12-23 13:20:21 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: UserCreateRequest.* //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("/signup/create_user", "POST")] public partial class UserCreateRequest : IReturn, IPost { public string Token { get; set; } public string FirstName { get; set; } public string LastName { get; set; } public Sex Sex { get; set; } public DateOfBirth DateOfBirth { get; set; } public string Email { get; set; } public string Password { get; set; } public string PasswordConfirmation { get; set; } public HomeLocation Home { get; set; } public bool AcceptTermsOfService { get; set; } public string? ReferFriendToken { get; set; } } public partial class UserCreateResponse { public string SentVerificationEmailWithRequestId { get; set; } public int? PasswordScore { get; set; } public Guid? UserGuid { get; set; } public bool ReferFriendAwarded { get; set; } } public partial class DateOfBirth { public int Year { get; set; } public int Month { get; set; } public int DayOfMonth { get; set; } } public partial class HomeLocation { public UserAddress Address { get; set; } public float Latitude { get; set; } public float Longitude { get; set; } } 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; } } }