-
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
8 changed files
with
409 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
2024-09-24 Version: 1.0.0 | ||
- Generated 2024-02-22 for `OssSddp`. | ||
|
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,119 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>com.aliyun</groupId> | ||
<artifactId>aliyun-java-sdk-osssddp</artifactId> | ||
<packaging>jar</packaging> | ||
<version>1.0.0</version> | ||
<name>aliyun-java-sdk-osssddp</name> | ||
<url>http://www.aliyun.com</url> | ||
<description>Aliyun Open API SDK for Java | ||
Copyright (C) Alibaba Cloud Computing | ||
All rights reserved. | ||
版权所有 (C)阿里云计算有限公司 | ||
http://www.aliyun.com</description> | ||
<distributionManagement> | ||
<snapshotRepository> | ||
<id>sonatype-nexus-snapshots</id> | ||
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> | ||
</snapshotRepository> | ||
<repository> | ||
<id>sonatype-nexus-staging</id> | ||
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> | ||
</repository> | ||
</distributionManagement> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.aliyun</groupId> | ||
<artifactId>aliyun-java-sdk-core</artifactId> | ||
<optional>true</optional> | ||
<version>[4.4.9,5.0.0)</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.code.gson</groupId> | ||
<artifactId>gson</artifactId> | ||
<version>2.8.9</version> | ||
</dependency> | ||
</dependencies> | ||
<licenses> | ||
<license> | ||
<name>The Apache License, Version 2.0</name> | ||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url> | ||
</license> | ||
</licenses> | ||
<scm> | ||
<connection>scm:git:git://github.com/aliyun/aliyun-openapi-java-sdk.git</connection> | ||
<developerConnection>scm:git:[email protected]:aliyun/aliyun-openapi-java-sdk.git</developerConnection> | ||
<url>https://github.com/aliyun/aliyun-openapi-java-sdk</url> | ||
</scm> | ||
<developers> | ||
<developer> | ||
<id>aliyunproducts</id> | ||
<name>Aliyun SDK</name> | ||
<email>[email protected]</email> | ||
</developer> | ||
</developers> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-compiler-plugin</artifactId> | ||
<version>2.3.2</version> | ||
<configuration> | ||
<source>1.6</source> | ||
<target>1.6</target> | ||
<encoding>UTF-8</encoding> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-jar-plugin</artifactId> | ||
<version>2.3.2</version> | ||
<configuration> | ||
<excludes/> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-surefire-plugin</artifactId> | ||
<version>2.10</version> | ||
<configuration> | ||
<argLine>-Dfile.encoding=UTF-8</argLine> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-javadoc-plugin</artifactId> | ||
<version>3.1.0</version> | ||
<configuration> | ||
<encoding>UTF-8</encoding> | ||
<doclint>none</doclint> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-gpg-plugin</artifactId> | ||
<version>1.5</version> | ||
<executions> | ||
<execution> | ||
<id>sign-artifacts</id> | ||
<phase>verify</phase> | ||
<goals> | ||
<goal>sign</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.sonatype.plugins</groupId> | ||
<artifactId>nexus-staging-maven-plugin</artifactId> | ||
<version>1.6.3</version> | ||
<extensions>true</extensions> | ||
<configuration> | ||
<serverId>sonatype-nexus-staging</serverId> | ||
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> | ||
<autoReleaseAfterClose>true</autoReleaseAfterClose> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
51 changes: 51 additions & 0 deletions
51
...sdk-osssddp/src/main/java/com/aliyuncs/osssddp/model/v20240222/GetSddpVersionRequest.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,51 @@ | ||
/* | ||
* 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.osssddp.model.v20240222; | ||
|
||
import com.aliyuncs.RpcAcsRequest; | ||
import com.aliyuncs.http.ProtocolType; | ||
import com.aliyuncs.http.MethodType; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class GetSddpVersionRequest extends RpcAcsRequest<GetSddpVersionResponse> { | ||
|
||
|
||
private String clientToken; | ||
public GetSddpVersionRequest() { | ||
super("OssSddp", "2024-02-22", "GetSddpVersion"); | ||
setProtocol(ProtocolType.HTTPS); | ||
setMethod(MethodType.POST); | ||
} | ||
|
||
public String getClientToken() { | ||
return this.clientToken; | ||
} | ||
|
||
public void setClientToken(String clientToken) { | ||
this.clientToken = clientToken; | ||
if(clientToken != null){ | ||
putQueryParameter("ClientToken", clientToken); | ||
} | ||
} | ||
|
||
@Override | ||
public Class<GetSddpVersionResponse> getResponseClass() { | ||
return GetSddpVersionResponse.class; | ||
} | ||
|
||
} |
56 changes: 56 additions & 0 deletions
56
...dk-osssddp/src/main/java/com/aliyuncs/osssddp/model/v20240222/GetSddpVersionResponse.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,56 @@ | ||
/* | ||
* 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.osssddp.model.v20240222; | ||
|
||
import com.aliyuncs.AcsResponse; | ||
import com.aliyuncs.osssddp.transform.v20240222.GetSddpVersionResponseUnmarshaller; | ||
import com.aliyuncs.transform.UnmarshallerContext; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class GetSddpVersionResponse extends AcsResponse { | ||
|
||
private String requestId; | ||
|
||
private Integer content; | ||
|
||
public String getRequestId() { | ||
return this.requestId; | ||
} | ||
|
||
public void setRequestId(String requestId) { | ||
this.requestId = requestId; | ||
} | ||
|
||
public Integer getContent() { | ||
return this.content; | ||
} | ||
|
||
public void setContent(Integer content) { | ||
this.content = content; | ||
} | ||
|
||
@Override | ||
public GetSddpVersionResponse getInstance(UnmarshallerContext context) { | ||
return GetSddpVersionResponseUnmarshaller.unmarshall(this, context); | ||
} | ||
|
||
@Override | ||
public boolean checkShowJsonItemName() { | ||
return false; | ||
} | ||
} |
64 changes: 64 additions & 0 deletions
64
...osssddp/src/main/java/com/aliyuncs/osssddp/model/v20240222/UpgradeSddpVersionRequest.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,64 @@ | ||
/* | ||
* 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.osssddp.model.v20240222; | ||
|
||
import com.aliyuncs.RpcAcsRequest; | ||
import com.aliyuncs.http.ProtocolType; | ||
import com.aliyuncs.http.MethodType; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class UpgradeSddpVersionRequest extends RpcAcsRequest<UpgradeSddpVersionResponse> { | ||
|
||
|
||
private String clientToken; | ||
|
||
private Integer ossVersion; | ||
public UpgradeSddpVersionRequest() { | ||
super("OssSddp", "2024-02-22", "UpgradeSddpVersion"); | ||
setProtocol(ProtocolType.HTTPS); | ||
setMethod(MethodType.POST); | ||
} | ||
|
||
public String getClientToken() { | ||
return this.clientToken; | ||
} | ||
|
||
public void setClientToken(String clientToken) { | ||
this.clientToken = clientToken; | ||
if(clientToken != null){ | ||
putQueryParameter("ClientToken", clientToken); | ||
} | ||
} | ||
|
||
public Integer getOssVersion() { | ||
return this.ossVersion; | ||
} | ||
|
||
public void setOssVersion(Integer ossVersion) { | ||
this.ossVersion = ossVersion; | ||
if(ossVersion != null){ | ||
putQueryParameter("OssVersion", ossVersion.toString()); | ||
} | ||
} | ||
|
||
@Override | ||
public Class<UpgradeSddpVersionResponse> getResponseClass() { | ||
return UpgradeSddpVersionResponse.class; | ||
} | ||
|
||
} |
56 changes: 56 additions & 0 deletions
56
...sssddp/src/main/java/com/aliyuncs/osssddp/model/v20240222/UpgradeSddpVersionResponse.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,56 @@ | ||
/* | ||
* 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.osssddp.model.v20240222; | ||
|
||
import com.aliyuncs.AcsResponse; | ||
import com.aliyuncs.osssddp.transform.v20240222.UpgradeSddpVersionResponseUnmarshaller; | ||
import com.aliyuncs.transform.UnmarshallerContext; | ||
|
||
/** | ||
* @author auto create | ||
* @version | ||
*/ | ||
public class UpgradeSddpVersionResponse extends AcsResponse { | ||
|
||
private String requestId; | ||
|
||
private String content; | ||
|
||
public String getRequestId() { | ||
return this.requestId; | ||
} | ||
|
||
public void setRequestId(String requestId) { | ||
this.requestId = requestId; | ||
} | ||
|
||
public String getContent() { | ||
return this.content; | ||
} | ||
|
||
public void setContent(String content) { | ||
this.content = content; | ||
} | ||
|
||
@Override | ||
public UpgradeSddpVersionResponse getInstance(UnmarshallerContext context) { | ||
return UpgradeSddpVersionResponseUnmarshaller.unmarshall(this, context); | ||
} | ||
|
||
@Override | ||
public boolean checkShowJsonItemName() { | ||
return false; | ||
} | ||
} |
30 changes: 30 additions & 0 deletions
30
...ain/java/com/aliyuncs/osssddp/transform/v20240222/GetSddpVersionResponseUnmarshaller.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,30 @@ | ||
/* | ||
* 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.osssddp.transform.v20240222; | ||
|
||
import com.aliyuncs.osssddp.model.v20240222.GetSddpVersionResponse; | ||
import com.aliyuncs.transform.UnmarshallerContext; | ||
|
||
|
||
public class GetSddpVersionResponseUnmarshaller { | ||
|
||
public static GetSddpVersionResponse unmarshall(GetSddpVersionResponse getSddpVersionResponse, UnmarshallerContext _ctx) { | ||
|
||
getSddpVersionResponse.setRequestId(_ctx.stringValue("GetSddpVersionResponse.RequestId")); | ||
getSddpVersionResponse.setContent(_ctx.integerValue("GetSddpVersionResponse.Content")); | ||
|
||
return getSddpVersionResponse; | ||
} | ||
} |
Oops, something went wrong.