Skip to content

Commit

Permalink
Fix UpdateWorkitem.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Jun 12, 2020
1 parent 6fd9a32 commit 1c9b4c1
Show file tree
Hide file tree
Showing 78 changed files with 2,386 additions and 2,388 deletions.
3 changes: 3 additions & 0 deletions aliyun-java-sdk-rdc/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2020-06-12 Version: 1.9.20
- Fix UpdateWorkitem.

2019-08-08 Version: 1.9.1
- Fix UpdateWorkitem.

Expand Down
18 changes: 7 additions & 11 deletions aliyun-java-sdk-rdc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-rdc</artifactId>
<packaging>jar</packaging>
<version>1.9.1</version>
<version>1.9.20</version>
<name>aliyun-java-sdk-rdc</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java&#xD;
&#xD;
Copyright (C) Alibaba Cloud Computing&#xD;
All rights reserved.&#xD;
&#xD;
版权所有 (C)阿里云计算有限公司&#xD;
&#xD;
<description>Aliyun Open API SDK for Java
Copyright (C) Alibaba Cloud Computing
All rights reserved.
版权所有 (C)阿里云计算有限公司
http://www.aliyun.com</description>
<distributionManagement>
<snapshotRepository>
Expand All @@ -30,7 +27,7 @@ http://www.aliyun.com</description>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-core</artifactId>
<optional>true</optional>
<version>[4.3.2,5.0.0)</version>
<version>[4.4.9,5.0.0)</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
Expand Down Expand Up @@ -73,8 +70,7 @@ http://www.aliyun.com</description>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<excludes>&#xD;
</excludes>
<excludes/>
</configuration>
</plugin>
<plugin>
Expand Down
46 changes: 23 additions & 23 deletions aliyun-java-sdk-rdc/src/main/java/com/aliyuncs/rdc/Endpoint.java
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
/*
* 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.rdc;

import java.util.HashMap;

public class Endpoint {
public static HashMap<String, String> endpointMap = new HashMap<String, String>() {};

public static String endpointRegionalType = "regional";
}
/*
* 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.rdc;

import java.util.HashMap;

public class Endpoint {
public static HashMap<String, String> endpointMap = new HashMap<String, String>() {};

public static String endpointRegionalType = "regional";
}
Original file line number Diff line number Diff line change
@@ -1,37 +1,29 @@
/*
* 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.rdc.model.v20180816;

/*
* 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.rdc.model.v20180816;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.rdc.Endpoint;

/**
* @author auto create
* @version
*/
public class AddProjectMembersRequest extends RpcAcsRequest<AddProjectMembersResponse> {

public AddProjectMembersRequest() {
super("Rdc", "2018-08-16", "AddProjectMembers");
setMethod(MethodType.POST);
try {
this.getClass().getDeclaredField("ProductEndpointMap").set(this, Endpoint.endpointMap);
this.getClass().getDeclaredField("ProductEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
import com.aliyuncs.rdc.Endpoint;

/**
* @author auto create
* @version
*/
public class AddProjectMembersRequest extends RpcAcsRequest<AddProjectMembersResponse> {


private String memberStaffIds;

Expand All @@ -41,7 +33,15 @@ public AddProjectMembersRequest() {

private Integer projectId;

private String staffId;
private String staffId;
public AddProjectMembersRequest() {
super("Rdc", "2018-08-16", "AddProjectMembers");
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 getMemberStaffIds() {
return this.memberStaffIds;
Expand Down Expand Up @@ -96,11 +96,11 @@ public void setStaffId(String staffId) {
if(staffId != null){
putBodyParameter("StaffId", staffId);
}
}

@Override
public Class<AddProjectMembersResponse> getResponseClass() {
return AddProjectMembersResponse.class;
}

}
}

@Override
public Class<AddProjectMembersResponse> getResponseClass() {
return AddProjectMembersResponse.class;
}

}
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
/*
* 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.rdc.model.v20180816;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.rdc.transform.v20180816.AddProjectMembersResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
* @author auto create
* @version
*/
/*
* 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.rdc.model.v20180816;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.rdc.transform.v20180816.AddProjectMembersResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

/**
* @author auto create
* @version
*/
public class AddProjectMembersResponse extends AcsResponse {

private Integer code;
Expand Down Expand Up @@ -83,4 +83,4 @@ public AddProjectMembersResponse getInstance(UnmarshallerContext context) {
public boolean checkShowJsonItemName() {
return false;
}
}
}
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
/*
* 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.rdc.model.v20180816;

/*
* 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.rdc.model.v20180816;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.MethodType;
import com.aliyuncs.rdc.Endpoint;

/**
* @author auto create
* @version
*/
public class CreateProjectRequest extends RpcAcsRequest<CreateProjectResponse> {

public CreateProjectRequest() {
super("Rdc", "2018-08-16", "CreateProject");
setMethod(MethodType.POST);
try {
this.getClass().getDeclaredField("ProductEndpointMap").set(this, Endpoint.endpointMap);
this.getClass().getDeclaredField("ProductEndpointRegional").set(this, Endpoint.endpointRegionalType);
} catch (Exception e) {}
}
import com.aliyuncs.rdc.Endpoint;

/**
* @author auto create
* @version
*/
public class CreateProjectRequest extends RpcAcsRequest<CreateProjectResponse> {


private String corpIdentifier;

private String paramJson;

private String region;

private String staffId;
private String staffId;
public CreateProjectRequest() {
super("Rdc", "2018-08-16", "CreateProject");
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 getCorpIdentifier() {
return this.corpIdentifier;
Expand Down Expand Up @@ -83,11 +83,11 @@ public void setStaffId(String staffId) {
if(staffId != null){
putBodyParameter("StaffId", staffId);
}
}

@Override
public Class<CreateProjectResponse> getResponseClass() {
return CreateProjectResponse.class;
}

}
}

@Override
public Class<CreateProjectResponse> getResponseClass() {
return CreateProjectResponse.class;
}

}
Loading

0 comments on commit 1c9b4c1

Please sign in to comment.