/* Options: Date: 2024-11-08 09:55:43 Version: 6.50 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://videoportal.tclclouds.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(Path="/assignroles", Verbs="POST") @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; } } }