Skip to content

Commit

Permalink
Add RunSynchronizationJob API.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Oct 30, 2024
1 parent ef9b801 commit b17e0ee
Show file tree
Hide file tree
Showing 5 changed files with 145 additions and 1 deletion.
5 changes: 5 additions & 0 deletions aliyun-java-sdk-eiam/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2024-10-30 Version: 1.0.7
- Add RunSynchronizationJob API.
- Add GetSynchronizationJob API.
- Update ListSynchronizationJobs API.

2024-07-30 Version: 1.0.6
- Add RunSynchronizationJob API.
- Add GetSynchronizationJob API.
Expand Down
2 changes: 1 addition & 1 deletion aliyun-java-sdk-eiam/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-eiam</artifactId>
<packaging>jar</packaging>
<version>1.0.6</version>
<version>1.0.7</version>
<name>aliyun-java-sdk-eiam</name>
<url>http://www.aliyun.com</url>
<description>Aliyun Open API SDK for Java
Expand Down
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.eiam.model.v20211201;

import com.aliyuncs.RpcAcsRequest;
import com.aliyuncs.http.ProtocolType;
import com.aliyuncs.http.MethodType;

/**
* @author auto create
* @version
*/
public class DeleteOrganizationalUnitChildrenRequest extends RpcAcsRequest<DeleteOrganizationalUnitChildrenResponse> {


private String instanceId;

private String organizationalUnitId;
public DeleteOrganizationalUnitChildrenRequest() {
super("Eiam", "2021-12-01", "DeleteOrganizationalUnitChildren", "eiam");
setProtocol(ProtocolType.HTTPS);
setMethod(MethodType.POST);
}

public String getInstanceId() {
return this.instanceId;
}

public void setInstanceId(String instanceId) {
this.instanceId = instanceId;
if(instanceId != null){
putQueryParameter("InstanceId", instanceId);
}
}

public String getOrganizationalUnitId() {
return this.organizationalUnitId;
}

public void setOrganizationalUnitId(String organizationalUnitId) {
this.organizationalUnitId = organizationalUnitId;
if(organizationalUnitId != null){
putQueryParameter("OrganizationalUnitId", organizationalUnitId);
}
}

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

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
/*
* 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.eiam.model.v20211201;

import com.aliyuncs.AcsResponse;
import com.aliyuncs.eiam.transform.v20211201.DeleteOrganizationalUnitChildrenResponseUnmarshaller;
import com.aliyuncs.transform.UnmarshallerContext;

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

private String requestId;

public String getRequestId() {
return this.requestId;
}

public void setRequestId(String requestId) {
this.requestId = requestId;
}

@Override
public DeleteOrganizationalUnitChildrenResponse getInstance(UnmarshallerContext context) {
return DeleteOrganizationalUnitChildrenResponseUnmarshaller.unmarshall(this, context);
}

@Override
public boolean checkShowJsonItemName() {
return false;
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +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.eiam.transform.v20211201;

import com.aliyuncs.eiam.model.v20211201.DeleteOrganizationalUnitChildrenResponse;
import com.aliyuncs.transform.UnmarshallerContext;


public class DeleteOrganizationalUnitChildrenResponseUnmarshaller {

public static DeleteOrganizationalUnitChildrenResponse unmarshall(DeleteOrganizationalUnitChildrenResponse deleteOrganizationalUnitChildrenResponse, UnmarshallerContext _ctx) {

deleteOrganizationalUnitChildrenResponse.setRequestId(_ctx.stringValue("DeleteOrganizationalUnitChildrenResponse.RequestId"));

return deleteOrganizationalUnitChildrenResponse;
}
}

0 comments on commit b17e0ee

Please sign in to comment.