All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.dingtalkworkflow_1_0.models.AddProcessInstanceCommentRequest Maven / Gradle / Ivy

There is a newer version: 2.1.67
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.dingtalkworkflow_1_0.models;

import com.aliyun.tea.*;

public class AddProcessInstanceCommentRequest extends TeaModel {
    /**
     * 

This parameter is required.

* * example: *

user123

*/ @NameInMap("commentUserId") public String commentUserId; @NameInMap("file") public AddProcessInstanceCommentRequestFile file; /** *

This parameter is required.

* * example: *

a171de6c-8bxxxx

*/ @NameInMap("processInstanceId") public String processInstanceId; /** *

This parameter is required.

* * example: *

同意。

*/ @NameInMap("text") public String text; public static AddProcessInstanceCommentRequest build(java.util.Map map) throws Exception { AddProcessInstanceCommentRequest self = new AddProcessInstanceCommentRequest(); return TeaModel.build(map, self); } public AddProcessInstanceCommentRequest setCommentUserId(String commentUserId) { this.commentUserId = commentUserId; return this; } public String getCommentUserId() { return this.commentUserId; } public AddProcessInstanceCommentRequest setFile(AddProcessInstanceCommentRequestFile file) { this.file = file; return this; } public AddProcessInstanceCommentRequestFile getFile() { return this.file; } public AddProcessInstanceCommentRequest setProcessInstanceId(String processInstanceId) { this.processInstanceId = processInstanceId; return this; } public String getProcessInstanceId() { return this.processInstanceId; } public AddProcessInstanceCommentRequest setText(String text) { this.text = text; return this; } public String getText() { return this.text; } public static class AddProcessInstanceCommentRequestFileAttachments extends TeaModel { /** * example: *

B1oQixxxx

*/ @NameInMap("fileId") public String fileId; /** * example: *

文件名称。

*/ @NameInMap("fileName") public String fileName; /** * example: *

1024

*/ @NameInMap("fileSize") public String fileSize; /** * example: *

file

*/ @NameInMap("fileType") public String fileType; /** * example: *

123

*/ @NameInMap("spaceId") public String spaceId; public static AddProcessInstanceCommentRequestFileAttachments build(java.util.Map map) throws Exception { AddProcessInstanceCommentRequestFileAttachments self = new AddProcessInstanceCommentRequestFileAttachments(); return TeaModel.build(map, self); } public AddProcessInstanceCommentRequestFileAttachments setFileId(String fileId) { this.fileId = fileId; return this; } public String getFileId() { return this.fileId; } public AddProcessInstanceCommentRequestFileAttachments setFileName(String fileName) { this.fileName = fileName; return this; } public String getFileName() { return this.fileName; } public AddProcessInstanceCommentRequestFileAttachments setFileSize(String fileSize) { this.fileSize = fileSize; return this; } public String getFileSize() { return this.fileSize; } public AddProcessInstanceCommentRequestFileAttachments setFileType(String fileType) { this.fileType = fileType; return this; } public String getFileType() { return this.fileType; } public AddProcessInstanceCommentRequestFileAttachments setSpaceId(String spaceId) { this.spaceId = spaceId; return this; } public String getSpaceId() { return this.spaceId; } } public static class AddProcessInstanceCommentRequestFile extends TeaModel { @NameInMap("attachments") public java.util.List attachments; @NameInMap("photos") public java.util.List photos; public static AddProcessInstanceCommentRequestFile build(java.util.Map map) throws Exception { AddProcessInstanceCommentRequestFile self = new AddProcessInstanceCommentRequestFile(); return TeaModel.build(map, self); } public AddProcessInstanceCommentRequestFile setAttachments(java.util.List attachments) { this.attachments = attachments; return this; } public java.util.List getAttachments() { return this.attachments; } public AddProcessInstanceCommentRequestFile setPhotos(java.util.List photos) { this.photos = photos; return this; } public java.util.List getPhotos() { return this.photos; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy