Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 45a6931

Browse files
committed
CR SDK Auto Released By shenshi,Version:3.0.1
发布日志: 1, Update Dependency
1 parent f1366da commit 45a6931

File tree

194 files changed

+5909
-18
lines changed

Some content is hidden

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

194 files changed

+5909
-18
lines changed

aliyun-java-sdk-cr/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-03-14 Version: 3.0.1
2+
1, Update Dependency
3+
14
2018-05-23 Version: 3.0.0
25
1, Add namespace related interface.
36
2, Add repository related interface.

aliyun-java-sdk-cr/pom.xml

100755100644
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<groupId>com.aliyun</groupId>
44
<artifactId>aliyun-java-sdk-cr</artifactId>
55
<packaging>jar</packaging>
6-
<version>3.0.0</version>
6+
<version>3.0.1</version>
77
<name>aliyun-java-sdk-cr</name>
88
<url>http://www.aliyun.com</url>
99
<description>Aliyun Open API SDK for Java
@@ -31,7 +31,7 @@ http://www.aliyun.com</description>
3131
<groupId>com.aliyun</groupId>
3232
<artifactId>aliyun-java-sdk-core</artifactId>
3333
<optional>true</optional>
34-
<version>3.7.1</version>
34+
<version>[4.3.2,5.0.0)</version>
3535
</dependency>
3636
</dependencies>
3737
<licenses>
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
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.cr.model.v20160607;
16+
17+
import com.aliyuncs.RoaAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
20+
/**
21+
* @author auto create
22+
* @version
23+
*/
24+
public class CancelRepoBuildRequest extends RoaAcsRequest<CancelRepoBuildResponse> {
25+
26+
public CancelRepoBuildRequest() {
27+
super("cr", "2016-06-07", "CancelRepoBuild", "cr");
28+
setUriPattern("/repos/[RepoNamespace]/[RepoName]/build/[BuildId]/cancel");
29+
setMethod(MethodType.POST);
30+
}
31+
32+
private String repoNamespace;
33+
34+
private String repoName;
35+
36+
private String buildId;
37+
38+
public String getRepoNamespace() {
39+
return this.repoNamespace;
40+
}
41+
42+
public void setRepoNamespace(String repoNamespace) {
43+
this.repoNamespace = repoNamespace;
44+
if(repoNamespace != null){
45+
putPathParameter("RepoNamespace", repoNamespace);
46+
}
47+
}
48+
49+
public String getRepoName() {
50+
return this.repoName;
51+
}
52+
53+
public void setRepoName(String repoName) {
54+
this.repoName = repoName;
55+
if(repoName != null){
56+
putPathParameter("RepoName", repoName);
57+
}
58+
}
59+
60+
public String getBuildId() {
61+
return this.buildId;
62+
}
63+
64+
public void setBuildId(String buildId) {
65+
this.buildId = buildId;
66+
if(buildId != null){
67+
putPathParameter("BuildId", buildId);
68+
}
69+
}
70+
71+
@Override
72+
public Class<CancelRepoBuildResponse> getResponseClass() {
73+
return CancelRepoBuildResponse.class;
74+
}
75+
76+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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.cr.model.v20160607;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.cr.transform.v20160607.CancelRepoBuildResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CancelRepoBuildResponse extends AcsResponse {
26+
27+
@Override
28+
public CancelRepoBuildResponse getInstance(UnmarshallerContext context) {
29+
return CancelRepoBuildResponseUnmarshaller.unmarshall(this, context);
30+
}
31+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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.cr.model.v20160607;
16+
17+
import com.aliyuncs.RoaAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
20+
/**
21+
* @author auto create
22+
* @version
23+
*/
24+
public class CreateCollectionRequest extends RoaAcsRequest<CreateCollectionResponse> {
25+
26+
public CreateCollectionRequest() {
27+
super("cr", "2016-06-07", "CreateCollection", "cr");
28+
setUriPattern("/collections");
29+
setMethod(MethodType.PUT);
30+
}
31+
32+
@Override
33+
public Class<CreateCollectionResponse> getResponseClass() {
34+
return CreateCollectionResponse.class;
35+
}
36+
37+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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.cr.model.v20160607;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.cr.transform.v20160607.CreateCollectionResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CreateCollectionResponse extends AcsResponse {
26+
27+
@Override
28+
public CreateCollectionResponse getInstance(UnmarshallerContext context) {
29+
return CreateCollectionResponseUnmarshaller.unmarshall(this, context);
30+
}
31+
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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.cr.model.v20160607;
16+
17+
import com.aliyuncs.RoaAcsRequest;
18+
import com.aliyuncs.http.MethodType;
19+
20+
/**
21+
* @author auto create
22+
* @version
23+
*/
24+
public class CreateNamespaceAuthorizationRequest extends RoaAcsRequest<CreateNamespaceAuthorizationResponse> {
25+
26+
public CreateNamespaceAuthorizationRequest() {
27+
super("cr", "2016-06-07", "CreateNamespaceAuthorization", "cr");
28+
setUriPattern("/namespace/[Namespace]/authorizations");
29+
setMethod(MethodType.PUT);
30+
}
31+
32+
private String namespace;
33+
34+
public String getNamespace() {
35+
return this.namespace;
36+
}
37+
38+
public void setNamespace(String namespace) {
39+
this.namespace = namespace;
40+
if(namespace != null){
41+
putPathParameter("Namespace", namespace);
42+
}
43+
}
44+
45+
@Override
46+
public Class<CreateNamespaceAuthorizationResponse> getResponseClass() {
47+
return CreateNamespaceAuthorizationResponse.class;
48+
}
49+
50+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
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.cr.model.v20160607;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.cr.transform.v20160607.CreateNamespaceAuthorizationResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class CreateNamespaceAuthorizationResponse extends AcsResponse {
26+
27+
@Override
28+
public CreateNamespaceAuthorizationResponse getInstance(UnmarshallerContext context) {
29+
return CreateNamespaceAuthorizationResponseUnmarshaller.unmarshall(this, context);
30+
}
31+
}

aliyun-java-sdk-cr/src/main/java/com/aliyuncs/cr/model/v20160607/CreateNamespaceRequest.java

100755100644
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
public class CreateNamespaceRequest extends RoaAcsRequest<CreateNamespaceResponse> {
2525

2626
public CreateNamespaceRequest() {
27-
super("cr", "2016-06-07", "CreateNamespace");
27+
super("cr", "2016-06-07", "CreateNamespace", "cr");
2828
setUriPattern("/namespace");
2929
setMethod(MethodType.PUT);
3030
}

aliyun-java-sdk-cr/src/main/java/com/aliyuncs/cr/model/v20160607/CreateNamespaceResponse.java

100755100644
File mode changed.

0 commit comments

Comments
 (0)