Skip to content

Commit 0abcbab

Browse files
committed
Add image search api.
1 parent bc88b05 commit 0abcbab

File tree

5 files changed

+245
-1
lines changed

5 files changed

+245
-1
lines changed

aliyun-java-sdk-websitebuild/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2025-09-12 Version: 1.0.7
2+
- Add image search api.
3+
14
2025-09-09 Version: 1.0.6
25
- Add image search api.
36

aliyun-java-sdk-websitebuild/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>com.aliyun</groupId>
55
<artifactId>aliyun-java-sdk-websitebuild</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0.6</version>
7+
<version>1.0.7</version>
88
<name>aliyun-java-sdk-websitebuild</name>
99
<url>http://www.aliyun.com</url>
1010
<description>Aliyun Open API SDK for Java
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
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.websitebuild.model.v20250429;
16+
17+
import com.aliyuncs.RpcAcsRequest;
18+
import com.aliyuncs.http.ProtocolType;
19+
import com.aliyuncs.http.MethodType;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class GetDomainInfoForPartnerRequest extends RpcAcsRequest<GetDomainInfoForPartnerResponse> {
26+
27+
28+
private String domainName;
29+
30+
private String userId;
31+
32+
private String bizId;
33+
public GetDomainInfoForPartnerRequest() {
34+
super("WebsiteBuild", "2025-04-29", "GetDomainInfoForPartner");
35+
setProtocol(ProtocolType.HTTPS);
36+
setMethod(MethodType.POST);
37+
}
38+
39+
public String getDomainName() {
40+
return this.domainName;
41+
}
42+
43+
public void setDomainName(String domainName) {
44+
this.domainName = domainName;
45+
if(domainName != null){
46+
putQueryParameter("DomainName", domainName);
47+
}
48+
}
49+
50+
public String getUserId() {
51+
return this.userId;
52+
}
53+
54+
public void setUserId(String userId) {
55+
this.userId = userId;
56+
if(userId != null){
57+
putQueryParameter("UserId", userId);
58+
}
59+
}
60+
61+
public String getBizId() {
62+
return this.bizId;
63+
}
64+
65+
public void setBizId(String bizId) {
66+
this.bizId = bizId;
67+
if(bizId != null){
68+
putQueryParameter("BizId", bizId);
69+
}
70+
}
71+
72+
@Override
73+
public Class<GetDomainInfoForPartnerResponse> getResponseClass() {
74+
return GetDomainInfoForPartnerResponse.class;
75+
}
76+
77+
}
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
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.websitebuild.model.v20250429;
16+
17+
import com.aliyuncs.AcsResponse;
18+
import com.aliyuncs.websitebuild.transform.v20250429.GetDomainInfoForPartnerResponseUnmarshaller;
19+
import com.aliyuncs.transform.UnmarshallerContext;
20+
21+
/**
22+
* @author auto create
23+
* @version
24+
*/
25+
public class GetDomainInfoForPartnerResponse extends AcsResponse {
26+
27+
private String requestId;
28+
29+
private Data data;
30+
31+
public String getRequestId() {
32+
return this.requestId;
33+
}
34+
35+
public void setRequestId(String requestId) {
36+
this.requestId = requestId;
37+
}
38+
39+
public Data getData() {
40+
return this.data;
41+
}
42+
43+
public void setData(Data data) {
44+
this.data = data;
45+
}
46+
47+
public static class Data {
48+
49+
private String domainName;
50+
51+
private String registrar;
52+
53+
private String nameServers;
54+
55+
private Ownership ownership;
56+
57+
public String getDomainName() {
58+
return this.domainName;
59+
}
60+
61+
public void setDomainName(String domainName) {
62+
this.domainName = domainName;
63+
}
64+
65+
public String getRegistrar() {
66+
return this.registrar;
67+
}
68+
69+
public void setRegistrar(String registrar) {
70+
this.registrar = registrar;
71+
}
72+
73+
public String getNameServers() {
74+
return this.nameServers;
75+
}
76+
77+
public void setNameServers(String nameServers) {
78+
this.nameServers = nameServers;
79+
}
80+
81+
public Ownership getOwnership() {
82+
return this.ownership;
83+
}
84+
85+
public void setOwnership(Ownership ownership) {
86+
this.ownership = ownership;
87+
}
88+
89+
public static class Ownership {
90+
91+
private String account;
92+
93+
private String provider;
94+
95+
public String getAccount() {
96+
return this.account;
97+
}
98+
99+
public void setAccount(String account) {
100+
this.account = account;
101+
}
102+
103+
public String getProvider() {
104+
return this.provider;
105+
}
106+
107+
public void setProvider(String provider) {
108+
this.provider = provider;
109+
}
110+
}
111+
}
112+
113+
@Override
114+
public GetDomainInfoForPartnerResponse getInstance(UnmarshallerContext context) {
115+
return GetDomainInfoForPartnerResponseUnmarshaller.unmarshall(this, context);
116+
}
117+
118+
@Override
119+
public boolean checkShowJsonItemName() {
120+
return false;
121+
}
122+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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.websitebuild.transform.v20250429;
16+
17+
import com.aliyuncs.websitebuild.model.v20250429.GetDomainInfoForPartnerResponse;
18+
import com.aliyuncs.websitebuild.model.v20250429.GetDomainInfoForPartnerResponse.Data;
19+
import com.aliyuncs.websitebuild.model.v20250429.GetDomainInfoForPartnerResponse.Data.Ownership;
20+
import com.aliyuncs.transform.UnmarshallerContext;
21+
22+
23+
public class GetDomainInfoForPartnerResponseUnmarshaller {
24+
25+
public static GetDomainInfoForPartnerResponse unmarshall(GetDomainInfoForPartnerResponse getDomainInfoForPartnerResponse, UnmarshallerContext _ctx) {
26+
27+
getDomainInfoForPartnerResponse.setRequestId(_ctx.stringValue("GetDomainInfoForPartnerResponse.RequestId"));
28+
29+
Data data = new Data();
30+
data.setDomainName(_ctx.stringValue("GetDomainInfoForPartnerResponse.Data.DomainName"));
31+
data.setRegistrar(_ctx.stringValue("GetDomainInfoForPartnerResponse.Data.Registrar"));
32+
data.setNameServers(_ctx.stringValue("GetDomainInfoForPartnerResponse.Data.NameServers"));
33+
34+
Ownership ownership = new Ownership();
35+
ownership.setAccount(_ctx.stringValue("GetDomainInfoForPartnerResponse.Data.Ownership.Account"));
36+
ownership.setProvider(_ctx.stringValue("GetDomainInfoForPartnerResponse.Data.Ownership.Provider"));
37+
data.setOwnership(ownership);
38+
getDomainInfoForPartnerResponse.setData(data);
39+
40+
return getDomainInfoForPartnerResponse;
41+
}
42+
}

0 commit comments

Comments
 (0)