/* Options: Date: 2025-09-03 18:50:39 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: UpdateProfileRequest.* //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/{Id}", Verbs="PUT,PATCH") public static class UpdateProfileRequest extends PutPatchOperationUnTenanted implements IReturn { public String id = null; public String firstName = null; public String lastName = null; public String displayName = null; public String phoneNumber = null; public String timezone = null; public String getId() { return id; } public UpdateProfileRequest setId(String value) { this.id = value; return this; } public String getFirstName() { return firstName; } public UpdateProfileRequest setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public UpdateProfileRequest setLastName(String value) { this.lastName = value; return this; } public String getDisplayName() { return displayName; } public UpdateProfileRequest setDisplayName(String value) { this.displayName = value; return this; } public String getPhoneNumber() { return phoneNumber; } public UpdateProfileRequest setPhoneNumber(String value) { this.phoneNumber = value; return this; } public String getTimezone() { return timezone; } public UpdateProfileRequest setTimezone(String value) { this.timezone = value; return this; } private static Object responseType = UpdateProfileResponse.class; public Object getResponseType() { return responseType; } } public static class UpdateProfileResponse { public ResponseStatus responseStatus = null; public Profile profile = null; public ResponseStatus getResponseStatus() { return responseStatus; } public UpdateProfileResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } public Profile getProfile() { return profile; } public UpdateProfileResponse setProfile(Profile value) { this.profile = value; return this; } } public static class PutPatchOperationUnTenanted implements IPatch, IPut { } 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 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; } } }