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

com.aliyun.dingtalkstorage_1_0.models.CommitFileRequest 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.dingtalkstorage_1_0.models;

import com.aliyun.tea.*;

public class CommitFileRequest extends TeaModel {
    /**
     * 

This parameter is required.

* * example: *

dentry_name

*/ @NameInMap("name") public String name; @NameInMap("option") public CommitFileRequestOption option; /** *

This parameter is required.

* * example: *

parent_id

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

This parameter is required.

* * example: *

upload_key

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

This parameter is required.

* * example: *

union_id

*/ @NameInMap("unionId") public String unionId; public static CommitFileRequest build(java.util.Map map) throws Exception { CommitFileRequest self = new CommitFileRequest(); return TeaModel.build(map, self); } public CommitFileRequest setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public CommitFileRequest setOption(CommitFileRequestOption option) { this.option = option; return this; } public CommitFileRequestOption getOption() { return this.option; } public CommitFileRequest setParentId(String parentId) { this.parentId = parentId; return this; } public String getParentId() { return this.parentId; } public CommitFileRequest setUploadKey(String uploadKey) { this.uploadKey = uploadKey; return this; } public String getUploadKey() { return this.uploadKey; } public CommitFileRequest setUnionId(String unionId) { this.unionId = unionId; return this; } public String getUnionId() { return this.unionId; } public static class CommitFileRequestOptionAppProperties extends TeaModel { /** *

This parameter is required.

* * example: *

property_name

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

This parameter is required.

* * example: *

property_value

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

This parameter is required.

* * example: *

PRIVATE

*/ @NameInMap("visibility") public String visibility; public static CommitFileRequestOptionAppProperties build(java.util.Map map) throws Exception { CommitFileRequestOptionAppProperties self = new CommitFileRequestOptionAppProperties(); return TeaModel.build(map, self); } public CommitFileRequestOptionAppProperties setName(String name) { this.name = name; return this; } public String getName() { return this.name; } public CommitFileRequestOptionAppProperties setValue(String value) { this.value = value; return this; } public String getValue() { return this.value; } public CommitFileRequestOptionAppProperties setVisibility(String visibility) { this.visibility = visibility; return this; } public String getVisibility() { return this.visibility; } } public static class CommitFileRequestOption extends TeaModel { @NameInMap("appProperties") public java.util.List appProperties; /** * example: *

AUTO_RENAME

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

512

*/ @NameInMap("size") public Long size; public static CommitFileRequestOption build(java.util.Map map) throws Exception { CommitFileRequestOption self = new CommitFileRequestOption(); return TeaModel.build(map, self); } public CommitFileRequestOption setAppProperties(java.util.List appProperties) { this.appProperties = appProperties; return this; } public java.util.List getAppProperties() { return this.appProperties; } public CommitFileRequestOption setConflictStrategy(String conflictStrategy) { this.conflictStrategy = conflictStrategy; return this; } public String getConflictStrategy() { return this.conflictStrategy; } public CommitFileRequestOption setSize(Long size) { this.size = size; return this; } public Long getSize() { return this.size; } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy