/* Options: Date: 2024-12-15 20:33:48 Version: 6.10 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://staging-api.billiecart.com.au //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: UnassignRolesRequest.* //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="/users/{Id}/roles/unassign", Verbs="DELETE") public static class UnassignRolesRequest extends DeleteOperationUnTenanted implements IReturn { public String id = null; public ArrayList roles = null; public String getId() { return id; } public UnassignRolesRequest setId(String value) { this.id = value; return this; } public ArrayList getRoles() { return roles; } public UnassignRolesRequest setRoles(ArrayList value) { this.roles = value; return this; } private static Object responseType = AssignRolesResponse.class; public Object getResponseType() { return responseType; } } public static class AssignRolesResponse { public ResponseStatus responseStatus = null; public UserAccount userAccount = null; public ResponseStatus getResponseStatus() { return responseStatus; } public AssignRolesResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } public UserAccount getUserAccount() { return userAccount; } public AssignRolesResponse setUserAccount(UserAccount value) { this.userAccount = value; return this; } } public static class DeleteOperationUnTenanted implements IDelete { } public static class UserAccount implements IIdentifiableResource { public UserAccountName name = null; public String displayName = null; public String email = null; public ArrayList roles = null; public AccountStatus status = null; public String defaultOrganisationId = null; public String id = null; public UserAccountName getName() { return name; } public UserAccount setName(UserAccountName value) { this.name = value; return this; } public String getDisplayName() { return displayName; } public UserAccount setDisplayName(String value) { this.displayName = value; return this; } public String getEmail() { return email; } public UserAccount setEmail(String value) { this.email = value; return this; } public ArrayList getRoles() { return roles; } public UserAccount setRoles(ArrayList value) { this.roles = value; return this; } public AccountStatus getStatus() { return status; } public UserAccount setStatus(AccountStatus value) { this.status = value; return this; } public String getDefaultOrganisationId() { return defaultOrganisationId; } public UserAccount setDefaultOrganisationId(String value) { this.defaultOrganisationId = value; return this; } public String getId() { return id; } public UserAccount setId(String value) { this.id = value; return this; } } public static interface IIdentifiableResource { public String id = null; } public static class UserAccountName { public String firstName = null; public String lastName = null; public String getFirstName() { return firstName; } public UserAccountName setFirstName(String value) { this.firstName = value; return this; } public String getLastName() { return lastName; } public UserAccountName setLastName(String value) { this.lastName = value; return this; } } public static enum AccountStatus { Shadowed, Registered; } }