/* Options: Date: 2024-12-03 09:33:47 Version: 6.00 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://resourcelibrary.api.ashcompanies.com //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: AssignRoles.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { @Route("/assignroles") @DataContract public static class AssignRoles implements IReturn, IPost { @DataMember(Order=1) public String userName = null; @DataMember(Order=2) public ArrayList permissions = null; @DataMember(Order=3) public ArrayList roles = null; @DataMember(Order=4) public HashMap meta = null; public String getUserName() { return userName; } public AssignRoles setUserName(String value) { this.userName = value; return this; } public ArrayList getPermissions() { return permissions; } public AssignRoles setPermissions(ArrayList value) { this.permissions = value; return this; } public ArrayList getRoles() { return roles; } public AssignRoles setRoles(ArrayList value) { this.roles = value; return this; } public HashMap getMeta() { return meta; } public AssignRoles setMeta(HashMap value) { this.meta = value; return this; } private static Object responseType = AssignRolesResponse.class; public Object getResponseType() { return responseType; } } @DataContract public static class AssignRolesResponse { @DataMember(Order=1) public ArrayList allRoles = null; @DataMember(Order=2) public ArrayList allPermissions = null; @DataMember(Order=3) public HashMap meta = null; @DataMember(Order=4) public ResponseStatus responseStatus = null; public ArrayList getAllRoles() { return allRoles; } public AssignRolesResponse setAllRoles(ArrayList value) { this.allRoles = value; return this; } public ArrayList getAllPermissions() { return allPermissions; } public AssignRolesResponse setAllPermissions(ArrayList value) { this.allPermissions = value; return this; } public HashMap getMeta() { return meta; } public AssignRolesResponse setMeta(HashMap value) { this.meta = value; return this; } public ResponseStatus getResponseStatus() { return responseStatus; } public AssignRolesResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; } } }