/* Options: Date: 2025-09-03 18:50:40 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://foundrystage-api-app.azurewebsites.net //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetCurrentProfileRequest.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route(Path="/profile/current", Verbs="GET") public static class GetCurrentProfileRequest extends GetOperationUnTenanted implements IReturn { private static Object responseType = GetCurrentProfileResponse.class; public Object getResponseType() { return responseType; } } public static class GetCurrentProfileResponse { public ResponseStatus responseStatus = null; public CurrentProfile profile = null; public ResponseStatus getResponseStatus() { return responseStatus; } public GetCurrentProfileResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } public CurrentProfile getProfile() { return profile; } public GetCurrentProfileResponse setProfile(CurrentProfile value) { this.profile = value; return this; } } public static class GetOperationUnTenanted implements IHasGetOptions, IGet { public String embed = null; public String getEmbed() { return embed; } public GetOperationUnTenanted setEmbed(String value) { this.embed = value; return this; } } public static interface IHasGetOptions { public String embed = null; } public static class Profile extends ProfileBasic { public String defaultOrganisationId = null; public String getDefaultOrganisationId() { return defaultOrganisationId; } public Profile setDefaultOrganisationId(String value) { this.defaultOrganisationId = value; return this; } } public static class CurrentProfile extends Profile { public Boolean isAuthenticated = null; public ArrayList roles = null; public Boolean getIsAuthenticated() { return isAuthenticated; } public CurrentProfile setIsAuthenticated(Boolean value) { this.isAuthenticated = value; return this; } public ArrayList getRoles() { return roles; } public CurrentProfile setRoles(ArrayList value) { this.roles = value; return this; } } public static interface IIdentifiableResource { public String id = null; } public static class PersonName { public String firstName = null; public String lastName = null; public String getFirstName() { return firstName; } public PersonName setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public PersonName setLastName(String value) { this.lastName = value; return this; } } public static class ProfileBasic implements IIdentifiableResource { public PersonName name = null; public String displayName = null; public String emailAddress = null; public String phoneNumber = null; public String timezone = null; public String id = null; public PersonName getName() { return name; } public ProfileBasic setName(PersonName value) { this.name = value; return this; } public String getDisplayName() { return displayName; } public ProfileBasic setDisplayName(String value) { this.displayName = value; return this; } public String getEmailAddress() { return emailAddress; } public ProfileBasic setEmailAddress(String value) { this.emailAddress = value; return this; } public String getPhoneNumber() { return phoneNumber; } public ProfileBasic setPhoneNumber(String value) { this.phoneNumber = value; return this; } public String getTimezone() { return timezone; } public ProfileBasic setTimezone(String value) { this.timezone = value; return this; } public String getId() { return id; } public ProfileBasic setId(String value) { this.id = value; return this; } } }