Skip to content

Commit b4e9af4

Browse files
committed
Generated 2023-06-30 for dataphin-public.
1 parent d656f0c commit b4e9af4

File tree

177 files changed

+18212
-357
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

177 files changed

+18212
-357
lines changed

aliyun-java-sdk-dataphin-public/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-07-30 Version: 1.0.9
2+
- Generated 2023-06-30 for `dataphin-public`.
3+
14
2025-04-28 Version: 1.0.7
25
- Dataphin v5.1.0 openAPI changs log.
36
- Add API ListRowPermission.

aliyun-java-sdk-dataphin-public/pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-dataphin-public</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0.7</version>
7+
<version>1.0.9</version>
88
<name>aliyun-java-sdk-dataphin-public</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
@@ -104,14 +104,14 @@ http://www.aliyun.com</description>
104104
</executions>
105105
</plugin>
106106
<plugin>
107-
<groupId>org.sonatype.plugins</groupId>
108-
<artifactId>nexus-staging-maven-plugin</artifactId>
109-
<version>1.6.3</version>
107+
<groupId>org.sonatype.central</groupId>
108+
<artifactId>central-publishing-maven-plugin</artifactId>
109+
<version>0.8.0</version>
110110
<extensions>true</extensions>
111111
<configuration>
112-
<serverId>sonatype-nexus-staging</serverId>
113-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
114-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
112+
<publishingServerId>central</publishingServerId>
113+
<autoPublish>true</autoPublish>
114+
<waitUntil>published</waitUntil>
115115
</configuration>
116116
</plugin>
117117
</plugins>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,142 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.dataphin_public.model.v20230630;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import java.util.List;
19+
import com.google.gson.Gson;
20+
import com.google.gson.annotations.SerializedName;
21+
import com.aliyuncs.http.ProtocolType;
22+
import com.aliyuncs.http.MethodType;
23+
24+
/**
25+
* @author auto create
26+
* @version
27+
*/
28+
public class AddDataServiceProjectMemberRequest extends RpcAcsRequest<AddDataServiceProjectMemberResponse> {
29+
30+
31+
private Long opTenantId;
32+
33+
@SerializedName("addCommand")
34+
private AddCommand addCommand;
35+
36+
private Integer projectId;
37+
public AddDataServiceProjectMemberRequest() {
38+
super("dataphin-public", "2023-06-30", "AddDataServiceProjectMember");
39+
setProtocol(ProtocolType.HTTPS);
40+
setMethod(MethodType.POST);
41+
}
42+
43+
public Long getOpTenantId() {
44+
return this.opTenantId;
45+
}
46+
47+
public void setOpTenantId(Long opTenantId) {
48+
this.opTenantId = opTenantId;
49+
if(opTenantId != null){
50+
putQueryParameter("OpTenantId", opTenantId.toString());
51+
}
52+
}
53+
54+
public AddCommand getAddCommand() {
55+
return this.addCommand;
56+
}
57+
58+
public void setAddCommand(AddCommand addCommand) {
59+
this.addCommand = addCommand;
60+
if (addCommand != null) {
61+
putBodyParameter("AddCommand" , new Gson().toJson(addCommand));
62+
}
63+
}
64+
65+
public Integer getProjectId() {
66+
return this.projectId;
67+
}
68+
69+
public void setProjectId(Integer projectId) {
70+
this.projectId = projectId;
71+
if(projectId != null){
72+
putQueryParameter("ProjectId", projectId.toString());
73+
}
74+
}
75+
76+
public static class AddCommand {
77+
78+
@SerializedName("ProjectMemberList")
79+
private List<ProjectMemberListItem> projectMemberList;
80+
81+
public List<ProjectMemberListItem> getProjectMemberList() {
82+
return this.projectMemberList;
83+
}
84+
85+
public void setProjectMemberList(List<ProjectMemberListItem> projectMemberList) {
86+
this.projectMemberList = projectMemberList;
87+
}
88+
89+
public static class ProjectMemberListItem {
90+
91+
@SerializedName("Role")
92+
private Integer role;
93+
94+
@SerializedName("AccountName")
95+
private String accountName;
96+
97+
@SerializedName("DisplayName")
98+
private String displayName;
99+
100+
@SerializedName("UserId")
101+
private String userId;
102+
103+
public Integer getRole() {
104+
return this.role;
105+
}
106+
107+
public void setRole(Integer role) {
108+
this.role = role;
109+
}
110+
111+
public String getAccountName() {
112+
return this.accountName;
113+
}
114+
115+
public void setAccountName(String accountName) {
116+
this.accountName = accountName;
117+
}
118+
119+
public String getDisplayName() {
120+
return this.displayName;
121+
}
122+
123+
public void setDisplayName(String displayName) {
124+
this.displayName = displayName;
125+
}
126+
127+
public String getUserId() {
128+
return this.userId;
129+
}
130+
131+
public void setUserId(String userId) {
132+
this.userId = userId;
133+
}
134+
}
135+
}
136+
137+
@Override
138+
public Class<AddDataServiceProjectMemberResponse> getResponseClass() {
139+
return AddDataServiceProjectMemberResponse.class;
140+
}
141+
142+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.dataphin_public.model.v20230630;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.dataphin_public.transform.v20230630.AddDataServiceProjectMemberResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class AddDataServiceProjectMemberResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
private Boolean success;
30+
31+
private Integer httpStatusCode;
32+
33+
private String code;
34+
35+
private String message;
36+
37+
public String getRequestId() {
38+
return this.requestId;
39+
}
40+
41+
public void setRequestId(String requestId) {
42+
this.requestId = requestId;
43+
}
44+
45+
public Boolean getSuccess() {
46+
return this.success;
47+
}
48+
49+
public void setSuccess(Boolean success) {
50+
this.success = success;
51+
}
52+
53+
public Integer getHttpStatusCode() {
54+
return this.httpStatusCode;
55+
}
56+
57+
public void setHttpStatusCode(Integer httpStatusCode) {
58+
this.httpStatusCode = httpStatusCode;
59+
}
60+
61+
public String getCode() {
62+
return this.code;
63+
}
64+
65+
public void setCode(String code) {
66+
this.code = code;
67+
}
68+
69+
public String getMessage() {
70+
return this.message;
71+
}
72+
73+
public void setMessage(String message) {
74+
this.message = message;
75+
}
76+
77+
@Override
78+
public AddDataServiceProjectMemberResponse getInstance(UnmarshallerContext context) {
79+
return AddDataServiceProjectMemberResponseUnmarshaller.unmarshall(this, context);
80+
}
81+
82+
@Override
83+
public boolean checkShowJsonItemName() {
84+
return false;
85+
}
86+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
package com.aliyuncs.dataphin_public.model.v20230630;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import java.util.List;
19+
import com.google.gson.Gson;
20+
import com.google.gson.annotations.SerializedName;
21+
import com.aliyuncs.http.ProtocolType;
22+
import com.aliyuncs.http.MethodType;
23+
24+
/**
25+
* @author auto create
26+
* @version
27+
*/
28+
public class AddProjectMemberRequest extends RpcAcsRequest<AddProjectMemberResponse> {
29+
30+
31+
private Long opTenantId;
32+
33+
@SerializedName("addCommand")
34+
private AddCommand addCommand;
35+
36+
private Long id;
37+
public AddProjectMemberRequest() {
38+
super("dataphin-public", "2023-06-30", "AddProjectMember");
39+
setProtocol(ProtocolType.HTTPS);
40+
setMethod(MethodType.POST);
41+
}
42+
43+
public Long getOpTenantId() {
44+
return this.opTenantId;
45+
}
46+
47+
public void setOpTenantId(Long opTenantId) {
48+
this.opTenantId = opTenantId;
49+
if(opTenantId != null){
50+
putQueryParameter("OpTenantId", opTenantId.toString());
51+
}
52+
}
53+
54+
public AddCommand getAddCommand() {
55+
return this.addCommand;
56+
}
57+
58+
public void setAddCommand(AddCommand addCommand) {
59+
this.addCommand = addCommand;
60+
if (addCommand != null) {
61+
putBodyParameter("AddCommand" , new Gson().toJson(addCommand));
62+
}
63+
}
64+
65+
public Long getId() {
66+
return this.id;
67+
}
68+
69+
public void setId(Long id) {
70+
this.id = id;
71+
if(id != null){
72+
putQueryParameter("Id", id.toString());
73+
}
74+
}
75+
76+
public static class AddCommand {
77+
78+
@SerializedName("UserList")
79+
private List<UserListItem> userList;
80+
81+
@SerializedName("Env")
82+
private String env;
83+
84+
public List<UserListItem> getUserList() {
85+
return this.userList;
86+
}
87+
88+
public void setUserList(List<UserListItem> userList) {
89+
this.userList = userList;
90+
}
91+
92+
public String getEnv() {
93+
return this.env;
94+
}
95+
96+
public void setEnv(String env) {
97+
this.env = env;
98+
}
99+
100+
public static class UserListItem {
101+
102+
@SerializedName("RoleList")
103+
private List<Integer> roleList;
104+
105+
@SerializedName("UserId")
106+
private String userId;
107+
108+
public List<Integer> getRoleList() {
109+
return this.roleList;
110+
}
111+
112+
public void setRoleList(List<Integer> roleList) {
113+
this.roleList = roleList;
114+
}
115+
116+
public String getUserId() {
117+
return this.userId;
118+
}
119+
120+
public void setUserId(String userId) {
121+
this.userId = userId;
122+
}
123+
}
124+
}
125+
126+
@Override
127+
public Class<AddProjectMemberResponse> getResponseClass() {
128+
return AddProjectMemberResponse.class;
129+
}
130+
131+
}

0 commit comments

Comments
 (0)