/* Options: Date: 2025-12-06 13:11:32 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://etc-api.vsmlab.vn //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: AssignDocumentPermissionsRequest.* //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="/document-permission/assign", Verbs="POST") public static class AssignDocumentPermissionsRequest implements IReturn, IPost { public Integer documentId = null; public ArrayList accountIds = null; public String reason = null; public Date dateExpired = null; public Boolean canRead = null; public Boolean canWrite = null; public Boolean canComment = null; public Boolean canGrantRead = null; public Integer teamId = null; public Integer getDocumentId() { return documentId; } public AssignDocumentPermissionsRequest setDocumentId(Integer value) { this.documentId = value; return this; } public ArrayList getAccountIds() { return accountIds; } public AssignDocumentPermissionsRequest setAccountIds(ArrayList value) { this.accountIds = value; return this; } public String getReason() { return reason; } public AssignDocumentPermissionsRequest setReason(String value) { this.reason = value; return this; } public Date getDateExpired() { return dateExpired; } public AssignDocumentPermissionsRequest setDateExpired(Date value) { this.dateExpired = value; return this; } public Boolean isCanRead() { return canRead; } public AssignDocumentPermissionsRequest setCanRead(Boolean value) { this.canRead = value; return this; } public Boolean isCanWrite() { return canWrite; } public AssignDocumentPermissionsRequest setCanWrite(Boolean value) { this.canWrite = value; return this; } public Boolean isCanComment() { return canComment; } public AssignDocumentPermissionsRequest setCanComment(Boolean value) { this.canComment = value; return this; } public Boolean isCanGrantRead() { return canGrantRead; } public AssignDocumentPermissionsRequest setCanGrantRead(Boolean value) { this.canGrantRead = value; return this; } public Integer getTeamId() { return teamId; } public AssignDocumentPermissionsRequest setTeamId(Integer value) { this.teamId = value; return this; } private static Object responseType = DocumentPemissionResponse.class; public Object getResponseType() { return responseType; } } public static class DocumentPemissionResponse { public Integer code = null; public String message = null; public Integer getCode() { return code; } public DocumentPemissionResponse setCode(Integer value) { this.code = value; return this; } public String getMessage() { return message; } public DocumentPemissionResponse setMessage(String value) { this.message = value; return this; } } }