-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
435 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
2023-08-30 Version: 1.0.12 | ||
- Add some open api. | ||
|
||
2023-07-07 Version: 1.0.11 | ||
- Add some api version2. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
54 changes: 54 additions & 0 deletions
54
...ava-sdk-sddp/src/main/java/com/aliyuncs/sddp/model/v20190103/DescribeDocTypesRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
/* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.aliyuncs.sddp.model.v20190103; | ||
|
||
import com.aliyuncs.RpcAcsRequest; | ||
import com.aliyuncs.http.MethodType; | ||
import com.aliyuncs.sddp.Endpoint; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class DescribeDocTypesRequest extends RpcAcsRequest<DescribeDocTypesResponse> { | ||
|
||
|
||
private String lang; | ||
public DescribeDocTypesRequest() { | ||
super("Sddp", "2019-01-03", "DescribeDocTypes", "sddp"); | ||
setMethod(MethodType.POST); | ||
try { | ||
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); | ||
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); | ||
} catch (Exception e) {} | ||
} | ||
|
||
public String getLang() { | ||
return this.lang; | ||
} | ||
|
||
public void setLang(String lang) { | ||
this.lang = lang; | ||
if(lang != null){ | ||
putQueryParameter("Lang", lang); | ||
} | ||
} | ||
|
||
@Override | ||
public Class<DescribeDocTypesResponse> getResponseClass() { | ||
return DescribeDocTypesResponse.class; | ||
} | ||
|
||
} |
90 changes: 90 additions & 0 deletions
90
...va-sdk-sddp/src/main/java/com/aliyuncs/sddp/model/v20190103/DescribeDocTypesResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
/* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.aliyuncs.sddp.model.v20190103; | ||
|
||
import java.util.List; | ||
import com.aliyuncs.AcsResponse; | ||
import com.aliyuncs.sddp.transform.v20190103.DescribeDocTypesResponseUnmarshaller; | ||
import com.aliyuncs.transform.UnmarshallerContext; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class DescribeDocTypesResponse extends AcsResponse { | ||
|
||
private String requestId; | ||
|
||
private List<DocType> docTypeList; | ||
|
||
public String getRequestId() { | ||
return this.requestId; | ||
} | ||
|
||
public void setRequestId(String requestId) { | ||
this.requestId = requestId; | ||
} | ||
|
||
public List<DocType> getDocTypeList() { | ||
return this.docTypeList; | ||
} | ||
|
||
public void setDocTypeList(List<DocType> docTypeList) { | ||
this.docTypeList = docTypeList; | ||
} | ||
|
||
public static class DocType { | ||
|
||
private Long code; | ||
|
||
private String name; | ||
|
||
private Long id; | ||
|
||
public Long getCode() { | ||
return this.code; | ||
} | ||
|
||
public void setCode(Long code) { | ||
this.code = code; | ||
} | ||
|
||
public String getName() { | ||
return this.name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public Long getId() { | ||
return this.id; | ||
} | ||
|
||
public void setId(Long id) { | ||
this.id = id; | ||
} | ||
} | ||
|
||
@Override | ||
public DescribeDocTypesResponse getInstance(UnmarshallerContext context) { | ||
return DescribeDocTypesResponseUnmarshaller.unmarshall(this, context); | ||
} | ||
|
||
@Override | ||
public boolean checkShowJsonItemName() { | ||
return false; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
67 changes: 67 additions & 0 deletions
67
...sddp/src/main/java/com/aliyuncs/sddp/model/v20190103/DescribeTemplateAllRulesRequest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
/* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package com.aliyuncs.sddp.model.v20190103; | ||
|
||
import com.aliyuncs.RpcAcsRequest; | ||
import com.aliyuncs.http.MethodType; | ||
import com.aliyuncs.sddp.Endpoint; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class DescribeTemplateAllRulesRequest extends RpcAcsRequest<DescribeTemplateAllRulesResponse> { | ||
|
||
|
||
private Long templateId; | ||
|
||
private String lang; | ||
public DescribeTemplateAllRulesRequest() { | ||
super("Sddp", "2019-01-03", "DescribeTemplateAllRules", "sddp"); | ||
setMethod(MethodType.POST); | ||
try { | ||
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointMap").set(this, Endpoint.endpointMap); | ||
com.aliyuncs.AcsRequest.class.getDeclaredField("productEndpointRegional").set(this, Endpoint.endpointRegionalType); | ||
} catch (Exception e) {} | ||
} | ||
|
||
public Long getTemplateId() { | ||
return this.templateId; | ||
} | ||
|
||
public void setTemplateId(Long templateId) { | ||
this.templateId = templateId; | ||
if(templateId != null){ | ||
putQueryParameter("TemplateId", templateId.toString()); | ||
} | ||
} | ||
|
||
public String getLang() { | ||
return this.lang; | ||
} | ||
|
||
public void setLang(String lang) { | ||
this.lang = lang; | ||
if(lang != null){ | ||
putQueryParameter("Lang", lang); | ||
} | ||
} | ||
|
||
@Override | ||
public Class<DescribeTemplateAllRulesResponse> getResponseClass() { | ||
return DescribeTemplateAllRulesResponse.class; | ||
} | ||
|
||
} |
Oops, something went wrong.