Skip to content

Commit 9678ccf

Browse files
author
fengyikai
committed
金山云码(kscc):新API添加;文件存储KPFS(kpfs):kpfs FileSystemList 增加返回参数属性;
1 parent 4d210ae commit 9678ccf

11 files changed

Lines changed: 2392 additions & 1 deletion

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.ksyun</groupId>
88
<artifactId>ksyun-java-sdk</artifactId>
9-
<version>1.8.7.5</version>
9+
<version>1.8.7.6</version>
1010
<packaging>jar</packaging>
1111

1212
<name>KSYUN SDK for Java</name>

src/main/java/ksyun/client/kpfs/describefilesystemlist.v20240930/DescribeFileSystemListResponse.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,12 @@ public static class DataFileSystemInfoDto {
110110
@JsonProperty("ClusterCode")
111111
private String ClusterCode;
112112

113+
/**存储池类型。有效值:
114+
- 若为KPFS-capacity(容量Ⅰ型)、KPFS-capacity2(容量Ⅱ型)、KPFS-standard(标准型),存储池类型有效值:KPFS-C1、KPFS-C2
115+
- 若为KPFS-P-S01(性能Ⅰ型)、KPFS-P-S02(性能Ⅱ型),存储池类型有效值:KPFS-P1、KPFS-P2*/
116+
@JsonProperty("StorePoolType")
117+
private String StorePoolType;
118+
113119
}
114120

115121
/**文件系统的认证信息*/

src/main/java/ksyun/client/kpfs/setfilesystemresourceprotect.v20240930/SetFileSystemResourceProtectClient.java

Lines changed: 730 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
package ksyun.client.kpfs.setfilesystemresourceprotect.v20240930;
2+
3+
import common.annotation.KsYunField;
4+
import lombok.Builder;
5+
import lombok.Data;
6+
import lombok.ToString;
7+
8+
import java.util.List;
9+
import java.util.Arrays;
10+
11+
/**
12+
* @Classname SetFileSystemResourceProtectRequest
13+
* @Description 请求参数
14+
*/
15+
@Data
16+
public class SetFileSystemResourceProtectRequest{
17+
/***/
18+
@KsYunField(name="FileSystemIds",type=2)
19+
private List<String> FileSystemIdsList;
20+
21+
/***/
22+
@KsYunField(name="IsProtection")
23+
private Boolean IsProtection;
24+
25+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
package ksyun.client.kpfs.setfilesystemresourceprotect.v20240930;
2+
3+
import com.fasterxml.jackson.annotation.JsonProperty;
4+
import common.BaseResponseModel;
5+
import lombok.Data;
6+
import lombok.ToString;
7+
8+
import java.util.List;
9+
10+
/**
11+
* @Classname SetFileSystemResourceProtectResponse
12+
* @Description SetFileSystemResourceProtect 返回体
13+
*/
14+
@Data
15+
@ToString
16+
public class SetFileSystemResourceProtectResponse extends BaseResponseModel {
17+
18+
/***/
19+
@JsonProperty("RequestId")
20+
private String RequestId;
21+
22+
}

0 commit comments

Comments
 (0)