/* Options: Date: 2026-05-09 19:47:56 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://chienbinhdevias-admin-api-sandbox.adnx.vn //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: CreateOrUpdatePermission.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; import com.google.gson.annotations.*; import com.google.gson.reflect.*; public class dtos { @Route(Path="/permissions", Verbs="POST") public static class CreateOrUpdatePermission implements IReturn> { public Integer id = null; public String permissionName = null; public String description = null; public String groupName = null; public Short isActive = null; public Integer getId() { return id; } public CreateOrUpdatePermission setId(Integer value) { this.id = value; return this; } public String getPermissionName() { return permissionName; } public CreateOrUpdatePermission setPermissionName(String value) { this.permissionName = value; return this; } public String getDescription() { return description; } public CreateOrUpdatePermission setDescription(String value) { this.description = value; return this; } public String getGroupName() { return groupName; } public CreateOrUpdatePermission setGroupName(String value) { this.groupName = value; return this; } public Short getIsActive() { return isActive; } public CreateOrUpdatePermission setIsActive(Short value) { this.isActive = value; return this; } private static Object responseType = new TypeToken>(){}.getType(); public Object getResponseType() { return responseType; } } public static class BaseResponse implements IResponseRequest { public Integer code = null; public String message = null; public Permission data = null; public Integer getCode() { return code; } public BaseResponse setCode(Integer value) { this.code = value; return this; } public String getMessage() { return message; } public BaseResponse setMessage(String value) { this.message = value; return this; } public Permission getData() { return data; } public BaseResponse setData(Permission value) { this.data = value; return this; } } }